@font-face {
  font-family: "Sf pro display";
  src: url("https://assets.website-files.com/6398054bbc217f1c8dc000f0/63993bacd142eaffb812d480_SF-Pro-Display-Bold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sf pro display";
  src: url("https://assets.website-files.com/6398054bbc217f1c8dc000f0/63993bac71dd20c94f10e14f_SF-Pro-Display-Regular.otf")
    format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sf pro display";
  src: url("https://assets.website-files.com/6398054bbc217f1c8dc000f0/63993bacfd61df233f1f686d_SF-Pro-Display-Heavy.otf")
    format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sf pro display";
  src: url("https://assets.website-files.com/6398054bbc217f1c8dc000f0/63993bacf44de6549e9d9c16_SF-Pro-Display-Light.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sf pro display";
  src: url("https://assets.website-files.com/6398054bbc217f1c8dc000f0/63993bac0123ca3ffe7f7bfc_SF-Pro-Display-Medium.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sf pro display";
  src: url("https://assets.website-files.com/6398054bbc217f1c8dc000f0/63993bacbb82c5176df7835f_SF-Pro-Display-Semibold.otf")
    format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css?family=Inter:100,200,300,400,500,600,700,800,900&display=swap");
:root {
  --clr-text: #070708;
  --clr-text-secondary: #393a3c;
  --clr-surface: #f7f7f8;
  --clr-primary: #fff;
  --clr-secondary: #e9eaec;
  --clr-accent: #ffef5c;

  --ff-base: "Inter", sans-serif;
  --ff-accent: "Sf pro display", sans-serif;

  --fs-50: clamp(0.67rem, calc(0.51rem + 0.7vw), 1.05rem);
  --fs-100: clamp(0.8rem, calc(0.58rem + 0.94vw), 1.1rem);
  --fs-200: clamp(0.96rem, calc(0.67rem + 1.25vw), 1.4rem);
  --fs-300: clamp(1.16rem, calc(0.77rem + 1.65vw), 2.05rem);
  --fs-400: clamp(1.39rem, calc(0.88rem + 2.17vw), 2.56rem);
  --fs-500: clamp(1.67rem, calc(1rem + 2.84vw), 3.2rem);
  --fs-600: clamp(2rem, calc(1.13rem + 3.7vw), 4rem);
  --fs-700: clamp(2.4rem, calc(1.27rem + 4.81vw), 5rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --clr-text: #070708;
    --clr-text-secondary: #393a3c;
    --clr-surface: #f7f7f8;
    --clr-primary: #fff;
    --clr-secondary: #fff;
    --clr-accent: #ffef5c;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  color-scheme: light dark;
}
body {
  margin: 0;
  background-color: var(--clr-surface);
  color: var(--clr-text);
  font-family: var(--ff-base);
  font-size: 14px;
  line-height: 24px;
}
img {
  max-width: 100%;
  display: block;
}

/* -----------------navbar----------------------------------- */
.logo {
  width: 48px;
}
.navigation {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 10;
  padding: 24px 0;
  width: 360px;
  margin-inline: auto;
}
.nav-wrapper {
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  border: 1px solid #eaeaea;
  border-radius: 40px;
  background-color: var(--clr-primary);
}
.nav-right {
  display: none;
}
.nav-left > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 24px;
}
.nav-left a {
  text-decoration: none;
  color: var(--clr-text-secondary);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  border-radius: 32px;
  font-weight: 500;
}
.nav-left a:hover {
  color: var(--clr-text);
  background-color: var(--clr-surface);
}
.dropdown {
  display: inline-block;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
.dropdown-menu {
  position: absolute;
  bottom: -186px;
  background: var(--clr-primary);
  min-width: 100%;
  border-radius: 12px;
}

.dropdown-menu a {
  color: var(--clr-text-secondary);
  padding: 8px 8px;
  text-decoration: none;
  text-align: center;
  display: block;
  min-width: 120px;
}

/* ------------------------------Hero-section--------------------------- */
.hero-section {
  position: relative;
  padding: 16px 5%;
  margin-bottom: var(--fs-500);
}
.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
}
.header-wrapper {
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: var(--fs-400);
}
img {
  display: inline-block;
  border: 0;
  max-width: 100%;
  vertical-align: middle;
  max-height: 100%;
}
.slider-container {
  position: relative;
  width: 100%;
  height: clamp(15.625rem, 7.0313rem + 31.25vw, 28.125rem);
  border: 10px solid var(--clr-primary);
  background-color: var(--clr-primary);
  border-radius: 40px;
  overflow: hidden;
}
.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in;
}
.slider-container img.active {
  opacity: 1;
}
.slider-btn {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--clr-primary);
  border: none;
  color: var(--clr-text);
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  opacity: 0.5;
}
.prev-btn {
  left: 1%;
  top: 47%;
}
.next-btn {
  right: 1%;
  top: 47%;
}
.slider-btn:hover {
  opacity: 1;
}

h1 {
  font-size: var(--fs-400);
  font-weight: 500;
  line-height: 1.3;
  font-family: "Sf pro display", sans-serif;
  letter-spacing: -0.03em;
}
.header-wrapper p {
  display: none;
  margin-top: 12px;
  font-size: var(--fs-200);
  line-height: 1.8;
  letter-spacing: -0.02em;
}
/* ----------------------------------------------price-section--------------------------------------- */
.price-section {
  background-color: var(--clr-primary);
  border-radius: 25px;
  padding: var(--fs-400) 5%;
  margin-inline: 15%;
  text-align: center;
  margin-bottom: 42px;
}
.price-title h2 {
  font-weight: 500;
  font-size: var(--fs-500);
  line-height: 1.2;
  font-family: "Sf pro display", sans-serif;
  letter-spacing: -0.03em;
}
.price-title {
  margin-bottom: var(--fs-400);
}
.price-card-wrapper {
  display: flex;
  gap: var(--fs-300);
  justify-content: center;
  flex-wrap: wrap;
}
.price-card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 10px solid var(--clr-accent);
  background-color: var(--clr-surface);
  padding: 25px 20px;
  border-radius: 40px;
}
.price {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-200);
  border-radius: 40px;
  background-color: var(--clr-primary);
  color: var(--clr-text-secondary);
  padding: 12px 18px;
  transition: transform 500ms ease-out, background-color 500ms ease-out;
  cursor: pointer;
}
.price:hover {
  transform: translate(0px, 0px) scale(1.05, 1);
}
.arrow-icon {
  line-height: 1;
  fill: var(--clr-primary);
  padding: 4px 6px;
  border-radius: 100%;
  background-color: var(--clr-text);
  transition: background-color 500ms ease, transform 500ms ease;
  color: var(--clr-primary);
}

