.baixiu-customize-brand {
    background: var(--bg-color);
    border-radius: 40px;
    padding: var(--component-gap) 0;
}

.baixiu-customize-brand .brand-header {
    text-align: center;
    margin-bottom: 60px;
}

.baixiu-customize-brand .brand-title {
    text-align: center;
}

.baixiu-customize-brand .brand-desc {
    text-align: center;
    max-width: 848px;
    margin: 0 auto;
    margin-top: var(--gap-10);
}

.baixiu-customize-brand .brand-btn {
    width: fit-content;
    margin: 40px auto 0;
    display: block;
}

.baixiu-customize-brand .brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.baixiu-customize-brand .brand-grid-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.baixiu-customize-brand .brand-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.baixiu-customize-brand .brand-card--left {
    max-height: 980px;
    aspect-ratio: 848/980;
}

.baixiu-customize-brand .brand-card--right {
    flex: 1;
    max-height: 478px;
    aspect-ratio: 848/478;
}

.baixiu-customize-brand .brand-card__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    will-change: transform;
}

.baixiu-customize-brand .brand-card:hover .brand-card__media {
    transform: scale(1.05);
}

.baixiu-customize-brand .brand-card__info {
    position: absolute;
    max-width: 90%;
    bottom: 0;
    left: 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: var(--gap-20) var(--gap-24);
    border-radius: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.baixiu-customize-brand .brand-card:hover .brand-card__info {
    background: #fff;
    transform: translateY(-20px);
}

.baixiu-customize-brand .brand-card__title {
    width: fit-content;
    margin: 0 auto;
    color: #FFF;
    font-family: Montserrat;
    font-size: var(--font-36);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: color 0.35s ease, margin-left 0.35s ease;
}

.baixiu-customize-brand .brand-card:hover .brand-card__title {
    color: #1a1a1a;
    margin-left: 0;
}

.baixiu-customize-brand .brand-card__desc-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.baixiu-customize-brand .brand-card:hover .brand-card__desc-wrap {
    grid-template-rows: 1fr;
}

.baixiu-customize-brand .brand-card__desc-text {
    overflow: hidden;
    color: #222;
    font-family: Montserrat;
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 8px 0 0;
    opacity: 0;
    transition: opacity 0.25s ease 0.1s;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.baixiu-customize-brand .brand-card:hover .brand-card__desc-text {
    opacity: 1;
}

.baixiu-customize-brand .brand-card__play {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FD752A;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s, background 0.2s ease;
    position: relative;
    overflow: visible;
}

.baixiu-customize-brand .brand-card:hover .brand-card__play {
    opacity: 1;
}

.baixiu-customize-brand .brand-card__play svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

.baixiu-customize-brand .brand-card__play:hover {
    background: #e25f16;
}

.baixiu-customize-brand .brand-card__play::before,
.baixiu-customize-brand .brand-card__play::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(253, 117, 42, 0.3);
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.baixiu-customize-brand .brand-card__play::after {
    inset: -10px;
}

.baixiu-customize-brand .brand-card__play:hover::before,
.baixiu-customize-brand .brand-card__play:hover::after {
    animation: baixiu-brand-play-ring 1.4s ease-out infinite;
}

@keyframes baixiu-brand-play-ring {
    0% {
        opacity: 0.6;
        transform: scale(0.8);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.baixiu-customize-brand:not(.cards-visible) .brand-card:not(.slide-in) {
    opacity: 0;
    transform: translateY(60px);
}

.baixiu-customize-brand .brand-card {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.baixiu-customize-brand.cards-visible .brand-card {
    transition: none;
}

@media screen and (max-width: 992px) {
    .baixiu-customize-brand .brand-grid {
        grid-template-columns: 1fr;
    }

    .baixiu-customize-brand .brand-card--left {
        max-height: 478px;
        aspect-ratio: 848/478;
    }

    .baixiu-customize-brand .brand-grid-right {
        flex-direction: row;
    }

    .baixiu-customize-brand .brand-card__play {
        width: 48px;
        height: 48px;
    }

    .baixiu-customize-brand .brand-card__play svg {
        width: 20px;
        height: 20px;
    }

    .baixiu-customize-brand .brand-card--right {}
}

@media screen and (max-width: 768px) {
    .baixiu-customize-brand {
        padding: 60px 0 50px;
    }

    .baixiu-customize-brand .brand-grid-right {
        flex-direction: column;
    }

    .baixiu-customize-brand .brand-card__play {
        width: 40px;
        height: 40px;
    }

    .baixiu-customize-brand .brand-card__play svg {
        width: 16px;
        height: 16px;
    }

    .baixiu-customize-brand .brand-title {
        font-size: 28px;
    }
}