/* Кейс Fashouse — hero */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.fashouse-page {
    margin: 0;
    background: #f5f2ef;
}

.fashouse-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    height: 92vh;
    min-height: 90vh;
    padding: 0;
    background-color: #8b8a76;
    background-image: url('../images/cases/Fashouse/back-main.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.fashouse-hero__breadcrumbs {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 92px 20px 16px;
    box-sizing: border-box;
    text-align: left;
}

.fashouse-hero__breadcrumbs a,
.fashouse-hero__breadcrumbs span {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.fashouse-hero__body {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 48px;
    box-sizing: border-box;
    min-height: 0;
}

.fashouse-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(20px, 3vw, 32px);
    max-width: 560px;
}

.fashouse-hero__logo {
    display: block;
    width: min(420px, 70vw);
    height: auto;
    object-fit: contain;
}

.fashouse-hero__subtitle {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(24px, 2.05vw, 32px);
    font-weight: 600 !important;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #262626;
}

@media (max-width: 1400px) {
    .fashouse-hero {
        background-position: 65% center;
    }
}

@media (max-width: 1100px) {
    .fashouse-hero {
        background-position: 75% center;
    }
}

@media (max-width: 900px) {
    .fashouse-hero {
        height: auto;
        min-height: 80vh;
        background-position: 75% center;
    }

    .fashouse-hero__breadcrumbs {
        padding: 80px 20px 12px;
    }

    .fashouse-hero__logo {
        width: min(320px, 80vw);
    }
}

@media (max-width: 600px) {
    .fashouse-hero {
        min-height: 70vh;
        background-position: 73% center;
    }

    .fashouse-hero__subtitle {
        font-size: 16px;
        letter-spacing: 0.12em;
    }
}

/* О проекте */
.fashouse-about {
    background: #ffffff;
    padding: clamp(60px, 9vw, 120px) 20px;
}

.fashouse-about__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 4vw, 50px);
    align-items: start;
}

.fashouse-about__heading {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(48px, 8.5vw, 96px);
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #272727;
}

.fashouse-about__text {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 500;
    line-height: 1.55;
    color: #3a3a35;
    align-self: end;
    padding-top: clamp(50px, 5vw, 80px);
}

@media (max-width: 900px) {
    .fashouse-about__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fashouse-about__text {
        padding-top: 0;
    }
}

