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

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
}

:root {
  --headers: #222;
  --text: #465b52;
  --bg-nav: #e3e6f3;
  --text-nav: #1a1a1a;
  --text-nav-hover: #088178;
  --border-featureItem: #cce7d0;
  --text-brand: #606063;
  --text-product: #1a1a1a;
  --icon-stars: rgb(243, 181, 25);
  --icon-bg: #e8f6ea;
  --skeleton-bg: #e0e0e0;
  --skeleton-text: #d6d6d6;
  --skeleton-img: #d6d6d68c;
  --text-banner: #fff;
  --text-discount: #ef3636;
  --text-button: black;
  --bg-button: white;
  --text-samll-banners: #ec544e;
  --bg-newsletter: #041e42;
}

body {
  width: 100%;
}

h1 {
  font-size: 3.1rem;
  line-height: 4rem;
  color: var(--black);
}

h2 {
  font-size: 2.8rem;
  line-height: 3.37rem;
  color: var(--black);
}

h4 {
  font-size: 1.2rem;
  color: var(--black);
}

h6 {
  font-weight: 700;
  font-size: 0.9rem;
}

p {
  font-size: 1rem;
  color: var(--text);
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

button.normal {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 1.94rem;
  color: var(--text-button);
  background-color: var(--bg-button);
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}

button.white {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  color: var(--bg-button);
  background-color: transparent;
  cursor: pointer;
  border: 1px solid var(--bg-button);
  outline: none;
  transition: 0.2s;
}

/* HEADER */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 5rem;
  background-color: var(--bg-nav);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.06);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
}

#navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  /* gap: 1rem; */
}

#navbar li {
  padding: 0 1.1rem;
  position: relative;
}

#navbar > li a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-nav);
  transition: 0.3s ease;
}

#navbar > li a:hover,
#navbar > li a:active,
#navbar > li a.active {
  color: var(--text-nav-hover);
}

#navbar > li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: var(--text-nav-hover);
  position: absolute;
  bottom: -0.3rem;
  left: 1.1rem;
  border-radius: 1rem;
  transition: width 0.3s ease;
}

#navbar > li a:hover::after,
#navbar > li a:active::after,
#navbar > li a.active::after {
  width: 30%;
}

#navbar ul.active {
  right: 0;
}

/* Mobile menu */

#mobile {
  display: none;
  align-items: center;
}

#hero {
  background-image: url("./img/hero4.png");
  height: 90vh;
  width: 100%;
  background-size: cover;
  background-position: top 25% right 0%;
  padding: 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#hero h4 {
  padding-bottom: 1rem;
}

#hero h1 {
  color: var(--text-nav-hover);
}

#hero button {
  background-image: url("./img/button.png");
  background-color: transparent;
  color: var(--text-nav-hover);
  border: 0;
  padding: 0.9rem 5rem 0.9rem 4rem;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}

#feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 1.2rem; */
  flex-wrap: wrap;
}

#feature .fa-box {
  width: 11.2rem;
  text-align: center;
  padding: 1.3rem 1rem;
  box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-featureItem);
  border-radius: 4px;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

#feature .fa-box:hover,
#feature .fa-box:active {
  box-shadow: 10px 10px 54px rgba(70, 62, 221, 0.1);
  transform: translateY(-3px);
}

#feature .fa-box img {
  width: 100%;
  margin-bottom: 0.4rem;
}

#feature .fa-box h6 {
  padding: 0.55rem 0.5rem 0.45rem 0.5rem;
  line-height: 1;
  border-radius: 4px;
  color: var(--text-nav-hover);
  display: inline-block;
}

/* Products */
#products1 {
  text-align: center;
}

#products1 .pro-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
}

#products1 .shop-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
}

#products1 .pro {
  width: 23%;
  min-width: 250px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-featureItem);
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
  margin: 1rem 0;
  transition: 0.2s ease;
  position: relative;
}

#products1 .pro:hover,
#products1 .pro:active {
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.1);
}

#products1 .pro img {
  width: 100%;
  border-radius: 20px;
}

#products1 .pro .des {
  text-align: start;
  padding: 0.7rem 0;
}

#products1 .pro .des span {
  color: var(--text-brand);
  font-size: 0.83rem;
}
#products1 .pro .des h5 {
  padding-top: 0.45rem;
  color: var(--text-product);
  font-size: 1rem;
}

