/* alter default styles */
/* Cart Section */
.cart {
  padding: 40px;
  background: linear-gradient(135deg, #f9f9f9, #e0e0e0); /* Gradient background */
  border-radius: 12px; /* Rounded corners */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Enhanced shadow for depth */
  max-width: 900px;
  margin: 30px auto;
}

.cart-container {
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.cart-header h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333; /* Darker text color for better readability */
  font-family: 'Poppins', sans-serif; /* Custom font */
  border-bottom: 2px solid #ff5722; /* Accent border */
  padding-bottom: 10px;
}

.cart-content ul {
  list-style: none;
  padding: 0;
}

.cart-content li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.cart-content li .remove-btn {
  background: none;
  border: none;
  color: #ff0000;
  font-size: 20px;
  cursor: pointer;
}

.cart-content li .remove-btn:hover {
  color: #cc0000;
}

.cart-content li:hover {
  background-color: #f1f1f1; /* Light grey on hover */
}

.cart-summary {
  margin-top: 20px;
}

.cart-summary .summary-item {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
  font-weight: 600;
  color: #333; /* Darker text color */
}

.cart-summary .summary-item:last-child {
  border-bottom: none;
}

.cart-summary .delivery-charge h3 {
  font-size: 16px; /* Smaller font size for delivery charge */
  font-weight: 400; /* Lighter font weight */
  color: #777; /* Lighter color for less emphasis */
}

.cart-address {
  margin-top: 20px;
}

.cart-address h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #555; /* Slightly lighter text color */
}

.cart-address textarea {
  width: 100%;
  height: 120px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif; /* Custom font */
  box-sizing: border-box; /* Ensure padding is included in width */
  transition: border-color 0.3s ease; /* Smooth border color transition */
}

.cart-address textarea:focus {
  border-color: #ff5722; /* Accent border color on focus */
  outline: none;
}

.cart-actions {
  margin-top: 20px;
  text-align: center;
}

.cart-actions button {
  padding: 15px 30px;
  font-size: 18px;
  color: white;
  background: linear-gradient(135deg, #ff5722, #e64a19); /* Gradient background */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease; /* Smooth transition effects */
}

.cart-actions button:hover {
  background: linear-gradient(135deg, #e64a19, #ff5722); /* Reverse gradient on hover */
  transform: scale(1.05); /* Slightly enlarge button */
}

.cart-actions button:focus {
  outline: none;
}



* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  scroll-padding-top: 3rem;
}

:root {
  /* colors */
  --main-color: #ff0000b6;
  --text-color: #000000;
  --other-color: #d1d9db;
  --second-color: #000000;
  --bg-color: #ffffff;
  /* fonts */
  --big-font: 4.5rem;
  --h2-font: 2.6rem;
  --p-font: 1.1rem;

  /* borders */
  --shadow-main: #ffaa0d 0 1px 25px;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

/********** HEADER **********/
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 30px 14%;
  transition: all 0.5s ease;
}

header.sticky {
  padding: 12px 14%;
  background-color: var(--other-color);
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-size: 33px;
  font-weight: 700;
}

.logo i {
  vertical-align: middle;
  margin-right: 8px;
  color: var(--main-color);
}

.nav-list {
  display: flex;
}

.nav-list a {
  color: var(--text-color);
  font-size: var(--p-font);
  font-weight: 600;
  margin: 0 30px;
  transition: all 0.5s ease;
}

.nav-list a:hover {
  color: var(--main-color);
}

.nav-list a.active {
  color: var(--main-color);
}

.nav-icons {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  background: var(--main-color);
  border-radius: 3rem;
  box-shadow: var(--shadow-main);
}

.nav-icons i {
  vertical-align: middle;
  font-size: 25px;
  color: var(--bg-color);
  margin-right: 8px;
  margin-left: 5px;
  transition: all 0.5s ease;
}

#menu-icon {
  font-size: 32px;
  color: var(--bg-color);
  z-index: 10001;
  cursor: pointer;
  display: none;
}

