

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    font-family: Source sans pro, sans-serif;
    font-size: 14px;
}


p{
    font-size: 1.2em;
    line-height: 1.45em;
}


a{
    color: #666;
    transition: 0.2s color;
}
a:hover{
    color: #FF4081;
    text-decoration: none;
}


ul{
    margin: 0;
    padding: 0;
}
li{
    list-style: none;
}



header{
    width: 100%;
    padding: 0 1em 0 1em;
}
.brand-bar{
    /*max-width: 68.571em;*/
    margin: auto;
}
.brand{
    vertical-align: middle;
}
.brand__logo{
    vertical-align: middle;
}
.brand__title{
    padding-left: 0.2em;
    vertical-align: middle;
    font-size: 2.4em;
    font-weight: 600;
}



.customer-stats{
    float: right;
    margin-top: 1.5em;
    font-size: 1.2em;
}
.customer-stats__cart{
    margin-right: 2em;
}
.customer-stats__cart>img{
    height: 1.5em;
}

.button{
    width: 18em;
    margin-top: 2em;
    padding: 0.5em 1em;
    font-size: 1.1em;
    color: #fff;
    background-color: #FF4081;
    border: none;
    border-radius: 0.1em;
}


/* nav-bar starts */

.nav-bar{
    position: relative;
    /*max-width: 57.143em;*/
    margin: 1em auto 0 auto;
    background-color: #eee;
    font-size: 1.2em;
    border-radius: 0.2em;
}
.nav-bar a{
    cursor: pointer;
}
.pri-link{
    position: relative;
    display: inline-block;
    width: 10em;
    padding: 0.8em 1em 0.8em 2em;
}
.pri-link .sec-links{
    display: none;
    width: 10em;
    padding: 0.8em 1em 0.8em 0;
    z-index: 5;
}
.wide-menu{
    position: absolute;
    display: none;
    width: 100%;
    background-color: #eee;
}
.wide-menu .sec-links{
    display: inline-block;
    vertical-align: top;
    width: 10em;
    padding: 0.8em 1em 2em 2em;
}
.wide-menu .sec-links li{
    padding: 0.2em 0;
}
.nav-bar:hover .wide-menu{
    display: block;
}

@media screen and ( max-width: 870px ){
    .nav-bar:hover .wide-menu{
        display: none;
    }
    .pri-link{
        display: block;
        width: 100%;
        cursor: pointer;
        transition: all 0.2s;
    }
    .pri-link .sec-links{
        width: 100%;
        cursor: pointer;
    }
    .pri-link:hover, .pri-link:focus, .pri-link:active{
         background-color: #ddd;
    }
    .pri-link:active .sec-links{
        display: block;
    }
}

/* nav-bar ends */


.sec{
    margin: 4em auto;
}
.sec__container{
    max-width: 68.571em;
    margin: auto;
    text-align: center;
}
.sec__title{
    font-size: 2.5em;
    text-align: center;
}

.x-pagination__link a{
    font-size: 1.3em;
    padding: 0.6em 1em;
    color: #999;
    border: 1px solid #fff;
    border-radius: 0.1em;
    transition: 0.2s border-color;
}
.x-pagination__link a:hover{
    color: #FF4081;
    border-color: #eee;
}
.x-pagination__link a.current{
    border-color: #ddd;
}


footer{
    padding-top: 4em;
    background-color: #464646;
    color: #999;
}
.footer-container{
    max-width: 68.571em;
    margin: auto;
}
.footer-sec{
    display: inline-block;
    vertical-align: top;
    margin: 2em 0;
    padding: 0 1em;
}
.footer__links{
    width: 40%;
}
.footer__links>ul{
    margin: 2em 1.5em 2em 0;
}
.footer__links>ul>li{
        margin: 0.4em 0;
}
.footer__links>ul>li>a{
    font-size: 1.2em;
    color: #999;
}
.footer__links>ul>li>a:hover{
    font-size: 1.2em;
    color: #FF4081;
}
.footer__social{
    width: 23%;
}
.footer__social__icon{
    height: 2.5em;
    margin: 2em 1.5em 2em 0;
}
.footer__about{
    width: 35%;
}
.footer__about>p{
    margin: 2em 0;
}



