.custom-products-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.custom-section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

.custom-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.custom-product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.custom-product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.custom-product-card h3 {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    text-decoration: none !important;
}

.custom-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
}
.custom-product-card a,
.custom-product-card a:hover,
.custom-product-card a:focus,
.custom-product-card a:visited {
    text-decoration: none !important;
    color: inherit !important;
}

a,
a:hover,
a:focus,
a:visited {
    text-decoration: none !important;
}

.brand-section {
    margin: 3rem 0;
    text-align: center;
}

.brands-ticker {
    overflow: hidden;
    position: relative;
    width: calc(100% - 20rem);
    margin: 2rem auto;
    padding: 1rem 0;
    background: #fff;
    border-radius: 8px;
}

.brands-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.brand-logo {
    height: 60px;
    margin: 0 40px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1200px) {
    .custom-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .brands-ticker {
        width: calc(100% - 18rem);
    }
}

@media (max-width: 768px) {
    .custom-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brands-ticker {
        width: calc(100% - 8rem);
    }
}

@media (max-width: 480px) {
    .custom-products-grid {
        grid-template-columns: 1fr;
    }

    .brands-ticker {
        width: calc(100% - 4rem);
    }
}
