@font-face {
  font-family: "BYekan";
  src: url(../fonts/BYekan.eot);
  src: url(../fonts/BYekan.eot?#iefix) format("embedded-opentype"),
    url(../fonts/BYekan.woff) format("woff"), url(../fonts/BYekan.ttf) format("truetype"),
    url(../fonts/BYekan.svg) format("svg");
  font-weight: 400;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --hue: 240;
  --yellow-color: hsl(48, 100%, 51%);
  --primary-color: hsl(var(--hue), 16%, 18%);
  --secondary-color: hsl(var(--hue), 16%, 12%);
  --title-color: hsl(var(--hue), 8%, 15%);
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #fff;

  --fs-xxl: 1.5rem;
  --fs-lg: 1.25rem;
  --fs-md: 0.935rem;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;

  --zi-soft: 10;
  --zi-hard: 100;
  --zi-modal: 1000;
}

@media screen and (max-width: 968px) {
  :root {
    --fs-xxl: 1.75rem;
    --fs-lg: 1.5rem;
    --fs-md: 1rem;
  }
}

body {
  background-color: #f9f9f9;
  font-family: "BYekan", sans-serif;
}

button {
  cursor: pointer;
  border: 0;
  outline: 0;
}

input,
select,
option,
button {
  font-family: "BYekan", sans-serif;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1300px;
  padding-inline: 1.5rem;
  margin-inline: auto;
}

/* quick access */
.quickaccess {
  background-color: #333;
}

.quickaccess__container {
  width: 100%;
  height: 3rem;
  overflow: hidden;
}

.quickaccess__content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 1.5rem;
  height: 100%;
  font-size: 0.85rem;
}

.quickaccess__link {
  color: #f1f1f1;
  font-size: 0.65rem;
  transition: 0.4s;
}

.quickaccess__link:hover {
  opacity: 0.75;
}

.quickaccess__link i {
  padding-left: 0.25rem;
}

.quickaccess__link {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
}

.quickaccess__form {
  display: flex;
}

.quickaccess__dropdown {
  width: 95px;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
}

.quickaccess__searchbox {
  position: relative;
}

.quickaccess__input {
  width: 100%;
  height: 100%;
  padding-inline: 0.2rem 2.2rem;
  font-size: 0.75rem;
  color: #555;
}

.quickaccess__dropdown,
.quickaccess__input {
  border: none;
}

.quickaccess__dropdown {
  border-left: 1px solid #ccc;
}

.quickaccess__dropdown:focus,
.quickaccess__input:focus {
  outline: none;
}

.quickaccess__button {
  position: absolute;
  left: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  background-color: #fff;
  border: none;
  cursor: pointer;
  border-right: 1px solid #ccc;
}

@media screen and (max-width: 768px) {
  .quickaccess {
    padding-block: 1rem;
  }

  .quickaccess__container {
    height: auto;
    overflow: visible;
  }

  .quickaccess__content {
    display: flex;
    flex-direction: column-reverse;
  }

  .quickaccess__link {
    display: none;
  }
}

/* dropdown */

.dropdown__overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: var(--zi-soft);
}

body.active .dropdown__overlay {
  display: block;
}

.dropdown {
  position: relative;
  width: 230px;
  z-index: var(--zi-hard);
}

.dropdown.active .dropdown__arrow,
.dropdown.active .dropdown__close {
  transform: rotate(-180deg);
}

.dropdown.active .dropdown__arrow {
  opacity: 0;
}

.dropdown.active .dropdown__close {
  opacity: 1;
}

.dropdown.active .dropdown__list {
  opacity: 1;
  top: 2.5rem;
  pointer-events: initial;
}

.dropdown__button,
.dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1);
}

.dropdown__button {
  background-color: hsl(206, 12%, 27%);
  width: 100%;
  padding: var(--space-1);
  z-index: 100;
}

.dropdown__label {
  display: flex;
  align-items: center;
  color: var(--container-color);
  gap: 0.25rem;
}

.dropdown__icon,
.dropdown__indicator {
  font-size: var(--fs-sm);
  color: var(--container-color);
}

.dropdown__name {
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
}