.hilights img{
    width: 100%;
    cursor: pointer;
}




.craft{
    background-color: #363636;
    font-size: 1.2em;
}
.craft-container{
    max-width: 68.571em;
    margin: auto;
}
.craft__credit{
    display: inline-block;
    padding: 1em 0 1em 1em;
    cursor: pointer;
}
.craft__credit{
    padding-left: 0.2em;
    font-weight: 300;
    color: #eee;
}
.craft__copyright{
    display: inline-block;
    float: right;
    padding: 1em 1em 1em 0;
}


.sec__row{
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      flex-wrap: wrap;
      overflow: hidden;
      justify-content: center;
}
.product{
    position: relative;
    width: 24.5%;
    min-width: 200px;
    flex: none;
    margin-top: 1em;
    margin-left: 1px;
    margin-right: auto;
    margin-bottom: 1px;
    font-size: 1.3em;
    font-weight: 600;
    text-align: center;
    border-radius: 0.1em;
    transition: 0.2s box-shadow;
}
.product:hover{
    -webkit-box-shadow: 0px 0px 1px 1px rgba(238,238,238,1);
    -moz-box-shadow: 0px 0px 1px 1px rgba(238,238,238,1);
    box-shadow: 0px 0px 1px 1px rgba(238,238,238,1);
}
.product__display{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15em;
    padding: 1em;

}
.product__display>img{

    max-width: 100%;
    max-height: 100%;
}
.product__details{
     padding: 0 0.5em 1em 0.5em;

}
.product__details__name, .product__details__price{
    color: #333;
    transition: 0.2s color;
}
.product:hover .product__details__name{
    color: #FF4081;
}
.product__details__misc{
    margin-top: 0.3em;
    font-size: 0.9em;
    font-weight: 400;
    color: #666;
    transition: 0.2s opacity;
}
.product__cart-btn{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 1em 0;
    opacity: 0;
    transition: 0.2s opacity;
}

@media screen and ( max-width: 402px ){
    .product{
        width: 90%;
        margin: auto;
    }
}



.column-2{
    display: inline-block;
    width: 48%;
    vertical-align: top;
}
.signup-col{
    border-left: 1px solid #ddd;
}
.login-signup-form{
    font-size: 1.2em;
}
.help-btn{
    color: #999;
}

@media screen and ( max-width: 600px ){
    .column-2{
        width: 100%;
    }
    .signup-col{
        margin-top: 2em;
        border-left: none;
        border-top: 1px solid #ddd;
    }
}




.product-page__product__display{
    display: inline-block;
    vertical-align: top;
    width: 50%;
}
.product-page__product__info{
    display: inline-block;
    vertical-align: top;
    width: 49.5%;
    padding: 0em 2em 2em 2em;
    text-align: left;
}
.product-page__product__info__title{
    margin-top: 0;
    font-size: 2em;
    font-weight: 600;
}
.product-page__product__info__price{
    font-size: 1.5em;
    font-weight: 600;
}
.product-page__product__info__quantity{
    margin: 1em auto;
}
.product-page__product__info__quantity__label{
    padding-right: 1em;
    font-size: 1.2em;
}
.product-page__product__info__quantity__value{
    padding: 0.3em 0.4em;
}
.product-page__product__info__variants{
    margin: 1em auto 2em auto;
    font-size: 1.2em;
}
.product-variant-btn{
    display: inline-block;
    padding: 0.5em 1em;
    margin: 0.3em 0.3em 0.3em 0;
    border: 1px solid #ddd;
    border-radius: 0.1em;
    color: #999;
    cursor: pointer;
    transition: 0.2s border-color;
}
.product-variant-btn:hover{
    border-color: #999;
}
.product-variant-btn.active{
    border-color: #999;
    color: #333;
}

