/* ===========================
   PAGE LAYOUT
=========================== */

.section-intro {
    background:
        linear-gradient(135deg, rgba(185, 150, 91, .12), transparent 42%),
        var(--light);
}

.split-intro,
.section-head,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    gap: 54px;
    align-items: end;
}

.catalog-section {
    padding-top: 36px;
}

.featured-products {
    padding: 58px 0 64px;
    background: #111;
    color: var(--white);
    overflow: hidden;
}

.featured-products .container {
    position: relative;
}

.featured-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.featured-head .section-title {
    color: var(--white);
}

.featured-carousel {
    position: relative;
    margin-inline: -10px;
}

.featured-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 278px);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 10px;
    padding: 2px 10px 18px;
    scrollbar-width: none;
}

.featured-track::-webkit-scrollbar {
    display: none;
}

.featured-card {
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: 252px 1fr;
    min-height: 450px;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
    cursor: pointer;
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 150, 91, .45);
}

.featured-image {
    position: relative;
    display: grid;
    place-items: center;
    padding: 0;
    background: #242424;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.featured-image span {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 8px;
    border-radius: 999px;
    color: var(--white);
    background: #0f63ff;
    font-size: .68rem;
    font-weight: 800;
}

.featured-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 18px 16px 16px;
    background: #1b1b1b;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.featured-body h3 {
    font-size: 1rem;
    line-height: 1.25;
    color: var(--white);
    min-height: 2.5em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.featured-body p {
    color: rgba(255, 255, 255, .58);
    font-size: .84rem;
}

.featured-body strong {
    color: #42d672;
    font-family: var(--title-font);
    font-size: 1.08rem;
}

.featured-controls {
    display: flex;
    gap: 10px;
}

.featured-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #111;
    background: rgba(255, 255, 255, .88);
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    transition: var(--transition);
}

.featured-arrow:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.popular-products {
    padding: 70px 0 76px;
    background: #111;
    color: var(--white);
}

.popular-head {
    display: block;
    margin-bottom: 34px;
}

.popular-head .section-title {
    max-width: 760px;
    color: var(--white);
    text-transform: uppercase;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.real-videos {
    padding: 68px 0 78px;
    background: #111;
    color: var(--white);
}

.real-videos-head {
    display: block;
    margin-bottom: 30px;
}

.real-videos-head .section-title {
    max-width: 760px;
    color: var(--white);
    text-transform: uppercase;
}

.real-video-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 330px);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 2px;
    padding: 2px 2px 18px;
    scrollbar-width: thin;
}

.real-video-card {
    position: relative;
    display: block;
    aspect-ratio: 9 / 14;
    min-height: 420px;
    overflow: hidden;
    border-radius: 14px;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
    cursor: zoom-in;
    scroll-snap-align: start;
}

.real-video-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.real-video-card::after {
    content: "Detalii";
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(17, 17, 17, .58);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .78rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2350;
    display: none;
    padding: 22px;
}

.video-lightbox.open {
    display: grid;
    place-items: center;
}

.video-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, .88);
    backdrop-filter: blur(12px);
}

.video-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 520px);
    height: min(88vh, 860px);
    margin: 0;
    display: grid;
    place-items: center;
}

.video-lightbox-dialog video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    background: #050505;
    box-shadow: var(--shadow-large);
}

.video-lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 1.6rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 38px 0 28px;
}

.filter {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 800;
    transition: var(--transition);
}

.filter.active,
.filter:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.catalog-head .section-title {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.shape-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
}

.shape-filters[hidden] {
    display: none;
}

.shape-filter {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: rgba(17, 17, 17, .72);
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(17, 17, 17, .08);
    font-size: .78rem;
    font-weight: 800;
    transition: var(--transition);
}

.shape-filter.active,
.shape-filter:hover {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.catalog-more {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.catalog-more .btn {
    min-width: min(100%, 260px);
}

.catalog-more[hidden] {
    display: none;
}

.catalog-empty {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    min-height: 220px;
    place-items: center;
    align-content: center;
    padding: 34px;
    border-radius: var(--radius-medium);
    color: var(--primary);
    background:
        linear-gradient(135deg, rgba(185, 150, 91, .16), rgba(255, 255, 255, .66)),
        #efe6d8;
    border: 1px solid rgba(185, 150, 91, .2);
    text-align: center;
}

.catalog-empty strong {
    font-family: var(--title-font);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.catalog-empty p {
    max-width: 520px;
    color: var(--secondary);
    line-height: 1.6;
}

.product-card {
    display: grid;
    grid-template-rows: 228px 1fr;
    min-height: 398px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-small);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-medium);
}

.product-visual {
    min-height: 0;
    height: 228px;
    display: grid;
    place-items: center;
    padding: 0;
    background: #242424;
    overflow: hidden;
}

.product-visual img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    background: transparent;
}