.dropdown__indicator {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.dropdown__arrow,
.dropdown__close {
  position: absolute;
  transition: opacity 0.1s, transform 0.4s;
}

.dropdown__close {
  opacity: 0;
}

.dropdown__list {
  background-color: hsl(206, 12%, 27%);
  display: grid;
  position: absolute;
  top: 3rem;
  left: 0;
  width: 100%;
  transform-origin: 10rem -2rem;
  pointer-events: none;
  opacity: 0;
  transition: 0.4s;
  z-index: 100;
}

.dropdown__item {
  position: relative;
  padding: 0.3rem var(--space-1);
}

.dropdown__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  transition: color 0.3s;
  color: var(--container-color);
}

.dropdown__item:hover {
  background-color: hsl(207, 11%, 36%);
}

.dropdown__item--initial.dropdown__item--initial {
  position: initial;
}

.dropdown__content {
  position: absolute;
  background-color: var(--container-color);
  padding: var(--space-2) var(--space-3);
  gap: 0.25rem var(--space-3);
  min-height: 100%;
  top: 0;
  right: 100%;
  display: none;
  transform-origin: center;
  grid-template-columns: repeat(4, 1fr);
}

.dropdown__link {
  display: inline-block;
  width: 128px;
  color: var(--text-color);
  font-size: 0.65rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.dropdown__link:hover {
  opacity: 0.75;
}

.dropdown__link i {
  color: var(--text-color);
  font-size: 0.5rem;
  margin-left: 0.25rem;
  opacity: 0.25;
}

.dropdown__item:hover > .dropdown__content {
  display: grid;
}

/* nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.5rem;
  z-index: 1000;
  transition: 0.4s;
}

.nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: initial;
  background-color: var(--body-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav__list {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.nav__link {
  color: #333;
  font-size: 0.85rem;
}

.nav__item:nth-child(2) .nav__link {
  position: relative;
}

.nav__sublist {
  display: none;
  position: absolute;
  transform: translateX(5%);
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem 1rem 1.5rem;
  z-index: 1000;
}

.nav__list:nth-child(2):hover .nav__sublist,
.nav__item:nth-child(3):hover .nav__sublist {
  min-width: 128px;
}

.nav__item:nth-child(2):hover .nav__sublist {
  display: block;
}

.nav__item:nth-child(3):hover .nav__sublist {
  display: block;
}

.nav__sublink {
  color: #333;
  font-size: 0.75rem;
}

.nav__sublink i {
  font-size: 0.5rem;
  margin-left: 0.25rem;
}

.nav__sublink:hover {
  opacity: 0.75;
}

.nav__link i {
  margin-right: 0.25rem;
}

.nav__link:hover {
  opacity: 0.75;
}

.nav__quickaccess {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
}

.nav__login,
.nav__cart {
  display: inline-flex;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #333;
}

.nav__login:hover,
.nav__cart:hover {
  opacity: 0.75;
}

.nav__cart {
  position: relative;
}

.nav__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  font-size: 0.5rem;
}

.nav__badge--dark {
  background-color: #333;
  color: #f1f1f1;
}

.nav__toggle {
  display: none;
}

.nav__social {
  display: flex;
  gap: var(--space-2);
}

.nav__link--social {
  font-size: var(--fs-lg);
}

.nav__wholesale {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 128px;
  height: 32px;
  background-color: var(--yellow-color);
  border-radius: 8px;
  font-size: 0.75rem;
}

.nav__call {
  color: var(--text-color);
}

.nav__side {
  display: none;
}

@media screen and (max-width: 910px) {
  .nav__list {
    display: none;
  }

  .nav__social {
    display: none;
  }

  .nav__side {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    background-color: var(--container-color);
    display: block;
    height: 100vh;
    overflow-y: auto;
    z-index: 10000;
    transition: 0.4s;
  }

  .nav__side.active {
    right: 0;
  }

  .nav__close {
    position: absolute;
    top: -0.25rem;
    left: var(--space-1);
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
  }

  .nav__side a {
    color: var(--text-color);
  }

  .nav__side__list {
    margin-top: 4rem;
  }

  .nav__side__list__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem var(--space-1);
    font-size: 0.85rem;
  }

  .nav__side__sublist {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-1);
    background-color: #eee;
    display: none;
  }

  .nav__side__sublist.active {
    display: grid;
  }

  .nav__side__sublist__link {
    display: inline-block;
    width: 128px;
    font-size: 0.75rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .nav__side__sublist__link:hover {
    opacity: 0.75;
  }

  .nav__toggle {
    display: block;
    font-size: 1.1rem;
    cursor: pointer;
  }
}

/* mobile menu */
.nav__menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.5rem;
  background-color: var(--body-color);
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav__menu ul {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.nav__menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color);
  font-size: var(--fs-md);
}

