html {
    scroll-behavior: smooth;
}

.custom_menu-products-page {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.custom_category-nav {
    --custom_category-nav-accent: #ef4d1c;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    display: flex;
    overflow-x: auto;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.custom_category-nav::-webkit-scrollbar {
    display: none;
}

.custom_category-nav-item {
    flex: 0 0 auto;
    margin-right: 12px;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.custom_category-nav-item:hover {
    background: var(--custom_category-nav-accent);
    color: #fff;
}

.custom_category-nav-item.active {
    background: var(--custom_category-nav-accent);
}

.custom_category-section-block {
    padding: 40px 16px 24px;
    scroll-margin-top: 56px;
}

.custom_category-section-title {
    margin: 0 0 16px;
    font-size: 24px;
    color: #333;
}

.custom_product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.custom_product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    cursor: pointer;
}

.custom_product-card:hover {
    transform: translateY(-4px);
}

.custom_product-card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.custom_product-card-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.custom_product-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    color: #333;
}

.custom_product-card-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    flex: 1;
}

.custom_product-card-footer {
    text-align: left;
    margin-top: 12px;
    --card-btn-accent: #ef4d1c;
}

.custom_product-card-button {
    background: var(--card-btn-accent);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
}

.custom_no-products {
    font-size: 14px;
    color: #999;
}

.custom_img-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.custom_img-wrapper .custom_img-skeleton {
    width: 100%;
    height: 100%;
    min-height: 120px;
    animation: shimmer 1.2s infinite linear;
    background: linear-gradient(90deg,
            #eee 25%,
            #f5f5f5 37%,
            #eee 63%);
    background-size: 400% 100%;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.custom_img-wrapper.loaded .custom_img-skeleton {
    display: none;
}

.custom_img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* ---------------------------------------
     MOBİL (max-width: 768px)
     --------------------------------------- */
@media (max-width: 768px) {
    .custom_product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}