#products1 .pro .des i {
  font-size: 0.9rem;
  color: var(--icon-stars);
}

#products1 .pro .des h4 {
  padding-top: 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-nav-hover);
}

#products1 .pro .cart {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  border-radius: 2.7rem;
  /* font-weight: 500; */
  color: var(--text-nav-hover);
  transition: 0.2s ease;
  background-color: var(--icon-bg);
  border: 1px solid var(--border-featureItem);
  position: absolute;
  bottom: 1.25rem;
  right: 0.625rem;
}

#products1 .pro .cart:hover,
#products1 .pro .cart:active {
  transform: scale(1.05);
}

/* Skeleton list */
.skeleton {
  position: relative;
  overflow: hidden;
  width: 23%;
  margin: 1rem 0;
  min-width: 15rem;
  background: var(--skeleton-bg);
  border-radius: 1.5rem;
  padding: 1rem;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -9.375rem;
  height: 100%;
  width: 9.375rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
  border-radius: 1.5rem;
}

.img-skeleton {
  width: 100%;
  height: 16.25rem;
  border-radius: 1.25rem;
  margin-bottom: 0.4375rem;
  background-color: var(--skeleton-img);
}

.des-skeleton .brand-skeleton,
.des-skeleton .name-skeleton,
.des-skeleton .stars-skeleton,
.des-skeleton .price-skeleton {
  height: 0.875rem;
  margin-bottom: 0.3125rem;
  border-radius: 0.3125rem;
  background: var(--skeleton-text);
}

.des-skeleton .name-skeleton {
  width: 70%;
}

.des-skeleton .brand-skeleton {
  width: 50%;
}

.des-skeleton .stars-skeleton {
  width: 40%;
}

.des-skeleton .price-skeleton {
  width: 30%;
  height: 1.125rem;
  margin-top: 0.1875rem;
}

@keyframes shimmer {
  0% {
    left: -9.375rem;
  }
  100% {
    left: 100%;
  }
}

#banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("./img/banner/b2.jpg");
  width: 100%;
  height: 40vh;
  background-repeat: none;
  background-position: center;
  background-size: cover;
}

#banner h4 {
  color: var(--text-banner);
  font-size: 1rem;
}

#banner h2 {
  color: var(--text-banner);
  font-size: 1.9rem;
  padding: 0.8rem 0;
}

#banner h2 span {
  color: var(--text-discount);
}

#banner button:hover,
#banner button:active {
  background-color: var(--text-nav-hover);
  color: var(--bg-button);
}

/* New Arrivals */
#products2 {
  text-align: center;
}

#products2 .pro-container2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
}

#products2 .pro {
  width: 23%;
  min-width: 250px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-featureItem);
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.06);
  margin: 1rem 0;
  transition: 0.2s ease;
  position: relative;
}

#products2 .pro:hover,
#products2 .pro:active {
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.1);
}

#products2 .pro img {
  width: 100%;
  border-radius: 20px;
}

#products2 .pro .des {
  text-align: start;
  padding: 0.7rem 0;
}

#products2 .pro .des span {
  color: var(--text-brand);
  font-size: 0.83rem;
}
#products2 .pro .des h5 {
  padding-top: 0.45rem;
  color: var(--text-product);
  font-size: 1rem;
}

#products2 .pro .des i {
  font-size: 0.9rem;
  color: var(--icon-stars);
}

#products2 .pro .des h4 {
  padding-top: 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-nav-hover);
}

#products2 .pro .cart {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  border-radius: 2.7rem;
  color: var(--text-nav-hover);
  transition: 0.2s ease;
  background-color: var(--icon-bg);
  border: 1px solid var(--border-featureItem);
  position: absolute;
  bottom: 1.25rem;
  right: 0.625rem;
}

#products2 .pro .cart:hover,
#products2 .pro .cart:active {
  transform: scale(1.05);
}
/* Banners  */

#sm-banner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#sm-banner .banner-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
  background-image: url("./img/banner/b17.jpg");
  min-width: 36.25rem;
  height: 50vh;
  background-repeat: none;
  background-position: center;
  background-size: cover;
}

#sm-banner h4 {
  color: var(--text-banner);
  font-size: 1.2rem;
  font-weight: 300;
}

#sm-banner h2 {
  color: var(--text-banner);
  font-size: 1.8rem;
  font-weight: 800;
}

#sm-banner span {
  color: var(--text-banner);
  font-size: 0.9rem;
  font-weight: 400;
  padding-bottom: 1rem;
}