.product-page__product__info__cta{
    display: inline-block;
    margin-top: 2em;
    padding: 0.9em 2.8em;
    font-size: 1.1em;
    color: #fff;
    background-color: #FF4081;
    border: none;
    border-radius: 0.1em;
    font-size: 1.3em;
    transition: 0.3s background-color;
}
.product-page__product__info__cta:hover{
    background-color: #FF5091;
    color: #fff;
}


.product-page__product__info__details{
    margin: 4em auto 2em auto;
}
.product-page__product__info__details__title{
    font-size: 2em;
}

.product-page__product__info__review__title{
    font-size: 2em;
}


/* product image viewer */
.sp-wrap{
    width: 100%;
    max-width: 600px;
    float: none;
    margin: 0;
    border:1px solid #eee;
    background: #fff;
    font-size: 1em;
    line-height: 1em;
}
.sp-large{
    margin-bottom: 0.5em;
    border-bottom: 1px solid #eee;
}
.sp-large a img{
    width: 100%;
}
.sp-thumbs{
    text-align: center;
}
.sp-thumbs a:link{
    width: 6em;
    height: 6em;
    margin: 0.5em;
    border: 1px solid #eee;
}

@media screen and ( max-width: 700px ){
    .product-page__product__display{
        width: 95%;
    }
    .product-page__product__info{
        width: 95%;
        margin-top: 1em;
    }
}





.cart__product{
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 0.2em;
    transition: 0.2s border-color;
}
.cart__product:hover{
    border-color: #FF4081;
}
.cart__product__photo{
    display: inline-block;
    vertical-align: top;
    width: 10em;
    height: 10em;
}
.cart__product__photo>img{
    max-width: 10em;
    max-height: 10em;
}
.cart__product__details{
    display: inline-block;
    vertical-align: top;
    width: 30em;
    padding-left: 1em;
    text-align: left;
}
.cart__product__details__name{
    margin-top: 0;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
}
.cart__product__details__price{
    font-size: 1.2em;
}
.cart__product__details__price__value{
    font-weight: 600; 
}
.cart__product__details__quantity{
    margin-top: 2.5em;
}
.cart__product__details__quantity__value{
    font-weight: 600;
}
.cart__product__details__variant__value{
    font-weight: 600;
}
.cart__product__price{
    display: inline-block;
    vertical-align: top;
    width: 10em;
    padding-left: 1em;
    text-align: left;
}
.cart__product__price__total{
    margin-top: 0.2em;
    font-size: 1.2em;
    font-weight: 600;
}
.cart__product__btn-remove{
    display: block;
    margin-top: 5em;
    font-size: 1.2em;
    font-weight: 600;
    color: #aaa;
}
.cart__summary{
    width: 20em;
    margin: 2em auto;
    
    font-size: 1.2em;
    text-align: left;
}
.cart__summary__label{
    display: inline-block;
    width: 10em;
    text-align: left;
}
.cart__summary__value{
    font-weight: 600;
}
.btn-place-order{
    display: inline-block;
    padding: 0.8em 4em;
    background-color: #FF4081;
    color: #eee;
    font-size: 1.2em;
    border-radius: 0.1em;
    transition: 0.2s all;
}
.btn-place-order:hover{
    background-color: #FF5091;
    color: #fff;
}

@media screen and ( min-width: 624px )  and ( max-width: 760px ){
    .cart__product{
        width: 95%;
    }
    .cart__product__details__quantity{
        margin-top: 0;
    }
    .cart__product__price{
        width: 100%;
        text-align: right;
    }
    .cart__product__price__total{
        display: inline-block;
        width: 61%;
        margin-top: 0;
        text-align: left;
    }
    .cart__product__btn-remove{
        display: inline-block;
        margin-top: 0;
        float: right;
    }
    
}