.product-mirror {
    width: 42%;
    height: 72%;
    border: 9px solid #202020;
    background: linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(179, 186, 181, .42));
    box-shadow: 0 0 28px rgba(255, 209, 135, .8), inset 0 0 30px rgba(255, 255, 255, .4);
}

.product-mirror.round {
    width: 48%;
    aspect-ratio: 1;
    height: auto;
    border-radius: 50%;
}

.product-mirror.arch {
    border-radius: 999px 999px 10px 10px;
}

.product-mirror.panel {
    width: 66%;
    height: 58%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
}

.product-mirror.panel::before,
.product-mirror.panel::after {
    content: "";
}

.product-body {
    display: grid;
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 8px;
    padding: 14px;
}

.product-body h3 {
    font-family: var(--title-font);
    font-size: 1rem;
    line-height: 1.2;
}

.product-body p {
    color: var(--secondary);
    line-height: 1.45;
    font-size: .82rem;
    display: -webkit-box;
    min-height: calc(1.45em * 2);
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    color: var(--accent);
    font-family: var(--title-font);
    font-size: .98rem;
    min-height: 1.35em;
}

.product-quick {
    display: grid;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--primary);
}

.product-quick span {
    color: var(--secondary);
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-quick strong {
    font-size: .86rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
    margin-top: 4px;
    min-height: 34px;
    overflow: hidden;
}

.product-meta span {
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary);
    font-size: .68rem;
    font-weight: 800;
}

.product-modal-open {
    overflow: hidden;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.product-modal.open {
    display: block;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, .72);
    backdrop-filter: blur(10px);
}

.product-dialog {
    position: relative;
    z-index: 1;
    width: min(94vw, 1120px);
    height: min(88vh, 720px);
    margin: 6vh auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(320px, .92fr) minmax(280px, .64fr);
    gap: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #101010;
    color: var(--white);
    box-shadow: var(--shadow-large);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .14);
    font-size: 1.6rem;
}

.modal-media {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .05), transparent),
        #171717;
}

.modal-service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #e9ffe8;
    background: rgba(32, 136, 72, .16);
    border: 1px solid rgba(91, 218, 137, .32);
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
}

.modal-gallery {
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.modal-gallery-item {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    cursor: zoom-in;
}

.modal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
}

.modal-gallery-item:hover img {
    transform: scale(1.035);
    filter: brightness(.92);
}

.modal-gallery-item span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(17, 17, 17, .52);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
}

.modal-gallery-item svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2300;
    display: none;
    padding: 24px;
}

.image-lightbox.open {
    display: grid;
    place-items: center;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, .86);
    backdrop-filter: blur(12px);
}

.image-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(94vw, 1120px);
    height: min(88vh, 820px);
    margin: 0;
    display: flex;
}

.image-lightbox-dialog img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    box-shadow: var(--shadow-large);
}

.image-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 1.6rem;
}

.modal-config,
.modal-options {
    overflow: auto;
    padding: 28px;
}

.modal-config {
    background: #101010;
}

.modal-options {
    background: #1b1b1b;
    border-left: 1px solid rgba(255, 255, 255, .08);
}

.modal-sticky-total {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    gap: 5px;
    margin: -28px -28px 18px;
    padding: 18px 28px 16px;
    background:
        linear-gradient(180deg, rgba(27, 27, 27, .98), rgba(27, 27, 27, .92)),
        #1b1b1b;
    border-bottom: 1px solid rgba(185, 150, 91, .2);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .2);
    backdrop-filter: blur(12px);
}

.modal-sticky-total span,
.modal-sticky-total small {
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.modal-sticky-total strong {
    color: #e9ffe8;
    font-family: var(--title-font);
    font-size: 1.45rem;
    line-height: 1;
}

.modal-sticky-total small {
    font-size: .68rem;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}

.modal-config h2 {
    font-family: var(--title-font);
    font-size: clamp(1.55rem, 2.6vw, 2.45rem);
    line-height: 1.05;
    color: #e9ffe8;
}

.modal-config p {
    margin-top: 12px;
    color: rgba(255, 255, 255, .68);
    line-height: 1.55;
    font-size: .9rem;
}

.modal-tags,
.dimension-inputs,
.preview-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-tags {
    margin-top: 12px;
}

.modal-tags span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(185, 150, 91, .16);
    color: #f7dca8;
    font-size: .72rem;
    font-weight: 800;
}

