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

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

.navbar {
  display: flex;
  align-items: center;
  padding: 20px;
}

nav {
  flex: 1;
  text-align: right;
}

nav ul {
  display: flex;
  list-style-type: none;
  justify-content: right;
}

nav ul li {
  margin-right: 20px;
}

a {
  text-decoration: none;
  color: #555;
}

p {
  color: #555;
}

.container {
  max-width: 1300px;
  margin: auto;
  padding-right: 25px;
  padding-left: 25px;
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}

.col-2 {
  flex-basis: 50%;
  min-width: 300px;
}

.col-2 img {
  max-width: 100%;
  padding: 50px 0;
}

.col-2 h1 {
  font-size: 50px;
  line-height: 50px;
  padding: 25px 0;
}

.btn {
  display: inline-block;
  padding: 8px 30px;
  background-color: #ff523b;
  color: white;
  border-radius: 30px;
  margin: 30px 0;
  transition: background-color 0.7s ease;
}

.btn:hover {
  background-color: #563434;
  /* color: aqua; */
}

.header {
  background: radial-gradient(white, #ffd6d6);
  /* background: #ffd6d6; */
}

.header .row {
  margin-top: 70px;
}

.categories {
  margin: 70px 0;
}

.col-3 {
  flex-basis: 30%;
  min-width: 250px;
  margin-bottom: 30px;
}

.col-3 img {
  max-width: 100%;
}

.small-container {
  max-width: 1080px;
  margin: auto;
  padding-right: 25px;
  padding-left: 25px;
}

.col-4 {
  min-width: 200px;
  flex-basis: 25%;
  padding: 10px;
  margin-bottom: 50px;
  transition: 0.5s;
}

.col-4 img {
  max-width: 100%;
}

.tittle {
  text-align: center;
  margin: 0 auto 80px;
  position: relative;
  line-height: 60px;
  color: #555;
}

.tittle::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 5px;
  background: #ff523b;
  border-radius: 5px;
  transform: translateX(-50%);
  bottom: 0;
  left: 50%;
}

h4 {
  font-weight: normal;
  color: #555;
  margin-top: 4px;
}

.col-4 p {
  font-size: 14px;
}

.rating .fa-solid {
  color: #ff523b;
  margin: 4px 0;
}

.rating .fa-regular {
  color: #ff523b;
  display: inline-block;
  margin: 4px 0;
}

.col-4:hover {
  transform: translateY(-5px);
}

/* ------------------------ Offer ----------------------- */