@media screen and ( max-width: 623px ){
    .cart__product{
        width: 95%;
        text-align: left;
    }
    .cart__product__details{
        width: 100%;
    }
    .cart__product__photo{
        margin-left: 1em;
        margin-bottom: 1em;
    }
    .cart__product__details__quantity{
        margin-top: 0;
    }
    .cart__product__price{
        width: 100%;
        margin-top: 1em;
    }
    .cart__product__price__total{
        display: inline-block;
        margin-top: 0;
        text-align: left;
    }
    .cart__product__btn-remove{
        display: inline-block;
        margin-top: 0;
        float: right;
    }
}



.checkout__delivery-address{
    display: inline-block;
    vertical-align: top;
    width: 40em;
    text-align: left;
    /*border: 1px solid #000;*/
}
.checkout__delivery-address>h2{
    margin-top: 0;
}
.checkout__delivery-address>address{
    padding: 1em;
    padding-bottom: 0;
    font-size: 1.2em;
}
.checkout__delivery-address>address>div{
    margin: 0.1em;
}
.checkout__delivery-address__btn-remove{
    display: inline-block;
    margin-left: 1em;
    font-size: 1.2em;
    font-weight: 600;
    color: #aaa;
    cursor: pointer;
}
.checkout__delivery-address__name{
    font-size: 1.2em;
}
.checkout__product-box{
    display: inline-block;
    vertical-align: top;
}
.checkout__product{
    display: block;
    width: 24em;
    height: 4.8em;
    padding: 0.3em;
    margin: 0 auto 0.3em auto;
    border: 1px solid #eee;
    cursor: pointer;
    transition: border-color 0.2s;
}
.checkout__product:hover{
    border: 1px solid #FF4081;
}
.checkout__product__display{
    width: 3em;
    height: 3em;
}
.checkout__product__display>img{
    max-width: 4em;
    max-height: 4em;
}
.checkout__product__details{
    display: inline-block;
    width: 20em;
    padding: 0 0.5em;
    text-align: left;
}
.checkout__cart__summary{
    font-size: 1.2em;
    margin: 1em 0;
    text-align: left;
}

@media screen and ( max-width: 920px ){
    .checkout__delivery-address{
        width: 40%;
    }
}

@media screen and ( max-width: 700px ){
    .checkout__delivery-address{
        width: 95%;
        margin-bottom: 2em;
    }
    .checkout__product-box{
        width: 95%;
    }
    .checkout__product{
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
        text-align: left;
    }
    .checkout__product__details{
        width: auto;
    }
    .btn-place-order{
        width: 100%;
        margin-top: 2em;
    }
}




.profile__form{
    width: 50em;
    font-size: 1.2em;
}
.form__field{
    display: inline-block;
    margin: 1em 1em 0 1em;
}
label{
    display: block;
    text-align: left;
    color: #555;
    font-weight: 400;
}
input, textarea{
    width: 20em;
    margin: 0;
    padding: 0.2em 0.5em;
    line-height: 2em;
    border: 1px solid #ccc;
    border-radius: 0.1em;
    outline: none;
    transition: 0.2s all;
}
input:hover, input:focus, textarea:hover, textarea:focus{
    border-color: #FF4081;
}
textarea{
    width: 42em;
}
.delivery-address{
    margin: 4em 0;
}
.form__field__submit{
    width: 18em;
    margin-top: 2em;
    padding: 0.5em 0;
    font-size: 1.1em;
    color: #fff;
    background-color: #FF4081;
    border: none;
    border-radius: 0.1em;
}
.form__field__submit:hover{
    background-color: #FF5091;
}
.is-hidden{
    visibility: hidden;
}


@media screen and ( max-width : 760px ){
    .form__field{
        width: 80%;
        text-align: center;
    }
    .form__field.is-hidden{
        display: none;
    }
    label, input, textarea, .form__field__submit{
        width: 100%;
    }
}