.modal-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.modal-facts div {
    padding: 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}

.modal-facts span,
.modal-facts strong {
    display: block;
}

.modal-facts span {
    color: rgba(255, 255, 255, .52);
    font-size: .68rem;
}

.modal-facts strong {
    margin-top: 3px;
    color: rgba(255, 255, 255, .9);
    font-size: .8rem;
}

.dimension-box,
.recommended-box {
    margin-top: 20px;
}

.dimension-box h3,
.recommended-box h3,
.modal-options h3 {
    font-family: var(--title-font);
    color: #c9d4df;
}

.dimension-inputs {
    margin-top: 10px;
}

.dimension-inputs label {
    flex: 1 1 180px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    color: #c9d4df;
    font-weight: 800;
}

.dimension-inputs input {
    grid-column: 1;
    background: #1f1f1f;
    border-color: rgba(255, 255, 255, .08);
    color: var(--white);
}

.dimension-inputs span {
    align-self: end;
    padding-bottom: 14px;
}

.modal-subhead {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.modal-subhead span {
    color: #e9ffe8;
    font-weight: 900;
}

.size-list {
    display: grid;
    gap: 7px;
}

.size-option {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    min-height: 40px;
    padding: 0 11px;
    color: #bdd1e3;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    transition: var(--transition);
}

.size-option.active,
.size-option:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(185, 150, 91, .55);
}

.price-card {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(185, 150, 91, .18), rgba(255, 255, 255, .06));
    border: 1px solid rgba(185, 150, 91, .22);
}

.price-card span,
.price-card small {
    color: rgba(255, 255, 255, .62);
}

.price-card strong {
    font-family: var(--title-font);
    font-size: 1.55rem;
    color: #e9ffe8;
}

.modal-product-info {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.option-groups {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.option-group {
    background: #111;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    overflow: hidden;
}

.option-group summary {
    cursor: pointer;
    padding: 10px 12px;
    color: #c9d4df;
    font-weight: 900;
    font-size: .92rem;
    background: rgba(255, 255, 255, .05);
}

.option-list {
    display: grid;
}

.option-empty {
    display: grid;
    gap: 6px;
    padding: 16px;
    margin-top: 16px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-small);
}

.option-empty strong,
.option-empty small {
    display: block;
}

.option-empty small {
    color: rgba(255, 255, 255, .58);
    line-height: 1.5;
}

.option-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 8px 10px;
    color: #bdd1e3;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.option-check-wrap {
    position: relative;
    display: inline-block;
    flex: none;
    width: 16px;
    height: 16px;
}

.option-check-wrap input {
    position: absolute;
    inset: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.option-check-box {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, .35);
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10px 10px;
    pointer-events: none;
}

.option-check-wrap input:checked + .option-check-box {
    background-color: var(--accent);
    border-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E");
}

.option-row strong,
.option-row small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.option-row small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.5;
}

.option-row strong {
    font-size: .86rem;
    line-height: 1.25;
}

.option-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.option-info-btn {
    flex: none;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    font-size: .68rem;
    font-style: italic;
    font-weight: 700;
    font-family: Georgia, serif;
    line-height: 1;
}

.option-info-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, .2);
}

.option-info-text {
    margin: 0 0 8px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .04);
    border-radius: 6px;
    font-size: .76rem;
    line-height: 1.55;
}

.option-info-text[hidden] {
    display: none;
}

.option-price-pair {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}

.option-price-pair del {
    color: #ff5d54;
    font-size: .7rem;
    font-weight: 900;
    text-decoration-thickness: 2px;
}

.option-price-pair em {
    color: #d7e7ff;
    display: inline-block;
    font-style: normal;
    font-size: .78rem;
    font-weight: 900;
    text-align: right;
}

.modal-order {
    width: 100%;
    margin-top: 16px;
}

.process {
    background: var(--primary);
    color: var(--white);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, .68);
}

.process-grid,
.configurator-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 48px;
    align-items: center;
}

.steps {
    display: grid;
    gap: 14px;
}

