@font-face {
    font-family: 'Avenir Next Rounded Std';
    src: url(./assets/fonts/AvenirNextRoundedStd-Reg.ttf);
}

*,
::before,
::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a,
abbr{
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

button{
    cursor: pointer; 
    text-decoration: none;
    outline: none;
}
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

ul, 
ol,
li{
    list-style: none;
}
fieldset{
    border: none;
}
p{
    margin: 0;
}
html,
body{
    font-family:  'Avenir Next Rounded Std';
    font-size: 1rem; 
    font-weight: 400;
    font-style: normal;
}

.container{
    width: 90%;
    max-width: 76.25rem;
    margin: 0 auto;
}
.img-responsive{
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/*header*/
.header{
    border-bottom: 0.0625rem solid #CCCCCC;
}
.mobile-nav-button{
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 26px;
    left: 0; 
    width: 36px;
    height: 36px;
    z-index: 20; 
    cursor: pointer;
    background-color: transparent;
    border: none;
}
.nav-button__line{
    display: block;
    height: 2px;
    width: 100%;
    background-color: #1A1F29;
    transition: all .4s ease;

}
.nav-button__line::before,
.nav-button__line::after{
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    width: 100%;
    background-color: #1A1F29;
    transition: all .4s ease;
}
.nav-button__line::before{
    transform: translateY(+10px); 
}
.nav-button__line::after{
    transform: translateY(-10px);
}
.mobile-nav-button--active .nav-button__line{
    background-color: transparent;
}
.mobile-nav-button--active .nav-button__line::before{
    transform: rotate(45deg); 
}
.mobile-nav-button--active .nav-button__line::after{
    transform: rotate(-45deg);
}
.header__content{
    position: relative;
    min-height: 5.5rem;
    display: flex;
}
.header__nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;   
}


.header__nav__list{
    display: flex;
}
.header__nav__item:not(:last-child){
    margin-right: 1.25rem;
}
.header__nav__link{
    font-size: 1rem;
    line-height: 1.25;
    color: #1A1F29;
    text-transform: capitalize;
    padding: 0.5rem;   
}

.header-logo{
    position: absolute;
    left: 50%;
    top: 1.25rem;
    transform: translateX(-50%);  
}
/*breadcrumb*/
.breadcrumb-list{
    display: flex;
    padding: 1rem 0 2rem;
}
.breadcrumb-list__item{
    position: relative;
}
.breadcrumb-list__item:not(:last-child)::after{
    content: '';
    display: block;
    background-color: #929499;
    width: 0.0625rem;
    height: 0.875rem;
    transform: rotate(20deg);
    position: absolute;
    top: 0.125rem;
    right: 0;
}
.breadcrumb__link{
    font-size: 0.75rem;
    line-height: 1.16;
    color: #1A1F29;
    margin-left: 0.5rem;
    margin-right: 0.75rem;
    text-transform: capitalize;
}
.breadcrumb__link--disabled{
    color: #929499;
}
/*Product*/
.product__content{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.product__content__img-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 45.5rem;
    margin-bottom: 3.875rem;   
}

.product__title{
    font-size: 1.37rem;
    line-height: 1.2;
    color: #1A1F29;
    margin-bottom: 1.5rem;
}
.product__model{
    font-size: 1.25rem;
    line-height: 1.25;
    color: #1A1F29; 
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.product__tax-info{
    font-size: 1rem;
    line-height: 1.25;
    color: #5E626B;
    margin-bottom: 3rem;
}
.order-form{
    margin-bottom: 3rem;
}
.order-form__fieldset{
    margin-bottom: 1.5rem;
}
.fieldset-title{
    font-size: 1rem;
    line-height: 1.25;
    color: #1A1F29;
    margin-bottom: 0.75rem;
}
.product-description{
    max-width: 24.2rem;
    font-size: 1.12rem;
    line-height: 1.2;
    color: #1A1F29;
    margin-bottom: 1.5rem;
}

/*input size*/
.input-radio{
    display: none;
}
.label-size{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #ffff;
    font-size: 1rem;
    line-height: 1.25;
    color: #1A1F29;
    text-transform: uppercase;
    margin-right: 0.75rem;
    border: 0.0625rem solid #cccccc;
    cursor: pointer;
    position: relative;
}
.label-size:hover{
    border: 0.0625rem solid #000;
}
.input-radio:checked + .label-size{
    border: 0.0625rem solid #000;
}
.input-radio:disabled +.label-size{
    border: none;
    color: #bdbdbd;
    background-color: #f2f2f2;
}
.input-radio:disabled +.label-size:hover{
    border: none;
}

.input-radio:disabled +.label-size::after{
    content: "";
    display: block;
    width: 0.0625rem;
    height: 3.375rem;
    background-color: #bdbdbd;
    transform: rotate(45deg);
    position: absolute;
    top: -0.375rem;
    left: 1.25rem;
}

/*input color*/
.label-color{
    width: 2.5rem;
    height: 2.5rem;
    display: inline-block;
    margin-right: 0.75rem;
    cursor: pointer;
    border: 0.0625rem solid #cccccc;
    position: relative;
}
.label-color::before{
    border: 0.0625rem solid #cccccc;
    color: #5E626B;
    font-size: 0.81rem;
    line-height: 1.23;
    background-color: #ffff;
    min-width: max-content;
    padding: 0.125rem;
    position: absolute;
    z-index: 2;
    top: -0.937rem;
    left: 1.875rem;
}

.input-radio:checked + .label-color::after{
    content: '';
    display: block;
    width: 44px;
    height: 44px;
    position: absolute;
    top: -3px;
    left: -3px;
    background-color: transparent;
    border: 0.0625rem solid #bdbdbd;
}
.input-radio:disabled + .label-color{
    border: none;
}
.input-radio:disabled + .label-color::after{
    content: "";
    display: block;
    width: 0.0625rem;
    height: 3.875rem;
    background-color: #bdbdbd;
    transform: rotate(45deg);
    position: absolute;
    top: -0.687rem;
    left: 1.25rem;
}
.input-radio:not(:disabled) + .label-color:hover::after{
    content: '';
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    position: absolute;
    top: -0.187rem;
    left: -0.187rem;
    background-color: transparent;
    border: 0.0625rem solid #bdbdbd;
}
.label-color--white{
    background-color: #ffff;   
}
.label-color--white:hover::before{
    content: 'white';
}
.label-color--black{
    background-color: #000;
}
.label-color--black:hover::before{
    content: 'black';
}
.label-color--grey{
    background-color: #AEAEB0; 
}
.label-color--grey:hover::before{
    content: 'grey';
}

.label-color--purple-latte{
    background-color: #BA9BE5;
}
.label-color--purple-latte:hover::before{
    content: 'purple latte';
}
.label-color--purple{
    background-color: #E9A0A7;
}
.label-color--color-some{
    background-color: #F8CAB1; 
}

/*quantity*/
.quantity{
    display: flex;
    margin-bottom: 1.25rem;
}
.quantity__input{
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    font-size: 1.13rem;
    line-height: 1;
    text-transform: uppercase;
    color: #1A1F29;
    border: none;
    border-top: 0.0625rem solid #cccccc;
    border-bottom: 0.0625rem solid #cccccc;
}
.quantity__input::-webkit-inner-spin-button{
    display: none;
}
.quantity__button{
    background-color: #ffff;
    width: 2.5rem;
    height: 2.5rem;
    border: 0.0625rem solid #cccccc;
    font-size: 1.13rem;
    line-height: 1;
    color: #5E626B;
}
.quantity__button--decrease{
    order: -1;
}

.form-button{
    height: 3rem;
    max-width: 25.5rem;
    padding: 0 1rem;
    font-size: 0.87rem;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
} 
.form-button--primary{
    background-color: #ffff;
    border: 0.0625rem solid #CCCCCC;
    color: #1A1F29;
}
.form-button--secondary{
    background-color: #171C8F;
    border: 0.0625rem solid transparent;
    color: #ffff;
}


/*accordion*/
.accordion{
    width: 100%;
    max-width: 45.5rem;
    margin-bottom: 6.25rem;
}
.accordion__list{
    border-top: 0.0625rem solid #cccccc;
}

/*You may also like*/
.recommended-products{
    border-bottom: 0.0625rem solid #CCCCCC;
}
.heading-section{
    font-size: 1.4rem;
    line-height: 1.22; 
    color: #171C8F;
    text-align: center;
    margin-bottom: 4rem;
}
.products__list{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 6.75rem;
}
.products__item{
    width: 100%;
    max-width: 15.5rem; 
    margin: 0 0.625rem 1rem; 
}
.product-card{
   position: relative; 
}
.product-card__label-list{
    position: absolute;
    top: 0.625rem;
    left: 1rem;
}
.label-list__item{
    font-size: 0.81rem;
    line-height: 1.23;
    color: #5E626B;
    background-color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.75rem;
    height: 1.437rem;
}
.color-list__item--antique-brass{
    background-color: #C88252;
}
.color-list__item--apricot-peach{
    background-color: #F8CAB1;
}
.color-list__item--sea-pink{
    background-color: #E9A0A7;
}
.color-list__item--dull-lavender{
    background-color: #BA9BE5;
}
.product-card__title{
    font-size: 1rem;
    line-height: 1.25;
    color: #1A1F29;
    text-align: center;
    margin-bottom: 0.5rem;
}
.product-card__image-wrapper{
    margin-bottom: 1.25rem;
}
.color-list{
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.color-list__item{
    width: 1rem;
    height: 1rem;
    margin: 0 0.125rem;
}
.product-card__model{
    font-size: 1rem;
    line-height: 1.25;
    color: #1A1F29;
    text-align: center;
    text-transform: uppercase;
}

/*Footer*/
.footer__content{
    display: flex;
    flex-wrap: wrap;
    margin: 5rem 0 5.625rem;
}
.footer__content__item:not(:last-child){
    margin-right: 6.75rem;
    margin-bottom: 1.5rem;
}
.block-title{
    font-size: 0.81rem;
    line-height: 1.38;
    text-transform: uppercase;
    color: #1A1F29;
    margin-bottom: 1.5rem;
}
.address{
    margin-bottom: 1rem;
}
.address__text{
    font-style: normal;
    font-size: 1rem;
    line-height: 2;
    color: #5E626B;
    text-transform: capitalize;
}
.link-icon{
    display: inline-block;
    margin-right: 1rem;
}
.footer-link{
    font-size: 1rem;
    line-height: 2;
    color: #5E626B;
    text-transform: capitalize;
}
.footer__copyright{
    margin-bottom: 4.5rem;
}
.copyright{
    font-size: 1rem;
    line-height: 1.25;
    color: #5E626B;
}