

/* Start:/local/components/dmcg/commerce.list/templates/.default/style.css?177792442016382*/
.commerce-page {
    background: #0e2b42 url("/local/templates/barkli-dan/images/sec_31_bg.png") center top repeat;
    color: #f6f1e8;
    font-family: "Isabella Sans", sans-serif;
}

.commerce-container {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

.commerce-hero {
    min-height: 760px;
    padding: 180px 0 90px;
    background-size: cover;
    background-position: center;
}

.commerce-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: end;
}

.commerce-eyebrow {
    margin-bottom: 18px;
    color: #d4bfa1;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.commerce-hero h1,
.commerce-section-head h2,
.commerce-types h2 {
    font-family: "SangBleu Sunrise", serif;
    font-weight: 300;
}

.commerce-hero h1 {
    max-width: 820px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(24px, 3vw, 46px);
    line-height: 1.08;
}

.commerce-hero p {
    max-width: 720px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, .82);
    font-size: 22px;
    line-height: 1.45;
}

.commerce-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.commerce-filter .commerce-filter__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.commerce-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid rgba(212, 191, 161, .8);
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    transition: .2s ease;
}

.commerce-btn--primary {
    background: #d4bfa1;
    color: #0e2b42;
}

.commerce-btn--outline {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.commerce-btn:hover {
    transform: translateY(-2px);
}

.commerce-hero__panel {
    padding: 34px;
    border: 1px solid rgba(212, 191, 161, .35);
    border-radius: 28px;
    background: rgba(14, 43, 66, .72);
    backdrop-filter: blur(10px);
}

.commerce-hero__panel span {
    display: block;
    color: #d4bfa1;
    font-family: "SangBleu Sunrise", serif;
    font-size: 72px;
    line-height: 1;
}

.commerce-hero__panel small {
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.4;
}

.commerce-types,
.commerce-demand,
.commerce-catalog,
.commerce-benefits,
.commerce-seo {
    padding: 80px 0;
}

.commerce-demand {
    padding-bottom: 20px;
}

.commerce-demand__card {
    max-width: 980px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid rgba(212, 191, 161, .24);
    border-radius: 28px;
    background: rgba(255, 255, 255, .06);
    text-align: center;
}

.commerce-demand__card h2 {
    margin: 0 0 18px;
    color: #fff;
    font-family: "SangBleu Sunrise", serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 300;
}

.commerce-demand__card p {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .76);
    font-size: 20px;
    line-height: 1.55;
}

.commerce-types__grid,
.commerce-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.commerce-types article {
    border: 1px solid rgba(212, 191, 161, .24);
    border-radius: 24px;
    background: rgba(255, 255, 255, .05);
}

.commerce-types article {
    padding: 30px;
}

.commerce-types span {
    color: #d4bfa1;
    letter-spacing: .14em;
}

.commerce-types h2 {
    margin: 20px 0 12px;
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
}

.commerce-types p {
    margin: 0;
    color: rgba(255, 255, 255, .74);
    line-height: 1.55;
}

.commerce-section-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
}

.commerce-section-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.5vw, 29px);
    line-height: 1.16;
}

.commerce-section-head p {
    max-width: 470px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.5;
}

.commerce-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    align-items: flex-end;
    max-width: 1400px;
    margin-bottom: 30px;
    padding: 18px 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-family: 'Isabella Sans', sans-serif;
}

.commerce-filter__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    min-width: 120px;
}

.commerce-filter__item--wide {
    min-width: 320px;
    flex: 1 1 320px;
}

.commerce-filter__item--square {
    flex: 0 1 240px;
    min-width: 200px;
}