.nav-icons i:hover {
  transform: scale(1.1);
  color: var(--text-color);
}

/********** HOME **********/
section {
  padding: 70px 14% 60px;
}

.home {
  position: relative;
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.home-img img {
  width: 100%;
  height: auto;
}

.home-text h1 {
  font-size: var(--big-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3rem;
}

span {
  color: var(--main-color);
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--other-color);
  color: var(--main-color);
  font-size: var(--p-font);
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 3rem;
  transition: all 0.5s ease;
}

.btn i {
  vertical-align: middle;
  margin-left: 9px;
  font-size: 22px;
}

.btn:hover {
  background: var(--main-color);
  color: var(--text-color);
  box-shadow: var(--shadow-main);
}

.btn2 {
  display: inline-block;
  margin-left: 30px;
  font-size: var(--p-font);
  font-weight: 500;
  letter-spacing: 1px;
  border-bottom: 3px solid var(--main-color);
  color: var(--main-color);
  transition: all 0.5s ease;
}

.btn2:hover {
  transform: scale(1.1) translateX(12px);
}

/********** CONTAINER **********/
.container {
  padding: 30px 14% 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 2rem;
  text-align: center;
}

.container-box {
  padding: 43px;
  background: var(--other-color);
  border-radius: 3rem;
}

.container-box img {
  width: 100%;
  max-width: 50px;
  height: auto;
}

.container-box h3 {
  font-size: 21px;
  font-weight: bold;
  margin: 16px 0;
}

.container-box a {
  color: var(--second-color);
  font-size: var(--p-font);
  letter-spacing: 1px;
  transition: all 0.5s ease;
}

.container-box a:hover {
  color: var(--main-color);
}

.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
}

.about-img img {
  width: 100%;
  height: auto;
}

.about-text h2 {
  font-size: var(--h2-font);
  line-height: 1.3;
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--second-color);
  font-size: var(--p-font);
  line-height: 30px;
  margin-bottom: 3rem;
}

/********** ABOUT US **********/
.middle-text {
  text-align: center;
}

.middle-text h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--main-color);
}

.middle-text h2 {
  font-size: var(--h2-font);
}

.shop-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 2rem;
  align-items: center;
  margin-top: 4rem;
}

.row {
  position: relative;
  padding: 10px 35px 40px;
  background: var(--other-color);
  border-radius: 3rem;
}

.row img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.row h3 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 700;
}

.row p {
  color: var(--second-color);
  font-size: var(--p-font);
  line-height: 30px;
  margin-bottom: 1.1rem;
}

.in-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.in-text .price h6 {
  font-size: 17px;
  color: var(--main-color);
  font-weight: 600;
}

.in-text .s-btn a {
  display: inline-block;
  padding: 9px 23px;
  background: var(--bg-color);
  color: var(--main-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 3rem;
  transform: all 0.5s ease;
}

.in-text .s-btn a:hover {
  background: var(--main-color);
  color: var(--bg-color);
  box-shadow: var(--shadow-main);
}

.top-icon {
  position: absolute;
  top: 30px;
  left: 35px;
}

.top-icon i {
  font-size: 22px;
  color: var(--main-color);
}

.row-btn {
  text-align: center;
  margin-top: 6rem;
}

.row img:hover {
  transform: scale(1.1);
}

/********** REVIEWS **********/
.review-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 2rem;
  align-items: center;
  margin-top: 4rem;
}

.box {
  padding: 35px;
  background: var(--other-color);
  border-radius: 3rem;
}

.box p {
  color: var(--second-color);
  font-size: var(--p-font);
  line-height: 30px;
  margin-bottom: 1.5rem;
}

.in-box {
  display: flex;
  align-items: center;
  gap: 30px;
}

.bx-img img {
  width: 100%;
  height: auto;
  border-radius: 3rem;
}

.bxx-text h4 {
  color: #000000;
  margin: 5px 0;
  font-size: 18px;
}

