/* Partners Section CSS */
.partners-section {
    padding-top: var(--partners-padding-v, 60px);
    padding-bottom: var(--partners-padding-v, 60px);
    background: #ffffff;
    width: 100%;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 15px;
    row-gap: 5px; /* Extremely tight vertical space between first and second row */
    align-items: center;
    justify-content: center;
    margin-top: 15px; /* Tight distance between title and first row of logos */
}

@media (max-width: 1023px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 10px;
        row-gap: 5px;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 8px;
        row-gap: 5px;
        margin-top: 15px;
    }
}

/* Partner Item Wrapper */
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Reduced padding from 15px */
    background: #ffffff;
    border-radius: 8px;
    height: 120px; /* Increased height from 100px */
    transition: transform 0.2s;
}

@media (max-width: 767px) {
    .partner-item {
        height: 90px; /* Scaled down height for mobile */
        padding: 3px;
    }
}

.partner-logo-img {
    max-height: 90px; /* Increased from 70px */
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .partner-logo-img {
        max-height: 70px; /* Mobile size */
    }
}

/* Stylized Vector Logos */
.partner-logo-vector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    user-select: none;
}

/* Vector 1: Kérastase Paris */
.vector-kerastase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1.5px solid #000;
    padding-bottom: 2px;
}
.vector-kerastase .brand-main {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px; /* Increased from 20px */
    font-weight: 700;
    letter-spacing: 2px;
    color: #000000;
    line-height: 1.1;
}
.vector-kerastase .brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px; /* Increased from 8px */
    font-weight: 600;
    letter-spacing: 4px;
    color: #444;
    margin-top: 2px;
}

/* Vector 2: NYX */
.vector-nyx {
    display: flex;
    align-items: center;
    justify-content: center;
}
.vector-nyx span {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    font-size: 46px; /* Increased from 38px */
    font-weight: 900;
    letter-spacing: -2px;
    color: #000000;
    transform: scaleY(1.1);
}

/* Vector 3: Some By Mi */
.vector-somebymi .circle-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 78px; /* Increased from 65px */
    height: 78px; /* Increased from 65px */
    border: 1.5px solid #000;
    border-radius: 50%;
    padding: 5px;
}
.vector-somebymi .brand-top {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px; /* Increased from 13px */
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    line-height: 1;
}
.vector-somebymi .brand-bottom {
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px; /* Increased from 10px */
    font-weight: 600;
    color: #000;
    border-top: 1.5px solid #000;
    margin-top: 2px;
    padding-top: 2px;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Vector 4: MUA Makeup Academy */
.vector-mua {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.vector-mua .brand-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px; /* Increased from 24px */
    font-weight: 300;
    letter-spacing: 1px;
    color: #000;
    line-height: 1;
}
.vector-mua .brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px; /* Increased from 7.5px */
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #000;
    margin-top: 2px;
}

/* Vector 5: Olaplex */
.vector-olaplex span {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px; /* Increased from 20px */
    font-weight: 600;
    letter-spacing: 1px;
    color: #000000;
}

/* Vector 6: Isispharma */
.vector-isispharma {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.vector-isispharma .brand-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 21px; /* Increased from 17px */
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #1a365d;
    line-height: 1;
}
.vector-isispharma .brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px; /* Increased from 7px */
    font-weight: 600;
    letter-spacing: 2px;
    color: #4a5568;
    margin-top: 3px;
}

/* Vector 7: Klorane */
.vector-klorane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.vector-klorane .brand-pre {
    font-family: 'Montserrat', sans-serif;
    font-size: 8px; /* Increased from 6px */
    font-weight: 700;
    letter-spacing: 3px;
    color: #00563b;
    margin-bottom: 2px;
}
.vector-klorane .brand-box {
    background: #00563b;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px; /* Increased from 14px */
    font-weight: 800;
    letter-spacing: 2px;
    padding: 3px 12px;
    line-height: 1;
}
.vector-klorane .brand-post {
    font-family: 'Montserrat', sans-serif;
    font-size: 8px; /* Increased from 6px */
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #00563b;
    margin-top: 3px;
}

/* Vector 8: Lancaster */
.vector-lancaster span {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px; /* Increased from 20px */
    font-weight: 600;
    letter-spacing: 3px;
    color: #d4af37;
}

/* Vector 9: Rituals */
.vector-rituals .stamp-box {
    width: 75px; /* Increased from 60px */
    height: 75px; /* Increased from 60px */
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border-radius: 4px;
    overflow: hidden;
}
.rituals-stamp {
    width: 100%;
    height: 100%;
    display: block;
}

/* Vector 10: Chanel */
.vector-chanel span {
    font-family: 'Times New Roman', Times, serif;
    font-size: 32px; /* Increased from 26px */
    font-weight: 700;
    letter-spacing: 5px;
    color: #000000;
}
