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

html {
  margin-top: 0;
}

html {
  /* font-size: 10px; */
  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  cursor: default;
  /* scroll-behavior: smooth; */

  /* doesnot work on safari */
}

body {
  font-family: "League Spartan", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  overflow-x: hidden;

  /* display: grid; */
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;

  align-items: center;
  /* margin-bottom: 9.6rem; */
}
/* ///////////////////////////////////////////// */

/* .header {
  width: 100%; */
/* position: fixed; */
/* top: 0;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%); */

/* adding height for the navbar to be sticky later */
/* height: 8.4rem;
  background-color: #fff;
} */

.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.2rem;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.12);
}

.promo-bar[hidden] {
  display: none;
}

body.promo-dismissed .header {
  top: 0;
}

.promo-text {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.promo-link:link,
.promo-link:visited {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.promo-close {
  position: absolute;
  right: 2.4rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  top: 3.2rem;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  height: 8rem;
  padding: 0 4.6rem;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

@keyframes headerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.logo {
  height: 3.6rem;
  margin-right: 4rem;
}

.main-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.8rem;
  transition:
    color 0.6s ease,
    transform 0.3s ease;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #555;
  transform: scale(1.02);
  transition:
    color 0.6s ease,
    transform 0.3s ease;
}

.main-nav-link ion-icon {
  font-size: 1.4rem;
  display: inline-block;
  vertical-align: middle;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar {
  width: 52rem;
  display: flex;
  align-items: center;
  border: 1px solid #222;
  padding: 1rem;
  margin: 0 3rem;
  border-radius: 2rem;
  background-color: #f0f0f0;
  border: none;
  cursor: text;
}

.s-icon {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.6rem;
  margin-right: 1.5rem;
  cursor: pointer;
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  background-color: #f0f0f0;
  font-size: 1.6rem;
}

.search-input::placeholder {
  color: rgb(85, 85, 85, 0.3);
  font-size: 1.6rem;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border: none;
  font-size: 2.6rem;
  background-color: transparent;
  color: #000;
  cursor: pointer;
}

/* ////////////////////SECTION_HERO///////////////////////// */

.hero-section {
  min-height: 66.3rem;
  width: 100%;
  background-color: #f0f0f0;
  padding: 14rem 8rem 0 15rem;
  position: relative;
  overflow: hidden;
}

.container-hero {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  max-width: 58rem;
  margin-top: 8rem;
}

.hero-images {
  position: absolute;
  inset: 0;
}

.img-full {
  position: absolute;
  top: 9rem;
  right: 5%;
  width: min(55%, 65rem);
  height: 100%;
}

.img-full::before {
  content: url(img--/images/Vector\ \(1\).webp);
  position: absolute;
  top: 40%;
  right: 70%;
  padding: 0.8rem 8rem;
  /* transform: rotate(45deg); */
}

.img-full::after {
  content: url(img--/images/Vector.webp);
  position: absolute;

  top: 12%;
  right: -12%;
  padding: 0.8rem 8rem;
}

.hero-img-full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-header {
  color: #000;
  text-transform: uppercase;
  font-size: 6.4rem;
  font-weight: 900;
}

.hero-text-box {
  display: flex;
  flex-direction: column;
  max-width: 58rem;
  margin-top: 4rem;
}

p {
  margin-top: 1rem;
  max-width: 48rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: #555;
  line-height: 2rem;
}

.btn {
  color: #fff;
  background-color: #000;
  font-size: 1.6rem;
  font-weight: 400;
  padding: 1.5rem 5rem;
  text-decoration: none;
  cursor: pointer;
  align-items: center;
  border-radius: 3rem;

  width: fit-content;
  margin-top: 3rem;
}

.hero-stats {
  display: flex;
  flex-direction: row;
  margin-top: 4rem;
  margin-bottom: 8rem;
  gap: 4rem;
}

.stats {
  display: flex;
  flex-direction: column;
  padding-right: 3rem;
  border-right: 2px solid #c8c6c6;
  margin-top: 2rem;

  font-size: 1.4rem;
  font-weight: 400;
  color: #666;
}

.stats:last-child {
  border-right: none;
  padding-right: 0;
}

.stats-number {
  font-size: 4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

/* ////////////////////Featured-section////////////////////// */
.section-featured {
  background-color: #000;
  height: fit-content;
  z-index: 2;
}

.featured {
  height: 12rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  z-index: 2;
}

/* /////////////Arrivals-section/////////////////// */
.arrivals-section,
.selling-section {
  height: fit-content;
  padding-bottom: 4rem;
  margin: 10rem 8rem;
  border-bottom: solid 2px #c8c6c6;
  display: flex;
  flex-direction: column;
}

.new-arrivals,
.top-selling {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrivals-header,
.selling-header {
  font-size: 4.6rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 5rem;
  text-transform: uppercase;
}

.arrivals-list,
.top-selling-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 4rem;
  margin-bottom: 4rem;
}

.arrivals-item,
.top-selling-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.new-arrival-img,
.top-selling-img {
  display: block;
  width: 30rem;
  height: 45rem;
  border-radius: 1.5rem;
}

.arrivals-text,
.top-selling-text {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
  margin-top: 1.6rem;
  width: 23rem;
  cursor: pointer;
}

.star-icon,
.half-star-icon {
  margin-right: 0.3rem;
  margin-top: 0.5rem;
  font-size: 1.6rem;
  color: #ffc633;
}

.rating-number {
  color: #333;
  font-size: 1.2rem;
  font-weight: 400;
}

.sale-price-box {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.sale-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
}

.old-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: #999;
  text-decoration: line-through;
}

.discount {
  background-color: rgba(255, 51, 51, 0.102);
  font-size: 1.2rem;
  color: #ff3333;
  padding: 0.6rem 1.4rem;
  border-radius: 1rem;
  align-content: center;
}

.btn-products {
  background-color: #fff;
  color: #333;
  border: none;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
  font-size: 2rem;
  font-weight: 500;
  padding: 1.5rem 6rem;
  text-decoration: none;
  cursor: pointer;
  align-items: center;
  border-radius: 3rem;

  width: fit-content;
}

.btn-products :hover,
.btn-products:active {
  color: #222;
  background-color: #c8c6c6;
  transition: all 1s;
  transform: scale(1.02);
  transition:
    color 0.6s ease,
    transform 0.3s ease;
}

.selling-section {
  border-bottom: none;
}

/* ///////////////////styles section/////////////////// */

.dress-style {
  max-width: 120rem;
  margin: 0 auto;
  padding: 6rem 6.4rem;
  background-color: #f0f0f0;
  border-radius: 2.4rem;
  margin-bottom: 5rem;
}

.dress-style h2 {
  text-align: center;
  font-size: 3.8rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 3.2rem;
}

.dress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 22rem 22rem;
  gap: 1.2rem;
}

.dress-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
}

.dress-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: right center;
}