.bxx-text h5 {
  color: black;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.ratings i {
  color: var(--main-color);
  font-size: 18px;
  margin-right: 5px;
}

/********** CONTACT **********/
.contact-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.contact-img {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  gap: 4rem;
  margin-bottom: 5rem;
}

.contact-img img {
  width: 100%;
  max-width: 200px;
  height: auto;
  cursor: pointer;
  transition: all 0.5s ease;
}

.contact-img img:hover {
  transform: scale(0.9);
}

.contact-text {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-text h2 {
  font-size: var(--h2-font);
  margin-bottom: 10px;
}

.contact-text p {
  color: var(--second-color);
  font-size: var(--p-font);
  max-width: 950px;
  line-height: 30px;
  margin-bottom: 3rem;
}

.social i {
  display: inline-block;
  font-size: 32px;
  color: var(--second-color);
  margin: 0 20px;
  transition: all 0.5s ease;
}

.social .clr i {
  color: var(--main-color);
}

.social i:hover {
  color: var(--main-color);
}

.details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.main-d a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-size: 20px;
  font-weight: 600;
}

.main-d i {
  vertical-align: middle;
  margin-right: 12px;
  font-size: 28px;
  color: var(--main-color);
}

/********** Scroll to Top **********/
.scroll {
  position: fixed;
  bottom: 2.2rem;
  border-top: 2rem;
  right: 3.2rem;
}

.scroll i {
  font-size: 22px;
  color: var(--text-color);
  background: var(--main-color);
  padding: 10px;
  border-radius: 2rem;
}

.footer {
  text-align: center; /* Center the text */
  padding: 10px;
  background: #ff5722;
  color: rgb(0, 0, 0);
  position: relative;
  bottom: 0;
  width: 100%;
  font-size: 12px; /* Adjust the font size as needed */
}


/********** Responsiveness **********/
@media only screen and (max-width: 1545px) {
  header {
    padding: 22px 4%;
    transition: 0.2s;
  }

  header.sticky {
    padding: 14px 4%;
    transition: 0.2s;
  }

  section {
    padding: 50px 4% 40px;
    transition: 0.2s;
  }

  .container {
    padding: 30px 4% 50px;
  }
}

@media only screen and (max-width: 1180px) {
  :root {
    --big-font: 4rem;
    --h2-font: 2.2rem;
    --p-font: 15px;
  }

  .home {
    height: 85vh;
  }
}

@media only screen and (max-width: 1060px) {
  #menu-icon {
    display: initial;
  }

  .nav-list {
    position: absolute;
    top: -1000px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: var(--other-color);
    transition: all 0.5s ease;
  }

  .nav-list a {
    display: block;
    padding: 0.5rem;
    margin: 1rem;
    border-left: 2px solid var(--main-color);
  }

  .nav-list.open {
    top: 100%;
  }
}

@media only screen and (max-width: 1045px) {
  :root {
    --big-font: 3.3rem;
    --h2-font: 2rem;
  }

  .home-img img {
    width: 100%;
    max-width: 490px;
    height: auto;
  }

  .about-img img {
    width: 100%;
    max-width: 490px;
    height: auto;
  }

  .home {
    height: 70vh;
  }
}

@media only screen and (max-width: 860px) {
  .home {
    grid-template-columns: 1fr;
    height: 118vh;
  }

  .home-text {
    padding-top: 60px;
  }

  .home-img {
    text-align: center;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-img {
    text-align: center;
  }
}

@media only screen and (max-width: 520px) {
  .contact-img {
    gap: 1.5rem;
    justify-content: center;
  }

  .contact-img img {
    width: 100%;
    max-width: 170px;
    height: auto;
  }

  .social i {
    margin: 0 10px;
  }

  .contact-text p {
    max-width: 100%;
  }

  .details {
    gap: 1.5rem;
  }
}

@media only screen and (max-width: 475px) {
  :root {
    --big-font: 2.8rem;
  }
}

@media only screen and (max-width: 440px) {
  .home {
    height: 110vh;
    gap: 0.1rem;
  }
}
