* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

:root {
    --dark-color: rgb(127, 96, 0);
    --light-color: rgb(241, 241, 239);
    --background-light: rgb(241, 241, 239);
    --background-dark: rgb(127, 96, 0);
    --alternate-color: rgb(102, 101, 101);
}

header {
    background-color: var(--background-light);
}

.container {
    max-width: 95%;
    margin: auto;
    padding: 0 25px;
}

.content {
    display: flex;
    align-items: center;
    padding: 20px;
}

nav {
    flex: 1;
    text-align: right;
}

nav ul {
    display: inline-block;
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

a {
    text-decoration: none;
    padding: 5px;
}

nav ul li a {
    font-size: 18px;
    font-weight: bold;
}

nav ul li a:hover {
    border-bottom: 3px solid var(--dark-color);
    /* background-color: var(--background-dark);
    color: var(--light-color); */
}



a,
p {
    color: var(--dark-color);
}

.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
    /* margin-top: 50px; */
}

.row .col-2 {
    flex-basis: 50%;
    min-width: 300px;
}

.row .col-2 img {
    max-width: 100%;
    padding: 50px 0;
}

.row .col-2 h1 {
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}

.btn {
    display: inline-block;
    background-color: var(--background-dark);
    color: var(--light-color);
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(.90);
}

.categories {
    margin: 70px 0;
}

.col-3 {
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}

.col-3 img {
    width: 100%;
    height: 250px;
}

.small-container {
    max-width: 1080px;
    margin: auto;
    padding: 0 25px;
}

.col-4 {
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: all 0.5s ease;
}

.col-4 img {
    width: 100%;
    height: 250px;
}

.col-4:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.title {
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: var(--alternate-color);
}

