*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit; }

html {
  font-size: 62.5%; }
  @media only screen and (max-width: 75em) {
    html {
      font-size: 56.25%; } }
  @media only screen and (max-width: 67em) {
    html {
      font-size: 50%; } }
  @media only screen and (max-width: 48em) {
    html {
      font-size: 43.75%; } }

body {
  box-sizing: border-box; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%; }

html {
  font-family: 'Noto Sans', 'Dongle', sans-serif; }

.main-heading {
  font-size: 3.2rem;
  display: block;
  text-align: center;
  padding: 3.2rem; }

.margin-bottom-0 {
  margin-bottom: 0 !important; }

.product {
  position: relative;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 2px 4px 10px 2px rgba(0, 0, 0, 0.15);
  border: 1px solid #ced4da;
  color: #343a40;
  transition: all 0.2s linear; }
  .product:hover {
    transform: scale(1.03) translateY(-2%);
    box-shadow: 2px 4px 10px 5px rgba(0, 0, 0, 0.1); }
  .product--list {
    display: flex;
    width: 90%;
    justify-self: center; }
    @media only screen and (max-width: 48em) {
      .product--list {
        width: 100%; }
        .product--list a {
          width: 100%; } }
  .product--list .product__image {
    width: 37rem;
    height: 25rem; }
    @media only screen and (max-width: 48em) {
      .product--list .product__image {
        height: 100%;
        width: 100%; } }
    @media only screen and (max-width: 25em) {
      .product--list .product__image {
        object-fit: cover; } }
  .product--list .product__text-box {
    width: 100%; }
  .product--list .product__favorite-box {
    transform: translate(-10%, -10%);
    top: auto;
    right: auto;
    bottom: 0;
    right: 0; }
  .product__image {
    width: 100%; }
  .product__favorite-box {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-30%, 30%); }
  .product__favorite-icon {
    font-size: 3rem;
    padding: 0.7rem;
    color: #fa5252;
    cursor: pointer; }
  .product__text-box {
    padding: 1.6rem;
    font-size: 2rem; }
  .product__title-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem; }
    @media only screen and (max-width: 67em) {
      .product__title-box {
        display: block; } }
  .product__link:link, .product__link:visited {
    display: inline-block;
    font-size: 1.6rem;
    text-decoration: none;
    color: #212529;
    text-transform: uppercase; }
  .product__star, .product__half-star {
    color: #ffd43b;
    font-size: 1.6rem; }
  .product__size {
    font-size: 1.6rem;
    margin-bottom: 1.6rem; }
  .product__price-box {
    display: flex;
    gap: 1rem;
    align-items: center; }
    @media only screen and (max-width: 48em) {
      .product__price-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0; } }
  .product__price {
    font-size: 2.5rem;
    font-weight: 700; }
  .product__old-price {
    font-size: 1.8rem;
    color: #adb5bd;
    text-decoration: line-through; }
  .product__savings-box {
    font-size: 1.6rem;
    color: #ff8787; }

.selector {
  display: flex;
  align-items: center;
  padding: 2rem; }
  @media only screen and (max-width: 48em) {
    .selector {
      gap: 1rem; } }
  @media only screen and (max-width: 48em) {
    .selector {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem; }
      .selector :first-child,
      .selector :last-child {
        justify-content: center; }
      .selector :first-child {
        order: -2; }
      .selector :last-child {
        order: -1; } }
  @media only screen and (max-width: 25em) {
    .selector {
      grid-template-columns: 1fr; } }
  .selector__box {
    display: flex;
    width: 20%;
    align-items: center; }
    @media only screen and (max-width: 67em) {
      .selector__box {
        gap: 1rem; } }
    @media only screen and (max-width: 48em) {
      .selector__box {
        width: 100%; } }
  .selector__text {
    font-size: 1.4rem;
    width: 30%;
    text-align: center;
    margin-bottom: 0; }
  .selector .form-select {
    width: 70%; }
  .selector__results-box {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 2rem; }
  .selector__results, .selector__results-number {
    margin-bottom: 0; }
  .selector__results-number {
    font-weight: 700; }

.list-toggle {
  display: flex;
  gap: 0.5rem; }
  .list-toggle__item {
    display: flex;
    font-size: 2rem;
    gap: 1rem;
    align-items: center;
    background-color: #ced4da; }
  .list-toggle__icon {
    font-size: 3rem;
    padding: 1rem;
    cursor: pointer; }
    .list-toggle__icon--active {
      background-color: #868e96;
      color: #fff; }

.section-products {
  display: grid;
  padding: 2rem;
  gap: 3rem; }
  .section-products--grid {
    grid-template-columns: repeat(3, 1fr); }
    @media only screen and (max-width: 48em) {
      .section-products--grid {
        grid-template-columns: repeat(2, 1fr); } }
    @media only screen and (max-width: 25em) {
      .section-products--grid {
        grid-template-columns: 1fr; } }
  .section-products--list {
    grid-template-columns: 1fr; }

/*# sourceMappingURL=main.css.map */
