@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap");

:root {
  --orange: #ff7800;
  --green: green;
  --black: #000000;
  --light-color: #666;
  --light-light-color: #d1d1d1;
  --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  --border: 0.2rem solid rgba(0, 0, 0.1);
  --outline: 0.1rem solid rgba(0, 0, 0.1);
  --outline-hover: 0.2rem solid var(--black);
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: none;
  transition: all 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  background: #eee;
}

/*Code For BANNER*/
section {
  padding: 2rem 9%;
}

.heading {
  text-align: center;
  padding: 2rem 0;
  padding-bottom: 3rem;
  font-size: 3.5rem;
  color: var(--black);
  text-transform: capitalize;
}

.heading span {
  background: var(--orange);
  color: #fff;
  display: inline-block;
  padding: 0.5rem 3rem;
  clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

.btn {
  border: 0.2px solid var(--black);
  margin-top: 1rem;
  display: inline-block;
  padding: 0.8rem 3rem;
  font-size: 1.7rem;
  border-radius: 0.5rem;
  color: var(--black);
  cursor: pointer;
  background: none;
  text-transform: capitalize;
}

.btn:hover {
  background: var(--orange);
  color: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 9%;
  background: #fff;
  box-shadow: var(--box-shadow);
}

.header .logo {
  font-size: 2.5rem;
  font-weight: bolder;
  color: var(--orange);
}

.header .logo i {
  color: golden;
}

.header .navbar a {
  font-size: 1.7rem;
  margin: 0 1rem;
  color: var(--black);
  text-transform: capitalize;
}

.header .navbar a:hover {
  color: var(--orange);
}

.header .icons div {
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  border-radius: 0.5rem;
  background: #eee;
  color: var(--black);
  font-size: 2rem;
  margin-left: 0.3rem;
  cursor: pointer;
  text-align: center;
}

.header .icons div:hover {
  background: var(--orange);
  color: #fff;
}

#menu-btn {
  display: none;
}

.header .navbar.active {
  right: 2rem;
  transition: 0.4s linear;
}

/* search form removed */

.header .shopping-cart {
  position: fixed;
  top: 7rem;
  right: -110%;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  width: 35rem;
  max-height: calc(100vh - 9rem);
  background: #fff;
  display: flex;
  flex-direction: column;
  z-index: 1100;
}

.header .shopping-cart.active {
  right: 2rem;
  transition: 0.28s ease;
}

.header .shopping-cart .box {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  margin: 1rem 0;
}

.header .shopping-cart .box img {
  height: 8rem;
}

.header .shopping-cart .box .fa-trash {
  font-size: 2rem;
  position: absolute;
  top: 50%;
  right: 2rem;
  cursor: pointer;
  color: var(--light-color);
  transform: translateY(-50%);
}

.header .shopping-cart .box .fa-trash:hover {
  color: var(--orange);
}

.header .shopping-cart .box .content h3 {
  color: var(--black);
  font-size: 1.7rem;
  padding-bottom: 1rem;
}

.header .shopping-cart .box .content span {
  color: var(--light-color);
  font-size: 1.6rem;
}

.header .shopping-cart .box .content .quantity {
  padding-left: 1rem;
}

.header .shopping-cart #cart-items-container {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.header .shopping-cart .cart-footer {
  flex: 0 0 auto;
  padding-top: 0.5rem;
  background: #fff;
}

.header .shopping-cart .cart-footer .total {
  font-size: 2.2rem;
  padding: 0.6rem 0;
  text-align: center;
  color: var(--black);
}

.header .shopping-cart .cart-footer .btn {
  display: block;
  text-align: center;
  margin: 0.6rem 0;
}

.header .login-form {
  position: absolute;
  width: 35rem;
  top: 110%;
  right: -110%;
  box-shadow: var(--box-shadow);
  padding: 2rem;
  border-radius: 0.5rem;
  background: #fff;
  text-align: center;
}

.header .login-form.active {
  right: 2rem;
  transition: 0.4s linear;
}

.header .login-form h3 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--black);
}

.header .login-form .box {
  width: 100%;
  margin: 0.7rem 0;
  background: var(--light-light-color);
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 1.6rem;
  color: var(--black);
  text-transform: none;
}

.header .login-form p {
  font-size: 1.4rem;
  padding: 0.5rem 0;
  color: var(--light-color);
}

.header .login-form p a {
  color: var(--orange);
  text-decoration: underline;
}

.header .login-form .user-panel {
  text-align: left;
}

.header .login-form .user-panel__hero {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  padding: 1.4rem;
  border-radius: 1.2rem;
  border: 0.1rem solid rgba(255, 120, 0, 0.16);
  background: linear-gradient(
    135deg,
    rgba(255, 120, 0, 0.12),
    rgba(255, 120, 0, 0.04)
  );
}

.header .login-form .user-panel__avatar {
  width: 5rem;
  height: 5rem;
  flex: 0 0 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ffb35c);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 1rem 2rem rgba(255, 120, 0, 0.22);
}