.casual img {
  object-position: left center;
  transform: scale(1.1) translateX(20%);
}

.formal img {
  transform: scale(1.1) translateX(40%);
}

.dress-card span {
  position: absolute;
  top: 1.6rem;
  left: 2rem;

  font-size: 2.4rem;
  font-weight: 600;
  color: #000;
}

.casual {
  grid-column: 1 / 2;
  background-color: #fff;
}

.formal {
  grid-column: 2 / 4;
  background-color: #fff;
}

.party {
  grid-column: 1 / 3;
}

.gym {
  grid-column: 3 / 4;
}

/* /////////////////TESTIMONIAL_SECTION////////////////////// */

.testimonial-section {
  height: fit-content;
  background-color: #fff;
}
.testimonial-title {
  font-size: 5.2rem;
  font-weight: 700;
  margin: 20rem 15rem 8rem;
  color: #000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: default;
}

.testimonial-borders {
  gap: 1.5rem;
}

.arrow-btn {
  border: none;
  text-decoration: none;
  background-color: transparent;
  font-size: 2.2rem;
  color: #111;
  cursor: pointer;
}

.arrow-btn:hover,
.arrow-btn:active {
  color: #222;
  transform: scale(1.1);
  transition:
    color 0.6s ease,
    transform 0.3s ease;
}

