.stbd-am-wrap,.stbd-am-single-wrap{max-width:1200px;margin:0 auto;padding:24px 16px;box-sizing:border-box}
body.stbd-am-modal-open{overflow:hidden}
.stbd-am-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:0 0 24px;align-items:end}
.stbd-am-filter{display:flex;flex-direction:column;gap:6px;min-width:0}
.stbd-am-filter span{font-size:13px;font-weight:600;color:#333}
.stbd-am-filter input,.stbd-am-filter select,.stbd-am-inquiry-form input,.stbd-am-inquiry-form textarea{padding:12px 14px;border:1px solid #d8d8d8;border-radius:12px;background:#fff;width:100%;box-sizing:border-box}
.stbd-am-filter__reset-all{padding:12px 16px;border:1px solid #d8d8d8;border-radius:12px;background:#fff;cursor:pointer;white-space:nowrap;height:48px}
.stbd-am-grid{display:grid;grid-template-columns:repeat(var(--stbd-cols,3),minmax(0,1fr));gap:24px}
.stbd-am-wrap[data-columns="2"] .stbd-am-grid{--stbd-cols:2}.stbd-am-wrap[data-columns="3"] .stbd-am-grid{--stbd-cols:3}.stbd-am-wrap[data-columns="4"] .stbd-am-grid{--stbd-cols:4}
.stbd-am-no-results{padding:18px 20px;border:1px dashed #d8d8d8;border-radius:14px;background:#fafafa;color:#555;margin-top:8px}
.stbd-am-card{background:#fff;border:1px solid #ececec;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:transform .2s ease,box-shadow .2s ease}.stbd-am-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(0,0,0,.08)}
.stbd-am-card.is-hidden{display:none}
.stbd-am-card__image{display:block;aspect-ratio:1/1;background:#f7f7f7}
.stbd-am-card__image img,.stbd-am-single__main-image img,.stbd-am-qv__gallery-main img,.stbd-am-related-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.stbd-am-card__placeholder{display:flex;align-items:center;justify-content:center;height:100%;min-height:260px;color:#b42318;font-weight:600;background:#fafafa}
.stbd-am-card__body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1}
.stbd-am-card__title{margin:0;font-size:22px;line-height:1.2}.stbd-am-card__title a{text-decoration:none;color:#111}
.stbd-am-card__detail,.stbd-am-card__excerpt{color:#555;font-size:14px;line-height:1.55}.stbd-am-card__price{font-weight:700;margin-top:4px;font-size:28px;color:#222}
.stbd-am-card__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:10px}
.stbd-am-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;background:#111;color:#fff;border-radius:12px;text-decoration:none;border:0;cursor:pointer;line-height:1.2;font-weight:600;transition:opacity .2s ease}.stbd-am-button:hover{opacity:.92;color:#fff}.stbd-am-button--secondary{background:#f3f3f3;color:#111}
.stbd-am-modal,.stbd-am-inquiry-modal{position:fixed;inset:0;z-index:2147483646}.stbd-am-modal__overlay,.stbd-am-inquiry-modal__overlay{position:absolute;inset:0;background:rgba(12,12,12,.72);backdrop-filter:blur(2px)}
.stbd-am-modal__dialog,.stbd-am-inquiry-modal__dialog{position:relative;background:#fff;width:min(1100px,calc(100vw - 28px));margin:4vh auto;padding:0;border-radius:22px;max-height:92vh;overflow:auto;box-sizing:border-box;z-index:1;box-shadow:0 30px 80px rgba(0,0,0,.32)}
.stbd-am-inquiry-modal__dialog{width:min(760px,calc(100vw - 28px));padding:28px}.stbd-am-modal__close,.stbd-am-inquiry-modal__close{position:absolute;top:12px;right:16px;font-size:28px;background:#fff;border:none;cursor:pointer;line-height:1;border-radius:999px;width:40px;height:40px;z-index:2;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.stbd-am-qv{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:stretch}
.stbd-am-qv__gallery-wrap{background:#f8f8f8;padding:24px;display:flex;flex-direction:column;gap:14px;min-height:100%}
.stbd-am-qv__gallery-main{background:#fff;border-radius:18px;overflow:hidden;aspect-ratio:1/1;box-shadow:inset 0 0 0 1px #efefef}
.stbd-am-qv__gallery-main iframe,.stbd-am-qv__gallery-main video,.stbd-am-video iframe,.stbd-am-video video,.stbd-am-single__video iframe,.stbd-am-single__video video{width:100%;height:100%;display:block;border:0}
.stbd-am-video,.stbd-am-single__video{aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000}.stbd-am-qv__gallery-thumbs{display:flex;gap:10px;flex-wrap:wrap}
.stbd-am-qv__gallery-thumbs button{width:72px;height:72px;border:1px solid #ddd;background:#fff;border-radius:12px;padding:4px;cursor:pointer;overflow:hidden}.stbd-am-qv__gallery-thumbs button.is-active{border-color:#111;box-shadow:0 0 0 2px #111 inset}.stbd-am-qv__gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.stbd-am-qv__content{padding:34px}.stbd-am-qv__eyebrow{display:inline-block;padding:7px 10px;border-radius:999px;background:#f2f2f2;font-size:12px;font-weight:700;color:#444;letter-spacing:.02em;text-transform:uppercase}.stbd-am-qv__content h2{margin:14px 0 14px;font-size:40px;line-height:1.05}
.stbd-am-qv__meta{display:grid;gap:12px;margin-bottom:22px;font-size:16px;color:#575757}.stbd-am-qv__meta strong{color:#111}.stbd-am-qv__text{display:grid;gap:12px;font-size:15px;color:#575757;line-height:1.65}.stbd-am-qv__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.stbd-am-single{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);gap:32px;align-items:start}.stbd-am-single__media{display:grid;gap:18px}.stbd-am-single__main-image{border-radius:18px;overflow:hidden;background:#f7f7f7;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}.stbd-am-single__main-image.is-video{aspect-ratio:16/9;background:#000}.stbd-am-single__thumbs{display:flex;gap:12px;flex-wrap:wrap}.stbd-am-single__thumb{width:90px;height:90px;object-fit:cover;border-radius:12px;border:1px solid #ddd;background:#fff;padding:0;overflow:hidden;cursor:pointer}.stbd-am-single__thumb.is-active{border-color:#111;box-shadow:0 0 0 2px #111 inset}.stbd-am-single__thumb img{width:100%;height:100%;object-fit:cover;border-radius:12px}.stbd-am-single__video-thumb{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:14px;font-weight:700;background:#111;color:#fff}
.stbd-am-single__title{margin:0 0 18px;font-size:46px;line-height:1.05}.stbd-am-single__meta-grid{display:grid;gap:12px;margin-bottom:24px;color:#555}.stbd-am-single__description,.stbd-am-single__supporting{font-size:16px;line-height:1.7;color:#4e4e4e}.stbd-am-single__supporting h3{font-size:28px;margin:18px 0 8px;color:#111}.stbd-am-single__actions{margin-top:18px}
.stbd-am-related-wrap{margin-top:46px}.stbd-am-related-wrap h2{font-size:34px;margin:0 0 18px}.stbd-am-related--grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.stbd-am-related--carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:20px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.stbd-am-related-card{background:#fff;border:1px solid #ececec;border-radius:18px;overflow:hidden;min-width:0;scroll-snap-align:start}.stbd-am-related-card__image{display:block;aspect-ratio:1/1;background:#f7f7f7}.stbd-am-related-card__body{padding:14px}.stbd-am-related-card__body h3{margin:0 0 8px;font-size:18px;line-height:1.2}.stbd-am-related-card__body a{text-decoration:none;color:#111}.stbd-am-related-card__price{font-weight:700}
.stbd-am-inquiry-modal__header{margin-bottom:20px}.stbd-am-inquiry-modal__header h3{margin:0 0 6px;font-size:34px}.stbd-am-inquiry-modal__intro,.stbd-am-inquiry-modal__artwork{color:#555}.stbd-am-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.stbd-am-inquiry-form label{display:grid;gap:8px;color:#555;font-weight:600}.stbd-am-inquiry-form__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.stbd-am-inquiry-form__response{margin-top:16px;font-weight:700}.stbd-am-inquiry-form__response.is-success{color:#0a7d4f}.stbd-am-inquiry-form__response.is-error{color:#b42318}
@media (max-width: 1100px){.stbd-am-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width: 980px){.stbd-am-grid,.stbd-am-related--grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stbd-am-qv,.stbd-am-single{grid-template-columns:1fr}.stbd-am-qv__content h2,.stbd-am-single__title{font-size:34px}}
@media (max-width: 767px){.stbd-am-wrap,.stbd-am-single-wrap{padding:18px 14px}.stbd-am-filters{grid-template-columns:1fr}.stbd-am-grid,.stbd-am-related--grid{grid-template-columns:1fr}.stbd-am-form-grid{grid-template-columns:1fr}.stbd-am-qv__content{padding:22px}.stbd-am-modal__dialog,.stbd-am-inquiry-modal__dialog{width:min(100vw - 16px,1000px);margin:2vh auto}.stbd-am-qv__content h2,.stbd-am-single__title{font-size:28px}.stbd-am-related--carousel{grid-auto-columns:minmax(78vw,1fr)}}

.stbd-am-single__main-image iframe,.stbd-am-single__main-image video{width:100%;height:100%;display:block;border:0;}

/* v1.7 stability overrides */
.stbd-am-related--carousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px}
.stbd-am-related--carousel .stbd-am-related-card{flex:0 0 220px}
.stbd-am-single__thumbs{display:flex;gap:12px;flex-wrap:wrap}
.stbd-am-single__thumb{display:flex;align-items:center;justify-content:center}
.stbd-am-single__main-image img{max-width:100%;max-height:100%}
@media (max-width:767px){
  .stbd-am-related--carousel .stbd-am-related-card{flex:0 0 78vw}
  .stbd-am-single__thumb{width:72px;height:72px}
}


/* v1.7.1 related artwork slider */
.stbd-am-related-slider{position:relative}
.stbd-am-related-slider__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;border-radius:999px;border:1px solid #d8d8d8;background:#fff;color:#111;box-shadow:0 8px 18px rgba(0,0,0,.08);cursor:pointer;display:flex;align-items:center;justify-content:center}
.stbd-am-related-slider__nav--prev{left:-10px}
.stbd-am-related-slider__nav--next{right:-10px}
.stbd-am-related-slider__nav[disabled]{opacity:.45;cursor:not-allowed}
.stbd-am-related--carousel{display:flex;gap:20px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;padding:4px 10px 12px;scrollbar-width:none;-ms-overflow-style:none}
.stbd-am-related--carousel::-webkit-scrollbar{display:none}
.stbd-am-related--carousel .stbd-am-related-card{flex:0 0 calc((100% - 80px)/5)}
@media (max-width:1200px){.stbd-am-related--carousel .stbd-am-related-card{flex-basis:calc((100% - 60px)/4)}}
@media (max-width:980px){.stbd-am-related-slider__nav{display:none}.stbd-am-related--carousel .stbd-am-related-card{flex-basis:calc((100% - 20px)/2)}}
@media (max-width:767px){.stbd-am-related--carousel .stbd-am-related-card{flex-basis:78%}}


.stbd-am-pagination{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;margin:28px 0 8px}
.stbd-am-pagination__item a,
.stbd-am-pagination__item span{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:42px;height:42px;padding:0 14px;border:1px solid #d9d9d9;
    border-radius:999px;background:#fff;color:#111;text-decoration:none;font-weight:600
}
.stbd-am-pagination__item .current{background:#111;color:#fff;border-color:#111}
.stbd-am-pagination__item a:hover{background:#f4f4f4}
@media (max-width:767px){
    .stbd-am-pagination{gap:8px}
    .stbd-am-pagination__item a,
    .stbd-am-pagination__item span{min-width:38px;height:38px;padding:0 12px;font-size:14px}
}


/* v1.7.4 responsive related artworks */
.stbd-am-related-wrap{overflow:hidden}
.stbd-am-related--grid{align-items:stretch}
.stbd-am-related--carousel{
  display:flex !important;
  gap:20px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding:0 4px 14px;
  scrollbar-width:thin;
}
.stbd-am-related--carousel .stbd-am-related-card{
  flex:0 0 calc(20% - 16px);
  min-width:240px;
}
.stbd-am-related-card{height:100%;display:flex;flex-direction:column}
.stbd-am-related-card__body{display:flex;flex-direction:column;gap:10px;flex:1}
@media (max-width: 1200px){
  .stbd-am-related--carousel .stbd-am-related-card{flex-basis:calc(25% - 15px);min-width:220px}
}
@media (max-width: 980px){
  .stbd-am-related--carousel .stbd-am-related-card{flex-basis:calc(50% - 10px);min-width:260px}
  .stbd-am-related--grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 767px){
  .stbd-am-related--carousel{gap:14px;padding-bottom:10px}
  .stbd-am-related--carousel .stbd-am-related-card{flex:0 0 82vw;min-width:82vw}
  .stbd-am-related--grid{grid-template-columns:1fr}
}


/* v1.7.5 final related artwork slider cleanup */
.stbd-am-related-slider{
  position:relative;
  overflow:hidden;
  padding:0 32px;
}
.stbd-am-related-slider__nav{
  z-index:4;
  top:42%;
}
.stbd-am-related-slider__nav--prev{left:0}
.stbd-am-related-slider__nav--next{right:0}

.stbd-am-related--carousel{
  display:flex !important;
  gap:20px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  padding:4px 0 14px;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
.stbd-am-related--carousel::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
  background:transparent !important;
}
.stbd-am-related--carousel .stbd-am-related-card{
  flex:0 0 calc((100% - 80px) / 5);
  min-width:0;
  scroll-snap-align:start;
}

@media (max-width: 1200px){
  .stbd-am-related--carousel .stbd-am-related-card{
    flex-basis:calc((100% - 60px) / 4);
  }
}
@media (max-width: 980px){
  .stbd-am-related-slider{
    padding:0 8px;
  }
  .stbd-am-related-slider__nav{
    display:none !important;
  }
  .stbd-am-related--carousel{
    gap:16px;
    padding:4px 0 12px;
  }
  .stbd-am-related--carousel .stbd-am-related-card{
    flex:0 0 calc((100% - 16px) / 2);
  }
}
@media (max-width: 767px){
  .stbd-am-related-wrap{
    margin-top:34px;
  }
  .stbd-am-related-wrap h2{
    margin-bottom:14px;
  }
  .stbd-am-related-slider{
    padding:0;
  }
  .stbd-am-related--carousel{
    gap:12px;
    padding:2px 0 10px;
  }
  .stbd-am-related--carousel .stbd-am-related-card{
    flex:0 0 100%;
    max-width:100%;
  }
  .stbd-am-related-card__body{
    padding:16px;
  }
}


/* v1.8 related artwork slider improvements */
.stbd-am-related--grid{
  grid-template-columns:repeat(var(--stbd-related-grid-cols,4),minmax(0,1fr)) !important;
  align-items:stretch;
}
.stbd-am-related-slider{
  position:relative;
  overflow:hidden;
  padding:0 32px;
}
.stbd-am-related--carousel{
  display:flex !important;
  gap:20px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x;
  padding:4px 0 14px !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
}
.stbd-am-related--carousel.is-dragging{
  cursor:grabbing;
  user-select:none;
}
.stbd-am-related--carousel::-webkit-scrollbar{
  display:none !important;
  width:0 !important;
  height:0 !important;
}
.stbd-am-related--carousel .stbd-am-related-card{
  flex:0 0 calc((100% - ((var(--stbd-related-cols, 5) - 1) * 20px)) / var(--stbd-related-cols, 5)) !important;
  min-width:0 !important;
  scroll-snap-align:start;
}
.stbd-am-related-card{
  display:flex;
  flex-direction:column;
  height:auto;
}
.stbd-am-related-card__image{
  display:block;
  aspect-ratio:1 / 1;
  min-height:220px;
  max-height:220px;
}
.stbd-am-related-card__body{
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
  min-height:118px;
}
.stbd-am-related-card__body h3{
  min-height:2.5em;
}
.stbd-am-related-card__price{
  margin-top:auto;
}
@media (max-width: 980px){
  .stbd-am-related-slider{
    padding:0;
  }
  .stbd-am-related-slider__nav{
    display:none !important;
  }
  .stbd-am-related--carousel .stbd-am-related-card{
    flex:0 0 calc((100% - 16px) / 2) !important;
  }
}
@media (max-width: 767px){
  .stbd-am-related-wrap{
    overflow:visible !important;
  }
  .stbd-am-related--carousel{
    padding:2px 8px 10px !important;
    gap:12px !important;
  }
  .stbd-am-related--carousel .stbd-am-related-card{
    flex:0 0 86% !important;
  }
  .stbd-am-related-card__image{
    min-height:200px;
    max-height:200px;
  }
  .stbd-am-related-card__body{
    min-height:104px;
    padding:14px;
  }
}


/* v1.9.3 reset button style restore */
.stbd-am-filter__reset-all{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none !important;
  color:#111 !important;
  font-weight:600;
  background:#fff !important;
  border:1px solid #d8d8d8 !important;
}
.stbd-am-filter__reset-all:hover{
  color:#111 !important;
  background:#f6f6f6 !important;
}

/* v2.0 price filter layout */
.stbd-am-filters{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));}
.stbd-am-filter--reset{align-self:end;}
