/* Roundo — design system: warm cream surfaces, soft cards, ink-black actions. */
@font-face { font-family: Vazirmatn; src: url(../fonts/Vazirmatn.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f6f3ee; --surface: #fbf9f6; --card: #fff; --sunk: #efeae2; --ink: #1c1a17; --ink2: #4a453e; --muted: #857d72; --line: #e6dfd5;
  --tan: #b9a48c; --tan-soft: #e9dfd2; --ok: #4f7a57; --warn: #a9762b; --bad: #a4483c;
  --r: 14px; --r-sm: 9px; --shadow: 0 10px 34px -14px rgba(60, 45, 25, .28); --wrap: 1440px;
  --sans: Vazirmatn, 'Segoe UI', Tahoma, sans-serif; --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 14.500px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
[dir=ltr] body { font-family: 'Segoe UI', Vazirmatn, system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.35; text-wrap: balance; }
h1 { font-size: clamp(26px, 3vw, 40px); font-weight: 300; } h2 { font-size: clamp(20px, 2vw, 28px); font-weight: 300; } h3 { font-size: 16px; }
small, .muted { color: var(--muted); font-size: 12.500px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.ic { width: 20px; height: 20px; flex: none; } [dir=rtl] .btn .ic:last-child, [dir=rtl] .tlink .ic, [dir=rtl] .more .ic, [dir=rtl] .ad .ic, [dir=rtl] .collections .ic, [dir=rtl] .cta .ic:last-child { transform: scaleX(-1); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; margin-block: 44px; }
.center { display: flex; justify-content: center; margin-top: 34px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font-weight: 500; border: 1px solid transparent; transition: .2s; white-space: nowrap; }
.btn.dark { background: var(--ink); color: #fff; } .btn.dark:hover { background: #000; }
.btn.ghost { border-color: var(--line); background: var(--card); } .btn.ghost:hover { border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); } .btn.glass { background: rgba(20, 18, 15, .62); color: #fff; backdrop-filter: blur(8px); }
.btn.sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; } .btn.lg { padding: 14px 28px; font-size: 15px; } .btn.block { display: flex; width: 100%; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px; border-radius: 999px; color: var(--ink2); transition: .2s; font-size: 13px; }
.icon-btn:hover { background: var(--sunk); } .icon-btn.on .ic { fill: currentColor; } .icon-btn.like.on { color: var(--bad); }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border-bottom: 1px solid currentColor; padding: 0 0 1px; } .tlink .ic { width: 15px; height: 15px; } .tlink.danger { color: var(--bad); border: 0; margin-top: 8px; }
.chip, .chips i { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; background: var(--tan-soft); font-size: 12px; font-style: normal; }
.chip .ic { width: 13px; height: 13px; }
.avatar { display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%; background: var(--tone); color: #fff; font-size: calc(var(--s) * .42); font-weight: 400; flex: none; }
.blogo { font: 300 26px/1.2 var(--sans); letter-spacing: -.01em; } [dir=ltr] .blogo { font-family: var(--serif); font-weight: 400; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes fade { from { opacity: 0; } }

/* header / footer */
#header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 26px; padding: 12px 28px; background: rgba(246, 243, 238, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { font: 400 24px/1 var(--serif); letter-spacing: .14em; direction: ltr; } .logo span { font-style: italic; }
.mainnav { display: flex; gap: 22px; } .mainnav a { padding: 6px 0; color: var(--ink2); border-bottom: 1.500px solid transparent; white-space: nowrap; } .mainnav a:hover, .mainnav a.on { color: var(--ink); border-color: var(--ink); }
.search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--sunk); border-radius: 10px; color: var(--muted); margin-inline-start: auto; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); }
.tools { display: flex; align-items: center; gap: 6px; }
#footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; max-width: var(--wrap); margin: 80px auto 0; padding: 44px 28px 30px; border-top: 1px solid var(--line); color: var(--ink2); }
#footer nav { display: grid; gap: 6px; align-content: start; } #footer small { grid-column: 1 / -1; } #footer p { max-width: 36ch; margin-top: 10px; }

/* product image: own photo, or the identified region of a scene */
.pimg { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: var(--sunk); border-radius: var(--r-sm); overflow: hidden; container-type: size; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg.crop > div { aspect-ratio: var(--a); width: min(100cqw, calc(100cqh * var(--a))); background-repeat: no-repeat; }

/* cards */
.card { position: relative; display: block; }
.card.product { background: var(--card); border-radius: var(--r); padding: 8px 8px 12px; border: 1px solid var(--line); transition: .25s; break-inside: avoid; }
.card.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); } .card.product:hover .pimg > * { transform: scale(1.06); } .pimg > * { transition: transform .5s; }
.card.product .meta { display: grid; padding: 10px 6px 0; } .card.product .meta b { font-weight: 500; } .card.product .meta span { color: var(--muted); font-size: 12.500px; } .card.product .meta em { font-style: normal; font-size: 13px; margin-top: 2px; }
.card .savebtn { position: absolute; top: 14px; inset-inline-end: 14px; background: rgba(255, 255, 255, .92); z-index: 4; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.card .savebtn .ic { width: 17px; height: 17px; }
.pick { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 4; } .pick input { position: absolute; opacity: 0; } .pick span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #fff; border: 1.500px solid var(--ink); color: transparent; }
.pick input:checked + span { background: var(--ink); color: #fff; } .pick .ic { width: 16px; height: 16px; } .pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.card.scene { break-inside: avoid; } .card.scene:hover, .card.scene:focus-within { z-index: 6; }
.scene-media { position: relative; width: 100%; } .scene-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.card.scene .cover { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.card.scene .cap { position: absolute; inset: auto 0 0 0; z-index: 2; pointer-events: none; display: grid; padding: 40px 14px 12px; color: #fff; border-radius: 0 0 var(--r) var(--r); background: linear-gradient(transparent, rgba(20, 15, 8, .72)); opacity: 0; transition: .3s; }
.card.scene:hover .cap, .card.scene:focus-within .cap { opacity: 1; } .cap b { font-weight: 500; } .cap span { font-size: 12px; opacity: .9; } .cap .chips { display: flex; gap: 8px; align-items: center; margin-top: 4px; } .cap .chips i { background: rgba(255, 255, 255, .22); padding: 1px 8px; }
.masonry .card.scene .cap { opacity: 1; }
/* hotspots */
.dot { position: absolute; z-index: 3; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: rgba(40, 32, 22, .28); box-shadow: 0 0 0 1px rgba(255, 255, 255, .55); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(2px); }
.dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); transition: .2s; } .dot:hover::before, .dot:focus::before { transform: scale(1.5); }
.dot::after { content: ''; position: absolute; inset: -12px; }
.tagpop { position: absolute; z-index: 10; display: none; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; width: 250px; padding: 8px; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow); text-align: start; cursor: default; animation: fade .2s; }
.dot:hover > .tagpop, .dot:focus-within > .tagpop, .dot:focus > .tagpop { display: grid; }
.dot.r > .tagpop { left: 100%; } .dot.l > .tagpop { right: 100%; } .dot.d > .tagpop { top: 60%; } .dot.u > .tagpop { bottom: 60%; }
.tagpop .tp-meta { display: grid; min-width: 0; line-height: 1.5; } .tagpop b { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tagpop span { color: var(--muted); font-size: 12px; } .tagpop em { font-style: normal; font-size: 12.500px; }
.tagpop .savebtn { position: static; box-shadow: none; background: var(--sunk); }
.conf { grid-column: 1 / -1; font-size: 11.500px !important; padding: 2px 8px; border-radius: 6px; justify-self: start; } .conf.hi { background: #e3efe4; color: var(--ok) !important; } .conf.mid { background: #f4ead7; color: var(--warn) !important; } .conf.lo { background: #f3dedb; color: var(--bad) !important; }
/* identified-object regions (scene page): the object's own area lights up */
.scene-frame { position: relative; border-radius: var(--r); } .scene-media.mask { overflow: hidden; border-radius: var(--r); }
.region { cursor: pointer; position: absolute; z-index: 2; border-radius: 10px; border: 1.500px solid transparent; transition: border-color .2s, box-shadow .3s; }
.region:hover, .region.hot, .region.open, .region:focus-visible { border-color: #fff; box-shadow: 0 0 0 200vmax rgba(15, 12, 8, .42); z-index: 5; outline: 0; }
.show-all .region { border-color: rgba(255, 255, 255, .9); border-style: dashed; } .show-all .region:hover, .show-all .region.hot { border-style: solid; }
.rlabel { position: absolute; top: -1px; inset-inline-start: -1px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 9px 0 9px 0; background: #fff; color: var(--ink); font-size: 12px; line-height: 22px; opacity: 0; } [dir=rtl] .rlabel { border-radius: 0 9px 0 9px; }
.show-all .rlabel, .region:hover .rlabel, .region.hot .rlabel, .region.open .rlabel { opacity: 1; }
.region:hover > .tagpop, .region.open > .tagpop, .region:focus-within > .tagpop { display: grid; }
.region.r > .tagpop { left: 0; } .region.l > .tagpop { right: 0; } .region.d > .tagpop { top: calc(100% + 8px); } .region.u > .tagpop { bottom: calc(100% + 8px); } .region.in > .tagpop { top: 10px; margin-inline: 10px; }
.scene-frame .badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 6; display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 8px; background: rgba(20, 18, 15, .7); color: #fff; font-size: 12.500px; backdrop-filter: blur(8px); } .badge .ic { width: 15px; height: 15px; }
.scene-frame .detect { position: absolute; bottom: 14px; inset-inline-end: 14px; z-index: 6; } .scene-frame .before { position: absolute; bottom: 14px; inset-inline-start: 14px; z-index: 6; width: 150px; border-radius: 10px; border: 2px solid #fff; box-shadow: var(--shadow); }

.card.ad { display: grid; align-content: center; justify-items: start; gap: 4px; padding: 24px; background: var(--tan-soft); border-radius: var(--r); min-height: 200px; break-inside: avoid; } .card.ad i { display: inline-flex; gap: 6px; align-items: center; font-style: normal; font-weight: 500; margin-top: 10px; } .card.ad .ic { width: 16px; height: 16px; }
.card.brand { background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: .25s; } .card.brand:hover, .card.arch:hover, .card.board:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card.brand img { width: 100%; aspect-ratio: 16/9; object-fit: cover; } .card.brand div { display: grid; padding: 16px 18px 18px; } .card.brand span { color: var(--ink2); }
.card.arch { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: 8px; transition: .25s; }
.card.arch .thumbs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 16/10; } .card.arch .thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; min-height: 0; } .card.arch .thumbs img:first-child { grid-row: span 2; }
.who { display: flex; align-items: center; gap: 12px; } .who div { display: grid; line-height: 1.5; } .who b { font-weight: 500; } .who span { color: var(--muted); font-size: 12.500px; }
.card.arch .who { padding: 12px 8px 6px; } .card.arch .who small { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; } .card.arch small .ic { width: 14px; height: 14px; fill: var(--tan); stroke: var(--tan); }
.card.board { position: relative; aspect-ratio: 5/4; border-radius: var(--r); overflow: hidden; background: var(--tan-soft); transition: .25s; text-align: start; }
.card.board img { width: 100%; height: 100%; object-fit: cover; } .card.board > div { position: absolute; inset: auto 0 0 0; display: grid; padding: 40px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(20, 15, 8, .7)); } .card.board b { font-size: 17px; font-weight: 400; } .card.board span { font-size: 12px; opacity: .9; }
.card.board.new { display: grid; place-content: center; justify-items: center; gap: 4px; background: var(--sunk); color: var(--ink); } .card.board.new span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tan-soft); margin-bottom: 8px; opacity: 1; } .card.board.new b { font-size: 15px; font-weight: 500; }

/* layout helpers */
.sec { margin: 0 0 18px; } .sec p { color: var(--muted); } .sec.big { margin-bottom: 26px; } .sec h1 .ic, .sec h3 .ic { width: 1em; height: 1em; vertical-align: -.12em; } * + .sec { margin-top: 44px; }
.mosaic { display: flex; flex-wrap: wrap; gap: 8px; } .mosaic > .card.scene { flex: var(--ar) 1 calc(var(--ar) * 230px); } .mosaic > .card.ad { flex: .8 1 190px; } .mosaic::after { content: ''; flex: 6 1 0; }
.masonry { columns: 5 240px; column-gap: 12px; } .masonry.two { columns: 3 260px; } .masonry > * { margin-bottom: 12px; }
.grid { display: grid; gap: 14px; } .grid.products { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } .grid.brands, .grid.archs { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; } .grid.boards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: thin; }
.numbered { position: relative; } .numbered > i { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 5; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11.500px; font-style: normal; display: grid; place-items: center; }
.chips-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; } .chips-row > b { font-weight: 500; margin-inline-end: 6px; } .chips-row .sep { width: 1px; height: 22px; background: var(--line); margin-inline: 6px; }
.chip-btn { padding: 5px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; transition: .2s; white-space: nowrap; } .chip-btn:hover { border-color: var(--ink); } .chip-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); } .chip-btn i { font-style: normal; opacity: .6; margin-inline-start: 4px; }
.explore .masonry { margin-top: 22px; } .sentinel { display: grid; place-items: center; padding: 30px; }
.empty { display: grid; justify-items: center; gap: 8px; padding: 70px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); } .empty p { color: var(--muted); max-width: 44ch; } .empty .btn { margin-top: 10px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.field { display: grid; gap: 4px; } .field input, .field select, textarea, .filters select, .dash select, .inline input { width: 100%; padding: 9px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; outline: 0; } .field input:focus, .field select:focus, textarea:focus { border-color: var(--ink); } textarea { resize: vertical; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.stack { display: grid; gap: 14px; margin-top: 16px; } .inline { display: flex; gap: 8px; margin-top: 14px; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; } dt { color: var(--muted); display: flex; align-items: center; gap: 6px; } dt .ic { width: 15px; height: 15px; }
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 18px; flex-wrap: wrap; } .crumbs > * + *::before { content: '›'; margin-inline-end: 8px; } .crumbs span { color: var(--ink); }

/* landing */
.landing { min-height: calc(100vh - 62px); display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-evenly; justify-items: center; padding: 26px 28px 10px; background: var(--surface); }
.strip-wrap { position: relative; width: 100%; max-width: var(--wrap); }
.strip { display: flex; gap: 6px; overflow-x: auto; padding: 22px 8px 6px; scrollbar-width: none; justify-content: safe center; } .strip::-webkit-scrollbar { display: none; }
.strip a { flex: none; width: 104px; display: grid; gap: 10px; justify-items: center; text-align: center; font-size: 12px; color: var(--ink2); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.strip .pimg { width: 84px; border-radius: 50%; } .strip a:hover { transform: scale(1.2) rotate(-1.500deg); color: var(--ink); z-index: 2; }
.nav { position: absolute; top: 50%; z-index: 8; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); opacity: 0; transition: .25s; }
.nav.prev { left: 6px; transform: scaleX(-1); } .nav.next { right: 6px; } :hover > .nav, .nav:focus-visible { opacity: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); } .more .ic { width: 15px; height: 15px; }
.slider { position: relative; width: 100%; } .slide { display: none; } .slide.on { display: block; animation: fade .7s; }
.pips { display: flex; gap: 6px; justify-content: center; margin-top: 12px; } .pips i { width: 18px; height: 2px; background: var(--line); transition: .3s; } .pips i.on { background: var(--ink); width: 32px; }
.slider.hero { max-width: var(--wrap); } .compose { display: grid; justify-items: center; gap: 14px; } .compose .scene-media { width: min(100%, calc(52vh * var(--ar))); } .compose h2 { font-size: clamp(18px, 2.2vw, 30px); }
.banner { display: flex; align-items: stretch; background: var(--tan-soft); border-radius: 18px; overflow: visible; min-height: 400px; }
.banner .b-text { order: -1; flex: 1; display: grid; align-content: center; justify-items: start; gap: 8px; padding: 40px clamp(24px, 5vw, 70px); } .banner h2 { font-size: clamp(34px, 4.500vw, 60px); font-weight: 200; } [dir=ltr] .banner h2 { font-family: var(--serif); font-weight: 400; } .banner p { font-size: 17px; color: var(--ink2); margin-bottom: 14px; }
.banner .scene-media { flex: none; width: min(62%, calc(400px * var(--ar))); align-self: center; } .banner .scene-media img { border-radius: 18px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr) 2.400fr; gap: 12px; } .trio a { display: grid; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: .2s; } .trio a:hover { border-color: var(--ink); } .trio b { font-size: 34px; font-weight: 200; line-height: 1.2; } .trio span { color: var(--ink2); }
.trio .cta { grid-auto-flow: column; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; background: var(--ink); color: #fff; border: 0; } .trio .cta span { color: #fff; font-size: 17px; } .trio .cta .ic:first-child { width: 30px; height: 30px; }

/* detail pages */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; margin-block: 0; }
.d-side { position: sticky; top: 86px; display: grid; gap: 14px; } .d-side h1 { font-size: 28px; } .d-side > p { color: var(--ink2); }
.d-side .who + .btn { justify-self: start; } .d-side .actions { padding-block: 12px; border-block: 1px solid var(--line); }
.ai-box { display: grid; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--sunk); } .ai-box p { color: var(--ink2); font-size: 13px; }
.ai-box.mini { position: relative; transition: .2s; } .ai-box.mini:hover { background: var(--tan-soft); } .ai-dot { position: absolute; top: 14px; inset-inline-end: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }
.eyebrow { letter-spacing: .14em; font-size: 12.500px; color: var(--ink2); text-transform: uppercase; } .price { font-size: 20px; }
.row-btn { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-block: 1px solid var(--line); text-align: start; } .row-btn span { display: grid; } .row-btn:disabled { opacity: .5; cursor: not-allowed; }
.gallery { background: var(--surface); border-radius: var(--r); padding: 18px; border: 1px solid var(--line); }
.g-main { display: grid; place-items: center; height: min(56vh, 520px); } .g-main .pimg { height: 100%; width: 100%; aspect-ratio: auto; background: none; } .g-main .pimg img { object-fit: contain; border-radius: var(--r-sm); }
.in-scene { position: relative; height: 100%; } .in-scene img { height: 100%; width: auto; border-radius: var(--r-sm); } .in-scene i { position: absolute; border: 2px solid #fff; border-radius: 10px; box-shadow: 0 0 0 200vmax rgba(15, 12, 8, .4); } .in-scene { overflow: hidden; border-radius: var(--r-sm); }
.g-thumbs { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; } .g-thumbs button { width: 72px; height: 72px; border-radius: 9px; overflow: hidden; border: 1.500px solid transparent; background: var(--sunk); } .g-thumbs button.on { border-color: var(--ink); } .g-thumbs img, .g-thumbs .pimg { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.specs { display: grid; grid-template-columns: 1.200fr 1fr 1fr; gap: 26px; margin-top: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); } .specs > div { display: grid; gap: 8px; align-content: start; justify-items: start; } .specs p { color: var(--ink2); font-size: 13px; }
.reviews { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 22px; align-items: start; margin-top: 22px; } .reviews .tlink { grid-column: 1 / -1; justify-self: start; }
.score { display: grid; } .score b { font-size: 34px; font-weight: 300; line-height: 1.2; } .review p { margin-top: 6px; color: var(--ink2); font-size: 13.500px; }
.stars { display: inline-flex; direction: ltr; } .stars i { color: var(--line); } .stars i.on { color: var(--ink); } .stars .ic { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* brand / architect / profile */
.b-hero img { width: 100%; height: min(46vh, 440px); object-fit: cover; border-radius: 18px; }
.b-head { display: grid; grid-template-columns: 260px 1fr auto; gap: 30px; align-items: start; padding: 26px 6px; } .b-logo .blogo { font-size: 56px; font-weight: 200; } .b-head p { max-width: 70ch; color: var(--ink2); }
.stats { display: flex; gap: 28px; margin-top: 14px; flex-wrap: wrap; } .stats span { display: grid; color: var(--muted); font-size: 12.500px; } .stats b { font-size: 22px; font-weight: 300; color: var(--ink); line-height: 1.3; }
.collections { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .collections a { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16/6; } .collections img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; } .collections a:hover img { transform: scale(1.04); }
.collections div { position: absolute; inset: 0; display: grid; align-content: center; padding: 30px; color: #fff; background: linear-gradient(to left, rgba(60, 45, 30, .78), transparent 70%); } [dir=ltr] .collections div { background: linear-gradient(to right, rgba(60, 45, 30, .78), transparent 70%); } .collections b { font-size: 24px; font-weight: 300; } .collections span { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; } .collections .ic { width: 15px; height: 15px; }
.filters { display: flex; gap: 8px; } .filters select, .dash select { width: auto; }
.arch-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 20px; } .tabs a { padding: 10px 0; color: var(--muted); border-bottom: 1.500px solid transparent; margin-bottom: -1px; font-size: 16px; } .tabs a.on { color: var(--ink); border-color: var(--ink); } .tabs i { font-style: normal; font-size: 12px; }
.a-card { position: sticky; top: 86px; display: grid; gap: 12px; padding: 0 0 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; justify-items: start; } .a-card > * { margin-inline: 24px; } .a-card > .btn.block { width: calc(100% - 48px); }
.portrait { margin: 0 !important; width: 100%; aspect-ratio: 5/4; display: grid; place-items: center; background: linear-gradient(160deg, var(--tone), color-mix(in srgb, var(--tone) 55%, #2a241c)); color: rgba(255, 255, 255, .9); font-size: 120px; font-weight: 100; }
.loc { display: flex; align-items: center; gap: 6px; color: var(--ink2); } .loc .ic { width: 16px; height: 16px; } .a-card dl { width: calc(100% - 48px); padding-block: 12px; border-block: 1px solid var(--line); }
.me-head { display: grid; grid-template-columns: auto 1fr minmax(260px, 380px); gap: 30px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); } .me-head .actions { margin-top: 14px; }
.promo { display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: var(--r); background: linear-gradient(120deg, var(--tan-soft), #d9c8b2); } .promo h3 { font-size: 18px; font-weight: 400; max-width: 22ch; }
.bom ul { list-style: none; padding: 0; display: grid; gap: 8px; max-height: 320px; overflow: auto; } .bom li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; } .bom li span { white-space: nowrap; color: var(--ink2); }
.bybrand { display: grid; gap: 4px; padding-block: 12px; border-block: 1px solid var(--line); } .bybrand span, .total { display: flex; justify-content: space-between; } .bybrand span { color: var(--muted); font-size: 13px; } .bybrand b { font-weight: 400; color: var(--ink2); } .total b { font-size: 20px; font-weight: 500; }

/* studio / estimate / dashboard */
.notice { padding: 12px 16px; border-radius: 10px; background: #f4ead7; color: #6d5020; margin-bottom: 18px; font-size: 13.500px; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; } .panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .panel h3 i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tan-soft); font-style: normal; font-size: 13px; }
.drop { display: grid; place-content: center; justify-items: center; gap: 4px; min-height: 150px; border: 1.500px dashed var(--tan); border-radius: 12px; cursor: pointer; background-size: cover; background-position: center; text-align: center; } .drop.has > * { visibility: hidden; } .drop:hover { background-color: var(--sunk); }
.checks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; } .checks label { display: flex; align-items: center; gap: 6px; } input[type=checkbox] { accent-color: var(--ink); width: 16px; height: 16px; }
.count { margin-inline: auto 0; color: var(--ink2); } .panel > .row { margin-bottom: 12px; } .panel > .row h3 { margin: 0; } .picks { grid-auto-columns: 150px; } #result { margin-top: 14px; }
.pipeline ol { list-style: none; padding: 0; display: grid; gap: 10px; } .pipeline li { display: flex; align-items: center; gap: 10px; color: var(--muted); } .pipeline li.done { color: var(--ink); } .pipeline li.done .spinner { animation: none; border-color: var(--ok); background: var(--ok); }
.res-grid { display: grid; grid-template-columns: minmax(0, 1.700fr) 1fr; gap: 24px; align-items: start; } .res-grid h4 { margin: 0 0 8px; } .res-grid h4:not(:first-child) { margin-top: 18px; } .res-grid .actions { margin-top: 18px; }
.found { list-style: none; padding: 0; display: grid; gap: 8px; } .found li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .found i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 11.500px; } .found a { border-bottom: 1px solid var(--line); } .found em { font-style: normal; font-size: 11.500px; color: var(--muted); } .found .conf { grid-column: auto; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; } .levels button { display: grid; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-align: start; } .levels button.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } .levels span { color: var(--muted); font-size: 12.500px; }
table { width: 100%; border-collapse: collapse; } th, td { padding: 10px 8px; text-align: start; border-bottom: 1px solid var(--line); } th { color: var(--muted); font-weight: 400; font-size: 12.500px; } td i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 8px; }
.donut { width: 190px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; margin: 6px auto; position: relative; } .donut::before { content: ''; position: absolute; inset: 26%; border-radius: 50%; background: var(--surface); } .donut span { position: relative; font-size: 13px; font-weight: 500; text-align: center; max-width: 9ch; line-height: 1.4; }
.ok { color: var(--ok); } .bad { color: var(--bad); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; } .kpi { display: grid; } .kpi b { font-size: 28px; font-weight: 300; line-height: 1.3; } .kpi em { font-style: normal; color: var(--ok); font-size: 12.500px; }
.spark { width: 100%; height: 44px; margin-top: 8px; } .spark polyline { fill: none; stroke: var(--tan); stroke-width: 1.500; vector-effect: non-scaling-stroke; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.rank { list-style: none; padding: 0; display: grid; gap: 10px; } .rank li { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .rank a { display: flex; align-items: center; gap: 10px; min-width: 0; } .rank .pimg { width: 44px; flex: none; } .rank b { font-weight: 400; color: var(--ink2); white-space: nowrap; }
.bars { display: grid; gap: 12px; } .bars div { display: grid; grid-template-columns: 90px 1fr 40px; gap: 10px; align-items: center; } .bars i { height: 8px; border-radius: 4px; background: var(--tan); width: min(100%, var(--v)); } .bars b { font-weight: 400; text-align: end; }

/* overlays */
.modal-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(20, 16, 10, .3); opacity: 0; transition: opacity .25s; } .modal-wrap.in { opacity: 1; }
.modal { position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto; padding: 30px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); } .modal.small { width: min(420px, 100%); } .modal .close { position: absolute; top: 14px; inset-inline-end: 14px; } .modal h2 { font-size: 22px; margin-bottom: 6px; padding-inline-end: 30px; } .modal .actions { margin-top: 18px; }
.modal.sheet { align-self: stretch; justify-self: end; max-height: none; width: min(480px, 100%); border-radius: 18px; } [dir=rtl] .modal.sheet { justify-self: start; }
.rev-list { display: grid; gap: 18px; margin: 18px 0; } .rev-form { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; direction: ltr; } .rate input { position: absolute; opacity: 0; } .rate label { color: var(--line); cursor: pointer; } .rate label .ic { fill: currentColor; stroke: none; width: 26px; height: 26px; } .rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--ink); } .rate input:focus-visible + label { outline: 2px solid var(--ink); }
.board-list { list-style: none; padding: 0; display: grid; gap: 6px; margin-top: 14px; max-height: 300px; overflow: auto; } .board-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 10px; text-align: start; } .board-list button:hover, .board-list button.on { background: var(--sunk); } .board-list img, .board-list button > i { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--tan-soft); flex: none; } .board-list span { display: grid; flex: 1; line-height: 1.5; }
.toast { position: fixed; bottom: 26px; left: 50%; z-index: 200; transform: translate(-50%, 20px); padding: 10px 22px; border-radius: 999px; background: var(--ink); color: #fff; opacity: 0; transition: .3s; pointer-events: none; } .toast.in { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .detail, .arch-page, .res-grid { grid-template-columns: minmax(0, 1fr); } .d-side, .a-card { position: static; } .a-card { order: -1; } .portrait { aspect-ratio: 3/1; font-size: 80px; }
  .b-head, .me-head { grid-template-columns: 1fr; gap: 14px; } .trio { grid-template-columns: repeat(3, 1fr); } .trio .cta { grid-column: 1 / -1; } .reviews, .specs { grid-template-columns: 1fr 1fr; }
  #header { flex-wrap: wrap; gap: 10px 16px; } .mainnav { order: 5; width: 100%; overflow-x: auto; gap: 18px; scrollbar-width: none; } .search { max-width: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; margin-block: 30px; } #header { padding: 10px 16px; } .tools .btn.ghost { display: none; } .landing { padding-inline: 16px; }
  .banner { flex-direction: column; } .banner .scene-media { width: 100%; } .st-grid, .collections, .reviews, .specs, .levels, #footer { grid-template-columns: 1fr; } .masonry, .masonry.two { columns: 2 150px; column-gap: 8px; }
  .grid.products { grid-template-columns: repeat(2, 1fr); } .grid.brands, .grid.archs { grid-template-columns: 1fr; } .tagpop { width: 210px; } .nav { opacity: 1; } .strip { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { #header, #footer, .savebtn, .btn, .tlink, .crumbs { display: none !important; } .detail { grid-template-columns: 1fr 300px; } body { background: #fff; } }
.masonry .dot { opacity: 0; transition: opacity .25s; } .masonry .card.scene:hover .dot, .masonry .card.scene:focus-within .dot { opacity: 1; }
@media (hover: none) { .masonry .dot { opacity: 1; } }
