/* Compact shared catalog: public collection, home section and WordPress admin. */
body .nvi-design-showcase {
  --gallery-paper:#f7f3eb; --gallery-ink:#20251f; --gallery-muted:#706e65;
  --gallery-green:#343e32; --gallery-line:#dfdcd1;
  background:var(--gallery-paper); color:var(--gallery-ink);
  padding:56px max(24px,calc((100% - 1240px)/2)); font-family:Poppins,system-ui,sans-serif;
}
body .nvi-design-showcase .nvi-design-heading { text-align:center; max-width:650px; margin:0 auto 24px; }
body .nvi-design-showcase .nvi-design-heading>span { display:block; color:#ac8c4f; font-size:18px; margin-bottom:10px; }
body .nvi-design-showcase .nvi-design-heading .nvi-design-eyebrow { font:600 10px/1.5 Poppins,system-ui,sans-serif; letter-spacing:.18em; color:#8c7954; margin:0 0 10px; }
body .nvi-design-showcase .nvi-design-heading h2 { font:400 clamp(28px,3vw,36px)/1.2 Georgia,serif; letter-spacing:-.025em; color:var(--gallery-ink); margin:0 0 12px; }
body .nvi-design-showcase .nvi-design-heading>p:last-child { font:400 13px/1.8 Poppins,system-ui,sans-serif; color:var(--gallery-muted); margin:0; }
body .nvi-design-showcase .nvi-design-tabs { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin:24px auto; }
body .nvi-design-showcase .nvi-design-tabs button { appearance:none; border:1px solid #d9d5c8; border-radius:99px; background:transparent; color:#343d32; min-height:44px; padding:9px 18px; font:500 12px/1.4 Poppins,system-ui,sans-serif; letter-spacing:0; cursor:pointer; }
body .nvi-design-showcase .nvi-design-tabs button[aria-pressed=true] { background:#343e32; border-color:#343e32; color:white; }
body .nvi-design-showcase .nvi-design-tools { display:grid; grid-template-columns:minmax(0,1fr) 180px; gap:16px; max-width:620px; margin:0 auto; }
body .nvi-design-showcase .nvi-design-tools label { display:flex; flex-direction:column; gap:7px; font:500 11px/1.5 Poppins,system-ui,sans-serif; }
body .nvi-design-showcase .nvi-design-tools :is(input,select) { width:100%; min-height:44px; padding:10px 12px; border:1px solid #dad6ca; border-radius:7px; background:#fffdf8; color:#32382f; font:400 13px/1.5 Poppins,system-ui,sans-serif; box-shadow:none; }

body .nvi-gallery-devices .nvi-portfolio-grid { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; counter-reset:none; }
body .nvi-gallery-devices .nvi-portfolio-card { min-width:0; display:flex; flex-direction:column; background:#fff; border:1px solid #dfdcd1; border-radius:12px; overflow:hidden; padding:0; margin:0; box-shadow:none; }
body .nvi-gallery-devices .nvi-portfolio-card::before,
body .nvi-gallery-devices .nvi-portfolio-card::after { display:none; }
body .nvi-gallery-devices .nvi-portfolio-card .nvi-gallery-card-cover { display:block!important; position:relative; visibility:visible!important; opacity:1!important; width:100%; aspect-ratio:1; height:auto; min-height:0; padding:0; border-radius:0; border-bottom:1px solid #e8e2d5; overflow:hidden; background:#f0eeea!important; }
body .nvi-gallery-devices .nvi-gallery-card-cover::before,
body .nvi-gallery-devices .nvi-gallery-card-cover::after { display:none; }
body .nvi-gallery-devices .nvi-gallery-card-cover>img[data-gallery-cover] { display:block!important; visibility:visible; position:absolute!important; inset:0; width:100%!important; height:100%!important; max-width:100%; aspect-ratio:auto!important; object-fit:contain!important; object-position:center!important; transform:none!important; scale:1!important; border-radius:0; box-shadow:none; filter:none; padding:0; margin:0; }
body .nvi-gallery-devices .nvi-gallery-card-cover>img[data-cover-layout=page] { object-fit:cover!important; object-position:top!important; }
body .nvi-gallery-devices .nvi-gallery-card-number { display:inline-flex; }
body .nvi-gallery-devices .nvi-gallery-card-preview { display:none; }
body .nvi-gallery-devices .nvi-gallery-card-body { padding:14px; display:flex; flex-direction:column; flex:1; text-align:center; }
body .nvi-gallery-devices .nvi-gallery-card-meta { display:flex; gap:6px; align-items:center; justify-content:center; flex-wrap:wrap; }
body .nvi-gallery-devices .nvi-gallery-card-meta small { font:500 10px/1.5 Poppins,system-ui,sans-serif; color:#827150; }
body .nvi-gallery-devices .nvi-gallery-card-meta>span { font:500 8px/1.5 Poppins,system-ui,sans-serif; padding:2px 5px; color:#726d61; margin:0; }
body .nvi-gallery-devices .nvi-gallery-card-body h3 { font:600 16px/1.4 Poppins,system-ui,sans-serif; letter-spacing:0; color:#252d25; margin:8px 0 12px; min-height:0; overflow-wrap:anywhere; }
body .nvi-gallery-devices .nvi-gallery-card-body>[data-variant-panel] { margin-top:auto; }
body .nvi-gallery-devices .nvi-portfolio-card .nvi-collection-actions { display:flex; align-items:stretch; justify-content:center; flex-wrap:wrap; gap:7px; border:0; padding:0; margin:0; }
body .nvi-gallery-devices .nvi-portfolio-card .nvi-collection-actions a { font:500 12px/1.4 Poppins,system-ui,sans-serif; min-height:36px; padding:8px 10px; display:inline-flex; align-items:center; justify-content:center; gap:4px; text-decoration:none; color:#343e32; border:1px solid #343e32; border-radius:5px; }
body .nvi-gallery-devices .nvi-portfolio-card .nvi-collection-actions .nvi-gallery-choose { background:#343e32; color:white; }
body .nvi-gallery-devices .nvi-design-price { font-size:13px; line-height:1.5; margin:0 0 12px; color:#77634b; }
body .nvi-gallery-devices .nvi-gallery-variants { justify-content:center; margin:0 0 12px; }
body .nvi-gallery-devices .nvi-gallery-variants button { min-height:32px; padding:6px 9px; font-size:10px; }
body .nvi-gallery-devices .nvi-gallery-create { margin-top:10px; }
body .nvi-gallery-devices .nvi-gallery-create>.nvi-gallery-primary { min-height:38px; padding:9px 10px; font-size:11px; gap:6px; }
body .nvi-gallery-devices .nvi-gallery-create details { margin-top:8px; }
body .nvi-design-showcase .nvi-gallery-results { font:400 12px/1.5 Poppins,system-ui,sans-serif; padding:22px 0 16px; }
body .nvi-design-showcase .nvi-design-browse { text-align:center; font:500 12px/1.5 Poppins,system-ui,sans-serif; margin:24px 0 0; }
body .nvi-design-showcase .nvi-design-browse a { color:#343e32; text-decoration:underline; text-underline-offset:5px; }
body .nvi-design-showcase .nvi-design-features { border-top:1px solid #d9d5c8; margin-top:36px; padding-top:20px; }
body .nvi-design-showcase .nvi-design-features>summary { cursor:pointer; font:500 13px/1.6 Poppins,system-ui,sans-serif; min-height:44px; padding:9px 0; color:#343e32; }

/* One-column introduction after removing the collage. */
body .nvi-gallery-devices .nvi-gallery-hero { display:block; min-height:0; max-width:1320px; padding:52px 40px 40px; text-align:center; }
body .nvi-gallery-devices .nvi-gallery-hero__copy { max-width:800px; margin:auto; }
body .nvi-gallery-devices .nvi-gallery-hero h1 { font-size:clamp(30px,3.2vw,44px); line-height:1.2; max-width:760px; margin:0 auto 16px; }
body .nvi-gallery-devices .nvi-gallery-hero .nvi-gallery-kicker { margin-bottom:16px; }
body .nvi-gallery-devices .nvi-gallery-intro { max-width:600px; font-size:13px; margin:0 auto 22px; }
body .nvi-gallery-devices .nvi-gallery-stats { max-width:520px; justify-content:center; margin:26px auto 0; padding-top:20px; }
body .nvi-gallery-devices .nvi-gallery-stats strong { font-size:24px; }
body .nvi-gallery-devices .nvi-gallery-browser { max-width:1320px; padding:48px 40px 64px; }
body .nvi-site.nvi-gallery-devices .nvi-gallery-browser { padding-top:48px; padding-bottom:64px; }
body .nvi-gallery-devices .nvi-gallery-section-heading h2 { font-size:clamp(26px,2.8vw,34px); }
body .nvi-gallery-devices .nvi-admin-collection-head h1 { font-size:28px!important; }
body .nvi-gallery-devices [hidden],body .nvi-gallery-devices .is-hidden { display:none!important; }
body .nvi-gallery-devices :is(button,a,input,select,summary):focus-visible { outline:2px solid #a58b51; outline-offset:4px; }

@media(max-width:1099px) {
  body .nvi-gallery-devices .nvi-portfolio-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
}
@media(max-width:899px) {
  body .nvi-gallery-devices .nvi-portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body .nvi-gallery-devices .nvi-gallery-browser { padding-inline:24px; }
}
@media(max-width:599px) {
  body .nvi-design-showcase { padding:40px 16px; }
  body .nvi-design-showcase .nvi-design-tabs { gap:6px; margin-block:20px; }
  body .nvi-design-showcase .nvi-design-tabs button { font-size:11px; padding:9px 13px; }
  body .nvi-design-showcase .nvi-design-tools { grid-template-columns:minmax(0,1fr) 124px; gap:10px; }
  body .nvi-design-showcase .nvi-design-tools :is(input,select) { font-size:16px; }
  body .nvi-gallery-devices .nvi-portfolio-grid { gap:16px 12px; }
  body .nvi-gallery-devices .nvi-gallery-card-body { padding:12px 9px; }
  body .nvi-gallery-devices .nvi-gallery-card-body h3 { font-size:14px; margin-block:7px 10px; }
  body .nvi-gallery-devices .nvi-gallery-card-meta { gap:4px; }
  body .nvi-gallery-devices .nvi-portfolio-card .nvi-collection-actions { flex-direction:column; gap:6px; }
  body .nvi-gallery-devices .nvi-portfolio-card .nvi-collection-actions a { font-size:11px; min-height:44px; padding:8px 6px; }
  body .nvi-gallery-devices .nvi-gallery-variants { flex-wrap:wrap; gap:4px; }
  body .nvi-gallery-devices .nvi-gallery-variants button,
  body .nvi-gallery-devices .nvi-gallery-create>.nvi-gallery-primary { min-height:44px; }
  body .nvi-design-showcase .nvi-gallery-results { font-size:11px; gap:12px; }
  body .nvi-gallery-devices .nvi-gallery-hero { padding:36px 20px 30px; }
  body .nvi-gallery-devices .nvi-gallery-hero h1 { font-size:30px; }
  body .nvi-gallery-devices .nvi-gallery-stats { gap:14px; }
  body .nvi-gallery-devices .nvi-gallery-stats>span+span { padding-left:14px; }
  body .nvi-gallery-devices .nvi-gallery-stats strong { font-size:22px; }
  body .nvi-gallery-devices .nvi-gallery-browser { padding-inline:16px; }
  body .nvi-site.nvi-gallery-devices .nvi-gallery-browser { padding-top:36px; padding-bottom:48px; }
}
@media(max-width:359px) {
  body .nvi-gallery-devices .nvi-portfolio-grid { grid-template-columns:minmax(0,1fr); }
  body .nvi-design-showcase .nvi-design-tools { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) {
  body .nvi-gallery-devices .nvi-portfolio-card { transition:none!important; transform:none!important; }
}

/* Lini catalogue: search, category/variant, and sorting on the same toolbar. */
body .nvi-design-showcase .nvi-design-tools--categories { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr); max-width:860px; }
body .nvi-design-showcase .nvi-design-tools label[hidden] { display:none; }
@media(max-width:700px) {
  body .nvi-design-showcase .nvi-design-tools--categories { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  body .nvi-design-showcase .nvi-design-tools--categories label:first-child { grid-column:1/-1; }
}
@media(max-width:390px) {
  body .nvi-design-showcase .nvi-design-tools--categories { grid-template-columns:minmax(0,1fr); }
}

/* Covers already contain two phones; never wrap them in extra devices. */
.nvi-dual-cover{display:block;width:100%;aspect-ratio:1;overflow:hidden}
.nvi-dual-cover>img[data-gallery-cover],body .nvi-gallery-devices img[data-cover-format="dual-screen"]{width:100%!important;height:auto!important;aspect-ratio:1!important;object-fit:contain!important;object-position:center!important;transform:none!important;box-shadow:none!important}

.arsyilm-public-catalog img[data-cover-format="dual-screen"]{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
