@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
}

h1 {
    font-size  : 2.5rem;
    font-weight: 700;
}

h2 {
    font-size  : 1.8rem;
    font-weight: 600;
}

h3 {
    font-size  : 1.4rem;
    font-weight: 800;
}

h4 {
    font-size  : 1.1rem;
    font-weight: 600;
}

h5 {
    font-size  : 1rem;
    font-weight: 400;
    color      : #1d1d1d;
}

h6 {
    color: #d8d8d8;
}

button {
    font-size       : 0.8rem;
    font-weight     : 700;
    outline         : none;
    border          : none;
    background-color: #1d1d1d;
    color           : aliceblue;
    padding         : 13px 30px;
    text-transform  : uppercase;
    cursor          : pointer;
    transition      : 0.3s ease;
}

button:hover {
    background-color: #3a3833;
}

hr {
    width           : 30px;
    height          : 2px;
    background-color: #fb774b;
}

.star {
    padding: 10px 0;
}

.star i {
    font-size: 0.8rem;
    color    : goldenrod;
}

.navbar {
    font-size : 16px;
    top       : 0;
    left      : 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link {
    padding   : 0 20px;
    color     : black;
    transition: 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar i:hover,
.navbar i.active {
    color: coral;
}

.navbar i {
    font-size  : 1.2rem;
    padding    : 0 7px;
    cursor     : pointer;
    font-weight: 500;
    transition : 0.3s ease;
}

#bar {
    font-size  : 1.5rem;
    padding    : 7px;
    cursor     : pointer;
    font-weight: 500;
    transition : 0.3s ease;
    color      : black;
}

#bar:hover,
#bar.active {
    color: #fff;
}


/*Mobile Nav*/
@media only screen and (max-width: 991px) {

    body>nav>div>button:hover,
    body>nav>div>button:focus {
        background-color: #fb774b;
    }

    body>nav>div>button:hover #bar,
    body>nav>div>button:focus #bar {
        color: #fff;
    }

    #navbarSupportedContent>ul {
        margin         : 1rem;
        justify-content: flex-end;
        align-items    : flex-end;
        text-align     : right;
    }

    #navbarSupportedContent>ul>li:nth-child(n)>a {
        padding: 10px 0;
    }
}


.navbar-light .navbar-toggler {
    border : none;
    outline: none;
}

#home {
    background-image   : url("../img/back.jpg");
    width              : 100%;
    height             : 100vh;
    background-size    : cover;
    background-position: top 60px center;
    display            : flex;
    flex-direction     : column;
    justify-content    : center;
    align-items        : center;
}

#home span {
    color: coral;
}

#new .one img {
    width              : 100%;
    height             : 100%;
    background-position: center center;
    background-repeat  : no-repeat;
    background-size    : cover;
    position           : relative;
}

#new .one .details {
    position  : absolute;
    width     : 100%;
    height    : 100%;
    top       : 0;
    left      : 0;
    transition: 0.3s ease;
}

#new .one:hover .details {
    cursor          : pointer;
    background-color: rgba(245, 178, 178, 0.7);
}

#new .one .details button {
    display       : inline-block;
    font-size     : 14px;
    font-weight   : 500;
    color         : #2a2a2a;
    background    : none;
    text-transform: uppercase;
    border-bottom : 1px solid #2a2a2a;
    padding       : 2.5px;
    transform     : translateY(70px);
    transition    : 0.3s ease;
}

#new .one .details button:hover {
    color        : #fff;
    border-bottom: 1px solid #fff;
}

#new .one:nth-child(1) .details {
    display        : flex;
    justify-content: center;
    flex-direction : column;
    align-items    : flex-start;
    text-align     : start;
}

#new .one:nth-child(2) .details {
    display        : flex;
    justify-content: center;
    flex-direction : column;
    align-items    : center;
    text-align     : center;
}

#new .one:nth-child(3) .details {
    display        : flex;
    justify-content: center;
    flex-direction : column;
    align-items    : flex-end;
    text-align     : end;
}

/* Products */

.product {
    cursor       : pointer;
    margin-bottom: 2rem;
}

.product img {
    transition: 0.3 all;
}

.product:hover img {
    opacity: 0.7;
}

.product .buy-btn {
    background: #fb774b;
    transform : translateY(20px);
    opacity   : 0;
    transition: 0.3s all;
}

.product:hover .buy-btn {
    transform: translateY(0px);
    opacity  : 1;
}