.step {
    padding: 26px;
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.step span {
    color: var(--accent-hover);
    font-weight: 900;
}

.step h3 {
    margin: 12px 0 8px;
    font-family: var(--title-font);
    font-size: 1.35rem;
}

.step p {
    color: rgba(255, 255, 255, .68);
    line-height: 1.7;
}

.projects {
    background: var(--soft);
}

.project-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    margin-top: 38px;
}

.project-card {
    min-height: 290px;
    display: grid;
    align-content: end;
    gap: 10px;
    padding: 28px;
    color: var(--white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    position: relative;
    background: #151512;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
}

.project-card.large {
    grid-row: span 2;
    min-height: 598px;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 8, .06) 18%, rgba(10, 10, 8, .48) 62%, rgba(10, 10, 8, .92) 100%),
        linear-gradient(90deg, rgba(10, 10, 8, .42), rgba(10, 10, 8, .05) 55%);
    z-index: 1;
}

.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .7s ease, filter .7s ease;
}

.project-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.06) contrast(1.04);
}

.project-label {
    position: relative;
    z-index: 2;
    width: max-content;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--accent-hover);
    background: rgba(10, 10, 8, .58);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.project-card h3,
.project-card p {
    position: relative;
    z-index: 2;
}

.project-card h3 {
    font-family: var(--title-font);
    font-size: 1.45rem;
}

.project-card p {
    color: rgba(255, 255, 255, .75);
    line-height: 1.6;
}

.configurator {
    background: var(--light);
}

.price-calculator .section-head {
    align-items: start;
}

.calculator-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 22px;
    align-items: start;
    margin-top: 34px;
}

.calculator-shell.reveal {
    opacity: 1;
    transform: none;
}

.calculator-panel,
.calculator-summary {
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.calculator-panel {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius-medium);
}

.calculator-group {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    padding: 18px;
    background: #fffdf9;
}

.calculator-group legend {
    padding: 0 8px;
    color: var(--primary);
    font-family: var(--title-font);
    font-weight: 900;
}

.calculator-accordion {
    padding: 0;
    overflow: hidden;
}

.calculator-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 62px;
    padding: 18px;
    color: var(--primary);
    font-family: var(--title-font);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.calculator-accordion summary::-webkit-details-marker {
    display: none;
}

.calculator-accordion summary span {
    min-width: 0;
}

.calculator-accordion summary i {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(17, 17, 17, .13);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 243, 233, .96)),
        var(--white);
    box-shadow: 0 10px 24px rgba(17, 17, 17, .06);
    transition: var(--transition);
}

.calculator-accordion summary i::before,
.calculator-accordion summary i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transition: var(--transition);
}

.calculator-accordion summary i::before {
    transform: translate(-80%, -50%) rotate(45deg);
}

.calculator-accordion summary i::after {
    transform: translate(-20%, -50%) rotate(-45deg);
}

.calculator-accordion[open] summary {
    border-bottom: 1px solid rgba(17, 17, 17, .08);
}

.calculator-accordion[open] summary i {
    border-color: rgba(185, 150, 91, .38);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(243, 232, 211, .96)),
        var(--white);
}

.calculator-accordion[open] summary i::before {
    transform: translate(-80%, -50%) rotate(-45deg);
}

.calculator-accordion[open] summary i::after {
    transform: translate(-20%, -50%) rotate(45deg);
}

.calculator-accordion .choice-grid {
    padding: 0 18px 18px;
}

.calculator-dimensions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.calculator-dimensions label {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: end;
    color: var(--secondary);
    font-weight: 800;
}

.calculator-dimensions input {
    grid-column: 1;
}

.calculator-dimensions span {
    padding-bottom: 14px;
    color: var(--muted);
    font-weight: 900;
}

.calculator-warning {
    min-height: 1.4em;
    margin-top: 10px;
    color: #a94f00;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.5;
}

.calculator-select-label {
    display: grid;
    gap: 8px;
    color: var(--secondary);
    font-weight: 800;
}

.calculator-select-label select,
.calculator-dimensions input {
    min-height: 58px;
    border: 1px solid rgba(17, 17, 17, .16);
    border-radius: 14px;
    color: var(--primary);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 243, 233, .96)),
        var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px rgba(17, 17, 17, .05);
    font-size: 1rem;
    font-weight: 800;
}

.calculator-select-label select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--primary) 50%),
        linear-gradient(135deg, var(--primary) 50%, transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 243, 233, .96));
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 16px) 50%,
        0 0;
    background-size: 6px 6px, 6px 6px, 100% 100%;
    background-repeat: no-repeat;
    padding-right: 44px;
}

