/* Store Bilnov storefront: brand mark, AR hero, minimal product cards, "View in your space". */
:root {
    --sb-red: #e00700;
    --sb-ink: #141414;
    --sb-muted: #6b6b6b;
    --sb-line: #ececec;
    --sb-surface: #f5f4f2;
    --sb-radius: 14px;
}

/* ---------- Brand ---------- */
.sb-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sb-ink); }
.sb-brand img { height: 30px; width: auto; display: block; }
.sb-brand .sb-word { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1; color: var(--sb-ink); }
.sb-brand .sb-word b { color: var(--sb-red); font-weight: 800; }
.site-footer .sb-brand .sb-word { color: #fff; }

/* ---------- Hero: augmented reality ---------- */
.hero-section.hero-ar { height: auto; min-height: min(92vh, 860px); display: flex; align-items: center; background: #111; }
.hero-ar .hero-slide { background-attachment: scroll; background-position: 62% center; }
.hero-ar .hero-slide::after { background: linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.55) 34%, rgba(10,10,10,0) 62%); }
[dir="rtl"] .hero-ar .hero-slide::after { background: linear-gradient(270deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.55) 34%, rgba(10,10,10,0) 62%); }
.hero-ar .container { padding-top: 96px; padding-bottom: 72px; }
.hero-ar-content { max-width: 540px; color: #fff; text-align: start; }
.hero-ar-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero-ar-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sb-red); box-shadow: 0 0 0 4px rgba(224,7,0,.25); animation: sbPulse 2s ease-in-out infinite; }
.hero-ar h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 18px; color: #fff; text-wrap: balance; }
.hero-ar h1 span { color: #fff; box-shadow: inset 0 -0.18em 0 var(--sb-red); }
.hero-ar p.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); margin: 0 0 30px; max-width: 46ch; }
.hero-ar-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.sb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sb-btn-solid { background: #fff; color: var(--sb-ink); }
.sb-btn-solid:hover { transform: translateY(-2px); color: var(--sb-ink); }
.sb-btn-solid .fa-cube { color: var(--sb-red); }
.sb-btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.45); }
.sb-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-ar-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 34px 0 0; font-size: .86rem; color: rgba(255,255,255,.72); }
.hero-ar-steps li { display: flex; align-items: center; gap: 8px; }
.hero-ar-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); font-size: .72rem; color: #fff; }
.hero-ar-dots { position: absolute; z-index: 3; bottom: 26px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-ar-dots span { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); }
.hero-ar-dots span.on { background: #fff; }
@keyframes sbPulse { 50% { box-shadow: 0 0 0 8px rgba(224,7,0,0); } }

/* Promo video hero background (admin upload) */
.hero-video-wrap { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #111; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.55) 34%, rgba(10,10,10,0) 62%); }
[dir="rtl"] .hero-video-overlay { background: linear-gradient(270deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.55) 34%, rgba(10,10,10,0) 62%); }
@media (max-width: 767.98px) {
    .hero-video { object-position: 72% center; }
    .hero-video-overlay, [dir="rtl"] .hero-video-overlay { background: linear-gradient(180deg, rgba(17,17,17,0) 36%, rgba(17,17,17,.9) 50%, #111 58%); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
}
@media (max-width: 767.98px) {
    .hero-section.hero-ar { min-height: 100svh; align-items: flex-end; }
    .hero-ar .hero-slide { background-size: 200% auto; background-repeat: no-repeat; background-position: 82% 64px; }
    .hero-ar .hero-slide::after, [dir="rtl"] .hero-ar .hero-slide::after { background: linear-gradient(180deg, rgba(17,17,17,0) 36%, rgba(17,17,17,.9) 50%, #111 58%); }
    .hero-ar .container { padding-bottom: 56px; }
    .hero-ar-actions .sb-btn { flex: 1 1 100%; }
    .hero-ar-steps { display: none; }
}

/* ---------- Product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; text-align: start; }
.pcard-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--sb-radius); overflow: hidden; background: var(--sb-surface); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard.is-out .pcard-media img { opacity: .55; }
.pcard-add { position: absolute; z-index: 3; bottom: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--sb-ink); box-shadow: 0 6px 18px rgba(0,0,0,.12); text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.pcard-add:hover, .pcard-add:focus-visible { background: var(--sb-ink); color: #fff; transform: scale(1.06); outline: none; }
.pcard-ar { position: absolute; z-index: 3; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: var(--sb-ink); font-size: .74rem; font-weight: 700; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.pcard-ar .fa-cube { color: var(--sb-red); }
.pcard-ar:hover { background: var(--sb-ink); color: #fff; }
.pcard-ar:hover .fa-cube { color: #fff; }
.pcard-flag { position: absolute; z-index: 3; bottom: 12px; inset-inline-start: 12px; font-size: .74rem; font-weight: 700; background: var(--sb-ink); color: #fff; padding: 6px 10px; border-radius: 999px; }
.pcard-flag.is-order { background: #fff; color: var(--sb-ink); border: 1px solid var(--sb-ink); }
[dir="rtl"] .pcard-flag { inset-inline-start: 12px; }
.pcard-body { display: grid; gap: 2px; padding-inline: 2px; }
.pcard-meta { margin: 0; font-size: .75rem; color: var(--sb-muted); text-transform: uppercase; letter-spacing: .06em; min-height: 1.1em; }
.pcard-title { margin: 0; font-size: .98rem; font-weight: 600; line-height: 1.3; }
.pcard-title a { color: var(--sb-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title .stretched-link::after { z-index: 2; }
.pcard-price { margin: 4px 0 0; font-weight: 800; font-size: 1rem; color: var(--sb-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {
    .pcard { gap: 8px; }
    .pcard-ar span { display: none; }
    .pcard-ar { width: 32px; padding: 0; justify-content: center; }
    .pcard-add { width: 38px; height: 38px; bottom: 8px; inset-inline-end: 8px; }
    .pcard-title { font-size: .9rem; }
    .pcard-price { font-size: .92rem; }
}

/* ---------- "View in your space" on the product page ---------- */
.sb-ar-btn { position: absolute; z-index: 10; bottom: 18px; inset-inline-start: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 16px; border-radius: 999px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); color: var(--sb-ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 28px rgba(0,0,0,.14); transition: background-color .2s ease, color .2s ease, transform .2s ease; }
[dir="rtl"] .sb-ar-btn { transform: translateX(50%); }
.sb-ar-btn .fa-cube { color: var(--sb-red); font-size: 1.05rem; }
.sb-ar-btn .sb-ar-tag { font-size: .66rem; letter-spacing: .08em; border: 1px solid currentColor; border-radius: 4px; padding: 1px 5px; opacity: .7; }
.sb-ar-btn:hover, .sb-ar-btn:focus-visible { background: var(--sb-ink); color: #fff; outline: none; }
.sb-ar-btn:hover .fa-cube { color: #fff; }

/* ---------- Product grid spacing ---------- */
.sb-grid { --bs-gutter-x: 1.25rem; --bs-gutter-y: 2rem; }
@media (max-width: 575.98px) { .sb-grid { --bs-gutter-x: .75rem; --bs-gutter-y: 1.5rem; } }

@media (prefers-reduced-motion: reduce) {
    .hero-ar-eyebrow .dot { animation: none; }
    .pcard-media img, .sb-btn, .pcard-add { transition: none; }
}

/* AR filter chip on the product list */
.pl-chip-ar .fa-cube { color: var(--sb-red); margin-inline-end: 4px; }
.pl-chip-ar.active .fa-cube, .pl-chip-ar:hover .fa-cube { color: #fff; }

/* Product page: calmer type, AR button on the photo */
.pd-title { font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-transform: none; color: var(--sb-ink); }
.pd-desc { font-size: 1.05rem; line-height: 1.7; }
.pd-price { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; color: var(--sb-ink); font-variant-numeric: tabular-nums; }
.viewer-container .sb-ar-btn { top: 16px; bottom: auto; inset-inline-start: auto; inset-inline-end: 16px; transform: none; }
[dir="rtl"] .viewer-container .sb-ar-btn { transform: none; }
@media (max-width: 575.98px) { .viewer-container .sb-ar-btn { top: 12px; inset-inline-end: 12px; height: 42px; padding: 0 14px 0 12px; font-size: .86rem; } }
@media (max-width: 767.98px) { [dir="rtl"] .hero-ar .hero-slide { background-position: 18% 64px; } }
/* Storefront navbar: thin neutral line instead of the yellow rule */
#landingNav.navbar { border-bottom: 1px solid var(--sb-line); }

/* ---------- Contact ---------- */
.sb-contact { background: var(--sb-surface); padding: clamp(64px, 9vw, 120px) 0; color: var(--sb-ink); }
.sb-contact-head { max-width: 720px; margin-bottom: 36px; }
.sb-contact-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sb-red); margin-bottom: 12px; }
.sb-contact-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
.sb-contact-head h2 span { color: var(--sb-muted); }
.sb-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.sb-contact-card { background: var(--sb-ink); color: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.sb-contact-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sb-contact-card .sb-brand .sb-word { color: #fff; }
.sb-contact-social { display: flex; gap: 8px; }
.sb-contact-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.18); text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.sb-contact-social a:hover { background: #fff; color: var(--sb-ink); border-color: #fff; }
.sb-contact-lead { margin: 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.6; }
.sb-contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.sb-contact-lines li { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.sb-contact-lines i { width: 18px; text-align: center; color: var(--sb-red); }
.sb-contact-lines a { color: #fff; text-decoration: none; }
.sb-contact-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sb-contact-lines span { color: rgba(255,255,255,.72); }
.sb-contact-bilnov { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background-color .2s ease; }
.sb-contact-bilnov:hover { background: rgba(255,255,255,.12); color: #fff; }
.sb-contact-bilnov img { border-radius: 10px; flex: none; }
.sb-contact-bilnov span { display: grid; flex: 1; min-width: 0; }
.sb-contact-bilnov small { color: rgba(255,255,255,.6); }
[dir="rtl"] .sb-contact-bilnov .fa-arrow-right { transform: scaleX(-1); }
.sb-contact-form { background: #fff; border-radius: 22px; padding: 28px; border: 1px solid var(--sb-line); }
.sb-contact-form form { display: grid; gap: 18px; }
.sb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sb-field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.sb-field > span, .sb-field > legend { font-size: .82rem; font-weight: 600; color: var(--sb-muted); float: none; width: auto; margin: 0; padding: 0; }
.sb-field input, .sb-field textarea { width: 100%; border: 1px solid var(--sb-line); background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 1rem; color: var(--sb-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.sb-field input { height: 50px; }
.sb-field textarea { resize: vertical; min-height: 120px; }
.sb-field input:focus, .sb-field textarea:focus { outline: none; border-color: var(--sb-ink); box-shadow: 0 0 0 3px rgba(20,20,20,.08); }
.sb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-chips label { position: relative; margin: 0; cursor: pointer; }
.sb-chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.sb-chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sb-line); font-size: .9rem; font-weight: 600; color: var(--sb-ink); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.sb-chips input:checked + span { background: var(--sb-ink); border-color: var(--sb-ink); color: #fff; }
.sb-chips input:focus-visible + span { outline: 3px solid rgba(224,7,0,.35); outline-offset: 2px; }
.sb-contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.sb-btn-ink { background: var(--sb-ink); color: #fff; border: 0; }
.sb-btn-ink:hover { background: #000; color: #fff; transform: translateY(-1px); }
.sb-btn-wa { background: #fff; color: var(--sb-ink); border: 1px solid var(--sb-line); }
.sb-btn-wa .fa-whatsapp { color: #25d366; font-size: 1.15rem; }
.sb-btn-wa:hover { border-color: #25d366; color: var(--sb-ink); }
.sb-btn-ink:focus-visible, .sb-btn-wa:focus-visible { outline: 3px solid rgba(224,7,0,.35); outline-offset: 2px; }
@media (max-width: 991.98px) { .sb-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
    .sb-contact-card, .sb-contact-form { padding: 20px; border-radius: 18px; }
    .sb-field-row, .sb-contact-actions { grid-template-columns: 1fr; }
}

/* ── Product page: architect & BIM block ───────────────────── */
.sb-bim { margin-top: 56px; padding: 40px; border-radius: 22px; background: #fff; border: 1px solid var(--sb-line); }
.sb-bim-head { max-width: 760px; margin-bottom: 28px; }
.sb-bim-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sb-red); }
.sb-bim-head h2 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 8px; color: var(--sb-ink); }
.sb-bim-head p { color: var(--sb-muted); margin: 0; }
.sb-bim-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; }
.sb-bim-ids { margin: 0; padding: 22px; border-radius: var(--sb-radius); background: var(--sb-surface); display: grid; gap: 14px; }
.sb-bim-ids dt { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sb-muted); margin-bottom: 2px; }
.sb-bim-ids dd { margin: 0; font-weight: 600; color: var(--sb-ink); overflow-wrap: anywhere; }
.sb-bim-ids dd small { color: var(--sb-muted); font-weight: 500; margin-inline-start: 4px; }
.sb-bim-ids code { color: var(--sb-ink); background: #fff; padding: 2px 8px; border-radius: 6px; font-size: .88rem; }
.sb-bim-variants ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-weight: 500; font-size: .9rem; }
.sb-bim-copy { border: 0; background: none; color: var(--sb-muted); padding: 2px 6px; cursor: pointer; }
.sb-bim-copy:hover { color: var(--sb-ink); }
.sb-bim-copy.done { color: #198754; }
.sb-bim-table { border: 1px solid var(--sb-line); border-radius: var(--sb-radius); overflow: hidden; }
.sb-bim-row { display: grid; grid-template-columns: 150px 90px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--sb-line); }
.sb-bim-row:first-child { border-top: 0; }
.sb-bim-th { background: var(--sb-surface); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sb-muted); padding-block: 10px; }
.sb-bim-row small { display: block; color: var(--sb-muted); font-size: .76rem; }
.sb-bim-fmt { font-weight: 800; color: var(--sb-ink); }
.sb-bim-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-bim-meta em { unicode-bidi: plaintext; font-style: normal; font-size: .78rem; padding: 3px 9px; border-radius: 999px; background: var(--sb-surface); color: var(--sb-ink); }
.sb-bim-dl { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--sb-ink); color: #fff; font-weight: 700; font-size: .84rem; text-decoration: none; white-space: nowrap; }
.sb-bim-dl:hover { background: var(--sb-red); color: #fff; }
.sb-bim-empty { padding: 26px; border-radius: var(--sb-radius); background: var(--sb-surface); color: var(--sb-muted); margin: 0; }
.sb-bim-note { margin: 16px 0 0; font-size: .84rem; color: var(--sb-muted); }
.sb-bim-note a { color: var(--sb-ink); font-weight: 700; margin-inline-start: 4px; }
.pd-bim-link { color: var(--sb-ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 991px) {
    .sb-bim { padding: 24px 18px; margin-top: 36px; }
    .sb-bim-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .sb-bim-th { display: none; }
    .sb-bim-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 12px; padding: 14px; }
    .sb-bim-row > span:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
    .sb-bim-dl { padding: 10px 12px; }
    .sb-bim-dl span { display: none; }
}

/* Currency switch in the footer */
.sb-currency-switch a { text-decoration: none; }
.sb-currency-switch a[aria-current="true"] { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
