.brend-page {
    background: #FDF2E1;
    color: #2E0D0D;
}

.brend-page__main {
    display: block;
}

.brend-page__main > section {
    position: relative;
}

/* ——— About brand ——— */
.brend-about {
    position: relative;
    padding: 100px 0 80px;
    overflow-x: clip;
}

.brend-about__decor {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    width: 100vw;
    height: 342px;
    transform: translateX(-50%);
    pointer-events: none;
}

.brend-about__decor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brend-about__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 546px minmax(0, 1fr);
    gap: 48px 100px;
    align-items: center;
    width: 100%;
    max-width: calc(var(--content-max-width) + 2 * var(--page-inline));
    margin-inline: auto;
    padding-inline: var(--page-inline);
    box-sizing: border-box;
}

.brend-about__visual img {
    display: block;
    width: 546px;
    height: 459px;
    object-fit: cover;
    border-radius: 20px;
    background: rgba(250, 230, 201, 0.5);
}

.brend-about__title {
    margin: 0;
    color: #2E0D0D;
    font-family: var(--third-family);
    font-size: 72px;
    font-weight: 500;
    line-height: 73px;
}

.brend-about__title span {
    color: #AA3036;
}

.brend-about__text {
    max-width: 568px;
    margin-top: 34px;
    color: rgba(34, 34, 34, 0.8);
    font-family: var(--font-family);
    font-size: 21px;
    font-weight: 350;
    line-height: 24px;
}

/* ——— Products ——— */
.brend-products {
    padding: 40px 0 100px;
}

.brend-products__inner {
    width: 100%;
    max-width: calc(var(--content-max-width) + 2 * var(--page-inline));
    margin-inline: auto;
    padding-inline: var(--page-inline);
    box-sizing: border-box;
}

.brend-products__title {
    margin: 0 0 48px;
    color: #151515;
    font-family: var(--third-family);
    font-size: 29px;
    font-weight: 500;
    line-height: 1.2;
}

.brend-products__layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 62px;
    align-items: start;
}

.brend-products__filters-ph {
    display: none;
}

.brend-products__filters {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 18px 8px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}

.brend-products__filters-label {
    margin: 0 0 12px;
    padding: 0 10px 12px;
    border-bottom: 1px solid #EBEBEB;
    color: #555;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 350;
}

.brend-products__cats {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brend-products__cat {
    display: block;
    width: 100%;
    margin: 0;
    padding: 6px 16px;
    border: 0;
    border-radius: 40px;
    background: transparent;
    color: #151515;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 350;
    line-height: 17px;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--ease-ui), color var(--ease-ui);
}

.brend-products__cat.is-active {
    background: #FDF2E1;
}

.brend-products__cat:hover:not(.is-active) {
    background: rgba(253, 242, 225, 0.55);
}

.brend-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 295px));
    gap: 10px;
    justify-content: space-between;
    transition: opacity 0.2s ease;
}

.brend-products__grid.is-switching {
    opacity: 0;
}

.brend-product {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 295px;
    min-height: 558px;
    overflow: hidden;
    border: 1px solid #A7A7A7;
    border-radius: 16px;
    background: transparent;
    box-sizing: border-box;
}

.brend-product.is-hidden {
    display: none;
}

.brend-product__media {
    position: relative;
    width: 100%;
    height: 240px;
    flex-shrink: 0;
}

.brend-product__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    background: rgba(250, 230, 201, 0.5);
}

.brend-product__badge {
    position: absolute;
    left: 14px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 15px;
    border-radius: 999px;
    background: #fff;
    color: #151515;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    box-sizing: border-box;
}

.brend-product__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 22px 26px;
    box-sizing: border-box;
}

.brend-product__name {
    margin: 0;
    color: #151515;
    font-family: var(--font-family);
    font-size: 19px;
    font-weight: 600;
    line-height: 28px;
}

.brend-product__compose {
    margin: 1px 0 0;
    color: #222;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 350;
    line-height: 16px;
}

.brend-product__shelf {
    margin-top: 20px;
    padding: 6px 0;
    border-top: 1px solid #A7A7A7;
    border-bottom: 1px solid #A7A7A7;
}

.brend-product__shelf-label {
    display: block;
    color: #666;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.brend-product__shelf-label--next {
    margin-top: 10px;
}

.brend-product__shelf-value {
    display: block;
    color: #151515;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 25.6px;
}

.brend-product__store {
    margin: 20px 0 0;
    color: #222;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 300;
    line-height: 16px;
}

.brend-product__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 179px;
    min-height: 39px;
    margin-top: auto;
    padding: 8px 20px;
    border: 0;
    border-radius: 300px;
    background: #AA3036;
    color: #fff;
    font-family: var(--second-family);
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color var(--ease-ui);
}

.brend-product__btn:hover {
    background: var(--color-brand-hover);
}

/* ——— Product modal ——— */
.brend-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.brend-modal[hidden] {
    display: none;
}

.brend-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 25, 25, 0.65);
    cursor: pointer;
}

.brend-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 546px 546px;
    gap: 20px;
    width: 100%;
    max-width: 1112px;
    box-sizing: border-box;
}

.brend-modal__close {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--ease-ui);
}

.brend-modal__close:hover {
    opacity: 1;
}

.brend-modal__close img {
    display: block;
    width: 24px;
    height: 24px;
}

.brend-modal__media {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(250, 230, 201, 0.5);
}

.brend-modal__media img {
    display: block;
    width: 100%;
    height: 459px;
    object-fit: cover;
}

.brend-modal__panel {
    display: flex;
    flex-direction: column;
    min-height: 459px;
    padding: 80px 71px 48px;
    border-radius: 20px;
    background: #fff;
    box-sizing: border-box;
}

.brend-modal__title {
    margin: 0;
    color: #151515;
    font-family: var(--third-family);
    font-size: 29px;
    font-weight: 500;
    line-height: 28px;
}

.brend-modal__compose {
    max-width: 351px;
    margin: 21px 0 0;
    color: #222;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
}

.brend-modal__label {
    margin: 36px 0 0;
    color: rgba(34, 34, 34, 0.7);
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 300;
    line-height: 16px;
}

.brend-modal__label + .brend-modal__text {
    margin-top: 10px;
}

.brend-modal__panel .brend-modal__label:first-of-type {
    margin-top: 28px;
}

.brend-modal__text {
    max-width: 392px;
    margin: 0;
    color: #222;
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 300;
    line-height: 22px;
}