.calculator-options {
    display: grid;
    gap: 16px;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.choice-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

button.choice-card {
    width: 100%;
    text-align: left;
}

.choice-card:hover,
.choice-card:has(input:checked) {
    border-color: rgba(185, 150, 91, .65);
    box-shadow: 0 12px 26px rgba(17, 17, 17, .08);
}

.choice-card input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.choice-card span {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.choice-card strong {
    color: var(--primary);
    font-size: .95rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.choice-card small {
    color: var(--secondary);
    font-size: .76rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.choice-card em {
    grid-column: 2;
    align-self: end;
    color: var(--accent);
    font-style: normal;
    font-weight: 900;
}

.choice-card.is-disabled {
    opacity: .62;
    cursor: not-allowed;
}

.size-choice {
    grid-template-columns: minmax(0, 1fr) auto;
}

.size-choice em {
    grid-column: 2;
}

.calculator-summary {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius-medium);
}

.summary-product {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.summary-product img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: var(--radius-small);
    background: var(--soft);
}

.summary-product small {
    display: block;
    color: var(--secondary);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.summary-product b {
    display: block;
    margin-top: 5px;
    color: var(--primary);
    font-family: var(--title-font);
    font-size: 1.08rem;
}

.calculator-summary > span {
    color: var(--secondary);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .08em;
}

.calculator-summary > strong {
    color: var(--primary);
    font-family: var(--title-font);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.summary-dimensions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.summary-dimensions div,
.selected-options div {
    padding: 12px;
    border-radius: var(--radius-small);
    background: var(--soft);
}

.summary-dimensions small,
.selected-options span {
    display: block;
    color: var(--secondary);
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.summary-dimensions b,
.selected-options strong,
.selected-options em {
    display: block;
    margin-top: 5px;
    color: var(--primary);
    font-style: normal;
}

.selected-options {
    display: grid;
    gap: 8px;
    max-height: 390px;
    overflow: auto;
    padding-right: 3px;
}

.selected-options div {
    display: grid;
    gap: 2px;
}

.selected-options em {
    color: var(--accent);
    font-weight: 900;
}

.faq-section {
    background: var(--soft);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.faq-item {
    padding: 22px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.faq-item summary {
    cursor: pointer;
    color: var(--primary);
    font-family: var(--title-font);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.35;
}

.faq-item p {
    margin-top: 14px;
    color: var(--secondary);
    line-height: 1.75;
}

.config-controls {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.config-controls label,
.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--secondary);
    font-weight: 800;
}

select,
input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--white);
    color: var(--primary);
    padding: 14px 15px;
    outline: none;
    transition: var(--transition);
}

select:focus,
input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(185, 150, 91, .14);
}

input[type="range"] {
    padding: 0;
    accent-color: var(--accent);
}

.mirror-preview {
    padding: 18px;
    border-radius: var(--radius-large);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-medium);
}

.preview-wall {
    min-height: 520px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-medium);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .4), transparent),
        repeating-linear-gradient(90deg, #ded6ca 0 1px, transparent 1px 20px),
        #ebe2d6;
    overflow: hidden;
}

.preview-mirror {
    width: 190px;
    height: 310px;
    border: 11px solid #171717;
    background: linear-gradient(135deg, #fefefe, #b8c0bb 54%, #f9f9f9);
    box-shadow: 0 0 42px rgba(255, 211, 135, .8), inset 0 0 22px rgba(255, 255, 255, .72);
    transition: var(--transition);
}

.preview-mirror.round {
    width: 250px;
    height: 250px;
    border-radius: 50%;
}

.preview-mirror.arch {
    border-radius: 999px 999px 12px 12px;
}

.preview-mirror.neutral {
    box-shadow: 0 0 44px rgba(245, 245, 230, .72), inset 0 0 22px rgba(255, 255, 255, .72);
}

.preview-mirror.cool {
    box-shadow: 0 0 44px rgba(174, 221, 255, .82), inset 0 0 22px rgba(255, 255, 255, .72);
}

.preview-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.preview-summary span {
    padding: 10px 12px;
    border-radius: 999px;
    background: var(--soft);
    font-weight: 800;
    font-size: .9rem;
}

.contact {
    scroll-margin-top: 128px;
    background: var(--primary);
    color: var(--white);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, .68);
}

.contact-breadcrumb {
    margin: 0 0 72px;
    color: rgba(255, 255, 255, .56);
    font-size: .92rem;
    letter-spacing: .03em;
}

.contact-phone {
    display: inline-flex;
    margin: 10px 0 34px;
    color: var(--white);
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1;
}

.contact-details {
    display: grid;
    gap: 28px;
    max-width: 470px;
}

.contact-details div {
    display: grid;
    gap: 8px;
}

.contact-details span {
    color: rgba(255, 255, 255, .86);
    font-size: 1.05rem;
    font-weight: 700;
}

.contact-details a,
.contact-details p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.contact-socials a {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: var(--white);
    background: #7360f2;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .24);
}

.social-icon {
    width: 20px;
    height: 20px;
    overflow: visible;
}

.contact-socials a:nth-child(2) {
    background: #25d366;
}

.contact-socials a:nth-child(3) {
    background: #0866ff;
}

.contact-map {
    width: min(100%, 470px);
    height: 220px;
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.16) contrast(1.05);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius-medium);
}

