/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
}

img {
  width: 100%;
}

section {
  padding: 4rem 0 3rem;
}

* {
  margin: 0;
  padding: 0;
  scroll-padding-top: 2rem;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

:root {
  --main-color: #fd4646;
  --text-color: #171427;
  --bg-color: #fff;
}

#navbar-top {
  background-color: black;
  color: white;
}

.rsc {
  display: flex;
}

.icons {
  margin-left: 10px;
  margin-top: 3px;
  cursor: pointer;
}

.icons i {
  margin-left: 5px;
}

#navbar-color {
  background-color: #f5b500;
}

#navbar-logo i img {
  width: 30px;
  margin-bottom: 7px;
  margin-right: 10px;
}

#navbar-logo {
  font-size: 35px;
  font-family: 'Tiro Devanagari Marathi', serif;
  color: white;
  font-weight: bold;
  text-shadow: 2px 1px 5px black;
}

.nav-link {
  text-decoration: none;
  font-weight: bold;
  color: black;
}

.nav-link:hover {
  color: white;
  text-shadow: 2px 1px 5px black;
}

.new-icons:hover {
  cursor: pointer;
  color: white;
  text-shadow: 2px 1px 5px black;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  right: -100%;
  width: 360px;
  max-height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  background: rgba(211, 180, 3, 0.788);
  box-shadow: -2px 0 4px hsl(0 4% 15% / 10%);
  z-index: 1;
  transition: 0.3s;
}

.cart.active {
  right: 0;
}

.cart-title {
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
}

.cart-box {
  display: grid;
  grid-template-columns: 32% 50% 18%;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.cart-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  padding: 10px;
}

.detail-box {
  display: grid;
  row-gap: 0.5rem;
}

.cart-product-title {
  font-size: 1rem;
  /* text-transform: uppercase; */
  color: var(--text-color);
  font-weight: bold;
}

.cart-price {
  color: rgb(170, 31, 27);
  font-weight: 1000;
}

.cart-quantity {
  border: 1px solid var(--text-color);
  outline-color: var(--main-color);
  width: 2.4rem;
  text-align: center;
  font-size: 1rem;
}

.cart-remove {
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
}

.cart-remove:hover {
  color: var(--main-color);
}

.total {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  border-top: 1px solid var(--text-color);
  color: var(--text-color);
  font-weight: bold;
}

.total-title {
  font-size: 1rem;
  font-weight: bold;
}

.total-price {
  margin-left: 0.5rem;
  color: rgb(170, 31, 27);
  font-weight: 1000;
}

.btn-buy {
  display: flex;
  margin: 1.5rem auto 0 auto;
  padding: 12px 20px;
  border: none;
  background: var(--main-color);
  color: var(--bg-color);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-buy:hover {
  background: var(--text-color);
}

#colse-cart {
  position: absolute;
  top: 1rem;
  right: 0.8rem;
  font-size: 2rem;
  color: var(--text-color);
  cursor: pointer;
}

#colse-cart:hover {
  color: var(--main-color);
}

.shop {
  margin-top: 2rem;
}

/* Shop Content */
.shop-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, auto));
  gap: 1.5rem;
}

.product-box {
  position: relative;
}

.product-box:hover {
  padding: 10px;
  border: 1px solid var(--text-color);
  transition: 0.4s;
}

.product-img {
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
  border-radius: 6px;
}

.product-title {
  font-size: 1rem;
  font-weight: 650;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.price {
  font-weight: 500;
}

.add-cart {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--text-color);
  color: var(--bg-color);
  padding: 10px;
  cursor: pointer;
}

.add-cart:hover {
  background: hsl(249, 32%, 17%);
}


.arrow {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 40px;
  right: 50px;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
}