/* Каталог */
.fashouse-catalog{
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(60px, 8vw, 120px) 20px;
    background-color: #D5D2C7;
    background-image: url('../images/cases/Fashouse/back-1.png');
    background-size: cover;
    background-position: 54% center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.fashouse-catalog__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.fashouse-catalog__copy {
    max-width: 580px;
}

.fashouse-catalog__heading {
    margin: 0 0 clamp(20px, 2.5vw, 32px);
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(48px, 8.5vw, 96px);
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #272727;
}

.fashouse-catalog__desc {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: #1d1d1b;
}

@media (max-width: 900px) {
    .fashouse-catalog {
        background-position: 55% center;
    }

    .fashouse-catalog__inner {
        grid-template-columns: 1fr;
    }

    .fashouse-catalog__copy {
        max-width: 40%;
    }
}

@media (max-width: 700px) {
    .fashouse-catalog {
        display: block;
        min-height: 0;
        padding: clamp(40px, 10vw, 60px) 20px 84vw;
        background-size: auto 80vw;
        background-position: 80% bottom;
    }

    .fashouse-catalog__inner {
        grid-template-columns: 1fr;
        display: block;
    }

    .fashouse-catalog__copy {
        max-width: 100%;
    }

    .fashouse-catalog__heading {
        font-size: clamp(36px, 12vw, 64px);
    }
}

/* Карточка товара */
.fashouse-product {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(60px, 8vw, 120px) 20px 0;
    background-color: #d9d4cb;
    background-image: url('../images/cases/Fashouse/back-2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: stretch;
}

.fashouse-product__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "heading heading"
        "copy media";
    column-gap: clamp(40px, 6vw, 90px);
    row-gap: clamp(24px, 3vw, 40px);
    align-items: end;
}

.fashouse-product__heading {
    grid-area: heading;
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(48px, 8.5vw, 96px);
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #272727;
    white-space: nowrap;
}

.fashouse-product__copy {
    grid-area: copy;
    max-width: 520px;
    align-self: start;
    padding-bottom: clamp(40px, 6vw, 80px);
}

.fashouse-product__desc {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: #1d1d1b;
}

.fashouse-product__media {
    grid-area: media;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.fashouse-product__screen {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
    vertical-align: bottom;
}

@media (max-width: 1000px) {
    .fashouse-product__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "copy"
            "media";
    }

    .fashouse-product__copy {
        max-width: 100%;
        padding-bottom: 0;
    }

    .fashouse-product__screen {
        max-width: 520px;
    }
}

@media (max-width: 700px) {
    .fashouse-product {
        min-height: 0;
        padding: clamp(40px, 10vw, 60px) 20px 0;
        background-position: 70% center;
    }

    .fashouse-product__heading {
        font-size: clamp(36px, 12vw, 64px);
        white-space: normal;
    }

    .fashouse-product__screen {
        max-width: 100%;
    }
}

/* Избранное */
.fashouse-favorites {
    position: relative;
    width: 100%;
    height: 80vh;
    box-sizing: border-box;
    padding: clamp(60px, 8vw, 120px) 20px;
    background-color: #8b8a76;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.21)),
        url('../images/cases/Fashouse/back-fashouse.webp');
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.fashouse-favorites__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 360px) 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.fashouse-favorites__media {
    display: flex;
    justify-content: center;
}

.fashouse-favorites__screen {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.fashouse-favorites__copy {
    max-width: 560px;
}

.fashouse-favorites__heading {
    margin: 0 0 clamp(20px, 2.5vw, 32px);
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(48px, 8.5vw, 96px);
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #272727;
}

.fashouse-favorites__desc {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: #1d1d1b;
}

@media (max-width: 1400px) {
    .fashouse-favorites {
        background-position: center center, 65% center;
    }
}

@media (max-width: 1200px) {
    .fashouse-favorites {
        background-position: center center, 75% center;
    }
    .fashouse-product {
        background-position: 65% center;
    }
}

@media (max-width: 1000px) {
    .fashouse-favorites {
        background-position: center center, 65% center;
    }
}

@media (max-width: 700px) {
    .fashouse-favorites {
        height: auto;
        min-height: 0;
        background-position: center center, 70% center;
    }

    .fashouse-product {
        background-image: none;
        background-color: #D5D2C7;
    }

    .fashouse-favorites__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        justify-items: start;
        text-align: left;
    }

    .fashouse-favorites__media {
        width: 100%;
        justify-self: center;
    }

    .fashouse-favorites__copy {
        margin-top: 0;
        order: -1;
    }

    .fashouse-favorites__screen{
        max-width: 260px;
    }

    .fashouse-favorites__heading {
        font-size: clamp(36px, 12vw, 64px);
    }
}

/* Корзина */
.fashouse-cart {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(60px, 8vw, 120px) 20px;
    background-image: url('../images/cases/Fashouse/back-4.png');
    background-size: cover;
    background-position: 46% center;
    background-repeat: no-repeat;
    background-color: #D5D2C7;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.fashouse-cart__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
    justify-content: end;
}

.fashouse-cart__copy {
    max-width: 650px;
    margin-left: auto;
}

.fashouse-cart__heading {
    margin: 0 0 clamp(20px, 2.5vw, 32px);
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(48px, 8.5vw, 96px);
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #272727;
}

.fashouse-cart__desc {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: #1d1d1b;
}

@media (max-width: 900px) {
    .fashouse-cart {
        background-position: 45% center;
    }

    .fashouse-cart__inner {
        grid-template-columns: 1fr;
    }

    .fashouse-cart__copy {
        max-width: 60%;
    }
}

@media (max-width: 700px) {
    .fashouse-cart {
        display: block;
        min-height: 0;
        padding: clamp(40px, 10vw, 60px) 20px 74vw;
        background-size: auto 80vw;
        background-position: 20% bottom;
    }

    .fashouse-cart__inner {
        grid-template-columns: 1fr;
        display: block;
    }

    .fashouse-cart__copy {
        max-width: 100% !important;
        margin-left: 0;
    }

    .fashouse-cart__heading {
        font-size: clamp(36px, 12vw, 64px);
    }
}

/* Магазины */
.fashouse-stores {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(60px, 8vw, 120px) 0 0 20px;
    background-color: #cfc8bb;
    background-image: url('../images/cases/Fashouse/back-3.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.fashouse-stores__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    column-gap: clamp(40px, 6vw, 90px);
    row-gap: clamp(24px, 3vw, 40px);
    align-items: end;
}

.fashouse-stores__copy {
    max-width: 580px;
    align-self: start;
    padding-bottom: clamp(40px, 6vw, 80px);
    padding-right: 20px;
}

.fashouse-stores__heading {
    margin: 0 0 clamp(20px, 2.5vw, 32px);
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(48px, 8.5vw, 96px);
    font-weight: 900 !important;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #272727;
}

.fashouse-stores__desc {
    margin: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: #1d1d1b;
}

.fashouse-stores__media {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    min-width: 0;
}

.fashouse-stores__screen {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    min-width: 900px;
    object-fit: contain;
    margin-bottom: 0;
    vertical-align: bottom;
}

@media (max-width: 1200px) {
    .fashouse-stores {
        background-position: 60% center;
    }
}

@media (max-width: 1100px) {
    .fashouse-cart__copy {
        max-width: 60%;
    }
}

@media (max-width: 1000px) {
    .fashouse-stores {
        padding: clamp(60px, 8vw, 120px) 20px 0;
    }

    .fashouse-stores__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fashouse-stores__copy {
        max-width: 100%;
        padding-bottom: 0;
        padding-right: 0;
    }

    .fashouse-stores__media {
        justify-content: center;
    }

    .fashouse-stores__screen {
        width: 100%;
        max-width: 720px;
        min-width: 0;
    }
}

@media (max-width: 700px) {
    .fashouse-stores {
        min-height: 0;
        padding: clamp(40px, 10vw, 60px) 20px 0;
        background-image: none;
        background-color: #A59D8C;
    }

    .fashouse-stores__heading {
        font-size: clamp(36px, 12vw, 64px);
    }

    .fashouse-stores__screen {
        width: 100%;
        max-width: 100%;
    }
}

/* Обсудить проект */
.fashouse-contact {
    background: #8A8069;
}

.fashouse-contact__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: min(60vh, 560px);
}

.fashouse-contact__media {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
}

.fashouse-contact__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.fashouse-contact__panel-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(32px, 4vw, 64px) clamp(24px, 5vw, 80px);
}