.nav__menu a span {
  font-size: 0.75rem;
}

@media screen and (min-width: 910px) {
  .nav__menu {
    display: none;
  }
  .nav__wholesale {
    display: none;
  }
}

/* dropdown */
.side__dropdown--button {
  cursor: pointer;
}

.side__dropdown--arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.side__dropdown--content,
.side__dropdown--group,
.side__dropdown--list {
  display: grid;
}

.side__dropdown--container {
  background-color: var(--primary-color-lighten);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}

.side__dropdown--content {
  row-gap: 1.75rem;
}

.side__dropdown--group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}

.side__dropdown--group:first-child {
  margin-top: 1.25rem;
}

.side__dropdown--group:last-child {
  margin-bottom: 1.25rem;
}

.side__dropdown--icon {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.side__dropdown--title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi-bold);
  color: var(--title-color);
}

.side__dropdown--list {
  row-gap: 0.25rem;
}

.side__dropdown--link {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-color);
  transition: color 0.3s;
}

.side__dropdown--link:hover {
  color: var(--title-color);
}

.active--dropdown .side__dropdown--arrow {
  transform: rotate(180deg);
}

/* sm srn */
@media screen and (max-width: 300px) {
  .side__dropdown--group {
    padding-left: 1.5rem;
  }
}

/* modal */
.modal__button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: 0.3s;
}

.modal__button:hover {
  background-color: var(--secondary-color);
}

.modal__container {
  position: fixed;
  top: 0;
  left: 0;
  background-color: hsla(var(--hue), 18%, 75%, 0.8);
  backdrop-filter: blur(4px);
  width: 100%;
  height: 100vh;
  display: grid;
  align-items: flex-end;
  overflow: hidden;
  transition: all 0.3s;
  z-index: var(--zi-modal);
  visibility: hidden;
  opacity: 0;
}

.modal__container.active {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  position: relative;
  background-color: var(--container-color);
  padding: 3rem 2rem 2rem;
  border-radius: 1rem 1rem 0 0;
  transition: all 0.3s;
  transform: translateY(10%);
}

.modal__container.active .modal__content {
  transform: translateY(0);
}

.modal__img {
  width: 150px;
  margin-bottom: 0.75rem;
}

.modal__close {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 0.25rem;
  font-size: var(--fs-md);
  position: absolute;
  top: 2rem;
  left: 2rem;
  padding: 0.25rem;
  cursor: pointer;
}

.modal__title {
  font-size: var(--fs-xxl);
  color: var(--title-color);
  font-weight: 500;
}

.modal__button--block {
  display: block;
  width: 100%;
  margin: 0.5rem auto 0;
}

.modal__data {
  padding-block: 1.5rem;
}

.modal__group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-inline: auto;
}

.modal__hint {
  color: #777;
  font-size: 0.75rem;
}

.modal__hint i {
  margin-left: 0.15rem;
}

.modal__label {
  color: #555;
}

.modal__input {
  padding: 0.5rem 0.2rem;
  font-size: 0.75rem;
  text-align: left;
  direction: ltr;
  color: #555;
}

@media screen and (min-width: 576px) {
  .modal__content {
    margin: auto;
    width: 380px;
    border-radius: 1.25rem;
  }

  .modal__img {
    width: 170px;
  }
}

/* carousel */
.carousel {
  margin-block: 1rem;
  flex-basis: 70%;
}

.carousel__link {
  transition: 0.4s;
}

.carousel__link:hover {
  opacity: 0.75;
}

.carousel__img {
  width: 100%;
  border-radius: 4px;
}

.swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  transition: width 0.2s;
}

.swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 8px;
  background-color: #333;
}

/* banner */
.banner {
  margin-block: 2rem;
}

.banner__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.banner__link {
  transition: 0.4s;
}

.banner__link:hover {
  opacity: 0.75;
}

.banner__img {
  width: 100%;
  border-radius: 8px;
}

/* category */
.category {
  margin-bottom: 2rem;
}