.price:hover .arrow-icon {
  background-color: var(--clr-accent);
  fill: #070708;
  transform: translate(0px, 0px) scale(1.02, 1) rotate(45deg);
}
/* ----------------------------------------------NewArrivals-section--------------------------------------- */
.NewArrivals-section {
  background-color: var(--clr-surface);
  border-radius: 25px;
  padding: var(--fs-600) 2%;
  margin-inline: 5%;
  text-align: center;
  margin-bottom: 84px;
}
.New-item-link {
  all: unset;
}
h3 {
  font-weight: 400;
  font-size: var(--fs-400);
  text-align: center;
}
.New-item-details > h3 {
  font-weight: 500;
  font-size: var(--fs-200);
  line-height: 1;
  font-family: "Sf pro display", sans-serif;
  letter-spacing: -0.03em;
  text-align: center;
}
.New-item-price {
  margin-top: 8px;
}
.NewArrivals-title {
  margin-bottom: var(--fs-500);
}
.Newarrivals-wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.New-item {
  background-color: var(--clr-primary);
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 20px;
  width: 275px;
}
.New-item-inner {
  background-color: var(--clr-surface);
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 12px;
}
.New-item-img {
  border: 6px solid var(--clr-primary);
  border-radius: 6px;
  box-shadow: 0 2px 20px -6px rgba(196, 196, 196, 0.33);
  display: inline-block;
  padding: 8px;
  background-color: var(--clr-primary);
}