.fashouse-contact__panel {
    width: 100%;
    max-width: 460px;
}

.fashouse-contact__title {
    margin: 0 0 clamp(18px, 2vw, 28px);
    font-family: 'Gilroy', sans-serif;
    font-weight: 700 !important;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.2;
    color: #f5f2ee;
}

.fashouse-contact__form {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.4vw, 18px);
}

.fashouse-contact__field {
    margin: 0;
}

.fashouse-contact__input {
    box-sizing: border-box;
    width: 100%;
    padding: 14px 18px;
    border: none;
    background: #D5D2C7;
    color: #1d1d1b;
    font-family: 'Gilroy', sans-serif;
    font-size: clamp(15px, 1.05vw, 17px);
    font-weight: 500;
    line-height: 1.3;
    border-radius: 0;
}

.fashouse-contact__input::placeholder {
    color: #6b6657;
}

.fashouse-contact__input:hover,
.fashouse-contact__input:focus {
    outline: none;
    background: #e0ddd2;
}

.fashouse-contact__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 0;
    cursor: pointer;
    font-family: 'Gilroy', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #e8e3d7;
}

.fashouse-contact__consent input[type="checkbox"] {
    margin-top: 0.2em;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #D5D2C7;
}

.fashouse-contact__consent-text {
    flex: 1;
    min-width: 0;
}

.fashouse-contact__link {
    color: #f5f2ee;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.fashouse-contact__link:hover {
    color: #ffffff;
}

.fashouse-contact__submit {
    align-self: flex-start;
    margin-top: 6px;
    padding: 13px 40px;
    border: none;
    border-radius: 999px;
    background: #1d1d1b;
    color: #ffffff;
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fashouse-contact__submit:hover:not(:disabled) {
    background: #000000;
}

.fashouse-contact__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .fashouse-contact__split {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .fashouse-contact__media {
        display: none;
    }
    
    .fashouse-contact__panel-wrap {
        justify-content: center;
        padding: 32px 20px 48px;
    }

    .fashouse-contact__panel {
        max-width: 520px;
        margin: 0 auto;
    }
}