.arrow-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.4rem;
}

.testimonials-list {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  margin-bottom: 25rem;
}

.testimonials-list::-webkit-scrollbar {
  display: none;
}

.testimonials-list > li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.testimonial {
  width: 40rem;
  height: 24rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(153, 153, 153, 0.4);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  padding: 3rem 3rem;
}

.t-icons {
  gap: 0.7rem;
  display: flex;
  flex-direction: row;
  margin-bottom: 1.8rem;
}

.testimonial-icon {
  color: #ffc633;
  font-size: 2rem;
}

.testimonial-name {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  font-size: 2.6rem;
  font-weight: 600;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
  color: #000;
}

.testimonial-name ion-icon {
  color: #fff;
  background-color: #01ab31;
  font-size: 1.2rem;
  padding: 0.2rem;
  border-radius: 50%;

  display: inline-block;
  vertical-align: middle;
}

.testimonial-text {
  font-size: 1.8rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
}

/* ///////////////////FOOTER///////////////////////// */
.footer {
  background-color: #f0f0f0;
  height: fit-content;
  padding: 12rem 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-container {
  position: absolute;
  background-color: #000;
  width: 124rem;
  height: 18rem;
  top: -9rem;
  padding: 3.6rem 6.4rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.cta-heading {
  font-size: 4rem;
  font-weight: 700;
  width: 50rem;
}

.cta {
  display: flex;
  flex-direction: column;
  height: 11rem;
  width: 35rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.cta-form {
  height: 4.8rem;
  width: 35rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1.2rem 1.6rem;
  border-radius: 3rem;
  background-color: #fff;
  color: rgba(0, 0, 0, 0.4);
}

.form {
  display: flex;
  flex-direction: column;
}

.cta-icon {
  font-size: 2.2rem;
  color: rgba(0, 0, 0, 0.4);
  margin-right: 1rem;
}

.cta-form input {
  border: none;
  outline: none;
  width: 100%;
  color: inherit;
  border: none;
  background-color: transparent;
}

.cta-btn {
  display: flex;
  height: 4.8rem;
  width: 35rem;
  padding: 1.2rem 1.6rem;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 3rem;
  color: #000;
  background-color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}

.cta-btn :hover,
.cta-btn:active {
  color: #222;
  transition: all 1s;
  transform: scale(0.8);
  transition:
    color 0.6s ease,
    transform 0.3s ease;
}

/* ///////////////////////////////////// */

.footer-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 124rem;
  height: 18rem;
  padding: 15rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.102);
}

.logo-col {
  display: flex;
  flex-direction: column;
  width: 25rem;
}

.footer-text {
  font-size: 1.6rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  line-height: 2.2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 2rem;
  margin-bottom: 3rem;
}

.social-links {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 2rem;
}

.social-icon {
  background-color: white;
  padding: 0.5rem;
  border-radius: 50%;
  color: #000;
  box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.1);
}

.logo {
  height: 3rem;
  width: 16rem;
  font-weight: 700;
}

.copyright {
  font-size: 1.4rem;
  color: #767676;
  line-height: 1.6;
  margin-top: auto;
}

.footer-heading {
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

/* /////////////////////// */

.other-info {
  width: 124rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.supported-payments {
  display: flex;
  list-style: none;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.platform-logo {
  background-color: #fff;
  height: 2.5rem;
  display: flex;
  padding: 0.7rem;
  border-radius: 0.5rem;
}

.copyright-details {
  font-size: 1.8rem;
  font-weight: 400;
}