#sm-banner .banner-box:hover button {
  background-color: var(--text-nav-hover);
  border: 1px solid var(--text-nav-hover);
}

#sm-banner .banner-box2 {
  background-image: url("./img/banner/b10.jpg");
}

#banner3 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 5rem;
}

#banner3 .banner-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
  background-image: url("./img/banner/b7.jpg");
  min-width: 30%;
  height: 30vh;
  background-repeat: none;
  background-position: center;
  background-size: cover;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}

#banner3 .banner-box h2 {
  color: var(--bg-button);
  font-weight: 900;
  font-size: 1.3rem;
}

#banner3 .banner-box h3 {
  color: var(--text-samll-banners);
  font-weight: 800;
  font-size: 1rem;
}

#banner3 .banner-box2 {
  background-image: url("./img/banner/b4.jpg");
}

#banner3 .banner-box3 {
  background-image: url("./img/banner/b18.jpg");
}

/* newsletter */

#newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-image: url("./img/banner/b14.png");
  background-repeat: no-repeat;
  background-position: 20% 30%;
  background-color: var(--bg-newsletter);
}

#newsletter h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-banner);
}

#newsletter p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #818ea0;
}

#newsletter p span {
  color: #ffbd27;
}

#newsletter .form {
  display: flex;
  width: 40%;
}

#newsletter input {
  height: 3.125rem;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#newsletter button {
  background-color: var(--text-nav-hover);
  color: var(--text-banner);
  white-space: nowrap;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
}

footer .column ul {
  list-style: none;
}

footer .column {
  display: flex;
  /* flex-wrap: wrap; */
  /* justify-content: space-between; */
  flex-direction: column;
  align-items: flex-start;
  /* gap: 0.6rem; */
  margin-bottom: 1.2rem;
}

footer .logo {
  margin-bottom: 1.9rem;
}

footer h4 {
  font-size: 0.9rem;
  padding-bottom: 1.2rem;
}

footer p {
  font-size: 0.8rem;
  margin: 0 0 9.5rem 0;
}

footer p {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--headers);
  margin-bottom: 0.7rem;
}

footer .column ul li {
  margin-bottom: 0.7rem;
}

footer .column ul li a {
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--headers);
  transition: 0.2s;
}

footer .follow {
  margin-top: 1.2rem;
  cursor: pointer;
}

footer .follow i {
  color: var(--text);
  padding-right: 0.2rem;
  cursor: pointer;
  transition: 0.2s;
}

footer .follow i:hover,
footer .follow i:active,
footer .column ul li a:hover,
footer .column ul li a:active {
  color: var(--text-nav-hover);
}

footer .install .row img {
  border: 1px solid var(--text-nav-hover);
  border-radius: 6px;
}

footer .install img {
  margin: 0.7rem 0 0.95rem 0;
}

footer .copywrite {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

/* Text shading */

::selection {
  background: var(--bg-newsletter);

  color: var(--bg-nav);
}
/* FireFox */
::-moz-selection {
  background: var(--bg-newsletter);
  color: var(--bg-nav);
}

#close {
  display: none;
}

/* SHop page */

#page-header {
  background-image: url("./img/banner/b1.jpg");
  width: 100%;
  height: 40vh;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.9rem;
}

#page-header h2,
#page-header p {
  color: var(--text-banner);
}

/* for cart */

#page-header2 {
  background-image: url("./img/banner/b2.jpg");
  width: 100%;
  height: 40vh;
  background-size: cover;
  display: flex;
  align-items: center;
  /* background-position: fixed; */
  justify-content: center;
  flex-direction: column;
  padding: 0.9rem;
}

#page-header2 h2,
#page-header2 p {
  color: var(--text-banner);
}


.pagination {
  padding: 1rem 5rem;
  margin-top: 1rem;
}

.prev,
.next {
  background-color: var(--text-nav-hover);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-banner);
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  margin-left: 0.5rem;
}
.prev:disabled,
.next:disabled {
  background-color: transparent;
  border: 1px solid var(--text-product);
  display: none;
}

.pagination span {
  padding: 0.5rem;
  margin-left: 0.3rem;
  font-weight: 600;
  font-size: 1.1rem;

  /* color: var(--text-banner); */
}

.prev:hover,
.next:hover,
.prev:active,
.next:active {
  background-color: var(--bg-newsletter);
}

