@font-face {
    font-family: "GrishenkoOpiyatNbp";
    src: url("GrishenkoOpiyatNbp.ttf");
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "GrishenkoOpiyatNbp";
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #fff;
    color: #000;
    font-family: sans-serif;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}
.brand-name{

  padding: 1.3rem;
  margin-left: -25px;
}
.main-page-link {

    font-family: "GrishenkoOpiyatNbp", sans-serif;
    color: #000;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    padding: 1.3rem;
    margin: 0;
    font-weight: 400;
    border: none;
    text-decoration: none;
}
.main-page-link:hover {
    font-family: "GrishenkoOpiyatNbp", sans-serif;
    color: #000;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    padding: 1.3rem;
    margin: 0;
    font-weight: 400;
      border: none;
    text-decoration: none;
}
.container-main {
    display: flex;
    height: calc(109vh - 60px);
    width: 100%;
}

.left-container {
    width: 30%;
    height: 98.5%;
    display: flex;
      flex-direction: column;
      justify-content: space-between;
}

.collections-side {
    width: 100%;
    background-color: #fff;
    padding: 20px;
    overflow-y: auto;
}

.products-side {
    width: 70%;
    height: 100%;
    background-color: #fff;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Стили для постера */
.poster-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster-image {
  pointer-events: none;
  -webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.collection-item {
    font-size: 0.7rem;
    border-bottom: 1px solid black;
    color: #000;
    cursor: pointer;
    transition: color 0.2s, border-bottom 0.2s;
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    padding: 8px 0;
}

.collection-item:hover {
    color: black;
    border-bottom: 1px solid black;
}

.collection-item.active {
    color: black;
    border-bottom: 1px solid white;
}

/* Стили для сетки товаров */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    width: 100%;
}

/* Корзина в левом нижнем углу */
.cart-bottom-left {
    position: fixed;
    left: 200px;
    bottom: 30px;
    z-index: 1000;
}

.cart-ico {
    width: 24px;
    filter: invert(0);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: black;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "GrishenkoOpiyatNbp", sans-serif;
    font-weight: 400;
}
.text-block{
padding: 1.5em;
}
.text-under-photo{
  font-family: "GrishenkoOpiyatNbp", sans-serif;
  font-size: .5em;
  font-weight: 100;
  display: block;
}
@media (max-width: 768px) {
  .main-page-link{
    font-size: 1rem;
  }
    .container-main {
        flex-direction: column;
        height: auto;
        align-items: center;

display: flex;
flex-direction: column;
justify-content: flex-end;
flex-wrap: nowrap;
    }

    .left-container {
        width: 100%;
        flex-direction: column;
    }

    .collections-side {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 2px solid #000;
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 10px 20px;
    }

    .collection-item {
        padding: 10px 15px;
        font-size: 1.2rem;
        white-space: nowrap;
        font-weight: 400;
    }



    .brand-name {
        font-size: 1rem;
        font-weight: 400;
    }

    .cart-bottom-left {
        left: 15px;
        bottom: 15px;
    }
    .products-side{
      width: 100%;
    }
    .poster-image {
        max-width: 100%;
        max-height: 100%;
        pointer-events: none;
        -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    }
    .cart-bottom-left {
        position: fixed;
        left: 20px;
        bottom: 30px;
        z-index: 1000;
    }

    .cart-ico {
        width: 40px;
        filter: invert(0);
    }

    .cart-count {
        position: absolute;
        top: -8px;
        right: -14px;
        font-size: 12px;
        width: 20px;
        height: 20px;
        color:white;

    }
    .text-under-photo{
      display: block;
      font-family: "GrishenkoOpiyatNbp", sans-serif;
      color: #000;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      text-align: left;
      padding: 1.3rem;
      margin: 0;
      font-weight: 400;
      border: none;
      text-decoration: none;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
