*{
  background-color: #ffffff;
    font-family: Arial, system-ui;
}

body{
  width: 97%;
}

footer{
  text-align: center;
  width: 100%;
  padding-top: 2em;
  padding-bottom: 2em;
}

a{
    text-decoration: none;
    color: black;
}

a:hover{
  text-decoration: underline;
}

.products:hover{
    opacity: 70%;
}

  .navigation__view-cart {
    position: relative;
  }
  .navigation__view-cart__quantity {
    color: #fff;
    font-size: 65%;
    background-color: #000000;
    position: absolute;
    bottom: -20%;
    right: 5%;
    padding: 5px;
    border-radius: 1000px;
    cursor: pointer;
    display: block;
  }
  .navigation__view-cart__quantity:empty {
    display: none;
  }
  .navigation__view-cart span {
    align-items: center;
    display: flex;
    flex-direction: row;
    font-size: 0.875rem;
    gap: 0.5rem;
    justify-content: center;
    white-space: nowrap;
    cursor: pointer;
  }
  .navigation__view-cart span::after {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 45'><path d='M 23 2 C 18.385291 2 14.559689 5.5140788 14.058594 10 L 12 10 C 9.688 10 7.7634375 11.733203 7.5234375 14.033203 L 5.0234375 38.033203 C 4.8914375 39.298203 5.30425 40.566672 6.15625 41.513672 C 7.00825 42.458672 8.228 43 9.5 43 L 38.5 43 C 39.772 43 40.99175 42.458672 41.84375 41.513672 C 42.69575 40.567672 43.106609 39.298203 42.974609 38.033203 L 40.476562 14.033203 C 40.236562 11.733203 38.312 10 36 10 L 33.953125 10 C 33.984125 10.33 34 10.664 34 11 L 34 13 L 36 13 C 36.771 13 37.412187 13.578703 37.492188 14.345703 L 39.992188 38.345703 C 40.036187 38.767703 39.898234 39.189906 39.615234 39.503906 C 39.331234 39.818906 38.924 40 38.5 40 L 9.5 40 C 9.076 40 8.6697188 39.819859 8.3867188 39.505859 C 8.1027187 39.190859 7.9638125 38.767703 8.0078125 38.345703 L 10.507812 14.345703 C 10.587813 13.578703 11.229 13 12 13 L 14 13 L 14 16.5 A 1.50015 1.50015 0 1 0 17 16.5 L 17 11 C 17 7.6687195 19.668719 5 23 5 C 25.989762 5 28.439942 7.1510842 28.912109 10 L 19.132812 10 C 19.048812 10.32 19 10.654 19 11 L 19 13 L 29 13 L 29 16.5 A 1.50015 1.50015 0 1 0 32 16.5 L 32 11 C 32 6.0472805 27.952719 2 23 2 z' /></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
  }
  .navigation__view-cart span:hover {
    text-decoration: underline;
  }


/** Product Modal style **/
  .product-modal {
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 0;
    outline: none;
  }
  @media (max-width: 768px) {
    .product-modal {
      width: 100%;
    }
  }
  .product-modal::backdrop {
    background-color: rgba(156, 163, 175, 0.5);
  }
  .product-modal__container {
    overflow-x: hidden;
    padding: 0;
    position: relative;
  }
  .product-modal__close-container {
    display: grid;
    justify-content: end;
    justify-items: end;
    padding: 2rem;
    padding-left: 0;
    position: absolute;
    right: 0;
    z-index: 1;
  }
  .product-modal__close {
    border: 1px solid #cccccc;
    border-radius: 12px;
    cursor: pointer;
    height: 32px;
    width: 32px;
  }
  .product-modal__content {
    background-color: #ffffff;
    border-radius: 0.75rem;
    max-width: 56rem;
    width: 100%;
  }
  .product-modal__layout {
    display: flex;
    flex-direction: column;
  }
  @media (min-width: 768px) {
    .product-modal__layout {
      flex-direction: row;
    }
  }
  .product-modal__media {
    align-items: center;
    background: #f6f6f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 400px;
    padding: 1rem;
  }
  .product-modal__media img {
    border-radius: 4px;
    height: 100%;
    width: 100%;
    height: auto;
  }
  .product-modal__details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }
  .product-modal__header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .product-modal__vendor {
    opacity: 0.5;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
  }
  .product-modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
  }


  .product-modal__price-container {
    display: flex;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
  }
  .product-modal__compare-price {
    text-decoration: line-through;
    opacity: 0.5;
  }
  .product-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .product-modal__buttons button {
    font-size: 0.875rem;
    font-weight: 800;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: 2px solid black;
    text-transform: uppercase;
  }
  .product-modal__add-button {
    background-color: #000000;
    color: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 18px;
    font-weight: 500;
    width: 100%;
  }
  .product-modal__add-button:hover {
    background: #ffffff;
    color: #000000;
    border: 2px solid black;
  }
  .product-modal__add-button:disabled {
    opacity: 0.3;
  }
  .product-modal__buy-button {
    background-color: #ffffff;
    color: #000000;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 18px;
    font-weight: 500;
    width: 100%;
  }
  .product-modal__buy-button:disabled {
    opacity: 0.3;
  }
  .product-modal__buy-button:hover {
    opacity: 0.3;
  }
  .product-modal__description {
    display: flex;
    justify-content: space-between;
  }
  .product-modal__description-text {
    font-weight: 400;
    color: #717171;
    font-size: 0.875rem;
  }
  .product-modal__description-text p {
    margin: 0;
  }  



  .collection-grid {
    width: 60%;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
    align-items: start;
  }

    @media (max-width: 768px) {
      .collection-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

      }

  }



#logo-div{
  display: block;
  width: 12%;
  margin: 0 auto;
  padding-top: 5em;
  padding-bottom: 5em;

}


    @media (max-width: 768px) {
      #logo-div{
        width: 30%;
        padding-bottom: 2em;
      }

  }

.cart-div{
  position: absolute;
  top: 25px;
  right: 25px;
}








  .product-card__image-slider {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
  }
  .product-card__image-grid {
    display: flex;
    flex-direction: row;
    width: 347px;
    transition: transform 0.3s ease;
  }
  .product-card__image-grid img {
    border-radius: 0.5rem;
    max-width: 100%;
    height: auto;
  }
  .product-card__images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 420px;
    margin-top: 8px;
  }
  .product-card__image-small {
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
  .product-card__image-small img {
    border: 1px solid transparent;
    width: 130px;
    height: 130px;
    border-radius: 4px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
  }
  .product-card__image-small img:hover {
    opacity: 1;
  }
  .product-card__image-small.selected img {
    opacity: 1;
    border: 1px solid #ccc;
  }
  @media (max-width: 768px) {
    .product-card__image-small img {
      width: 100px;
      height: 100px;
    }
  }

    .product-card__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .prev {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  left: 10px;
  z-index: 100;
  background-color: #ffffff54;
}

   .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  right: 10px;
  z-index: 100;
  background-color: #ffffff54;

}


