.glamour-brands,
.glamour-brands-page {
    --glamour-brand-logo-max-width: 400px;
    --glamour-brand-logo-max-height: 200px;
    --glamour-brands-columns: 6;
}

.glamour-brands {
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    padding-top: 3.5rem;
    margin-top: 5rem;
}

.glamour-brands__header {
    margin-bottom: 1.75rem;
}

.glamour-brands__title {
    font-family: "DM Serif Display", serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
}

.glamour-brands__viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.glamour-brands__track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.55s ease-in-out;
    will-change: transform;
    touch-action: pan-y;
}

.glamour-brands__page {
    flex: 0 0 auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(var(--glamour-brands-columns, 6), minmax(0, 1fr));
    gap: 1.5rem 2rem;
    align-items: center;
}

.glamour-brands__item,
.glamour-brands-page__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--glamour-brand-logo-max-height);
    padding: 0.75rem 0.5rem;
}

.glamour-brands__item a,
.glamour-brands-page__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: var(--glamour-brand-logo-max-height);
    transition: opacity 0.2s ease;
}

.glamour-brands__item a:hover,
.glamour-brands-page__item a:hover {
    opacity: 0.7;
}

.glamour-brand-logo {
    display: block;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    opacity: 0.85;
}

/* Ana sayfa slaytı + /marken: aynı logo boyutu */
.glamour-brands--carousel .glamour-brand-logo,
.glamour-brands-page .glamour-brand-logo {
    height: var(--glamour-brand-logo-max-height);
    width: auto;
    max-width: 100%;
    max-height: var(--glamour-brand-logo-max-height);
}

.glamour-brands__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    min-height: 8px;
}

.glamour-brands__dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    border: none;
    padding: 0;
    background: #d4d4d8;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.glamour-brands__dot.is-active {
    background: #1a1a1a;
    transform: scale(1.1);
}

.glamour-brands__cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.glamour-brands__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.875rem 2rem;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}

.glamour-brands__button:hover {
    background: #333333;
    color: #ffffff;
}

.glamour-brands-page__grid {
    display: grid;
    grid-template-columns: repeat(var(--glamour-brands-columns, 6), minmax(0, 1fr));
    gap: 1.5rem 2rem;
    align-items: center;
}

@media (max-width: 1180px) {
    .glamour-brands {
        padding-top: 3rem;
        margin-top: 4rem;
    }

    .glamour-brands--carousel,
    .glamour-brands-page {
        --glamour-brand-logo-max-height: 176px;
    }

    .glamour-brands__page,
    .glamour-brands-page {
        --glamour-brands-columns: 4;
    }
}

@media (max-width: 768px) {
    .glamour-brands {
        padding-top: 2.5rem;
        margin-top: 3rem;
    }

    .glamour-brands--carousel,
    .glamour-brands-page {
        --glamour-brand-logo-max-height: 144px;
    }

    .glamour-brands__page,
    .glamour-brands-page {
        --glamour-brands-columns: 3;
    }

    .glamour-brands__page,
    .glamour-brands-page__grid {
        gap: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .glamour-brands--carousel,
    .glamour-brands-page {
        --glamour-brand-logo-max-height: 120px;
    }

    .glamour-brands__page,
    .glamour-brands-page {
        --glamour-brands-columns: 2;
    }
}