/* product a */
.pro a {
  text-decoration: none;
}

#products2 .pro:hover .des h5,
#products1 .pro:hover .des h5,
#products2 .pro:active .des h5,
#products1 .pro:active .des h5 {
  color: var(--text-nav-hover);
}

/* product page */

.single-product-form {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  justify-content: center;
}

.product-images {
  display: flex;
  gap: 1rem;
  flex: 1 1 25rem;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 0.3rem;
  cursor: pointer;
  border: 0.1rem solid var(--border-featureItem);
  transition: 0.3s;
}

.gallery-img:hover {
  border-color: var(--text-nav-hover);
}

.main-img {
  width: 25rem;
  height: 25rem;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 0.2rem solid var(--border-featureItem);
}

.product-info {
  flex: 1 1 25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-info h2 {
  font-size: 2rem;
  color: var(--text-nav);
}

.product-info .brand {
  font-size: 1rem;
  color: var(--text-brand);
}

.stars {
  font-size: 1.5rem;
  color: var(--icon-stars);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-nav-hover);
}

.variant-selection {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.variant-selection .label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.size-options,
.color-options {
  display: flex;
  gap: 1rem;
}

.size-circle,
.color-circle {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 0.15rem solid #ccc;
  transition: 0.2s;
}

.size-circle input,
.color-circle input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.size-circle span,
.color-circle span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.size-circle input:checked + span,
.color-circle input:checked + span {
  border: 0.3rem solid var(--text-nav-hover);
}

.quantity-selection {
  display: flex;
  margin-top: 0.5rem;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.quantity-selection input {
  width: 4rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.3rem;
  border: 0.1rem solid #ccc;
  font-size: 1rem;
}

.add-cart {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--text-nav-hover);
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: 0.3s;
}

.add-cart:hover {
  background-color: #06675a;
}

/* 404-product */

.product-404 {
  text-align: center;
  padding: 5rem 1rem;
}

.product-404 h2 {
  font-size: 2rem;
  color: var(--headers);
  margin-bottom: 1rem;
}

.product-404 p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.product-404 .btn-back {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--text-nav-hover);
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.product-404 .btn-back:hover {
  background-color: #065c50;
}

/* cart */

/* CART STYLES */
#cart {
  padding: 2rem;
  max-width: 1024px;
  margin: 0 auto;
}

#cart .cart-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-nav);
  text-align: center;
}

#cart .cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#cart .cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 0.1rem solid #ccc;
  border-radius: 0.5rem;
  padding: 1rem;
  background-color: #fff;
}

#cart .cart-item-left {
  flex: 0 0 5rem;
}

#cart .cart-item-img {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.3rem;
}

#cart .cart-item-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

#cart .cart-item-middle h3 {
  font-size: 1.2rem;
  margin: 0;
}

#cart .cart-item-middle p {
  font-size: 0.9rem;
  margin: 0;
  color: #555;
}

#cart .cart-item-color span.color-circle {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 0.1rem solid #ccc;
  vertical-align: middle;
}

#cart .cart-item-right {
  flex: 0 0 auto;
}

#cart .remove-item {
  background-color: #ff4d4f;
  color: #fff;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: 0.2s;
}

#cart .remove-item:hover {
  background-color: #d9363e;
}

#cart .cart-total {
  margin-top: 1rem;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 700;
}

#cart .empty-cart {
  font-size: 1.2rem;
  text-align: center;
  padding: 2rem 0;
}

