.products-section {
    max-width: var(--content-max-width, 1275px);
    margin: 0 auto;
    /*padding: 5px 20px;*/
    /*background: var(--color-background-accent, #F2F5F6);*/
    border-radius: 8px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border, #d9d9d9);
}

.category-tabs input[type="radio"] {
    display: none;
}

.category-tabs .tab-button {
    font-weight: bold;
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: color var(--transition-fast, 0.2s), border-bottom var(--transition-fast, 0.2s);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.category-tabs .tab-button:hover,
.category-tabs input[type="radio"]:checked + .tab-button {
    color: var(--color-accent, #007fc3);
    border-bottom-color: var(--color-accent, #007fc3);
}

.products-container .tab-panel {
    display: none;
}

.products-container input#tab1:checked ~ .tab-panel#panel1,
.products-container input#tab2:checked ~ .tab-panel#panel2,
.products-container input#tab3:checked ~ .tab-panel#panel3 {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.Related {
    padding: 0 0;
    background: #FFFFFF;
}

@media screen and (min-width: 768.02px), print {
    :where(.Related) .splide {
        width: 100%;
    }
}


.product-card {
    background: var(--color-background, #fff);
    border: 1px solid var(--color-border, #d9d9d9);;
    /*border-radius: 8px;*/
    overflow: hidden;
    /*box-shadow: 0 0 3px rgb(0, 0, 0, .16), -1px -1px 3px rgb(0, 0, 0, .16), 1px 1px 3px rgb(0, 0, 0, .16);*/
    position: relative;
    padding-bottom: 40px;
    width: 100%;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-5px);
    /*box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.36);*/
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card h3 {
    margin: 15px;
    font-size: 1.2rem;
    color: var(--color-foreground, #333);
    font-weight: bold;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card p {
    padding: 15px 15px 10px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5714285714285714;
    letter-spacing: 0.1em;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 25px;
    height: 25px;
    background-color: #007fc3;
    -webkit-mask: url(/hihatu/img/next_04.svg) no-repeat center / contain;
    mask: url(/hihatu/img/next_04.svg) no-repeat center / contain;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover::after{
    transform: scale(1.4);
    transition: transform 0.3s ease;
    background-color: #29a0e3;

    /*-webkit-transform: translateX(4px);*/
    /*transform: translateX(4px);*/
}

.product-card:hover h3 {
    color: #007fc3;
}

.product-card:hover img {
    opacity: .8;
}

.product-card:hover p {
    /*font-weight: 500;*/
}

.category-tabs .tab-button:focus {
    outline: 2px solid var(--color-accent, #007fc3);
}

@media screen and (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-tabs {
        /*flex-wrap: wrap;*/
        justify-content: flex-start;
        gap: 5px;
    }

    .category-tabs .tab-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .products-section {
        padding: 20px 15px;
    }

    .product-card img {
        height: 120px;
    }

    .product-card::after {
        right: 15px;
        bottom: 15px;
    }
}

@media screen and (max-width: 579px) {
    .products-grid {
        gap: 10px;
    }

    .product-card img {
        height: 120px;
    }
}