.header .login-form .user-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 120, 0, 0.1);
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header .login-form .user-panel__name {
  margin: 0;
  color: var(--black);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.header .login-form .user-panel__meta {
  margin: 0.45rem 0 0;
  color: var(--light-color);
  font-size: 1.35rem;
  line-height: 1.6;
  text-transform: none;
  word-break: break-word;
}

.header .login-form .user-panel__details {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.header .login-form .user-panel__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: var(--light-light-color);
}

.header .login-form .user-panel__detail i {
  margin-top: 0.2rem;
  color: var(--orange);
  font-size: 1.6rem;
}

.header .login-form .user-panel__detail span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--light-color);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header .login-form .user-panel__detail strong {
  display: block;
  color: var(--black);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: none;
  word-break: break-word;
}

.header .login-form .user-panel .btn {
  width: 100%;
  margin-top: 1.4rem;
}

.button:active {
  transform: scale(0.98);
}

/*BANNER*/

.home {
  display: flex;
  justify-content: center;
  background: url(/images/banner-1.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 25rem; /* 17 */
  padding-bottom: 10rem;
}

.home .content {
  text-align: center;
  width: 60rem;
}

.home .content h3 {
  color: var(--black);
  font-size: 3rem;
}

.home .content h3 span {
  color: var(--orange);
}

.home .content p {
  color: var(--light-color);
  font-size: 1.7rem;
  padding: 1rem 0;
  line-height: 1.8;
}

/*FEATURES*/

/* (02:04) https://youtu.be/UtZeG7dZVWI?si=TWnlELJQjZsYBhmw&t=124 */

.features .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.features .box-container .box {
  padding: 3rem 2rem;
  background: #fff;
  outline: var(--outline);
  outline-offset: -1rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.features .box-container .box:hover {
  box-shadow: 1px 1px 10px 4px var(--orange);
}

.features .box-container .box img {
  margin: 1rem 0;
  height: 15rem;
}

.features .box-container .box h3 {
  font-size: 2.5rem;
  line-height: 1.8;
  color: var(--black);
}

.features .box-container .box p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--light-color);
  padding: 1rem 0;
}

/*FEATURES*/

/*PRODUCTS*/

.products .product-slider {
  padding: 1rem;
}

.products .product-slider:first-child {
  margin-bottom: 2rem;
}

.products .product-slider .box {
  background: #fff;
  border-radius: 0.5rem;
  text-align: center;
  padding: 3rem 2rem;
  outline-offset: -1rem;
  outline: var(--outline);
  box-shadow: var(--box-shadow);
  transition: 0.2s linear;
  position: relative;
  overflow: hidden;
}

/****************************************/
/*
.products .product-slider .swiper-wrapper {
    border: 1px solid rebeccapurple;
    position: relative;
    width: 25%;
    height: 35%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
}*/

.products .product-slider .box:hover {
  box-shadow: 1px 1px 10px 4px var(--orange);
}

.products .product-slider .box.in-cart {
  outline-color: rgba(255, 120, 0, 0.35);
  box-shadow: 0 1.4rem 2.6rem rgba(255, 120, 0, 0.18);
}

.products .product-slider .box.in-cart::before {
  content: "In Cart";
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.products .product-slider .box.in-cart img {
  transform: scale(0.96);
  filter: saturate(1.05);
}

.products .product-slider .box.in-cart .add-to-cart-btn {
  background: linear-gradient(135deg, var(--orange), #ff9b3d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 1rem 1.8rem rgba(255, 120, 0, 0.2);
}

.products .product-slider .box.in-cart .add-to-cart-btn i {
  margin-right: 0.6rem;
}

.products .product-slider .box img {
  height: 20rem;
}

.products .product-slider .box h1 {
  font-size: 2.5rem;
  color: var(--black);
}

.products .product-slider .box .price {
  font-size: 2rem;
  color: var(--light-color);
  padding: 0.5rem 0;
}

.products .product-slider .box .stars i {
  font-size: 1.7rem;
  color: orange;
  padding: 0.5rem 0;
}

/*PRODUCTS*/

/*Categories*/

.categories .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.categories .box-container .box {
  padding: 3rem 0;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  outline: var(--outline);
  outline-offset: -1rem;
  text-align: center;
}

.categories .box-container .box:hover {
  box-shadow: 1px 1px 10px 4px var(--orange);
}

.categories .box-container .box img {
  margin: 1rem 0;
  height: 15rem;
}

.categories .box-container .box h3 {
  font-size: 2rem;
  color: var(--black);
  line-height: 1.8;
}

.categories .box-container .box p {
  font-size: 1.7rem;
  color: var(--light-color);
  line-height: 1.8;
  padding: 1rem 0;
}

/*Categories*/

/*Review*/

.review .review-slider {
  padding: 1rem;
}

/********************************************/
.review .review-slider .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 35%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(
    --swiper-wrapper-transition-timing-function,
    initial
  );
  box-sizing: content-box;
}

.review .review-slider .box {
  background: #fff;
  border-radius: 0.5rem;
  text-align: center;
  padding: 3rem 2rem;
  outline-offset: -1rem;
  outline: var(--outline);
  box-shadow: var(--box-shadow);
  transition: 0.2s linear;
}

.review .review-slider .box:hover {
  box-shadow: 1px 1px 10px 4px var(--orange);
}

.review .review-slider .box img {
  height: 10rem;
  width: 10rem;
  border-radius: 100%;
}

.review .review-slider .box p {
  padding: 1rem 0;
  line-height: 1.8;
  color: var(--light-color);
  font-size: 1.5rem;
}

.review .review-slider .box h3 {
  padding-bottom: 0.5rem;
  color: var(--black);
  font-size: 2.2rem;
}

.review .review-slider .box .stars i {
  color: orange;
  font-size: 1.7rem;
}

/* Review */

/* Blogs */

.blogs .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.blogs .box-container .box {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  background: #fff;
}

.blogs .box-container .box img {
  height: 25rem;
  width: 100%;
  object-fit: cover;
}

.blogs .box-container .box .content {
  padding: 2rem;
}

.blogs .box-container .box .content .icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: var(--border);
}

