.custom-font-main-title {
    font-family: "Rubik Mono One", serif;
    font-weight: 400;
    font-style: normal;
}

.custom-font {
    font-family: "Marmelad", serif;
    font-weight: 400;
    font-style: normal;
}

pre {
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: #333;
}

.showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filters button {
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background-color: #f682c3;
    color: white;
    border-radius: 25px;
    transition: background 0.3s;
}

.filters button.active,
.filters button:hover {
    background-color: #f265b9;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

.product {
    background: white;
    text-align: center;
    transition: transform 0.3s;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    max-width: 100%;
    border-radius: 10px;
}

.product .price {
    font-size: 18px;
    color: #f682c3;
    font-weight: bold;
    margin-top: 10px;
}

.details-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f682c3;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 10px;
    transition: background 0.3s;
    cursor: pointer;
}

.details-button-size{
    width: 45%;
}

.details-button:hover {
    background-color: #f265b9;
}

.product-detail {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.product-detail h1 {
    font-size: 26px;
    color: #333;
}

.product-detail .price {
    font-size: 24px;
    color: #f682c3;
    font-weight: bold;
    margin: 15px 0;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #f682c3;
    text-decoration: none;
    font-size: 18px;
}

.back-link:hover {
    text-decoration: underline;
}

.swiper-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #f682c3;
}

.swiper-pagination-bullet-active {
    background: #f682c3;
}

.back-link {
    position: fixed;
    bottom: 50px;
    z-index: 9999;
    left: 20px;
    text-decoration: none;
    font-size: 20px;
    color: #f682c3;
    display: flex;
    align-items: center;

}

.back-link i {
    font-size: 50px;
}

.back-link svg {
    width: 24px;
    height: 24px;
}

.force-two-columns .products {
    grid-template-columns: repeat(2, 1fr) !important;
}

.main-filters-button {
    width: 20%;
}

.sort-button {
    /*width: 60% !important;*/
    border: none;
    border-radius: 20px;
    background-color: rgba(200, 200, 200, 0.2);
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.sort-button:hover {
    background-color: rgba(200, 200, 200, 0.4);
    transform: scale(1.05);
}

.sort-button:active {
    transform: scale(0.95);
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    background: white;
    border-radius: 25px;
    color: black;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease;
    text-align: left;
}

.link-button i {
    font-size: 20px;
    min-width: 24px; /* Фиксируем ширину иконки */
    text-align: left;
}

@media (max-width: 900px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-filters-button {
        width: 30%;
    }

    .sort-button{
        width: 60% !important;
    }

    .details-button{
        width: 40%;
    }

    .modal-content {
        width: 90%;
    }
}
@media (max-width: 760px) {
    .main-filters-button {
        width: 45%;
    }

    .sort-button{
        width: 90% !important;
    }


    .details-button{
        width: 65%;
        margin-bottom: 0;
    }
}

@media (max-width: 550px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}