.category__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.5rem;
}

.category__link {
  transition: 0.5s;
}

.category__link:hover {
  opacity: 0.75;
}

.category__img {
  width: 100%;
  border-radius: 8px;
}

@media screen and (max-width: 520px) {
  .banner__content {
    grid-template-columns: 1fr;
  }

  .category__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* product */
.product {
  margin-block: 2rem;
}
.product__data h4 {
  margin-bottom: 1rem;
}

.product__item {
  width: 100%;
  max-width: 220px;
  background-color: var(--container-color);
  color: var(--text-color);
  border-radius: 4px;
}

.product__img {
  display: block;
  width: 100%;
  max-width: 185px;
  margin-inline: auto;
}

.product__data {
  padding-inline: 0.5rem;
}

.product__link {
  transition: 0.4s;
}

.product__link:hover {
  opacity: 0.75;
}

.product__title {
  color: #555;
}

.product__description {
  color: #777;
  font-size: 0.65rem;
}

.product__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.75rem;
  padding-block: 0.5rem;
  color: #333;
}

.product__badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #fb3449;
  color: #fff;
}

.product__oldprice {
  margin-left: 0.5rem;
  font-size: 0.6rem;
  color: #666;
}

.product__price {
  font-size: 1rem;
}

/* brand  */
.brand {
  margin-block: 2rem;
}

.brand__link {
  transition: 0.4s;
}

.brand__link:hover {
  opacity: 0.75;
}

.brand__data h4 {
  margin-bottom: 1rem;
}

.brand__slide {
  width: 303px;
  height: auto;
}

.brand__img {
  max-width: 100%;
  border-radius: 4px;
}

/* specification */
.specification {
  margin-block: 4rem;
}

.specification__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #777;
}

.specification__item i {
  font-size: 1.5rem;
  margin-left: 0.5rem;
}

@media screen and (max-width: 568px) {
  .specification__list {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    text-align: right;
    gap: 1rem;
  }

  .specification__item {
    font-size: 0.75rem;
  }

  .specification__item i {
    font-size: 0.85rem;
  }
}

/* contact */
.contact {
  margin-block: 2rem;
}

.contact__img {
  width: 100%;
  border-radius: 4px;
}

.contact__data {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  margin-block: 1rem;
}

.contact__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact__item {
  padding: 1rem;
  text-align: center;
  width: 100%;
  max-width: 256px;
  border: 1px solid #ececec;
}

.contact__title {
  color: #333;
}

.contact__description {
  color: #666;
  font-size: 0.75rem;
}

.contact__item ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.contact__item a {
  color: #666;
  font-size: 1.25rem;
}

.contact__item a:hover {
  color: #333;
}

.contact__interaction {
  border: 1px solid #ececec;
  padding: 1rem;
}

.contact__header {
  margin-bottom: 1.5rem;
}

.contact__header p {
  color: #666;
  font-size: 0.9rem;
}

.contact__label {
  color: #666;
  font-size: 0.75rem;
}

.contact__group {
  margin-block: 0.5rem;
  max-width: 368px;
}

.contact_input {
  width: 100%;
  padding: 0.25rem;
  border: 1px solid #ccc;
  resize: none;
}

.contact__button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: 0.3s;
}

.contact__button:hover {
  opacity: 0.75;
}

/* about */
.about {
  margin-block: 2rem;
  overflow: hidden;
}

.about__data {
  position: relative;
}

.about__data h6 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  line-height: 1.1;
  font-size: 8rem;
  color: rgba(0, 0, 0, 0.1);
}

.about__data p {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.about__img {
  width: 100%;
}

/* level */
.level {
  margin-block: 2rem;
}

.level__list {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.75rem;
}

.level__item {
  color: #ccc;
}

.level__item.active {
  color: #333;
  font-weight: 700;
}

.level__item i {
  margin-left: 0.25rem;
}

/* cart */
.cart {
  margin-block: 4rem;
}

.cart__data {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.5rem;
}

.cart__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}

.cart__item {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  color: #333;
  padding-block: 1rem;
}

.cart__img {
  width: 100%;
  max-width: 64px;
  border-radius: 4px;
}

.cart__total {
  display: flex;
  justify-content: space-between;
  margin-block: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.cart__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  margin-inline: 0.25rem;
}