.commerce-filter__item label {
    display: block;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.commerce-filter input,
.commerce-filter select {
    font-family: 'Isabella Sans', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.commerce-filter__range input[type="number"] {
    flex: 1 1 96px;
    min-width: 88px;
    max-width: 200px;
    min-height: 44px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.commerce-filter__range input[type="number"]::-webkit-outer-spin-button,
.commerce-filter__range input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.commerce-filter__range input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.commerce-filter__range input[type="number"]:focus {
    outline: none;
    border-color: #D4BFA1;
}

.commerce-filter select {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 36px 10px 14px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    transition: all 0.3s ease;
}

.commerce-filter select:focus {
    outline: none;
    border-color: #D4BFA1;
    background-color: rgba(255, 255, 255, 0.1);
}

.commerce-filter option {
    color: #000;
}

.commerce-filter__range {
    display: flex;
    gap: 8px;
}

.commerce-filter__item--square input[type="number"] {
    text-align: center;
}

.commerce-filter__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.commerce-filter__chips label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 14px;
    min-height: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.2;
    transition: all .2s ease;
}

.commerce-filter__chips label.is-active {
    background: #D4BFA1;
    color: #0e2b42;
    border-color: #D4BFA1;
}

.commerce-filter__chips input {
    display: none;
}

.commerce-filter__reset {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color .2s ease;
    text-align: right;
}

.commerce-filter__reset:hover {
    color: #D4BFA1;
}

.commerce-filter .commerce-btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 10px;
}

.commerce-table {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(3, 21, 34, .56);
}

.commerce-table__head,
.commerce-table__row {
    display: grid;
    grid-template-columns: .38fr .95fr .85fr .48fr .48fr .48fr .5fr .72fr;
    gap: 12px;
    align-items: center;
    padding: 14px 20px;
}

.commerce-table__head {
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.commerce-table__head > div:first-child {
    text-align: center;
    justify-self: center;
}

.commerce-table__cell--floor {
    text-align: center;
    justify-self: center;
}

.commerce-table__row {
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
    transition: background .18s ease;
}

.commerce-table__row:hover {
    background: rgba(255, 255, 255, .06);
}

.commerce-table__name,
.commerce-table__price {
    color: #d4bfa1;
    font-family: "SangBleu Sunrise", serif;
    font-size: 18px;
}

.commerce-thumb {
    display: block;
    width: 70px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(212, 191, 161, .28);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    cursor: zoom-in;
}

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

.commerce-thumb--scheme {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .14);
}

.commerce-thumb--scheme img {
    object-fit: contain;
}

.commerce-table__no-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 54px;
    color: rgba(255, 255, 255, .35);
    font-size: 15px;
}

/* Одна широкая планировка bez_mebeli — только на мобиле (см. max-width: 680px) */
.commerce-table__cell--bez-mob {
    display: none;
}

.commerce-empty {
    padding: 36px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .78);
}

.commerce-benefits__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.commerce-benefit-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(212, 191, 161, .24);
    border-radius: 24px;
    background: rgba(255, 255, 255, .05);
}

.commerce-benefit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(10, 34, 53, .94) 0%,
        rgba(10, 34, 53, .42) 42%,
        rgba(10, 34, 53, .12) 72%,
        transparent 100%
    );
}

.commerce-benefit-card__img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.commerce-benefit-card:hover .commerce-benefit-card__img {
    transform: scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
    .commerce-benefit-card__img {
        transition: none;
    }

    .commerce-benefit-card:hover .commerce-benefit-card__img {
        transform: scale(1);
    }
}

.commerce-benefit-card__overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 22px;
}

.commerce-benefit-card__text {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.35;
}

.commerce-seo {
    background: #e7e7e1;
    color: #0e2b42;
}

.commerce-seo .commerce-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 38px;
    align-items: center;
}

.commerce-seo p {
    margin: 0;
    font-size: 22px;
    line-height: 1.55;
}

/* Форма заявки — те же классы, что в карточке квартиры (popup-form) */
.popup-form {
    background: #fff;
    color: #70534a;
    font-family: "Isabella Sans", sans-serif;
    padding: 20px;
    border-radius: 12px;
    width: min(420px, 90vw);
    text-align: left;
}

.popup-form h3 {
    font-size: 22px;
    font-family: "SangBleu Sunrise", serif;
    margin-bottom: 10px;
}

.popup-sub {
    font-size: 15px;
    color: #9c7c6c;
    margin-bottom: 20px;
}