.contact-form label {
    color: rgba(255, 255, 255, .8);
}

.form-note {
    min-height: 24px;
    color: var(--accent-hover);
    line-height: 1.5;
}

.site-footer {
    position: relative;
    padding: 64px 0 28px;
    background:
        radial-gradient(circle at 18% 0%, rgba(185, 150, 91, .16), transparent 34%),
        linear-gradient(180deg, #11110f 0%, #060606 100%);
    color: rgba(255, 255, 255, .68);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(90%, var(--container));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(210, 180, 122, .75), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr .9fr auto;
    align-items: start;
    gap: 42px;
}

.footer-brand {
    max-width: 330px;
}

.footer-brand p {
    max-width: 280px;
    line-height: 1.8;
}

.footer-logo {
    width: 118px;
    max-width: 100%;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
    opacity: .94;
}

.footer-column {
    display: grid;
    gap: 13px;
}

.footer-column span {
    color: var(--accent-hover);
    font-family: var(--title-font);
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-column a,
.footer-contact p {
    width: max-content;
    max-width: 100%;
    color: rgba(255, 255, 255, .66);
    line-height: 1.35;
    transition: color .25s ease, transform .25s ease;
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-social {
    justify-items: end;
}

.footer-social > span {
    justify-self: end;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 30px rgba(0, 0, 0, .2);
    transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}

.social-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-facebook {
    background: #0866ff;
}

.social-tiktok {
    background: #111;
}

.social-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .32);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 54px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .48);
    font-size: .9rem;
}

