/* OGA V5.0.12.2 — authoritative regression-fix layer. */

/* /ARTISTI/: keep the classic card design but make the collection a true 6 x 2 grid on desktop.
   The broad selector deliberately also catches cached/legacy shortcode markup that lacks the modifier class. */
html body:is(.oga-v5122-master,.oga-v512-master) .oga-artists-page .oga-artists-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  align-items:stretch!important;
  width:min(calc(100% - 64px),1640px)!important;
  max-width:1640px!important;
  margin:clamp(38px,4vw,64px) auto 76px!important;
  gap:22px 16px!important;
  padding:0!important;
  overflow:visible!important;
}
html body:is(.oga-v5122-master,.oga-v512-master) .oga-artists-page .oga-artists-grid>*{
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  transform:none!important;
}
html body:is(.oga-v5122-master,.oga-v512-master) .oga-artists-page .oga-artist-card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
}
html body:is(.oga-v5122-master,.oga-v512-master) .oga-artists-page :is(.oga-artist-card-portrait,.oga-avatar-fallback){
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  overflow:hidden!important;
}
html body:is(.oga-v5122-master,.oga-v512-master) .oga-artists-page .oga-artist-card-portrait>img{
  width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;
}
@media(max-width:1279px){html body:is(.oga-v5122-master,.oga-v512-master) .oga-artists-page .oga-artists-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:min(calc(100% - 42px),1640px)!important}}
@media(max-width:1023px){html body:is(.oga-v5122-master,.oga-v512-master) .oga-artists-page .oga-artists-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px 14px!important}}
@media(max-width:640px){html body:is(.oga-v5122-master,.oga-v512-master) .oga-artists-page .oga-artists-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:calc(100% - 24px)!important;gap:14px 10px!important}}

/* Artist pages: neutral 10-work selection, 5 x 2 on desktop. */
html body.oga-v5122-master .oga-artist-works-showcase{
  width:min(calc(100% - 84px),1640px)!important;
  margin:64px auto 76px!important;
  padding:0!important;
}
html body.oga-v5122-master .oga-artist-works-head{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:20px!important;margin:0 0 22px!important;border-bottom:1px solid var(--oga-line,#e3ddd5)!important;padding-bottom:12px!important}
html body.oga-v5122-master .oga-artist-works-head h2{margin:6px 0 0!important;font-family:"Instrument Sans",Arial,sans-serif!important;font-size:clamp(20px,1.7vw,28px)!important;line-height:1.15!important;font-weight:500!important;letter-spacing:.02em!important}
html body.oga-v5122-master .oga-artist-works-count{font-size:11px!important;color:var(--oga-muted,#6c665f)!important;white-space:nowrap!important}
html body.oga-v5122-master .oga-artist-works-grid .oga-home-standard-products>ul.products,
html body.oga-v5122-master .oga-artist-works-grid ul.products.oga-home-standard-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:28px 18px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
html body.oga-v5122-master .oga-artist-works-grid ul.products>li.product{
  width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;float:none!important;clear:none!important;
}
html body.oga-v5122-master .oga-artist-works-actions{display:flex!important;justify-content:center!important;margin:30px 0 0!important}
html body.oga-v5122-master .oga-artist-works-actions .oga-btn{min-height:42px!important;font-size:11px!important}
@media(max-width:1199px){
 html body.oga-v5122-master .oga-artist-works-showcase{width:min(calc(100% - 42px),1640px)!important;margin-top:52px!important}
 html body.oga-v5122-master .oga-artist-works-grid :is(.oga-home-standard-products>ul.products,ul.products.oga-home-standard-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:640px){
 html body.oga-v5122-master .oga-artist-works-showcase{width:calc(100% - 24px)!important;margin-top:42px!important}
 html body.oga-v5122-master .oga-artist-works-grid :is(.oga-home-standard-products>ul.products,ul.products.oga-home-standard-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 10px!important}
 html body.oga-v5122-master .oga-artist-works-head{align-items:flex-start!important;flex-direction:column!important;gap:6px!important}
}

/* Artist media: every source lives inside the same portrait canvas. Landscape images are not stretched. */
html body.oga-v5122-master .oga-artist-work-slider--vertical .oga-artist-work-slides{aspect-ratio:4/5!important;background:#fff!important}
html body.oga-v5122-master .oga-artist-work-slider--vertical .oga-artist-work-slide{width:100%!important;height:100%!important;background:#fff!important;place-items:center!important}
html body.oga-v5122-master .oga-artist-work-slider--vertical .oga-artist-work-slide:not([hidden]){display:grid!important}
html body.oga-v5122-master .oga-artist-work-slider--vertical .oga-artist-work-slide img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#fff!important}

/* Filter final polish: EUR is display-only for this UI; Woo query still receives raw price values. */
html body.oga-v5122-master .oga-filter-price-range__head>output{font-size:10px!important;font-weight:500!important}
html body.oga-v5122-master .oga-filter-submit{
  width:100%!important;
  min-width:112px!important;
  padding:0 8px!important;
  font-family:"Instrument Sans",Arial,sans-serif!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:600!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media(min-width:1100px) and (max-width:1399px){html body.oga-v5122-master .oga-filter-submit{font-size:9px!important;min-width:102px!important;padding-inline:5px!important}}
@media(max-width:567px){html body.oga-v5122-master .oga-filter-submit{font-size:9px!important;min-width:0!important}}