.popup-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #d4bfa1;
    border-radius: 6px;
    font-size: 15px;
    color: #70534a;
}

.popup-input:focus {
    outline: none;
    border-color: #70534a;
}

.popup-privacy {
    display: flex;
    align-items: center;
    font-size: 13px;
    gap: 6px;
    margin-bottom: 20px;
}

.popup-privacy a {
    color: #70534a;
    text-decoration: underline;
}

.popup-status {
    display: none;
    margin-bottom: 10px;
    font-size: 14px;
}

.btn-send {
    background: #70534a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    transition: 0.3s ease;
}

.btn-send:hover {
    background: #8a6d61;
}

.fancybox__container:has(.barkli-callback-popup) {
    --fancybox-bg: rgba(10, 34, 53, 0.72);
}

@media (max-width: 1180px) {
    .commerce-filter,
    .commerce-section-head,
    .commerce-seo .commerce-container,
    .commerce-hero__inner {
        grid-template-columns: 1fr;
    }

    .commerce-benefits__grid,
    .commerce-types__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .commerce-table__head {
        display: none;
    }

    .commerce-table__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "name name"
            "floor tip"
            "thumb1 thumb2"
            "thumb3 thumb3"
            "square price";
        align-items: center;
        padding: 18px;
    }

    .commerce-table__cell--name {
        grid-area: name;
    }

    .commerce-table__cell--floor {
        grid-area: floor;
    }

    .commerce-table__cell--tip {
        grid-area: tip;
        justify-self: end;
        text-align: right;
    }

    /* После вставки .commerce-table__cell--bez-mob (скрыт на планшете) миниатюры: 5–7 */
    .commerce-table__row > div:nth-child(5) {
        grid-area: thumb1;
        justify-self: start;
    }

    .commerce-table__row > div:nth-child(6) {
        grid-area: thumb2;
        justify-self: end;
    }

    .commerce-table__row > div:nth-child(7) {
        grid-area: thumb3;
        justify-self: center;
    }

    .commerce-table__cell--square {
        grid-area: square;
    }

    .commerce-table__cell--price {
        grid-area: price;
        justify-self: end;
        text-align: right;
    }
}

@media (max-width: 680px) {
    .commerce-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .commerce-filter__item,
    .commerce-filter__item--wide,
    .commerce-filter__item--square {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
    }

    .commerce-filter .commerce-filter__actions {
        justify-content: space-between;
        gap: 12px;
        margin-top: 6px;
    }

    .commerce-container {
        width: min(100% - 24px, 1400px);
    }

    .commerce-hero {
        min-height: auto;
        padding: 140px 0 60px;
    }

    .commerce-hero p {
        font-size: 16px;
    }

    .commerce-hero h1,
    .commerce-demand__card h2,
    .commerce-section-head h2 {
        font-size: 24px;
        line-height: 1.18;
    }

    .commerce-benefits__grid,
    .commerce-types__grid {
        grid-template-columns: 1fr;
    }

    .commerce-table__row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "tip"
            "plan"
            "square"
            "price";
    }

    .commerce-table__cell--floor {
        display: none;
    }

    .commerce-table__cell--tip {
        justify-self: start;
        text-align: left;
    }

    .commerce-table__row .commerce-table__cell--thumb {
        display: none !important;
    }

    .commerce-table__cell--bez-mob {
        display: block;
        grid-area: plan;
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }

    .commerce-thumb--bez-mob {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0;
        border-radius: 14px;
        background: #fff;
        border: 1px solid rgba(212, 191, 161, .35);
        box-sizing: border-box;
    }

    .commerce-thumb--bez-mob img {
        width: 100%;
        height: auto;
        max-height: min(52vw, 320px);
        object-fit: contain;
    }

    .commerce-table__cell--price {
        justify-self: start;
        text-align: left;
    }

    .commerce-benefit-card {
        min-height: 280px;
    }
}

/* End */
/* /local/components/dmcg/commerce.list/templates/.default/style.css?177792442016382 */