.footer-bottom span:first-child {
    color: rgba(255, 255, 255, .72);
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .62);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.footer-credit:hover {
    color: var(--accent);
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-social {
        justify-items: start;
    }

    .footer-social > span {
        justify-self: start;
    }

    .social-links {
        justify-content: flex-start;
    }

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

    .product-dialog {
        width: min(94vw, 760px);
        height: min(90vh, 820px);
        margin: 5vh auto;
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .modal-media {
        min-height: 300px;
        height: 300px;
    }

    .modal-gallery {
        min-height: 238px;
    }

    .modal-config,
    .modal-options {
        overflow: visible;
    }
}

@media (max-width: 860px) {
    .split-intro,
    .section-head,
    .process-grid,
    .configurator-grid,
    .calculator-shell,
    .contact-grid,
    .faq-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .calculator-summary {
        position: static;
    }

    .project-card.large {
        min-height: 430px;
    }
}

@media (max-width: 620px) {
    body,
    main,
    .section-intro,
    .catalog-section,
    .configurator,
    .faq-section {
        background: #efe6d8;
    }

    .contact {
        scroll-margin-top: 126px;
        padding-top: 132px;
        background: #151515;
        color: var(--white);
    }

    .contact-grid {
        gap: 34px;
    }

    .contact-breadcrumb {
        display: block;
        margin-bottom: 86px;
        color: rgba(255, 255, 255, .58);
    }

    .contact .eyebrow {
        color: var(--accent-hover);
    }

    .contact .section-title {
        margin-bottom: 12px;
        color: var(--white);
        font-size: 1.45rem;
        font-weight: 500;
        letter-spacing: .01em;
        text-transform: none;
    }

    .contact-phone {
        margin: 0 0 34px;
        font-size: clamp(1.75rem, 8vw, 2.45rem);
        letter-spacing: .06em;
    }

    .contact-details {
        gap: 26px;
    }

    .contact-details span {
        font-size: 1.08rem;
    }

    .contact-details a,
    .contact-details p {
        font-size: 1rem;
    }

    .contact-socials {
        gap: 12px;
    }

    .contact-socials a {
        width: 50px;
        height: 50px;
    }

    .contact-map {
        height: 190px;
        margin-top: 24px;
        border-radius: 14px;
    }

    .contact-form {
        background: rgba(255, 255, 255, .06);
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.08;
    }

    .catalog-head .section-title {
        font-size: 1.5rem;
    }

    .filters {
        gap: 7px;
        margin: 20px 0 12px;
    }

    .filter {
        min-height: 32px;
        padding: 0 12px;
        font-size: .78rem;
    }

    .shape-filters {
        gap: 6px;
        margin-bottom: 14px;
    }

    .shape-filter {
        min-height: 28px;
        padding: 0 10px;
        font-size: .7rem;
    }

    .featured-products {
        padding: 46px 0 44px;
    }

    .featured-head {
        align-items: start;
        margin-bottom: 22px;
    }

    .featured-head .section-title {
        font-size: 1.75rem;
    }

    .featured-controls {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 2;
        justify-content: space-between;
        pointer-events: none;
        transform: translateY(156px);
    }

    .featured-arrow {
        width: 42px;
        height: 42px;
        pointer-events: auto;
        font-size: 1.8rem;
    }

    .featured-track {
        grid-auto-columns: minmax(188px, 62vw);
        gap: 12px;
        padding-bottom: 10px;
    }

    .featured-card {
        grid-template-rows: 206px 1fr;
        min-height: 330px;
        border-radius: 8px;
    }

    .featured-body {
        gap: 8px;
        padding: 14px 13px;
    }

    .featured-body h3 {
        font-size: .92rem;
    }

    .featured-body strong {
        font-size: 1rem;
    }

    .popular-products {
        padding: 54px 0 58px;
    }

    .popular-head {
        margin-bottom: 24px;
    }

    .popular-head .section-title {
        font-size: clamp(2.1rem, 9vw, 3.1rem);
        line-height: 1.12;
        letter-spacing: .02em;
    }

    .popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .popular-grid .featured-card {
        grid-template-rows: 196px 1fr;
        min-height: 322px;
    }

    .real-videos {
        padding: 52px 0 60px;
    }

    .real-videos-head {
        margin-bottom: 22px;
    }

    .real-videos-head .section-title {
        font-size: clamp(2rem, 8.5vw, 3rem);
        line-height: 1.12;
        letter-spacing: .02em;
    }

    .real-video-grid {
        grid-auto-columns: minmax(154px, 46vw);
        gap: 12px;
        margin-inline: -14px;
        padding: 2px 14px 18px;
    }

    .real-video-card {
        min-height: 286px;
        border-radius: 10px;
    }

    .real-video-card::after {
        left: 8px;
        bottom: 8px;
        padding: 6px 10px;
        font-size: .66rem;
    }

    .video-lightbox {
        padding: 12px;
    }

    .video-lightbox-dialog {
        width: 100%;
        height: 100%;
    }

    .video-lightbox-dialog video {
        border-radius: 12px;
    }

    .video-lightbox-close {
        top: 8px;
        right: 8px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .calculator-panel,
    .calculator-summary {
        padding: 12px;
        border-color: rgba(185, 150, 91, .2);
        background: rgba(255, 253, 249, .94);
        box-shadow: 0 18px 44px rgba(91, 72, 42, .12);
    }

    .calculator-group {
        padding: 12px;
        border-radius: 14px;
        background: rgba(255, 250, 242, .92);
    }

    .calculator-accordion {
        padding: 0;
    }

    .calculator-accordion summary {
        min-height: 56px;
        padding: 14px;
    }

    .calculator-accordion .choice-grid {
        padding: 0 12px 12px;
    }

    .calculator-shell {
        gap: 16px;
        margin-top: 24px;
    }

    .calculator-select-label select,
    .calculator-dimensions input {
        min-height: 54px;
        font-size: 16px;
        background-color: #fffdf8;
    }

    .calculator-dimensions,
    .choice-grid,
    .choice-grid.compact,
    .summary-dimensions {
        grid-template-columns: 1fr;
    }

    .choice-card {
        min-height: 56px;
        padding: 10px 12px;
        gap: 8px;
        border-radius: 12px;
    }

    .choice-card strong {
        font-size: .88rem;
    }

    .choice-card em {
        font-size: .86rem;
    }

    .product-card {
        grid-template-rows: 132px 1fr;
        min-height: auto;
        border-radius: 8px;
    }

    .product-visual {
        height: 132px;
    }

    .product-visual img {
        max-height: none;
        border-radius: 0;
    }

    .product-body {
        gap: 6px;
        padding: 10px;
    }

    .product-body h3 {
        font-size: .86rem;
    }

    .product-body p {
        display: none;
    }

    .product-price {
        font-size: .82rem;
    }

    .product-quick {
        padding: 6px 7px;
    }

    .product-quick span {
        font-size: .56rem;
    }

    .product-quick strong {
        font-size: .74rem;
    }

    .product-meta {
        min-height: 0;
        gap: 4px;
        max-height: 42px;
    }

    .product-meta span {
        padding: 4px 6px;
        font-size: .58rem;
    }

    .preview-wall {
        min-height: 390px;
    }

    .product-dialog {
        width: min(94vw, 520px);
        height: calc(100dvh - 22px);
        margin: 22px auto 0;
        border-radius: 18px 18px 0 0;
    }

    .modal-config,
    .modal-options {
        padding: 18px;
    }

    .modal-service-badge {
        min-height: 36px;
        padding: 8px 12px;
        font-size: .72rem;
        letter-spacing: .03em;
    }

    .modal-sticky-total {
        margin: -18px -18px 16px;
        padding: 14px 18px 13px;
        top: 0;
    }

    .modal-sticky-total strong {
        font-size: 1.25rem;
    }

    .modal-media {
        min-height: 430px;
        height: 430px;
        padding: 12px;
    }

    .modal-gallery {
        min-height: 348px;
        gap: 12px;
    }

    .modal-gallery-item {
        border-radius: 10px;
    }

    .modal-gallery-item span {
        right: 8px;
        bottom: 8px;
        width: 32px;
        height: 32px;
    }

    .modal-gallery-item svg {
        width: 18px;
        height: 18px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 1.35rem;
    }

    .modal-config h2 {
        font-size: 1.35rem;
    }

    .modal-config p {
        display: none;
    }

    .modal-tags {
        gap: 6px;
    }

    .modal-tags span {
        padding: 5px 7px;
        font-size: .62rem;
    }

    .dimension-box,
    .recommended-box {
        margin-top: 14px;
    }

    .dimension-inputs label {
        flex-basis: 130px;
        font-size: .78rem;
    }

    .dimension-inputs input {
        min-height: 42px;
        padding: 10px;
        font-size: 16px;
    }

    .size-option {
        min-height: 38px;
        font-size: .78rem;
    }

    .price-card {
        margin: 14px 0 16px;
        padding: 12px;
    }

    .price-card strong {
        font-size: 1.35rem;
    }

    .modal-product-info {
        display: none;
    }

    .modal-options h3 {
        font-size: 1rem;
    }

    .option-group summary {
        padding: 8px 10px;
        font-size: .8rem;
    }

    .option-row {
        min-height: 46px;
        padding: 7px 9px;
        font-size: .76rem;
    }

    .option-row strong {
        font-size: .78rem;
    }

    .option-price-pair {
        gap: 5px;
    }

    .option-price-pair del {
        font-size: .62rem;
    }

    .option-price-pair em {
        font-size: .72rem;
    }

    .image-lightbox {
        padding: 14px;
    }

    .image-lightbox-dialog {
        width: 100%;
        height: 100%;
    }

    .image-lightbox-dialog img {
        border-radius: 12px;
    }

    .image-lightbox-close {
        top: 8px;
        right: 8px;
    }

    .option-row {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .option-price-pair {
        grid-column: 2;
        justify-self: start;
        text-align: left;
        white-space: normal;
    }

    .choice-grid,
    .choice-grid.compact {
        grid-template-columns: 1fr;
    }

    .modal-facts {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column a,
    .footer-contact p {
        width: auto;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        display: grid;
        justify-items: center;
        text-align: center;
        gap: 12px;
        margin-top: 38px;
    }

    .footer-credit {
        width: 100%;
        min-height: 46px;
        padding: 12px 16px;
        border-radius: 999px;
        color: var(--white);
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(212, 166, 90, .34);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
    }

    .footer-credit:hover {
        color: var(--accent-hover);
        background: rgba(212, 166, 90, .12);
        border-color: rgba(212, 166, 90, .56);
        transform: translateY(-1px);
    }
}
