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

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

body img {
  border-radius: 12px;
}

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

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

nav ul {
  display: inline-block;
  list-style-type: none;
}

nav ul li {
  display: inline-block;
  margin-right: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #555;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
  color: #da70d6;
}

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

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

.row h3 {
  color: #555;
  font-size: 20px;
}

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

p {
  color: #555;
}

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

.col-2 h1 {
  font-size: 35px;
  line-height: 60px;
  color: #000;
  margin: 25px 0;
}

.col-2 p {
  margin: 0 20px 10px 0;
}

.btn {
  display: inline-block;
  background: #da70d6;
  color: #fff;
  padding: 8px 20px;
  margin: 30px 0;
  border-radius: 5px;
  transition: background 0.5s;
}

.btn:hover {
  background-color: #563434;
  color: #fff;
}

.header {
  background: radial-gradient(#fff, #ffd6d6);
}

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

#sideNav {
  transition: 0.5s;
  line-height: 50px;
  width: 170px;
  height: 100%;
  position: fixed;
  /*initially hidden*/
  right: -250px;
  top: 0;
  z-index: 2;
  /* later after menu icon*/
  padding-top: 100px;
  padding-left: 10px;
  color: white;
  background: linear-gradient(#f373d31a, #da70d6);
}

#sideNav ul li:last-child {
  display: block;
}

#sideNav ul a {
  color: #ffffff;
}

#menuBtn {
  display: none;
  width: 50px;
  height: 50px;
  background: #da70d6;
  text-align: center;
  position: fixed;
  right: 10px;
  top: 5px;
  border-radius: 3px;
  z-index: 3;
  cursor: pointer;
}

#menuBtn img {
  width: 20px;
  margin-top: 15px;
}

/* unknown selector */
.categories {
  margin: 70px 0;
}

/* Featurd Categories Featurd Products */
.small-container {
  max-width: 1080px;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
}

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

/* zoom in effect */
.col-4.zoom-in {
  transform: scale(1.5);
}

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

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

.col-4 img {
  width: 100%;
  /* height: 35vh; */
}

.col-4 h4 {
  margin-top: 5px;
}

.rating .fa {
  color: gold;
  margin-top: 5px;
}

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

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

h4 {
  color: #555;
  font-weight: normal;
}

/* Offer 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.5s;
}

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

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

.fa.fa-quote-left {
  font-size: 25px;
  color: #da70d6;
}

.fa.fa-quote-right {
  font-size: 25px;
  color: #da70d6;
}

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

.col-3 {
  flex-basis: 30%;
  min-width: 250px;
  margin-bottom: 30px;
  transition: transform 0.5s;
  cursor: pointer;
}

/* zoom in effect */
.col-3.zoom-in {
  transform: scale(1.5);
}

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

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

/* Brands  */
.brands {
  margin: 100px auto;
}

.col-5 {
  width: 160px;
}

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

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

/* svg waves */
svg {
  margin-bottom: -90px;
}

.svg-account {
  background: radial-gradient(#fff, #ffd6d6);
}

/* footer */
.footer {
  background: #000;
  color: #8a8a8a;
  font-size: 14px;
  padding: 5px 0 20px;
}

.footer p {
  color: #8a8a8a;
}

.footer p a {
  color: crimson;
  font-weight: bold;
  text-decoration: none;
}

.footer p a:hover {
  text-decoration: underline;
  font-weight: 700;
}

.footer h3 {
  color: #fff;
  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: 30px;
  text-align: center;
}

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

.footer-col-2 img {
  width: 180px;
  margin-bottom: 20px;
  background-color: white;
  border-radius: 50%;
}

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

ul li {
  list-style-type: none;
  margin: 5px;
}

ul li a {
  text-decoration: none;
  font-weight: 300;
  color: #fff;
}

ul li a:hover {
  text-decoration: underline;
  color: #0d92ff;
}

/* Contact page specific styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 20px 0 60px;
}

.contact-info {
  padding: 6px 12px;
}

.contact-info .lead {
  margin-bottom: 18px;
  color: #444;
  line-height: 1.6;
}

.info-card {
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(12, 12, 12, 0.04);
  margin-bottom: 12px;
}

.map-wrap iframe {
  border-radius: 8px;
  border: 1px solid #eee;
}

.contact-form {
  background: #fff;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(12, 12, 12, 0.06);
}

.form-row {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.form-row label {
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-row input,
.form-row textarea,
.form-row select {
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn-primary {
  background: #da70d6;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.95;
}

.btn-secondary {
  background: #f2f2f2;
  color: #333;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.form-feedback {
  margin-top: 12px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .navbar {
    padding-top: 14px;
  }
}

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

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

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

.copyright {
  text-align: center;
}

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

/* All Products */
.row-2 {
  justify-content: space-between;
  margin: 100px auto 50px;
}

select {
  padding: 10px;
  border: 1px solid #da70d6;
  box-shadow: 5px 5px 5px #da70d6;
}

select:focus {
  color: #8d268a;
}

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

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

.page-btn span:hover {
  background: #da70d6;
  color: #fff;
}

/* Cart Items Details */
.cart-page {
  margin: 30px auto;
}

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

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

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

td {
  padding: 10px 5px;
}

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

td a {
  color: #da70d6;
  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 #da70d6;
  width: 100%;
  max-width: 400px;
}

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

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

/* Account Page */
.account-page {
  padding: 50px 0;
  background: radial-gradient(#fff, #ffd6d6);
}

.form-container {
  background: #fff;
  width: 300px;
  height: 350px;
  position: relative;
  text-align: center;
  padding: 20px 0;
  margin-top: -40px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 5px 5px 10px #da70d6;
}

.form-container span {
  font-weight: bold;
  padding: 0 10px;
  color: #555;
  cursor: pointer;
  width: 100px;
  display: inline-block;
  font-size: 24px;
}

.form-container form {
  max-width: 300px;
  padding: 0 20px;
  position: absolute;
  top: 90px;
  transition: transform 1s;
}

.form-btn {
  display: inline-block;
}

.form-container label {
  color: #da70d6;
}

form input {
  width: 100%;
  height: 30px;
  margin: 10px 0;
  padding: 0 10px;
  border: 1px solid #ccc;
  outline-color: #da70d6;
  border-radius: 5px;
}

form input:hover {
  border-color: #da70d6;
}

form .btn {
  width: 50%;
  border: none;
  cursor: pointer;
  margin: 10px;
  margin-bottom: 25px;
}

form p a {
  font-size: 13px;
  padding-top: 50px;
}

form a:hover {
  color: #da70d6;
}

/* for mobile devices to make it responsive website */
@media screen and (max-width: 414px) {
  html {
    width: 100%;
  }

  body {
    scroll-behavior: smooth;
  }

  #menuItems {
    display: none;
  }

  #menuBtn {
    display: block;
    margin: 50px 20px;
  }

  #sideNav {
    display: block;
  }

  #text {
    font-size: 25px;
    line-height: normal;
  }

  /* .col-2 h1 {
    margin-bottom: 20px;
  } */

  .col-4 {
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.5s;
  }

  .col-4.zoom-in {
    transform: scale(1);
  }

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

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

  .account-page {
    margin-bottom: -25px;
  }

  .footer {
    margin-top: 65px;
  }
}