.New-item-img-container {
  display: flex;
  height: 300px;
}
.New-item-details {
  margin-top: 20px;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;

  background-color: var(--clr-primary);
  color: var(--clr-text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 500ms ease, color 500ms ease;
}
.New-item-details:hover {
  background-color: var(--clr-text);
  color: var(--clr-secondary);
}

/* ---------------------------------rank-section----------------------------- */
.rank-section {
  max-width: 1200px;
  margin: var(--fs-400) auto;
}

.rank-items-wrappper {
  display: flex;
  justify-content: center;
  gap: var(--fs-700);
  margin: var(--fs-700) 5%;
  flex-wrap: wrap;
}
.rank-item {
  width: 300px;
}
.rank-item-header {
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background-color: var(--clr-primary);
  border-radius: 12px;
  margin-bottom: 14px;
}
.rank-item-header > h4 > span:first-child {
  background-color: #ffef5c;
  color: #141b0ad9;
  font-size: 12px;
  font-family: var(--ff-accent);
  border-radius: 50%;
  padding: 6px;
  margin-right: 12px;
}
.rank-item-img {
  background-color: var(--clr-primary);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 400px;
  padding: 20px 12px;
  margin-bottom: 12px;
  display: flex;
  column-gap: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ffef5c #ffffff;
}
.rank-item-img::-webkit-scrollbar {
  width: 16px;
}
.rank-item-img img {
  flex: 0 0 auto;
}
.rank-item-img::-webkit-scrollbar-track {
  background: #ffffff;
}
.rank-item-img::-webkit-scrollbar-thumb {
  background-color: #ffef5c;
  border-radius: 16px;
  border: 3px solid #ffffff;
}

.rank-item-details {
  background-color: var(--clr-primary);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  display: flex;
  flex-direction: column;
}
.rank-item-details table {
  padding: 8px 8px;
  color: var(--clr-text-secondary);
}
.rank-item-details li {
  display: flex;
}
.rank-item-details li::marker {
  color: var(--clr-accent);
  font-size: 20px;
}
.rank-item-prices {
  margin: 20px auto;
}
.rt-prices {
  display: flex;
  justify-content: space-evenly;
}
.rt-price {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 18px;
  background-color: var(--clr-primary);
  color: var(--clr-text-secondary);
}
.rt-price-value {
  color: rgb(43, 169, 43);
  font-weight: 700;
  font-stretch: semi-expanded;
}
.rank-item-buy {
  width: 100%;
  margin: 12px auto;
  display: flex;
  justify-content: center;
}
.rank-item-buy-button {
  text-decoration: none;
  background-color: var(--clr-primary);
  font-size: var(--fs-200);
  color: var(--clr-text-secondary);
  padding: 5px 8px;
  border-radius: 18px;
  min-width: 120px;
  display: flex;
  justify-content: space-around;
  transition: background-color 600ms ease;
}
.rank-item-buy-button > div {
  font-size: 14px;
}
.rank-item-buy-button:hover {
  background-color: var(--clr-accent);
}
.rank-item-specification {
  width: 150px;
}
.rank-pros-cons {
  color: var(--clr-text-secondary);
}
.pros {
  padding: 12px;
  margin-bottom: 20px;
  background-color: #e5ffe8;
  border-radius: 12px;
}
.cons {
  padding: 12px;
  margin-bottom: 20px;
  background-color: rgb(255, 236, 236);
  border-radius: 12px;
}
.pros li,
.cons li {
  list-style: none;
  display: flex;
  align-items: center;
}
.pros li::before {
  content: "";
  display: inline-block;
  margin-inline: 10px;
  height: 16px;
  width: 16px;
  background-image: url(./assets/accept.png);
}
.cons li::before {
  content: "";
  display: inline-block;
  margin-inline: 10px;
  height: 16px;
  width: 16px;
  background-image: url(./assets/delete.png);
}
