/* Collection gallery 1.8.0. Scoped to preserve other site and invitation layouts. */
.nvi-gallery-studio{--gallery-ink:#292921;--gallery-muted:#736f63;--gallery-paper:#f8f6f0;--gallery-line:#dedbd1;--gallery-green:#3e493a;background:var(--gallery-paper);color:var(--gallery-ink)}
.nvi-gallery-studio *, .nvi-gallery-studio *:before,.nvi-gallery-studio *:after{box-sizing:border-box}.nvi-gallery-studio main{overflow:clip}.nvi-gallery-studio .nvi-gallery-kicker{font:600 10px/1.5 system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--gallery-muted);margin:0 0 24px}.nvi-gallery-hero{max-width:1320px;min-height:680px;margin:auto;padding:94px 48px 66px;display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}.nvi-gallery-hero h1{font:400 clamp(36px,4.4vw,66px)/1.07 Georgia,serif;letter-spacing:-.045em;max-width:640px;margin:0 0 26px;color:var(--gallery-ink)}.nvi-gallery-hero h1 em{font-weight:400;color:#818967}.nvi-gallery-intro{max-width:420px;font:400 14px/1.9 system-ui,sans-serif;color:var(--gallery-muted);margin:0 0 30px}.nvi-gallery-studio .nvi-gallery-primary{display:inline-flex;align-items:center;justify-content:center;gap:35px;padding:16px 23px;min-height:50px;background:var(--gallery-green);border:1px solid var(--gallery-green);border-radius:4px;color:#fff;text-decoration:none;font:500 12px/1.4 system-ui,sans-serif;cursor:pointer;transition:background .2s,translate .2s}.nvi-gallery-studio .nvi-gallery-primary:hover{background:#293424;color:white;translate:0 -2px}.nvi-gallery-primary>span{font-size:20px;font-weight:400}.nvi-gallery-stats{display:flex;flex-wrap:wrap;gap:24px;margin-top:42px;padding-top:26px;border-top:1px solid var(--gallery-line);max-width:440px}.nvi-gallery-stats>span{font:11px/1.5 system-ui;color:var(--gallery-muted)}.nvi-gallery-stats strong{display:block;font:400 28px/1.25 Georgia,serif;color:var(--gallery-ink);margin-bottom:4px}.nvi-gallery-stats>span+span{border-left:1px solid var(--gallery-line);padding-left:24px}.nvi-gallery-hero__art{position:relative;min-height:470px;isolation:isolate}.nvi-gallery-orbit{position:absolute;inset:14px 20px 38px;border:1px solid #d9d8c8;border-radius:50%;rotate:-20deg;z-index:-1}.nvi-gallery-orbit:after{content:'';position:absolute;inset:20px -35px;border:1px solid #e4e0d6;border-radius:50%;rotate:36deg}.nvi-gallery-cover{position:absolute;display:block;background:white;padding:9px 9px 0;border:1px solid #eeebe3;border-radius:5px;box-shadow:0 25px 40px #2e271421;text-decoration:none;width:42%;transition:scale .4s;animation:nvi-cover-float 7s ease-in-out infinite}.nvi-gallery-cover:hover{scale:1.035;z-index:5}.nvi-gallery-cover img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top;background:#e4ded0}.nvi-gallery-cover>span{display:block;font:10px/1.5 system-ui;color:#3f3a32;padding:12px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nvi-gallery-cover--0{top:105px;left:0;rotate:-12deg;animation-delay:-2s}.nvi-gallery-cover--1{top:28px;left:29%;z-index:2;rotate:2deg}.nvi-gallery-cover--2{top:127px;right:0;rotate:13deg;animation-delay:-4s}.nvi-gallery-art-caption{position:absolute;left:0;right:0;bottom:0;text-align:center;color:#777e60;font:italic 18px/1.5 Georgia,serif}.nvi-gallery-art-caption span{margin-right:8px}.nvi-gallery-custom-cover{display:block;max-height:470px;max-width:100%;margin:auto;border-radius:8px;object-fit:contain}.nvi-gallery-ribbon{padding:24px 30px;display:flex;align-items:center;justify-content:center;gap:clamp(22px,5vw,85px);border-top:1px solid var(--gallery-line);border-bottom:1px solid var(--gallery-line);color:#6e715d;background:#f0eee5;font:500 10px/1.5 system-ui;letter-spacing:.19em}.nvi-gallery-ribbon i{font-size:16px;font-style:normal;color:#9a9b79}.nvi-gallery-studio .nvi-gallery-browser{max-width:1320px;margin:auto;padding:78px 48px 90px}.nvi-gallery-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}.nvi-gallery-section-heading .nvi-gallery-kicker{margin-bottom:14px}.nvi-gallery-section-heading h2{font:400 clamp(28px,3.4vw,44px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:0;color:var(--gallery-ink)}.nvi-gallery-section-heading>p{font:12px/1.8 system-ui;color:var(--gallery-muted);margin:0}.nvi-gallery-collection-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 26px}.nvi-gallery-collection-tabs button{background:transparent;color:var(--gallery-muted);border:1px solid var(--gallery-line);border-radius:30px;padding:11px 20px;font:500 12px/1.5 system-ui;cursor:pointer;transition:background .2s,color .2s}.nvi-gallery-collection-tabs button[aria-pressed=true]{background:var(--gallery-ink);border-color:var(--gallery-ink);color:#fff}.nvi-gallery-studio .nvi-collection-toolbar{display:grid;grid-template-columns:1.8fr 1fr 1.2fr .8fr;gap:18px;align-items:end;margin:0;background:transparent}.nvi-gallery-studio .nvi-collection-toolbar label{min-width:0;font:500 10px/1.5 system-ui;letter-spacing:.03em;color:var(--gallery-muted);gap:8px}.nvi-gallery-studio .nvi-collection-toolbar input,.nvi-gallery-studio .nvi-collection-toolbar select{border-color:var(--gallery-line);border-radius:4px;min-height:46px;font:12px/1.5 system-ui;background:#fffefd;padding:11px 12px;letter-spacing:0}.nvi-gallery-results{display:flex;justify-content:space-between;align-items:center;padding:24px 0 20px;color:var(--gallery-muted);font:11px/1.5 system-ui}.nvi-gallery-results button{border:0;background:none;color:var(--gallery-muted);text-decoration:underline;text-underline-offset:3px;font:inherit;padding:6px 0;cursor:pointer}.nvi-gallery-studio .nvi-portfolio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px}.nvi-gallery-studio .nvi-portfolio-card{min-width:0;margin:0;border:1px solid var(--gallery-line);background:#fffefd;border-radius:6px;overflow:hidden;box-shadow:none;transition:box-shadow .3s,translate .3s}.nvi-gallery-studio .nvi-portfolio-card:hover{translate:0 -5px;box-shadow:0 15px 35px #25231612}.nvi-gallery-studio .nvi-portfolio-card__visual{position:relative;display:block;height:auto;min-height:0;aspect-ratio:4/5;background:#ece9e1!important;padding:18px;overflow:hidden}.nvi-gallery-studio .nvi-portfolio-card__visual:before,.nvi-gallery-studio .nvi-portfolio-card__visual:after{display:none}.nvi-gallery-studio .nvi-portfolio-card__visual img{position:static;display:block;inset:auto;width:100%;height:100%;object-fit:contain;object-position:center;box-shadow:0 8px 17px #2c251126;transition:scale .7s cubic-bezier(.2,.65,.2,1)}.nvi-gallery-studio .nvi-portfolio-card:hover img{scale:1.035}.nvi-gallery-studio .nvi-gallery-card-number{position:absolute;top:11px;left:11px;bottom:auto;right:auto;padding:4px 7px;min-width:28px;border-radius:3px;background:#fffef7e6;color:#797463;font:9px/1.4 system-ui;letter-spacing:.1em;z-index:2}.nvi-gallery-studio .nvi-gallery-card-preview{position:absolute;left:28px;right:28px;bottom:27px;top:auto;display:flex;align-items:center;justify-content:space-between;padding:12px;background:#fffef5ed;color:#353929;font:500 11px/1.5 system-ui;opacity:0;translate:0 8px;transition:opacity .25s,translate .25s}.nvi-gallery-studio .nvi-portfolio-card:hover .nvi-gallery-card-preview,.nvi-gallery-studio .nvi-portfolio-card:focus-within .nvi-gallery-card-preview{opacity:1;translate:0 0}.nvi-gallery-studio .nvi-gallery-card-body{padding:18px 17px 16px}.nvi-gallery-card-meta{display:flex;justify-content:space-between;gap:6px;align-items:center;color:var(--gallery-muted)}.nvi-gallery-card-meta small{font:9px/1.5 system-ui}.nvi-gallery-card-meta>span{font:8px/1.5 system-ui;letter-spacing:.025em;border:1px solid #dedbd0;border-radius:3px;padding:2px 4px;white-space:nowrap}.nvi-gallery-studio .nvi-gallery-card-body h3{font:400 21px/1.3 Georgia,serif;letter-spacing:-.02em;color:var(--gallery-ink);margin:11px 0 17px;overflow-wrap:anywhere;min-height:2.6em}.nvi-gallery-studio .nvi-portfolio-card .nvi-collection-actions{border-top:1px solid #ebe8df;padding-top:14px;margin:0;gap:10px;justify-content:space-between}.nvi-gallery-studio .nvi-portfolio-card .nvi-collection-actions a{font:500 10px/1.5 system-ui;color:#454a37;text-decoration:none;padding:4px 0}.nvi-gallery-studio .nvi-portfolio-card .nvi-collection-actions a:last-child{font-weight:650}.nvi-gallery-studio .nvi-collection-more{margin:44px 0 0}.nvi-gallery-empty{text-align:center;padding:65px 20px;border:1px dashed var(--gallery-line);border-radius:8px}.nvi-gallery-empty>span{font-size:35px}.nvi-gallery-empty h3{font:26px/1.4 Georgia}.nvi-gallery-empty p{font:13px/1.7 system-ui;color:var(--gallery-muted)}.nvi-gallery-cta{padding:80px 30px;text-align:center;background:#eaece0;border-top:1px solid #d8dcc7}.nvi-gallery-cta h2{font:400 clamp(30px,3.2vw,44px)/1.2 Georgia,serif;letter-spacing:-.03em;max-width:700px;margin:0 auto 30px}.nvi-gallery-studio :is(a,button,input,select):focus-visible{outline:2px solid #859369;outline-offset:4px}.nvi-admin-collection-head{padding:32px;margin:24px 0;background:#eaece0;border:1px solid #d8dcc7;border-radius:12px}.nvi-admin-collection-head h1{font:36px/1.2 Georgia,serif!important;max-width:600px;margin:0 0 18px}.nvi-collection-admin.nvi-gallery-studio{padding:0 20px 50px;background:transparent}.nvi-collection-admin .nvi-collection-grid{gap:24px}.nvi-collection-admin .nvi-collection-card{border-radius:9px}.nvi-collection-admin .nvi-collection-card__cover{display:block;padding:18px;background:#eeeae0}.nvi-collection-admin .nvi-collection-card img{height:auto;aspect-ratio:3/4;object-fit:contain;box-shadow:0 8px 18px #30251b16}.nvi-collection-admin .nvi-collection-card__body h2{font:22px/1.3 Georgia;margin-bottom:15px}.nvi-collection-admin .nvi-collection-card .button-primary{background:#3e493a;border-color:#3e493a;border-radius:5px;padding:6px 12px}.nvi-collection-admin .nvi-collection-toolbar{grid-template-columns:2fr 1fr 1fr auto;margin-bottom:25px}
@keyframes nvi-cover-float{0%,100%{translate:0 0}50%{translate:0 -10px}}
@media(max-width:1100px){.nvi-gallery-hero{padding:70px 32px;gap:25px;min-height:580px}.nvi-gallery-hero__art{min-height:400px}.nvi-gallery-studio .nvi-gallery-browser{padding:60px 32px}.nvi-gallery-studio .nvi-portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nvi-gallery-cover--0{top:100px}.nvi-gallery-cover--1{top:50px}.nvi-gallery-cover--2{top:110px}}
@media(max-width:767px){.nvi-gallery-hero{grid-template-columns:1fr;padding:52px 24px 30px;gap:20px}.nvi-gallery-hero h1{font-size:46px;max-width:550px}.nvi-gallery-hero__art{width:100%;max-width:470px;margin:auto;min-height:420px}.nvi-gallery-stats{margin-top:28px}.nvi-gallery-ribbon{gap:15px;font-size:8px;letter-spacing:.1em;flex-wrap:wrap;padding:20px}.nvi-gallery-ribbon span:last-child,.nvi-gallery-ribbon i:last-of-type{display:none}.nvi-gallery-studio .nvi-gallery-browser{padding:48px 20px}.nvi-gallery-section-heading{display:block}.nvi-gallery-section-heading>p{margin-top:15px}.nvi-gallery-studio .nvi-collection-toolbar{grid-template-columns:1fr 1fr;gap:14px}.nvi-gallery-studio .nvi-collection-toolbar .nvi-gallery-search{grid-column:1/-1}.nvi-gallery-studio .nvi-collection-toolbar label:last-child{grid-column:1/-1}.nvi-gallery-studio .nvi-portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.nvi-gallery-studio .nvi-portfolio-card__visual{padding:11px}.nvi-gallery-studio .nvi-gallery-card-body{padding:14px 11px}.nvi-gallery-card-meta{display:block}.nvi-gallery-card-meta>span{display:inline-block;margin-top:5px}.nvi-gallery-studio .nvi-gallery-card-body h3{font-size:18px;min-height:2.6em}.nvi-gallery-studio .nvi-portfolio-card .nvi-collection-actions{gap:5px}.nvi-gallery-studio .nvi-gallery-card-preview{display:none}.nvi-gallery-collection-tabs{gap:6px}.nvi-gallery-collection-tabs button{font-size:11px;padding:10px 14px}.nvi-admin-collection-head{padding:25px}.nvi-collection-admin.nvi-gallery-studio{padding:0 0 30px}}
@media(max-width:390px){.nvi-gallery-hero h1{font-size:40px}.nvi-gallery-hero__art{min-height:360px}.nvi-gallery-hero{padding-inline:20px}.nvi-gallery-stats{gap:14px}.nvi-gallery-stats>span+span{padding-left:14px}.nvi-gallery-studio .nvi-gallery-browser{padding-inline:14px}.nvi-gallery-studio .nvi-portfolio-card .nvi-collection-actions{flex-direction:column;align-items:flex-start}.nvi-gallery-collection-tabs button{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.nvi-gallery-studio *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.nvi-gallery-studio .nvi-cover-unavailable:after{content:attr(data-cover-message);display:block!important;position:absolute;inset:40% 12px auto!important;color:#686957;font:12px/1.6 system-ui;text-align:center;background:transparent!important;opacity:1!important}

/* Premium catalog 1.12.0 — original covers, grouped variants and readable mobile cards. */
.nvi-gallery-premium{--gallery-paper:#f8f6f0;--gallery-green:#3e493a}
.nvi-gallery-premium .nvi-gallery-hero{min-height:640px;padding-top:72px;padding-bottom:64px}
.nvi-gallery-premium .nvi-gallery-cover img{height:auto;object-fit:contain;background:#f5f2ea}
.nvi-gallery-premium .nvi-gallery-cover{box-shadow:0 20px 45px #342d1914}
.nvi-gallery-premium .nvi-gallery-hero h1{font-size:clamp(42px,4.5vw,68px);line-height:1.12}
.nvi-gallery-premium .nvi-gallery-browser{padding-top:76px}
.nvi-gallery-kind-tabs{display:flex;flex-wrap:wrap;gap:26px;border-bottom:1px solid var(--gallery-line);margin-bottom:26px}
.nvi-gallery-kind-tabs button{display:flex;align-items:center;gap:9px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:0 0 16px;color:var(--gallery-muted);font:500 13px/1.5 system-ui;cursor:pointer}
.nvi-gallery-kind-tabs button[aria-pressed=true]{border-color:var(--gallery-green);color:var(--gallery-green)}
.nvi-gallery-kind-tabs span{background:#eaece0;border-radius:12px;padding:2px 7px;font-size:10px}
.nvi-gallery-premium .nvi-gallery-collection-tabs{margin-bottom:22px;gap:10px}
.nvi-gallery-premium .nvi-gallery-collection-tabs button{background:#fffdf8}
.nvi-gallery-premium .nvi-gallery-collection-tabs button[aria-pressed=true]{background:var(--gallery-green);border-color:var(--gallery-green)}
.nvi-gallery-premium .nvi-collection-toolbar{grid-template-columns:2fr 1.15fr 1fr;gap:18px;padding:20px;border:1px solid #e5e1d7;border-radius:12px;background:#f0eee6}
.nvi-gallery-premium .nvi-collection-toolbar .nvi-gallery-collection-select{display:none}
.nvi-gallery-premium .nvi-collection-toolbar label{display:flex;flex-direction:column}
.nvi-gallery-premium .nvi-collection-toolbar input,.nvi-gallery-premium .nvi-collection-toolbar select{width:100%;max-width:none;color:#3e4135;border:1px solid #dedbd1;box-shadow:none}
.nvi-gallery-premium .nvi-portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 26px}
.nvi-gallery-premium .nvi-portfolio-card{display:flex;flex-direction:column;border-radius:12px;border-color:#e2dfd4;background:#fffefb;box-shadow:0 4px 18px #342d1904}
.nvi-gallery-premium .nvi-portfolio-card__visual{flex:none;aspect-ratio:4/5;padding:26px;background:radial-gradient(ellipse at 50% 25%,#f8f5ec,#e9e4d8)!important;border-bottom:1px solid #e8e2d5}
.nvi-gallery-premium .nvi-portfolio-card__visual img{object-fit:contain;box-shadow:none;filter:drop-shadow(0 10px 12px #332a1922);border-radius:3px}
.nvi-gallery-premium .nvi-gallery-card-number{top:14px;left:14px;background:#fffcf3e8;backdrop-filter:blur(6px);border:1px solid #ffffff80;border-radius:30px;padding:5px 8px}
.nvi-gallery-premium .nvi-gallery-card-body{display:flex;flex-direction:column;flex:1;padding:24px}
.nvi-gallery-premium .nvi-gallery-card-meta{display:flex;align-items:center}
.nvi-gallery-premium .nvi-gallery-card-meta small{font-size:10px;letter-spacing:.01em}
.nvi-gallery-premium .nvi-gallery-card-meta>span{font-size:9px;padding:3px 7px;border-radius:20px;background:#f6f5ed;border-color:#e4e2d5;margin:0}
.nvi-gallery-premium .nvi-gallery-card-body h3{font-size:26px;line-height:1.25;min-height:0;margin:13px 0 20px}
.nvi-gallery-premium .nvi-gallery-card-body>[data-variant-panel]{margin-top:auto}
.nvi-gallery-premium .nvi-portfolio-card .nvi-collection-actions{display:flex;align-items:center;flex-direction:row;gap:10px;padding-top:18px}
.nvi-gallery-premium .nvi-portfolio-card .nvi-collection-actions a{font-size:12px;line-height:1.5;padding:9px 0}
.nvi-gallery-premium .nvi-portfolio-card .nvi-collection-actions .nvi-gallery-choose{padding:10px 15px;border-radius:5px;color:white;background:var(--gallery-green)}
.nvi-gallery-variants{display:flex;gap:6px;padding:4px;background:#f0f0e7;border-radius:7px;margin:0 0 20px}
.nvi-gallery-variants button{flex:1;min-height:38px;padding:9px 12px;border:1px solid transparent;border-radius:5px;background:transparent;color:#676d58;font:600 11px/1.4 system-ui;letter-spacing:.035em;cursor:pointer}
.nvi-gallery-variants button[aria-pressed=true]{background:#fffefb;border-color:#dce0d1;color:#36412f;box-shadow:0 2px 5px #29321b0b}
.nvi-gallery-variants button:focus-visible{outline:2px solid #859369;outline-offset:2px}
.nvi-gallery-premium [data-theme-card][hidden],.nvi-gallery-premium [data-theme-empty][hidden],.nvi-gallery-premium [data-theme-more][hidden],[data-variant-panel][hidden]{display:none!important}
.nvi-gallery-guide{display:flex;justify-content:center;align-items:center;gap:28px;padding:30px 0 0;margin:38px 0 0;border-top:1px solid var(--gallery-line);font:11px/1.6 system-ui;color:#8b8d77}
.nvi-gallery-guide b{font-weight:500;color:#626953;margin-left:8px}.nvi-gallery-guide i{font-style:normal}
.nvi-gallery-premium .nvi-gallery-cta{padding:90px 24px}
.nvi-gallery-premium .nvi-cover-unavailable:after{inset:auto 15px 20px!important;background:#fffdf5ed!important;padding:10px;border-radius:4px}
.nvi-collection-admin.nvi-gallery-premium{max-width:1360px;padding:0 28px 50px;background:var(--gallery-paper)}
.nvi-gallery-premium .nvi-admin-collection-head{padding:48px;background:linear-gradient(110deg,#eaece0,#f5f3e9);margin-top:24px}
.nvi-gallery-premium .nvi-admin-collection-head h1{font-size:48px!important}.nvi-admin-collection-head em{font-weight:400;color:#818967}
.nvi-gallery-create{margin-top:16px}.nvi-gallery-create>.nvi-gallery-primary{width:100%;font-size:12px;gap:12px}
.nvi-gallery-create details{margin-top:14px;font:11px/1.7 system-ui;color:#747869}.nvi-gallery-create summary{cursor:pointer}.nvi-gallery-create details a{color:#45543a}.nvi-gallery-create details[open] summary{margin-bottom:10px}
.nvi-attari-product__image img[data-gallery-cover]{object-fit:contain}
@media(max-width:1020px){.nvi-gallery-premium .nvi-portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nvi-gallery-premium .nvi-gallery-hero{padding-inline:32px;min-height:590px}.nvi-gallery-premium .nvi-gallery-hero h1{font-size:48px}}
@media(max-width:767px){.nvi-gallery-premium .nvi-gallery-hero{padding:48px 24px 30px}.nvi-gallery-premium .nvi-gallery-hero h1{font-size:46px}.nvi-gallery-premium .nvi-gallery-browser{padding:48px 20px}.nvi-gallery-premium .nvi-collection-toolbar{grid-template-columns:1fr 1fr;padding:16px;gap:14px}.nvi-gallery-premium .nvi-collection-toolbar label:last-child{grid-column:auto}.nvi-gallery-premium .nvi-gallery-card-body{padding:20px}.nvi-gallery-premium .nvi-portfolio-card__visual{padding:20px}.nvi-gallery-guide{gap:15px;flex-wrap:wrap}.nvi-gallery-guide i{display:none}.nvi-gallery-kind-tabs{gap:20px}.nvi-collection-admin.nvi-gallery-premium{padding:0 12px 36px}.nvi-gallery-premium .nvi-admin-collection-head{padding:28px}}
@media(max-width:540px){.nvi-gallery-premium .nvi-portfolio-grid{grid-template-columns:minmax(0,1fr);gap:24px}.nvi-gallery-premium .nvi-gallery-hero h1{font-size:42px}.nvi-gallery-premium .nvi-gallery-hero__art{min-height:370px}.nvi-gallery-premium .nvi-gallery-collection-tabs{gap:7px}.nvi-gallery-premium .nvi-gallery-collection-tabs button{font-size:11px;padding:10px 13px;min-height:40px}.nvi-gallery-premium .nvi-gallery-card-body h3{font-size:27px}.nvi-gallery-premium .nvi-gallery-card-body{padding:22px}.nvi-gallery-kind-tabs button{font-size:12px}.nvi-gallery-premium .nvi-gallery-cta{padding:60px 24px}}
@media(max-width:767px){
.nvi-gallery-studio.nvi-gallery-premium .nvi-collection-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
.nvi-gallery-studio.nvi-gallery-premium .nvi-collection-toolbar>label{grid-column:auto}
.nvi-gallery-studio.nvi-gallery-premium .nvi-collection-toolbar>.nvi-gallery-search{grid-column:1/-1}
.nvi-gallery-premium .nvi-collection-toolbar input,.nvi-gallery-premium .nvi-collection-toolbar select{font-size:16px}
}
@media(max-width:540px){.nvi-gallery-premium .nvi-gallery-hero h1{font-size:36px}.nvi-gallery-premium .nvi-gallery-intro{font-size:13px}}

/* Long full-page screenshots show the opening design instead of a tiny strip. */
.nvi-gallery-premium .nvi-portfolio-card__visual img[data-cover-layout=page],.nvi-attari-product__image img[data-cover-layout=page]{object-fit:cover;object-position:top}
body .nvi-site.nvi-gallery-premium .nvi-gallery-browser{padding-top:76px;padding-bottom:80px}
@media(max-width:767px){body .nvi-site.nvi-gallery-premium .nvi-gallery-browser{padding-top:48px;padding-bottom:48px}}

/* Core 1.19: explicit photo variants. */
.nvi-gallery-photo-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 14px}.nvi-gallery-photo-tabs button{border:1px solid #cdd3c0;border-radius:99px;padding:10px 18px;min-height:42px;background:#fff;color:#39452e;cursor:pointer;font:600 12px/1.4 system-ui}.nvi-gallery-photo-tabs button[aria-pressed="true"]{background:#39452e;color:#fff;border-color:#39452e}.nvi-gallery-photo-tabs button:focus-visible{outline:2px solid #596f43;outline-offset:3px}

/* Core 1.27.4: seven categories and persistent catalogue codes. */
.nvi-gallery-studio [hidden]{display:none!important}
.nvi-gallery-studio .nvi-gallery-category-tabs{margin:24px 0 20px;gap:8px}
.nvi-gallery-studio .nvi-gallery-category-tabs button{display:inline-flex;align-items:center;gap:8px}
.nvi-gallery-category-tabs [data-category-count]{font-size:10px;padding:2px 6px;border-radius:99px;background:#e9ecdf;color:#4f5b47;min-width:22px;text-align:center}
.nvi-gallery-category-tabs [aria-pressed="true"] [data-category-count]{background:#ffffff25;color:#fff}
.nvi-gallery-studio .nvi-collection-toolbar,.nvi-gallery-studio .nvi-design-tools{grid-template-columns:minmax(0,1fr) minmax(180px,240px)}
.nvi-gallery-studio .nvi-gallery-card-number{font:600 11px/1.4 system-ui,sans-serif;letter-spacing:.06em;padding:7px 10px;border-radius:4px;min-width:76px;background:#fff;color:#3e493a;box-shadow:0 2px 8px #00000010}
@media(max-width:767px){
 .nvi-gallery-studio .nvi-collection-toolbar,.nvi-gallery-studio .nvi-design-tools{grid-template-columns:1fr}
 .nvi-gallery-studio .nvi-gallery-category-tabs{gap:6px}
 .nvi-gallery-studio .nvi-gallery-category-tabs button{padding:10px 12px;font-size:11px;gap:6px}
}
