:root {
    --brand-strong-bg-color: #ffeaea;
    --brand-product-color: --f7-theme-color;
    --brand-price-text-color: black;
    --brand-strong-text-color: #fce7d5;
    --f7-bars-bg-color: #1d1a16;
    --f7-bars-bg-color-rgb: 29, 26, 22;
    --f7-page-bg-color: #000;

}
.dark{
    --brand-strong-bg-color : black;
    --brand-product-color : --f7-theme-color;
    --brand-price-text-color: white;
    --brand-strong-text-color: #fce7d5;

    --f7-bars-bg-color: #1d1a16;
    --f7-bars-bg-color-rgb: 29, 26, 22;
    --f7-page-bg-color: #000;
}
.item-cards {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    grid-gap: 8px;
    gap: 8px
}

@media (min-width: 480px) {
    .item-cards {
        grid-template-columns:repeat(3, 1fr)
    }
}

@media (min-width: 640px) {
    .item-cards {
        grid-template-columns:repeat(3, 1fr)
    }
}

@media (min-width: 768px) {
    .item-cards {
        display: flex;
        flex-wrap: wrap
    }
}

.item-card {
    padding: 18px;
    background: var(--brand-strong-bg-color);
    border-radius: 24px;
    transition-duration: .15s;
    transition-property: transform;
    overflow: hidden;
    position: relative
}

@media (min-width: 768px) {
    .item-card {
        width: 150px;
        margin-right: 8px;
        margin-bottom: 8px
    }
}
.item-card.active-state {
    transform: scale(.95)
}

.item-card-image {
    position: relative
}

.item-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    opacity: 0;
    transition-duration: 1s;
    position: relative;
    z-index: 2
}

.item-card img.loaded {
    opacity: 1
}

.item-card-title {
    font-weight: bold;
    font-size: 18px;
    margin-top: 16px
}

.item-card-price {
    margin-top: 4px;
    font-weight: bold;
    font-size: 16px;
    color: var(--brand-price-text-color)
}

.block-filter {
    --f7-button-bg-color: rgba(var(--f7-theme-color-rgb), .05);
    display: flex;
    overflow: auto;
    scrollbar-width: none
}

.block-filter::-webkit-scrollbar {
    display: none;
    opacity: 0
}

.block-filter .button {
    flex-shrink: 0
}

.block-filter .button + .button {
    margin-left: 8px
}

.onboarding {
    background: #cc9c68 !important;
    color: #372e1c
}

.onboarding:before {
    left: -50vmax;
    top: -50vmax
}

.onboarding:after {
    right: -50vmax;
    bottom: -50vmax
}

.onboarding .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #372e1c
}

.onboarding .swiper-container {
    height: 100%
}

.onboarding .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: calc(10px + var(--f7-safe-area-bottom))
}

.onboarding-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.onboarding-content > * {
    margin-top: 16px;
    margin-bottom: 16px
}

.onboarding-image img {
    width: 320px;
    height: auto
}

.onboarding-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    padding: 0 32px;
    line-height: 1.2
}

.onboarding-text {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px;
    color: var(--light-color)
}

.onboarding-next {
    --f7-button-padding-horizontal: 16px
}

.onboarding-next .button {
    width: 192px
}