#banner {
    background-image     : url("../img/banner/2.jpg");
    width                : 100%;
    height               : 60vh;
    background-size      : cover;
    background-position  : top 70px center;
    background-repeat    : no-repeat;
    background-attachment: fixed;
    display              : flex;
    flex-direction       : column;
    justify-content      : center;
    align-items          : flex-start;
}

#banner h4 {
    color: #d8d8d8;
}

#banner h1 {
    color: #fff;
}

#banner button {
    background-color: #fb774b;
}

footer {
    background-color: #222
}

footer h5 {
    color      : #d8d8d8;
    font-weight: 700;
    font-size  : 1.2rem;
}

footer li {
    padding-bottom: 4px;
}

footer li a {
    font-size: 0.8rem;
    color    : #999;
}

footer li a:hover {
    color: #d8d8d8;
}

footer p,
footer .phone,
footer .email {
    color    : #999;
    font-size: 0.8rem;
}

footer .copyright a {
    color           : #000;
    width           : 38px;
    height          : 38px;
    background-color: #fff;
    display         : inline-block;
    text-align      : center;
    line-height     : 38px;
    border-radius   : 50%;
    transition      : 0.3s ease;
    margin          : 0 5px;
    text-decoration : none;
}

footer .copyright a:hover {
    color           : #fff;
    background-color: #fb774b;
}

/* Style for Shop page */

.product img {
    width : 100%;
    height: auto;
}

#featured>div.row.mx-auto.container>nav>ul>li.page-item.active>a {
    background-color: #000;
}

#featured>div.row.mx-auto.container>nav>ul>li:nth-child(n):hover>a {
    background-color: coral;
    color           : #fff;
}

.pagination a {
    color: #000;
}

/* Style for Product cards */

.small-img-group {
    display        : flex;
    justify-content: space-between;
}

.small-img-col {
    flex-basis: 24%;
}

.sproduct select {
    display: block;
    padding: 5px 10px;
}

.sproduct input {
    width       : 50px;
    height      : 40px;
    padding-left: 10px;
    font-size   : 16px;
    margin-right: 10px;
}

.sproduct input:focus {
    outline: none;
}

.buy-btn {
    background: #fb774b;
    opacity   : 1;
    transition: 0.3s all;
}

/* Style for Blog Page */

#blog-container .post .post-img {
    overflow: hidden;
    cursor  : pointer;
}

#blog-container .post img {
    transition: 0.3s ease;
}

#blog-container .post:hover img {
    transform: scale(1.3) rotate(-10deg);
    opacity  : 0.8;
}

#blog-container .post:hover h3 {
    color: #fd8c66;
}

#blog-container .post h3 {
    transition: 0.3s ease;
    cursor    : pointer;
}

/* Cart */
#cart-container {
    overflow-x: auto;
}

#cart-container table {
    border-collapse: collapse;
    width          : 100%;
    table-layout   : fixed;
}

#cart-container table thead {
    font-weight: 700;
}

#cart-container table thead td {
    background: #fd8c66;
    color     : #fff;
    border    : none;
    padding   : 6px 0;
}

#cart-container table td {
    border    : 1px solid #b6b3b3;
    text-align: center;
}

#cart-container table td:nth-child(1) {
    width: 100px;
}

#cart-container table td:nth-child(2),
#cart-container table td:nth-child(3) {
    width: 200px;
}

#cart-container table td:nth-child(4),
#cart-container table td:nth-child(5),
#cart-container table td:nth-child(6) {
    width: 170px;
}

#cart-container table tbody img {
    width     : 100px;
    height    : 80px;
    object-fit: cover;
}

#cart-container table tbody i {
    color: #8d8c89;
}

#cart-bottom .coupon>div,
#cart-bottom .total>div {
    border: 1px solid #b6b3b3;
}

#cart-bottom .coupon h5,
#cart-bottom .total h5 {
    background    : #fd8c66;
    color         : #fff;
    border        : none;
    padding       : 6px 12px;
    font-weight   : 700;
    text-transform: uppercase;
}

#cart-bottom .coupon p,
#cart-bottom .coupon input {
    padding: 0 12px;
}

#cart-bottom .coupon input {
    height: 44px;
}

#cart-bottom .coupon input,
#cart-bottom .coupon button {
    margin: 0 0 20px 12px;
}

#cart-bottom .total div>div {
    padding: 0 12px;
}

#cart-bottom .total h6 {
    color: #2a2a2a;
}

.second-hr {
    background: #b8b7b3;
    width     : 100%;
    height    : 1px;
}

#cart-bottom .total div>button {
    margin         : 0 12px 20px 0;
    display        : flex;
    justify-content: flex-end;
}