.cart__button:hover {
  background-color: #333;
  color: #fff;
}

.cart__button--block {
  display: block;
  text-align: center;
  width: 100%;
  height: auto;
  padding: 0.5rem;
  background-color: #333;
  color: #fff;
}

.cart__button--block:hover {
  opacity: 0.75;
}

.cart__button--block i {
  margin-right: 0.5rem;
}

@media screen and (max-width: 768px) {
  .cart__data {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 560px) {
  .cart__data {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cart__item:first-child {
    display: none;
  }

  .cart__item {
    grid-template-columns: 1fr 1fr;
  }
}

/* checkout */
.checkout {
  margin-block: 4rem;
}

.checkout__data {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.checkout__item {
  display: flex;
  gap: 0.5rem;
}

.checkout__label {
  color: #666;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
}

.checkout__label--center {
  align-items: center;
}

.checkout__label i {
  font-size: 2.5rem;
}

.checkout__group {
  margin-block: 0.5rem;
}

.checkout_input {
  width: 100%;
  padding: 0.25rem;
  border: 1px solid #ccc;
  resize: none;
}

.checkout__button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: 0.3s;
}

.checkout__button:hover {
  opacity: 0.75;
}

.checkout__button--block {
  display: block;
  width: 100%;
}

.checkout__list {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
}

.checkout__item {
  color: #666;
  font-size: 0.75rem;
  margin-block: 1rem;
}

.checkout__purchase {
  display: flex;
  justify-content: space-between;
  margin-block: 1rem;
  color: #333;
}

/* breadcrumb */
.breadcrumb {
  background-color: var(--container-color);
  padding-block: var(--space-1);
}

.breadcrumb__content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.breadcrumb__title {
  font-size: 0.85rem;
}

.breadcrumb__list {
  display: flex;
  font-size: 0.7rem;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.breadcrumb__item,
.breadcrumb__link {
  color: #666;
}

@media screen and (max-width: 768px) {
  .breadcrumb__content {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* category */

.category__content {
  gap: var(--space-3);
  margin-top: var(--space-3);
  grid-template-columns: 256px 1fr;
}

.category__shipping--offer,
.category__toggle--available,
.category__brand {
  background-color: var(--container-color);
}

.category__filter {
  display: grid;
  gap: var(--space-2);
}

.category__shipping--offer {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2);
}

.category__header--shipping {
  display: flex;
  flex-direction: column;
}

.category__title--shipping {
  color: var(--text-color);
  font-size: 0.75rem;
}

.category_description--shipping {
  font-size: 0.7rem;
  color: #999;
}

.category__img--shipping {
  width: 48px;
}

.category__toggle--available {
  padding: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.category__label--available {
  color: #999;
  font-size: 0.8rem;
}

.category__brand {
  padding: var(--space-1) var(--space-2);
}

.category__header {
  padding-block: var(--space-1);
}

.category__list--brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.category__item--brand {
  display: flex;
  align-items: center;
  column-gap: var(--space-1);
}

.category__label--brand {
  color: #999;
  font-size: 0.75rem;
}

.category__action {
  display: flex;
  column-gap: var(--space-2);
  justify-content: flex-end;
  padding-block: var(--space-2);
}

.category__help--button,
.category__order--button,
.category__filter--button {
  background-color: var(--container-color);
  color: var(--text-color);
  padding: var(--space-1) var(--space-2);
}

.category__help--button:hover,
.category__order--button:hover {
  opacity: 0.75;
}

.category__help--button i,
.category__order--button i {
  margin-left: var(--space-1);
}

.category__list--product {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.category__item--product {
  background-color: var(--container-color);
}

#filter-product,
#category-close {
  display: none;
}

@media screen and (max-width: 1100px) {
  .category__list--product {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .category__list {
    grid-template-columns: 1fr;
  }

  .category__list--product {
    grid-template-columns: repeat(3, 1fr);
  }

  .category__action {
    justify-content: space-between;
  }

  .category__shipping--offer {
    display: none;
  }

  .category__toggle--available {
    margin-top: 3.5rem;
  }

  .category__toggle--available,
  .category__brand,
  .category__price {
    width: 100%;
  }

  .category__filter {
    position: fixed;
    right: -100%;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    align-items: start;
    width: 256px;
    height: 100%;
    background-color: var(--body-color);
    overflow-y: auto;
    transition: right 0.4s;
  }

  .category__filter.active {
    right: 0;
  }

  #filter-product,
  #category-close {
    display: block;
  }

  #category-close {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    font-size: 1.25rem;
    padding: var(--space-1);
    cursor: pointer;
  }
}

@media screen and (max-width: 560px) {
  .category__list--product {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* item */

.item__data {
  display: grid;
  background-color: var(--container-color);
  padding: var(--space-2);
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: var(--space-3);
}

.item__img {
    cursor: pointer;
}

.item__img--lg {
  width: 100%;
  max-width: 350px;
}

.item__list--img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.item__title--details {
  font-size: 0.75rem;
}

.item__subtitle {
  font-size: 0.65rem;
  color: #777;
}

.item__line {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #eee;
  margin-block: var(--space-2);
}

.item__code {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.1rem 0.25rem;
  position: absolute;
  top: -0.75rem;
  right: var(--space-1);
  font-size: 0.6rem;
  color: #999;
  background-color: var(--container-color);
}

.item__details {
  font-size: 0.75rem;
}

.item__details span {
  color: #555;
}

.item__details a {
  display: inline-block;
  border-bottom: 1px dotted #666;
  margin-left: 0.25rem;
}

.item__description {
  margin-block: var(--space-2);
}

.item__list--description {
  display: grid;
  gap: 0.25rem;
}

.item__title--description {
  font-size: 0.75rem;
  margin-bottom: var(--space-1);
}

.item__item--description {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.75rem;
  color: #666;
}

.item__image.active {
    opacity: 0.65;
}

.item__item--description i {
  color: #999;
  font-size: 0.5rem;
}

.item__action {
  display: grid;
  gap: var(--space-3);
}

.item__volume {
  background-color: #f1f1f1;
  padding: var(--space-2);
}

.item__label {
  display: inline-flex;
  font-size: 0.75rem;
  margin-bottom: var(--space-2);
}

.item__list--volume {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.item__item--volume button {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  background-color: var(--container-color);
  color: var(--text-color);
}

.item__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  background-color: #f1f1f1;
  padding: var(--space-2);
  font-size: 0.85rem;
}

.item__price div:first-child {
  display: flex;
  gap: var(--space-2);
}

.item__price div:first-child span:first-child {
  text-decoration: line-through;
}

.item__price div:first-child span:first-child {
  text-decoration: line-through;
}

.item__price div:first-child span:last-child {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 32px;
  border-radius: 8px;
  background-color: #ff6347;
  color: var(--container-color);
}

.item__price a {
  font-size: 0.75rem;
  text-align: center;
  background-color: var(--container-color);
  color: var(--text-color);
  padding: 0.25rem var(--space-2);
}

.category__shipping--item {
  display: flex;
  justify-content: space-between;
  background-color: #f1f1f1;
  padding: var(--space-1) var(--space-2);
}

.item__info {
  font-size: 0.75rem;
  background-color: var(--container-color);
  padding: var(--space-2);
  margin-top: var(--space-3);
}

.item__info p {
  color: var(--text-color);
}

.item__info a {
  border-bottom: 1px dotted var(--text-color);
}

.item__relate {
  color: var(--text-color);
  margin-block: var(--space-4);
}

.item__title--relate {
  font-size: 1.25rem;
}

@media screen and (max-width: 768px) {
  .item__data {
    grid-template-columns: 1fr;
  }

  .item__price {
    text-align: initial;
    align-items: initial;
  }

    .item__img--lg {
        max-width: initial;
    }
}

/* footer */
.footer {
  background-color: #eee;
}

.category__header {
  display: flex;
  justify-content: space-between;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4rem;
}

.footer__content h4 {
  font-size: 1.1rem;
}

.footer__link {
  color: #333;
  font-size: 0.75rem;
}

.footer__link:hover {
  opacity: 0.75;
}

.footer__phone a {
  font-size: 0.75rem;
  color: #333;
}

.footer__bottom {
  text-align: center;
  font-size: 0.75rem;
  background-color: #555;
  color: #fff;
}

.footer__social {
  display: flex;
  gap: var(--space-2);
}

.footer__link--social {
  font-size: var(--fs-lg);
}

@media screen and (max-width: 868px) {
  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 350px) {
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