.offer {
  background: radial-gradient(white, #ffd6d6);
  margin-top: 80px;
  padding: 30px 0;
}

.col-2 .offer-img {
  padding: 50px;
}

small {
  color: #555;
}

/* ------------------Testimonial----------------------- */

.testimonial {
  padding-top: 100px;
}

.testimonial .col-3 {
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.5;
}

.testimonial .col-3 img {
  width: 50px;
  margin-top: 20px;
  border-radius: 50px;
}

.testimonial .col-3:hover {
  transform: translateY(-10px);
}

.testimonial .col-3 p {
  color: #777;
  font-size: 12px;
  margin: 12px 0;
  line-height: 18px;
}

.testimonial .col-3 h3 {
  font-weight: 600;
  font-size: 16px;
  color: #555;
}

.col-3 .fa-quote-left {
  color: #ff523b;
  font-size: 34px;
}

/* ----------------------------------------------------------------------------------------------------------------------------------Brands--------------------------- */

.brands {
  margin: 100px 0;
}

col-5 {
  width: 160px;
}

.col-5 img {
  width: 100%;
  cursor: pointer;
  filter: grayscale(100%);
}

.col-5 img:hover {
  filter: grayscale(0);
}

/* ----------------------------------------------------------------------------------------------------------------------------------Footer--------------------------- */

footer {
  background: #000;
  color: #8a8a8a;
  font-size: 14px;
  padding: 60px 0 20px;
}

footer p {
  color: #8a8a8a;
}

footer h3 {
  color: white;
  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%;
  margin-bottom: 20px;
}

.footer-col-2 {
  flex: 1;
  text-align: center;
}

.footer-col-2 img {
  width: 180px;
  margin-bottom: 20px;
}

.footer-col-3,
.footer-col-4 {
  flex-basis: 12%;
  text-align: center;
}

ul {
  list-style-type: none;
}

.app-logo {
  margin-top: 20px;
}

.app-logo img {
  width: 140px;
}

footer hr {
  border: none;
  height: 1px;
  background: #b5b5b5;
  margin: 20px 0;
}

.copyright {
  text-align: center;
}

.menu-icon {
  width: 28px;
  margin-left: 20px;
  display: none;
}

/* -----------------------All Products Page--------------------------- */

.row-2 {
  margin: 100px 0 50px;
  justify-content: space-between;
}

select {
  border-color: #ff523b;
  border-width: 1px;
  padding: 6px;
}

select:focus {
  outline: none;
}

.page-btn {
  margin: 0 auto 80px;
}

.page-btn span {
  display: inline-block;
  border: 1px solid #ff523b;
  margin-left: 10px;
  cursor: pointer;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
}

.page-btn span:hover {
  background-color: #ff523b;
  color: wheat;
}

/* ---------------------------Single-Product Page------------------------------ */

.single-products {
  margin-top: 80px;
}

.single-products .col-2 img {
  padding: 0;
}

.single-products .col-2 {
  padding: 20px;
}

.single-products .col-2 h4 {
  font-weight: bold;
  font-size: 22px;
  margin: 20px 0;
}

.single-products select {
  display: block;
  padding: 10px;
  margin-top: 20px;
}

.single-products input {
  width: 50px;
  height: 40px;
  padding-left: 10px;
  margin-right: 10px;
  border: 1px solid #ff523b;
  font-size: 20px;
}

.single-products input:focus {
  outline: none;
}

.fa-indent {
  color: #ff523b;
}

.small-image-row {
  display: flex;
  justify-content: space-between;
}

.small-image-col {
  flex-basis: 24%;
  cursor: pointer;
}

/* <!-- ----------------------Cart-Details------------------------------ --> */

.cart-details {
  margin: 80px auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.cart-info {
  display: flex;
  flex-wrap: wrap;
}

th {
  text-align: left;
  padding: 5px;
  color: white;
  background-color: #ff523b;
  font-weight: normal;
}

td {
  padding: 10px 5px;
}

td input {
  width: 40px;
  height: 30px;
  padding: 5px;
}

td a {
  color: #ff523b;
  font-size: 12px;
}

td img {
  width: 80px;
  height: 80px;
  padding: 5px;
}

.total-price {
  display: flex;
  justify-content: flex-end;
}

.total-price table {
  max-width: 400px;
  width: 100%;
  border-top: 3px solid #ff523b;
}

td:last-child {
  text-align: right;
}

th:last-child {
  text-align: right;
}

/* ------------------------media queary for less than 800px------------------------ */
@media only screen and (max-width: 800px) {
  nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    background: #333;
    width: 100%;
    flex-direction: column;
    overflow: hidden;
    transition: max-height 0.5s;
  }

  nav ul li {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 50px;
  }

  nav ul li a {
    color: white;
    cursor: pointer;
  }

  .menu-icon {
    display: block;
  }
}

/* media queary for less than 600px */

@media only screen and (max-width: 600px) {
  .row {
    text-align: center;
  }

  .col-2,
  .col-3,
  .col-4 {
    flex-basis: 100%;
  }

  .single-products .row {
    text-align: left;
  }

  .single-products .col-2 {
    padding: 20px 0;
  }

  .single-products h1 {
    font-size: 23px;
    line-height: 26px;
  }

  table p {
    display: none;
  }
}