.blogs .box-container .box .content .icons a {
  color: var(--light-color);
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: inherit;
}

.blogs .box-container .box .content .icons a:hover {
  color: var(--black);
}

.blogs .box-container .box .content .icons a i {
  color: green;
  margin-right: 0;
  flex: 0 0 auto;
}

/* Ensure author/date text uses site font and consistent sizing */
.blogs .box-container .box .content .icons a {
  font-size: 1.4rem;
  color: var(--green);
}

.blogs .box-container .box .content .icons a:last-child {
  color: var(--light-color);
}

.blogs .box-container .box .content h3 {
  line-height: 1.8;
  color: var(--black);
  font-size: 1.5rem;
  padding: 0.5rem 0;
}

.blogs .box-container .box .content p {
  line-height: 1.8;
  color: var(--light-color);
  font-size: 1.5rem;
  padding: 0.5rem 0;
}

/* Blogs */

/* FOOTER */

.footer {
  background: #fff;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 1.5rem;
}

.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--black);
  padding: 1rem 0;
}

.footer .box-container .box h3 i {
  color: var(--orange);
}

.footer .box-container .box .links {
  display: block;
  font-size: 1.5rem;
  color: var(--light-color);
  padding: 1rem 0;
}

.footer .box-container .box .links i {
  color: var(--orange);
  padding-right: 0.5rem;
}

.footer .box-container .box .links:hover i {
  padding-right: 2rem;
}

.footer .box-container .box p {
  line-height: 1.8;
  font-size: 1.5rem;
  color: var(--light-color);
  padding: 1rem 0;
}

.footer .box-container .box .share a {
  height: 4rem;
  width: 4rem;
  line-height: 4rem;
  border-radius: 0.5rem;
  font-size: 3rem;
  color: var(--black);
  margin-left: 0.2rem;
  background: var(--light-light-color);
  text-align: center;
}

.footer .box-container .box .share a:hover {
  background: var(--orange);
  color: #fff;
}

.footer .box-container .box .email {
  width: 100%;
  margin: 0.7rem 0;
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--light-light-color);
  font-size: 1.6rem;
  color: var(--black);
  text-transform: none; /* none */
}

.footer .box-container .box .payment-img {
  margin-top: 2rem;
  height: 5rem;
}

.footer .credit {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  padding-top: 2.5rem;
  font-size: 2rem;
  color: var(--black);
  border-top: var(--border);
}

.footer .credit span {
  color: var(--orange);
}

/* FOOTER */

/* media queries */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  section {
    padding: 2rem;
  }

  .header {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  #menu-btn {
    display: inline-block;
  }

  /* search removed */

  .header .navbar {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 30rem;
    box-shadow: var(--box-shadow);
    border-radius: 0.5rem;
    background: #fff;
  }

  .header .navbar a {
    font-size: 2rem;
    margin: 2rem 2.5rem;
    display: block;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .heading {
    font-size: 2.5rem;
  }

  .footer {
    text-align: center;
  }
}

/* Cart count badge */
#cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  width: 1.8rem;
  height: 1.8rem;
  display: none;
  align-items: center;
  justify-content: center;
}

.cart-count.visible {
  display: flex;
}

/* Quantity controls inside cart panel */
.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.cart-qty-controls button {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.cart-qty-controls span {
  font-size: 1.6rem;
  color: var(--black);
  min-width: 1.5rem;
  text-align: center;
}

/* Empty cart message */
.cart-empty-msg {
  text-align: center;
  padding: 2rem 0;
  font-size: 1.6rem;
  color: var(--light-color);
}