.title::after {
    content: '';
    background: var(--dark-color);
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h4 {
    color: var(--dark-color);
    font-weight: normal;
}

.col-4 p {
    font-size: 14px;
    color: var(--dark-color);
}

.rating .bx {
    color: var(--dark-color);
}

/* ----------- offer ---------- */
.offer {
    margin-top: 80px;
    padding: 30px 0;
    background-color: rgb(241, 241, 239);
}

.col-2 .offer-img {
    padding: 50px;
}

small {
    color: var(--light-color);
}

/* testimonial */
.testimonial {
    padding-top: 50px;
}

.testimonial .col-3 {
    text-align: center;
    padding: 30px 10px;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial .col-3:hover {
    transform: translateY(-10px);
    cursor: pointer;
}

.testimonial .col-3 img {
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
    height: 50px;
}

.bxs-quote-left,
.bxs-quote-right {
    font-size: 24px;
    color: var(--dark-color);
}

.testimonial .col-3 p {
    font-size: 14px;
    margin: 12px 0;
    color: var(--dark-color);
}

.testimonial .col-3 h3 {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 16px;
}

/* brands */
.brands {
    margin: 100px auto;
}

.col-5 {
    width: 70px;
}

.col-5 img {
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}

.col-5 img:hover {
    filter: grayscale(0);
}

/* footer */
footer {
    background-color: rgb(31, 31, 31);
    color: var(--light-color);
    font-size: 14px;
    padding: 60px 0 20px;
}

footer p {
    color: var(--light-color)
}

footer h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4 {
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col-1 {
    flex-basis: 30%;
}

.footer-col-2 {
    flex: 1;
    text-align: center;
}

.footer-col-2 img {
    width: 180px;
}

.footer-col-3,
.footer-col-4 {
    flex-basis: 12%;
    text-align: center;
}

ul {
    list-style: none;
}

.app-logo {
    margin-top: 20px;
}

.app-logo img {
    width: 140px;
    height: 50px;
    border-radius: 10px;
}

footer hr {
    border: none;
    background-color: var(--light-color);
    height: 1px;
    margin: 20px 0;
}

.copywrite {
    text-align: center;
}

.meun-icon {
    width: 28px;
    margin-left: 20px;
    display: none;
}


/* Product  */
.row-2 {
    justify-content: space-between;
    margin: 100px auto 50px;
}

select {
    border: 1px solid rgb(119, 89, 12);
    padding: 5px;
}

select:focus {
    outline: none;
}

.page-btn {
    margin: 0 auto 80px;
}

.page-btn span {
    display: inline-block;
    border: 1px solid rgb(119, 89, 12);
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.page-btn span:hover {
    background: rgb(119, 89, 12);
    color: rgb(194, 192, 192);
    font-size: 16px;
}

/* Single Product */

.single-product {
    margin-top: 80px;
}

.single-product .col-2 img {
    padding: 0;
}

.single-product .col-2 {
    padding: 20px;
}

.single-product h4 {
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;   
}

.single-product select {
    display: block;
    padding: 10px;
    margin-top: 20px;
}

.single-product input {
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid rgb(119, 89, 12);
}

input:focus {
    outline: none;
}

.single-product .bx {
    color: rgb(119, 89, 12);
    margin-left: 10px;
}

.small-img-row {
    display: flex;
    justify-content: space-between;
}
.small-img-col {
    flex-basis: 24%;
    cursor: pointer;
}


.cart-page {
    margin: 80px auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.cart-info {
    display: flex;
    flex-wrap: wrap;
}

.cart-info small {
    color: rgb(102, 101, 101);
}

th {
    text-align: left;
    padding: 5px;
    color: white;
    background-color: rgb(119, 89, 12);
    font-weight: normal;
}

td {
    padding: 10px 5px;
}

td input {
    width: 40px;
    height: 30px;
    padding: 5px;
}

td a {
    color: red;
    font-size: 12px;
}

td img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.total-price {
    display: flex;
    justify-content: flex-end;
}

.total-price table {
    border-top: 3px solid rgb(119, 89, 12);
    width: 100%;
    max-width: 400px;
}

td:last-child {
    text-align: right;
}
th:last-child {
    text-align: right;
}





/* media quary for menu  */
@media only screen and (max-width: 800px) {
    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--background-dark);
        width: 100%;
        overflow: hidden;
        transition: 0.5s;
    }

    nav ul li {
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    nav ul li a {
        color: var(--light-color);
    }

    .meun-icon {
        display: block;
        cursor: pointer;
    }
}

/* Account */
.acount-page {
    padding: 50px 0;
}

.form-container{
    background: white;
    width: 300px;
    height: 400px; 
    position: relative;
    text-align: center;
    padding: 20px 0;
    margin: auto;    
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-container span {
    font-weight: bold;
    padding: 0 10px;
    color: #555;
    cursor: pointer;
    width: 100px;
    display: inline-block;
}

.form {
    display: inline-block;
}

.form-container form {
    max-width: 300px;
    padding: 0 20px;
    position: absolute;
    top: 130px;
    transition: transform 1s;
}

form input {
    width: 100%;
    height: 30px;
    margin: 10px 0;
    padding: 0 10px;
    border: 1px solid #ccc;
}

form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 10px 0;
}

form .btn:focus {
    outline: none;
}

#login-form {
    left: -300px;
}
#registeration-form {
    left: 0;
}

form a {
    font-size: 12px;
}

#indicator {
    width: 100px;
    border: none;
    background: rgb(127, 96, 0);
    height: 3px;
    margin-top: 8px;
    transform: translateX(170px);
    transition: transform 1s;
}




/* media query for less than 600 screen size */
@media only screen and (max-width: 600px) {
    .row {
        text-align: center;
    }
    .col-2, .col-3, .col-4 {
        flex-basis: 100%;
    }
    .single-product .row {
        text-align: left;
    }

    .single-product .row-2 {
        padding: 20px 0;
    }

    .single-product h1 {
        font-size: 26px;
        line-height: 32px;
    }

    .cart-info p {
        display: none;
    }
}