@media (max-width: 1024px) {
  .section-p1 {
    padding: 40px 40px;
  }
  #navbar {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -23rem;
    width: 18rem;
    height: 100vh;
    padding: 5rem 0 0 1rem;
    background-color: var(--bg-nav);
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    justify-content: flex-start;
    align-items: flex-start;
  }

  #navbar li {
    margin-bottom: 1.7rem;
  }

  #navbar.active {
    right: 0;
  }
  #navbar li:last-child {
    display: none;
  }

  #mobile {
    display: flex;
    align-items: center;
  }
  #mobile i {
    color: var(--text-nav);
    font-size: 1.5rem;
    padding-left: 1.2rem;
  }

  #close {
    display: flex;
    color: var(--headers);
    transition: 0.2s;
  }

  #close i {
    font-size: 1.5rem;
  }
  #close:hover,
  #close:active {
    color: var(--text-nav-hover);
  }

  #hero {
    height: 70vh;
    width: 100%;
    padding: 0 5rem;
    background-position: top 30% right 30%;
  }

  #feature {
    justify-content: center;
  }

  #feature .fa-box {
    margin: 1rem;
  }

  #products1 .pro-container {
    justify-content: center;
  }

  #products1 .pro {
    margin: 1rem;
  }

  .skeleton {
    margin: 1rem;
    width: 25%;
    height: 31vh;
    min-width: 250px;
  }

  .skeleton .img-skeleton {
    height: 18vh;
  }

  #banner {
    height: 20vh;
  }

  #products2 .pro-container2 {
    justify-content: center;
  }

  #products2 .pro {
    margin: 1rem;
  }

  #sm-banner .banner-box {
    min-width: 100%;
    height: 30vh;
  }
  #banner3 {
    padding: 0 2.5rem;
  }

  #banner3 .banner-box {
    width: 28%;
  }

  #newsletter .form {
    width: 70%;
  }

  .single-product-form {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .product-images {
    flex: 1 1 20rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .gallery {
    flex-direction: column;
    gap: 0.5rem;
    max-height: 24rem;
    overflow-y: auto;
    align-items: flex-start;
  }

  .gallery-img {
    width: 4.5rem;
    height: 4.5rem;
    border: 0.1rem solid var(--border-featureItem);
  }

  .main-img {
    width: 26rem;
    height: 26rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 0.2rem solid var(--border-featureItem);
  }

  .product-info {
    flex: 1 1 20rem;
    max-width: 25rem;
  }


}

@media (max-width: 480px) {
  header {
    padding: 0.8rem 2rem;
  }

  #hero {
    padding: 0 1.25rem;
    background-position: 55%;
  }

  h2 {
    font-size: 2rem;
  }

  h1 {
    font-size: 2.375;
  }

  .section-p1 {
    padding: 20px;
  }

  #feature .fa-box {
    width: 9.6rem;
    text-align: center;
    padding: 1.3rem 1rem;
    margin: 0 0 1rem 0;
  }
  #feature {
    gap: 0 1.8rem;
  }

  .skeleton {
    width: 100%;
    height: 45vh;
  }

  .skeleton .img-skeleton {
    height: 30vh;
  }

  #products1 .pro {
    width: 100%;
  }
  #banner {
    height: 40vh;
  }

  #products2 .pro {
    width: 100%;
  }

  #sm-banner .banner-box {
    height: 40vh;
  }

  #sm-banner .banner-box2 {
    margin-top: 1.2rem;
  }
  #banner3 {
    padding: 0 1.25rem;
  }
  #banner3 .banner-box {
    min-width: 100%;
  }
  #newsletter .form {
    width: 100%;
  }
  #newsletter {
    padding: 2.5rem 1.25rem;
  }

  .single-product-form {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .product-images {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .main-img {
    width: 100%;
    max-width: 20rem;
    height: auto;
  }

  .gallery {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    overflow-x: auto;
  }

  .gallery-img {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
  }

  .product-info {
    width: 100%;
  }

  .size-options,
  .color-options {
    gap: 0.5rem;
  }

  .quantity-selection input {
    width: 3.5rem;
  }

  .add-cart {
    width: 100%;
    padding: 0.7rem;
    font-size: 0.95rem;
  }

  #feature .fa-box {
    width: 8.6rem;
  }

  /* refix the mobile cart diff design */

  #cart .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.8rem;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  #cart .cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  #cart .cart-item-left {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #cart .cart-item-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 0.1rem solid #ddd;
  }

  #cart .cart-item-middle {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem 0;
  }

  #cart .cart-item-middle h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.2rem;
  }

  #cart .cart-item-middle p {
    font-size: 0.9rem;
    color: #555;
  }

  #cart .color-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.3rem;
    border: 0.1rem solid #ccc;
  }

  #cart .cart-item-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }

  #cart .cart-item-right button {
    width: 100%;
    padding: 0.5rem;
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
  }

  #cart .cart-item-right button:hover {
    background-color: #ff4a4a;
  }

  #cart .cart-total {
    text-align: right;
    font-size: 1.3rem;
    font-weight: bold;
    color: #222;
    margin-top: 1rem;
  }

  #cart .cart-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #222;
    text-align: center;
  }

  #cart .empty-cart {
    font-size: 1rem;
    text-align: center;
    color: #777;
    padding: 2rem 0;
  }
}
