:root{color-scheme:dark;--accent:#ff6900;--page:#0c0c0d;--surface:#19191b;--line:#383434;--text:#faf6f1;--muted:#c6bdb4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--page)}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}.container{width:min(1440px,94%);margin:auto}.site-header{background:#080809;color:white}.topbar{height:68px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.drop{color:#ff6900;font-size:44px;transform:rotate(180deg);line-height:1}.brand strong{font-size:23px;letter-spacing:-1px}.brand strong span{color:#ff6900}.brand small{font-size:15px;font-weight:400}.brand em{display:block;font-style:normal;color:#b5bec8;font-size:9px;margin-top:4px}.search{background:#212123;border-radius:8px;display:flex;align-items:center;flex:1;max-width:440px;margin-left:auto}.search input{background:transparent;border:0;outline:none;padding:13px 14px;color:white;width:100%;font-size:13px}.search span{font-size:25px;margin-right:12px}.phone{font-size:13px;font-weight:bold;white-space:nowrap}.social{font-size:23px}.whatsapp{color:#0bda39}.telegram{color:#20b4f1}.cart-head{position:relative;background:none;border:0;color:white;font-size:23px}.cart-head b{position:absolute;top:-7px;right:-8px;background:#f32c34;border-radius:100%;font-size:10px;padding:3px 5px}.nav{height:45px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;font-weight:bold}.nav-primary{background:#a3420b;padding:10px 17px;border-radius:6px}.nav a:hover{color:#ffb36b}.nav-primary:hover{color:#fff!important}.hero{min-height:315px;background:linear-gradient(90deg,#0e0d0d 0%,rgba(14,13,13,.96) 22%,rgba(14,13,13,.64) 52%,rgba(14,13,13,.06) 100%),url('assets/hero.jpg') right center/auto 100% no-repeat,#0e0d0d;color:white}.hero-inner{min-height:315px;display:flex;align-items:center}.hero-copy{padding:24px 0}.eyebrow{font-size:13px;letter-spacing:3px;color:#b9d1e3}.hero h1{font-size:clamp(35px,4vw,57px);line-height:1.03;margin:13px 0;font-weight:800;letter-spacing:-1px}.hero p{font-size:16px;color:#c4cbd3;line-height:1.5;margin:0 0 19px}.hero-actions{display:flex;gap:14px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:13px 20px;font-size:13px;font-weight:700;white-space:nowrap}.blue{background:var(--accent);color:var(--page)}.outline{border:1px solid #ff6900;color:white;background:transparent}.green{background:#06be32;color:white}.dots{display:flex;gap:9px;margin-top:29px}.dots i{height:10px;width:10px;background:#69717b;border-radius:50%}.dots i:first-child{background:var(--accent)}.benefits{background:linear-gradient(90deg,#151c23,#0b1015);color:white}.benefit-grid{min-height:68px;display:grid;grid-template-columns:repeat(5,1fr);gap:18px;align-items:center}.benefit-grid>div{display:flex;align-items:center;gap:12px}.benefit-grid span{color:#30b9fa;font-size:29px}.benefit-grid p{font-size:11px;line-height:1.5;color:#d5dce4}.benefit-grid b{color:#fff}.section{padding-top:23px;padding-bottom:18px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-title h2,.services h2,.contact h2{font-size:26px;letter-spacing:-.6px;margin:0}.section-title>a{color:var(--accent);font-size:13px;font-weight:600}.categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.category{position:relative;height:126px;border-radius:8px;overflow:hidden;background:linear-gradient(0deg,rgba(0,0,0,.9),transparent 80%),var(--bg) center/cover;color:white;display:flex;flex-direction:column;justify-content:end;padding:16px}.category b{font-size:16px}.category small{font-size:11px;color:#d9e0e7;margin-top:5px}.category span{position:absolute;right:14px;bottom:18px;font-size:29px}.products{padding-top:22px;padding-bottom:30px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filters button{border:0;border-radius:18px;background:#f4f5f7;padding:7px 13px;font-size:11px}.filters button.active{background:var(--accent);color:#fff}.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.product{border-radius:11px;background:var(--surface);box-shadow:0 3px 18px #0005;overflow:hidden;min-width:0}.product-img{height:122px;position:relative;background:var(--page)}.product-img img{width:100%;height:100%;object-fit:contain}.discount{position:absolute;left:10px;top:10px;background:#f02e28;color:white;font-size:11px;padding:4px 7px;border-radius:5px}.heart{position:absolute;right:9px;top:7px;background:transparent;border:0;color:white;text-shadow:0 1px 5px #333;font-size:22px}.product-body{padding:11px 12px}.product h3{font-size:13px;min-height:32px;margin:0 0 7px}.sku{font-size:11px;color:#8a929d}.price-line{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:3px}.price{font-size:16px;font-weight:800;color:var(--accent);white-space:nowrap}.old{font-size:11px;color:#8a929d;text-decoration:line-through}.add{border:0;border-radius:6px;background:var(--accent);color:white;padding:8px 10px;font-size:17px}.demo-note{font-size:12px;color:var(--muted);margin:12px 0 0}.services{background:#0b0f13;color:white;padding:24px 0}.services-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:17px;align-items:stretch}.service-intro{padding:0 20px}.service-intro p{font-size:13px;color:#c4cbd2;line-height:1.6;max-width:380px}.service-tile{height:145px;border:1px solid #3c4750;border-radius:10px;display:flex;align-items:end;padding:15px;background:linear-gradient(0deg,rgba(0,0,0,.82),transparent 80%),var(--bg) center/cover}.service-tile b{font-size:13px}.gallery{padding-top:24px;padding-bottom:18px}.gallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.gallery-grid img{width:100%;height:114px;object-fit:cover;border-radius:8px}.contact{color:white;padding:24px 0;background:repeating-linear-gradient(135deg,transparent,transparent 5px,#ffffff06 6px),linear-gradient(110deg,#05234b,#001126 70%,#0066c3)}.contact-grid{display:flex;align-items:center;justify-content:space-between;gap:20px}.contact h2{font-size:28px}.contact p{font-size:14px;line-height:1.5;color:#e0e7f2}.contact-actions{display:flex;gap:20px}.footer{background:#080809;color:#9ea8b2;font-size:11px;padding:18px 0}dialog{border:0;border-radius:14px;padding:25px;width:min(450px,90vw);box-shadow:0 20px 70px #0007}dialog::backdrop{background:#0009}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head button{background:none;border:0;font-size:22px}.cart-row{display:flex;justify-content:space-between;border-bottom:1px solid #ddd;padding:12px 0;gap:10px}.cart-row button{border:0;background:#eee;border-radius:5px}#cartTotal{font-weight:bold;text-align:right}@media(max-width:900px){.topbar{gap:12px}.phone,.social{display:none}.nav{overflow-x:auto;white-space:nowrap;justify-content:start}.benefit-grid{grid-template-columns:repeat(3,1fr);padding:10px 0}.categories,.product-grid{grid-template-columns:repeat(3,1fr)}.services-grid{grid-template-columns:repeat(3,1fr)}.service-intro{grid-column:1/-1}.contact-grid{flex-direction:column;align-items:start}}@media(max-width:600px){.container{width:92%}.topbar{height:auto;flex-wrap:wrap;padding:12px 0}.brand strong{font-size:20px}.search{order:3;flex-basis:100%;max-width:none;margin:0}.nav{height:48px;font-size:12px}.hero,.hero-inner{min-height:355px}.hero{background-position:60% center}.hero h1{font-size:35px}.hero p{font-size:13px}.hero-copy{background:#08080977;padding:15px;border-radius:8px}.benefit-grid{grid-template-columns:repeat(2,1fr)}.section-title{align-items:start;flex-wrap:wrap}.section-title h2{font-size:23px}.categories{grid-template-columns:repeat(2,1fr)}.category{height:120px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-img{height:130px}.product-body{padding:9px}.product h3{font-size:12px}.price{font-size:13px}.old{font-size:10px}.services-grid{grid-template-columns:repeat(2,1fr)}.service-intro{padding:0}.service-tile{height:130px}.gallery-grid{grid-template-columns:repeat(2,1fr)}.contact-actions{flex-direction:column;width:100%;gap:10px}.contact-actions .btn{width:100%}}

.top-whatsapp { text-align: center; }
.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.product {
    border: 2px solid var(--line);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.product:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px #ff690030, 0 10px 26px #ff690030;
}
@media (hover: hover) {
    .product:hover {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px #ff690030, 0 10px 26px #ff690030;
        transform: translateY(-4px);
    }
}
.product-body { padding: 16px; }
.product h3 { font-size: 17px; min-height: 0; }
.product .sku { color: var(--muted); font-size: 13px; margin: 0 0 13px; }
.order, .top-whatsapp { background: #a3420b; }
.order { width: 100%; }
.order:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-actions { flex-wrap: wrap; }
@media (max-width: 850px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 540px) {
    .product-grid { grid-template-columns: minmax(0, 1fr); }
    .top-whatsapp { padding: 8px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .product { transition: none; }
    .product:hover { transform: none; }
}

.search:focus-within { outline: 2px solid var(--accent); }
.contact { background: linear-gradient(110deg, #181515, #302016); }
.services { border-block: 1px solid #263544; background: #111a25; }
.gallery-grid img { border: 1px solid var(--line); }

.nav { justify-content: flex-start; }
.purchase-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: clamp(16px, 3vw, 32px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 11px;
}
.purchase-panel h2 { margin: 0 0 8px; }
.purchase-panel p { margin: 0; color: var(--muted); }
.order-link { background: #a3420b; }

.nav-primary, .order, .top-whatsapp, .order-link { background: var(--accent); color: var(--page); }
.nav .nav-primary:hover { color: var(--page) !important; background: #ff8533; }

.brand-logo { width: 72px; height: 48px; object-fit: contain; }
.hero { background: #111011; }
.hero-inner { justify-content: space-between; gap: 32px; padding-block: 28px; }
.hero-copy { flex: 1; min-width: 0; }
.hero h1 { font-size: clamp(32px, 4vw, 56px); line-height: 1.08; }
@media (max-width: 680px) {
    .hero-inner { flex-direction: column; align-items: stretch; gap: 18px; padding-block: 20px; }
    .hero-copy { background: none; padding: 0; }
    }

.film-order { display: block; margin: 16px 0 24px; }
.film-order h3 { margin: 0 0 8px; }
.film-order ul { list-style: none; padding: 0; margin: 0; }
.film-order li, .film-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.film-order li { align-items: center; padding: 8px 0; }
.film-order input, .film-form input {
    width: 80px;
    padding: 7px;
    color: var(--text);
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 5px;
}
.film-form label { display: grid; gap: 4px; font-size: 13px; }
.film-form button { border: 0; }

.order-delivery { display: grid; gap: 12px; max-width: 480px; margin-top: 12px; }
.order-delivery label { display: grid; gap: 5px; }
.order-delivery[hidden], .order-delivery [hidden] { display: none; }
.order-delivery select, .order-delivery textarea {
    width: 100%; padding: 8px; font: inherit; color: var(--text);
    background: var(--page); border: 1px solid var(--line); border-radius: 5px;
}
.order-delivery button { justify-self: start; border: 0; }

.hero {
    background: linear-gradient(90deg, #0e0d0def 0%, #0e0d0de0 36%, #0e0d0d38 100%),
        url("assets/carbon-finish.webp") center / cover no-repeat #0e0d0d;
}
.hero-inner { min-height: min(72svh, 700px); }
.hero-copy { max-width: 640px; }
@media (max-width: 680px) {
    .hero {
        background-image: linear-gradient(#0e0d0de8 0%, #0e0d0dd9 55%, #0e0d0d55 100%),
            url("assets/carbon-finish.webp");
        background-position: 57% center;
    }
    .hero-inner { min-height: max(390px, 62svh); justify-content: center; }
}

.hero-logo {
    display: block;
    width: min(40%, 520px);
    height: auto;
    filter: drop-shadow(0 8px 20px #0009);
}
@media (max-width: 680px) {
    .brand-logo { width: 60px; height: 40px; }
    .hero-logo { width: min(72%, 320px); align-self: flex-end; }
}

.activator-photo { width: min(100%, 240px); margin: 0; }
.activator-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.activator-photo figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }


.sofa-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 16px; }
.sofa-options section { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.sofa-options h4 { margin: 0 0 12px; }
.sofa-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.sofa-color { display: grid; gap: 4px; min-width: 44px; text-align: center; }
.sofa-color span { display: block; height: 24px; border: 1px solid var(--muted); border-radius: 4px; }

.contact-details { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.contact-details a:not(.btn) { color: var(--accent); }
.contact-details iframe { width: 100%; min-height: 320px; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 680px) { .contact-details { grid-template-columns: 1fr; } }

.nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 680px) {
    .site-header .nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        height: auto;
        padding-block: 8px 12px;
        overflow: visible;
        white-space: normal;
    }
    .site-header .nav a {
        display: grid;
        place-items: center;
        min-height: 44px;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 6px;
        text-align: center;
        line-height: 1.25;
    }
}

.quantity-picker { display: none; }
@media (max-width: 680px) {
    .quantity-picker {
        display: inline-block;
        min-height: 44px;
        max-width: 100%;
        color: var(--text);
        background: var(--page);
        border: 1px solid var(--line);
        border-radius: 5px;
        font-size: 16px;
    }
}

.quantity-readout { display: none; }
@media (max-width: 680px) {
    input.quantity-manual { display: none; }
    input.quantity-picker { width: 130px; accent-color: var(--accent); padding: 0; touch-action: none; }
    .film-form label, .film-order li label {
        display: grid;
        grid-template-columns: minmax(0, 130px) 4ch;
        align-items: center;
        column-gap: 8px;
    }
    .film-form label .quantity-picker, .film-order li label .quantity-picker { grid-column: 1; }
    .quantity-readout { display: inline-block; font-variant-numeric: tabular-nums; }
    .order-delivery select, .order-delivery textarea { font-size: 16px; }
}

.top-whatsapp {
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.top-whatsapp:focus-visible {
    outline: 2px solid #63ed91;
    outline-offset: 3px;
}
.top-whatsapp:focus-visible, .top-whatsapp:active {
    color: #07150b;
    background: #63ed91;
    box-shadow: 0 0 18px #25d36666;
}
@media (hover: hover) {
    .top-whatsapp:hover {
        color: #07150b;
        background: #63ed91;
        box-shadow: 0 0 18px #25d36666;
    }
}
@media (prefers-reduced-motion: reduce) {
    .top-whatsapp { transition: none; }
}

.sofa-order fieldset { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.sofa-order legend { margin-bottom: 8px; }
.sofa-order .sofa-color {
    position: relative;
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
}
.sofa-order .sofa-color input { position: absolute; opacity: 0; }
.sofa-order .sofa-color:has(input:checked) { border-color: var(--accent); }
.sofa-order .sofa-color:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.sofa-order button { border: 0; }

.sofa-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 16px; }
.sofa-gallery a { display: grid; align-content: start; min-width: 0; gap: 8px; }
.sofa-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: var(--surface);
    border-radius: 8px;
}

.product-img { display: block; height: auto; aspect-ratio: 3 / 2; }
.product-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-img:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.order-delivery input[type="tel"] { width: 100%; font-size: 16px; }
.order-delivery small { color: var(--muted); }

.order-delivery #orderError { color: #ffac8d; }

.section-title > .home-film-catalog { color: var(--page); }
@media (max-width: 680px) {
    .home-film-catalog { display: none; }
}

.order-product {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-basis: 100%;
}
.order-product img, .sofa-order-photo {
    object-fit: cover;
    border-radius: 5px;
}
.sofa-order-photo { display: block; max-width: 100%; height: auto; aspect-ratio: 4 / 3; margin-top: 12px; }
.sofa-quantity { display: block; margin: 12px 0; }
.sofa-quantity input { width: 5em; font-size: 16px; }
.quantity-readout { white-space: nowrap; }

body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.active-order-link {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 5;
    gap: 8px;
    min-height: 44px;
    box-shadow: 0 4px 18px #0008;
}
.active-order-link span {
    min-width: 24px;
    border-radius: 12px;
    padding: 3px 6px;
    background: var(--page);
    color: var(--text);
    text-align: center;
}

.sofa-order-status:empty { margin: 0; }
.sofa-order-status:not(:empty) {
    padding: 10px 12px;
    border: 1px solid var(--accent);
    border-radius: 6px;
}

.topbar { height: auto; min-height: 68px; padding-block: 8px; }
.top-order-actions { display: grid; flex-shrink: 0; gap: 4px; }
.top-order-link {
    gap: 4px;
    min-height: 32px;
    padding: 5px 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
}
.top-order-link span { color: var(--accent); }

@media (max-width: 600px) {
    .site-header .topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .site-header .top-order-actions { justify-self: end; }
    .site-header .search { grid-column: 1 / -1; }
}

@media (max-width: 374px) {
    .site-header .topbar { column-gap: 8px; }
    .site-header .brand { gap: 5px; }
    .site-header .brand-logo { width: 44px; height: 36px; }
    .site-header .brand strong { font-size: 17px; }
    .site-header .brand small { font-size: 12px; }
}

.site-header .nav a:active {
    background: var(--accent);
    color: var(--page);
    border-radius: 6px;
}

dialog.film-order {
    width: min(680px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    overflow: auto;
}
dialog.film-order:not([open]) { display: none; }
.order-close { margin-bottom: 8px; }

.order-summary { display: block; margin-block: 16px 24px; }
.order-summary h3 { margin: 0 0 8px; }
.order-summary ul { margin-block: 0; padding-inline-start: 22px; }
.order-summary li + li { margin-top: 5px; }

.order-image-preview { display: grid; gap: 8px; }
.order-image-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-image-preview img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 240px;
    border-radius: 6px;
}

.order-image-actions .btn, #openOrderFiles { min-height: 44px; white-space: normal; }
#openOrderFiles { justify-self: start; }
.order-files { max-width: 820px; }
.order-files img { display: block; max-width: 100%; height: auto; border-radius: 6px; }

.order-image-actions .btn, #prepareOrderImage, #openOrderFiles {
    background: #080809;
    border: 1px solid var(--accent);
    color: var(--text);
}

.order-delivery .order-image-actions button,
.order-delivery #prepareOrderImage {
    border: 1px solid var(--accent);
}

.desktop-order-files { display: none; }
@media (min-width: 681px) {
    .desktop-order-files { display: grid; gap: 8px; }
    .desktop-order-files p:empty { display: none; }
    .desktop-order-files button:disabled { opacity: .65; cursor: wait; }
}

.film-availability {
    display: inline-block;
    width: fit-content;
    border: 1px solid currentColor;
    border-radius: 5px;
    padding: 3px 7px;
    font-size: 13px;
    font-weight: 700;
}
.film-availability.available { color: #91d4a2; }
.film-availability.unavailable { color: var(--muted); }
.product .film-availability { margin: 0 0 10px; }

.product-photo-pending {
    display: grid;
    place-items: center;
    padding: 16px;
    color: var(--muted);
    text-align: center;
    background: var(--page);
}
