/* Core layout */
.sag-panel{
  background:#fff;
  border:1px solid #ece7e1;
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.04);
}
.sag-main-area{min-width:0}
.sag-page-heading{
  margin:0 0 16px;
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:.01em;
  color:#2f2b27;
}
.sag-section-head{margin-bottom:14px}
.sag-section-head h2,
.sag-section-head h3{margin:0 0 6px;font-size:1.1rem}
.sag-section-subtitle{margin:0;color:#6f675f;font-size:0.9rem}
.sag-empty-state{
  padding:20px;
  border:1px dashed #d7c6b3;
  border-radius:12px;
  background:#faf7f3;
  color:#6a6158;
}

.sag-chooser{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
@media (max-width:900px){.sag-chooser{grid-template-columns:1fr}}
.sag-chooser-card{display:block;text-decoration:none;color:inherit;border:1px solid #e8e8e8;border-radius:14px;overflow:hidden;background:#fff}
.sag-chooser-img{display:block;width:100%;height:auto}
.sag-chooser-title{
  padding:14px 16px;
  font-size:1.4em;
  text-align:center;
  font-weight:600;
  color:#030303;
  background:#c2a587;
  margin:0;
}

.sag-gallery-layout{display:grid;grid-template-columns:220px 1fr;gap:20px;align-items:start}
@media (max-width:900px){.sag-gallery-layout{grid-template-columns:1fr}.sag-sidebar{order:2}}
.sag-sidebar{border:1px solid #ececec;border-radius:12px;padding:12px;background:#fff}
.sag-sidebar-search{margin-bottom:14px}
.sag-sidebar-search input[type="search"]{
  width:100%;
  padding:10px 12px;
  border:1px solid #ddd;
  border-radius:10px;
  font-size:13px;
}
.sag-filter-block{margin-bottom:14px}
.sag-filter-title{font-weight:700;margin-bottom:8px;font-size:12px;letter-spacing:.02em;text-transform:uppercase;color:#5c544b}
.sag-filter-link{display:block;padding:6px 8px;border-radius:9px;text-decoration:none;font-size:13px;line-height:1.25;color:#3a352f}
.sag-filter-link.is-active{background:#111;color:#fff}
.sag-filter-link-small{padding:5px 8px}
.sag-filter-empty{font-size:12px;opacity:.75}
.sag-sort{width:100%;padding:9px 10px;border:1px solid #ddd;border-radius:8px;font-size:13px}
.sag-filter-scroll{
  max-height:220px;
  overflow:auto;
  padding-right:4px;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.sag-color-swatches{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:2px;
}
.sag-color-swatch{
  width:18px;
  height:18px;
  border-radius:999px;
  background:var(--sag-swatch, #bbb);
  border:1px solid rgba(0,0,0,.12);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);
}
.sag-color-swatch.is-active{
  outline:2px solid #111;
  outline-offset:2px;
}

.sag-gallery{display:grid;grid-template-columns:repeat(var(--sag-cols, 3),minmax(0,1fr));gap:16px}
.sag-gallery-cards{align-items:start}
.sag-card-wrap{display:flex;flex-direction:column;gap:10px}
.sag-card{display:block;text-decoration:none;color:inherit}
.sag-card-image-frame{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#f4efe9;
  aspect-ratio:4 / 3;
}
.sag-card-image-frame-vertical{
  aspect-ratio:2 / 3;
}
.sag-card-img{
  display:block;
  width:100%;
  height:100%;
  border-radius:12px;
}
.sag-card-img-cropped{
  object-fit:cover;
  object-position:center;
}
.sag-card-title{font-weight:700}
.sag-card-title-top{
  margin:0 0 8px;
  padding:10px 12px;
  font-size:.95rem;
  line-height:1.2;
  text-align:center;
  font-weight:600;
  color:#030303;
  background:#c2a587;
  border-radius:12px;
}
.sag-fav-overlay{
  position:absolute;
  left:10px;
  bottom:10px;
  z-index:4;
}
.sag-fav-overlay .sag-fav-btn{
  width:38px;
  height:38px;
  padding:0;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(4px);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.sag-fav-overlay .sag-fav-label{
  display:none;
}

.sag-term-grid{display:grid;grid-template-columns:repeat(var(--sag-cols),minmax(0,1fr));gap:16px}
.sag-term-card{display:block;padding:14px;border:1px solid #eee;border-radius:10px;text-decoration:none;color:inherit}
.sag-term-name{font-weight:700}
.sag-term-count{font-size:12px;opacity:.7;margin-top:4px}

.sag-ui{margin-top:24px;display:flex;flex-direction:column;gap:12px;max-width:640px}
.sag-ui select,.sag-ui input,.sag-ui textarea{
  padding:12px;
  font-size:14px;
  border:1px solid #ddd;
  border-radius:10px;
  background:#fff;
}
.sag-option-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width:700px){.sag-option-grid{grid-template-columns:1fr}}
.sag-price-box{
  font-size:1.2rem;
  font-weight:800;
  margin:4px 0 2px;
  padding:14px 16px;
  border-radius:12px;
  background:linear-gradient(180deg, #fff, #faf7f3);
  border:1px solid #eadfce;
}

/* Buttons */
.sag-btn,
.sag-secondary-btn,
.sag-fav-btn{
  appearance:none;
  border-radius:10px;
  cursor:pointer;
  transition:all .2s ease;
}
.sag-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border:1px solid #111;
  background:#111;
  color:#fff;
  text-decoration:none;
}
.sag-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,0.12);
}
.sag-secondary-btn{
  padding:10px 14px;
  border:1px solid #d7d1ca;
  background:#fff;
  color:#111;
}
.sag-secondary-btn:hover{
  border-color:#111;
  transform:translateY(-1px);
}
.sag-fav-btn{
  padding:10px 12px;
  border:1px solid #ddd;
  background:#fff;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.sag-fav-btn:hover{
  border-color:#111;
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
}

.sag-heart{
  width:16px;
  height:16px;
  fill:none;
  stroke:#fff;
  stroke-width:2;
  transition:all .2s ease;
}
.sag-fav-overlay .sag-heart{
  stroke:#24201b;
}
.sag-heart.active{
  fill:#e63946;
  stroke:#e63946;
  transform:scale(1.08);
}
.sag-fav-btn:hover .sag-heart{
  transform:scale(1.08);
}
.sag-fav-label{line-height:1;font-size:13px}

/* Originals */
.sag-original{margin-top:22px;padding:16px;border:1px solid #ececec;border-radius:12px;background:#fff}
.sag-original-grid{display:grid;gap:8px;margin:12px 0}

/* Cart + checkout */
.sag-cart-table{width:100%;border-collapse:collapse;margin-top:12px}
.sag-cart-table th,.sag-cart-table td{border-bottom:1px solid #ddd;padding:12px 8px}
.sag-cart-actions{margin-top:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.sag-field{display:flex;flex-direction:column;gap:6px;margin:0}
.sag-field label{font-weight:600;color:#3d3731;font-size:13px}
.sag-result{background:#111;color:#eee;padding:12px;border-radius:10px;overflow:auto;margin-top:16px}

/* Homepage chooser hover */
.sag-chooser-card {
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.sag-chooser-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}
.sag-chooser-card .sag-chooser-img {
  display: block;
  transition: transform 0.55s ease;
}
.sag-chooser-card:hover .sag-chooser-img {
  transform: scale(1.04);
}
.sag-chooser-card .sag-chooser-title {
  transition: background-color 0.3s ease, letter-spacing 0.3s ease;
}
.sag-chooser-card:hover .sag-chooser-title {
  letter-spacing: 0.02em;
  background-color: #b89578;
}
.sag-chooser-card {
  position: relative;
  overflow: hidden;
}
.sag-chooser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: linear-gradient(
    to bottom,
    rgba(194, 165, 135, 0) 0%,
    rgba(194, 165, 135, 0) 22%,
    rgba(194, 165, 135, 0.18) 55%,
    rgba(194, 165, 135, 0.28) 100%
  );
}
.sag-chooser-card:hover::after {
  opacity: 1;
}
.sag-chooser-card .sag-chooser-title {
  position: relative;
  z-index: 3;
}
.sag-chooser-card .sag-chooser-img {
  display: block;
  position: relative;
  z-index: 1;
  transform: scale(1);
}

/* Gallery hover - classier */
.sag-card {
  position: relative;
}
.sag-card-image-frame::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,.08) 100%);
  opacity:0;
  transition:opacity .35s ease;
  z-index:2;
}
.sag-card:hover .sag-card-image-frame::after{
  opacity:1;
}
.sag-card:hover .sag-card-img{
  transform:scale(1.035);
}
.sag-card .sag-card-img {
  transition: transform 0.55s ease;
}
.sag-card .sag-card-title-top{
  transition: background-color .3s ease, transform .3s ease;
}
.sag-card:hover .sag-card-title-top{
  background:#b89578;
  transform:translateY(-1px);
}

.sag-term-card {
  transition: background-color 0.45s ease, box-shadow 0.45s ease;
}
.sag-term-card:hover {
  background: linear-gradient(
    180deg,
    rgba(194, 165, 135, 0.2) 0%,
    rgba(194, 165, 135, 0.06) 100%
  );
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}


/* follow-up requested fixes */
.sag-page-heading{
  font-size:1.2rem;
  margin:0 0 18px;
}
.sag-page-heading-hidden{
  display:none;
}
.sag-card-title-top{
  margin:0;
  padding:14px 16px;
  font-size:1.4em;
  text-align:center;
  font-weight:600;
  color:#030303;
  background:#c2a587;
  border-radius:12px 12px 0 0;
}
.sag-card-title-top-gallery{
  font-size:1.05rem;
  background:#fff;
  border:1px solid #e3ddd5;
  border-bottom:0;
  border-radius:12px 12px 0 0;
}
.sag-card-title-top-collection{
  font-size:1.15rem;
}
.sag-card-image-frame{
  border-radius:0 0 12px 12px;
}
.sag-card-image-frame-gallery{
  aspect-ratio:auto;
  background:transparent;
  overflow:visible;
  border-radius:0;
}
.sag-gallery-cards .sag-card-img{
  height:auto;
  border-radius:0 0 12px 12px;
}
.sag-card-image-frame-vertical{
  aspect-ratio:2 / 3;
  overflow:hidden;
  border-radius:0 0 12px 12px;
}


/* Collections + Gallery rewrite */
.sag-collection-grid{
  display:grid;
  grid-template-columns:repeat(var(--sag-cols, 3), minmax(0, 1fr));
  gap:24px;
  align-items:start;
}
.sag-collection-card{text-align:center;}
.sag-collection-card-title{
  margin:0 0 10px;
  font-size:1.05rem;
  line-height:1.15;
  font-weight:600;
  color:#111;
}
.sag-collection-card-link{display:block;text-decoration:none;color:inherit;}
.sag-collection-card-link .sag-collection-preview-grid{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  box-shadow:rgba(0,0,0,.75) 0 2px 12px;
  border-radius:5px;
  overflow:hidden;
  transition:transform .45s ease;
}
.sag-collection-preview-cell{
  aspect-ratio:1 / 1;
  overflow:hidden;
  background:#eee7de;
}
.sag-collection-preview-cell img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.sag-collection-preview-overlay{
  position:absolute;
  inset:0;
  display:none !important;
  pointer-events:none !important;
  opacity:0 !important;
}
.sag-collection-card-link:hover .sag-collection-preview-grid,
.sag-collection-card-link:focus .sag-collection-preview-grid{
  transform:scale(1.03);
}
.sag-collection-card-count{
  margin-top:10px;
  font-size:1rem;
  font-weight:600;
  color:#111;
}

.sag-page-heading-minimal{
  font-size:1rem;
  margin:0 0 18px;
  color:#222;
}

/* --- Gallery page: theme, breadcrumbs, typography, favorites (no legacy card layout) --- */

.sag-page-heading{font-size:1.2rem;margin:0 0 18px;}
.sag-page-heading-minimal{font-size:1.15rem;margin:0 0 20px;color:#111;font-weight:600;}
.sag-collection-card-title{line-height:1.08;font-size:1.1rem;}
.sag-page-heading{font-size:1.6rem;}
.sag-page-heading-minimal{font-size:1.6rem;}
.sag-collection-grid{gap:30px;}
.sag-collection-card-title{margin:0 0 15px;line-height:1.3;font-size:1.2rem;}
.sag-collection-preview-overlay,
.sag-art-overlay{background:rgba(91,63,26,.81);}
.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained{margin-top:20px !important;padding-top:20px !important;}
.sag-collection-card-title{margin:12px 0 6px !important;font-size:1.3rem !important;font-weight:700 !important;text-align:center !important;}
.sag-collection-card-count{text-align:center !important;font-weight:500 !important;font-size:1.1rem !important;}
.sag-collection-preview-overlay,
.sag-art-overlay{background:rgba(154,83,7,.81) !important;}
.sag-fav-overlay-top-right{left:10px !important;right:auto !important;}
.sag-art-meta{font-size:1rem !important;font-weight:500 !important;line-height:1.45 !important;}
.sag-art-title{font-size:1.1rem !important;font-weight:700 !important;margin-bottom:8px !important;}
.sag-art-meta .sag-art-status{font-size:1rem !important;font-weight:500 !important;}
.sag-art-meta strong,
.sag-art-title strong,
.sag-art-status strong{font-weight:700 !important;}
.sag-art-status{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  margin-bottom:3px !important;
}
.sag-status-dot{
  width:11px !important;
  height:11px !important;
  border-radius:999px !important;
  display:inline-block !important;
  flex:0 0 11px !important;
}
.sag-status-dot.is-green{background:#7fb07f !important;}
.sag-status-dot.is-red{background:#d31616 !important;}
.sag-collection-card-count{margin-top:5px !important;font-size:1rem !important;font-weight:400 !important;color:#111 !important;}
.sag-collection-card-title{margin:15px 0 0 !important;font-size:1.2rem !important;font-weight:600 !important;color:#111 !important;line-height:1 !important;}
.sag-collection-preview-overlay,
.sag-art-overlay{background:rgba(162,101,20,.81) !important;}
.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained{margin-top:0 !important;padding-top:0 !important;}
.wp-block-site-logo{box-sizing:border-box;line-height:0;margin-top:25px !important;}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
  max-width:var(--wp--style--global--content-size);
  margin-left:auto !important;
  margin-right:auto !important;
  margin-top:15px !important;
}
.sag-art-meta{font-size:1rem !important;font-weight:500 !important;line-height:1.45 !important;color:#181615 !important;}
.sag-art-meta .sag-art-title{font-size:1.1rem !important;font-weight:700 !important;line-height:1.25 !important;margin-bottom:8px !important;}
.sag-art-meta .sag-art-status{font-size:1rem !important;font-weight:500 !important;line-height:1.35 !important;}
.sag-art-meta .sag-art-status strong,
.sag-art-meta .sag-art-title strong{font-weight:700 !important;}
.sag-menu-icon{display:inline-block;width:1.1em;margin-right:6px;text-align:center;font-size:.95em;vertical-align:-.05em;}
.sag-fav-overlay-top-right{top:auto !important;left:auto !important;right:10px !important;bottom:10px !important;}
.sag-art-meta .sag-art-status{font-size:.9rem !important;font-weight:500 !important;line-height:1 !important;}
.sag-menu-icon{display:inline-block !important;width:1.1em !important;margin-right:6px !important;text-align:center !important;font-size:.95em !important;vertical-align:-.05em !important;}
html,body{margin-top:0 !important;padding-top:0 !important;}
body{margin:0 !important;}
.wp-site-blocks,
.wp-block-template-part,
header.wp-block-template-part,
.site-header,
.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained{margin-top:0 !important;padding-top:0 !important;}
.sag-art-meta{font-size:1rem !important;font-weight:500 !important;line-height:1.35 !important;color:#303030 !important;}
.sag-art-meta .sag-art-title{font-size:16px !important;font-weight:400 !important;font-style:italic !important;color:#303030 !important;line-height:1.25 !important;margin-bottom:6px !important;}
.sag-art-size{font-size:13px !important;color:#a3a3a3 !important;line-height:1.2 !important;margin-bottom:8px !important;}
.sag-art-meta .sag-art-status{font-size:.9rem !important;font-weight:500 !important;line-height:1 !important;color:#303030 !important;margin-bottom:7px !important;}
.sag-art-meta .sag-art-status strong{font-weight:500 !important;}
.sag-menu-icon-img{display:inline-block !important;width:18px !important;height:18px !important;object-fit:contain !important;margin-right:8px !important;vertical-align:-3px !important;filter:none !important;}
.sag-art-overlay{transition:opacity .7s ease !important;background:rgba(195,117,18,.4) !important;}
.sag-fav-overlay-top-right{top:auto !important;left:auto !important;right:10px !important;bottom:10px !important;}
body .wp-site-blocks > header.wp-block-template-part,
body .wp-site-blocks > footer.wp-block-template-part{
  max-width:none !important;
  width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.wp-block-site-logo{margin-top:25px !important;}
.sag-filter-link.is-active{color:#fff !important;background:#ad9d92 !important;}
.wp-block-site-logo img{height:auto !important;max-width:100% !important;padding-top:25px !important;}
.sag-art-overlay{transition:opacity .7s ease !important;background:rgba(195,117,18,.5) !important;}
.sag-art-meta .sag-art-status strong{margin-left:0 !important;}
.sag-page-heading,
.sag-page-heading-minimal{font-size:1.5rem !important;}
.sag-page-heading-minimal{line-height:1.25 !important;}
.sag-breadcrumb-link,
.sag-breadcrumb-current{color:inherit;text-decoration:none;}
.sag-breadcrumb-link:hover{text-decoration:underline;}
.sag-breadcrumb-icon{display:inline-block;width:18px;height:18px;object-fit:contain;margin-right:8px;vertical-align:-2px;}
.sag-breadcrumb-sep{display:inline-block;margin:0 8px;}
.sag-breadcrumb-icon{width:1em !important;height:1em !important;margin-right:6px !important;vertical-align:-.08em !important;}
.sag-breadcrumb-link{text-decoration:none !important;}
.sag-breadcrumb-link:hover{text-decoration:underline !important;}
.sag-breadcrumb-link:active,
.sag-breadcrumb-link:focus{text-decoration:none !important;}
.sag-art-size{font-size:14px !important;color:#8d8d8d !important;line-height:1.2 !important;margin-bottom:8px !important;}
.sag-art-meta .sag-art-title{font-size:16px !important;font-weight:500 !important;font-style:italic !important;color:#303030 !important;line-height:1.25 !important;margin-bottom:4px !important;}
:where(.wp-site-blocks :focus){outline-width:0;outline-style:solid;}
.sag-page-heading-minimal{font-size:1.15rem !important;margin:0 0 20px !important;color:#84664f !important;font-weight:600 !important;}
.sag-breadcrumb-icon{width:.8em !important;height:.8em !important;margin-right:6px !important;vertical-align:-.08em !important;}
.sag-fav-meta .sag-fav-btn{width:36px !important;height:36px !important;padding:0 !important;justify-content:center !important;border-radius:999px !important;background:#fdfdfd00 !important;box-shadow:none !important;border:1px solid !important;}
.sag-page-heading-minimal{font-size:1.6rem !important;color:#84664f !important;font-weight:600 !important;}
.sag-fav-meta .sag-fav-btn,
.sag-fav-meta .sag-fav-btn:active,
.sag-fav-meta .sag-fav-btn:focus,
.sag-fav-meta .sag-fav-btn:hover{border:0 !important;box-shadow:none !important;}
.sag-fav-meta .sag-heart{stroke:#24201b !important;}
.sag-page-heading-minimal{font-size:1.5rem !important;color:#84664f !important;font-weight:600 !important;}
.sag-art-meta .sag-art-title{font-size:16px !important;font-weight:600 !important;font-style:italic !important;color:#84664f !important;line-height:1.25 !important;margin-bottom:4px !important;}
.sag-page-heading{color:#84664f !important;}
.sag-collection-card-title{color:#84664f !important;}
.sag-heart.active{fill:#d31616 !important;stroke:#d31616 !important;}
.sag-fav-meta .sag-heart{stroke:#84664f !important;}
.sag-heart{stroke-width:2 !important;}
.sag-fav-meta .sag-fav-btn,
.sag-fav-meta .sag-fav-btn:focus,
.sag-fav-meta .sag-fav-btn:active,
.sag-fav-meta .sag-fav-btn:hover,
.sag-collection-card-link,
.sag-collection-card-link:focus,
.sag-collection-card-link:active,
.sag-collection-card-link:hover{outline:0 !important;border:0 !important;box-shadow:none !important;-webkit-tap-highlight-color:transparent !important;}
.sag-collection-preview-grid{max-width:330px !important;max-height:330px !important;}
.sag-gallery-layout{gap:40px !important;padding-left:40px !important;}
body,
.wp-site-blocks{background:#f7eee3 !important;}
.sag-collection-preview-overlay{transition:opacity .7s ease !important;background:rgba(195,117,18,.7) !important;}
.sag-art-overlay{transition:opacity .7s ease !important;background:rgba(195,117,18,.7) !important;}

.sag-zoom-cursor-lens{
  position:fixed;
  width:86px;
  height:86px;
  border-radius:50%;
  border:2px solid rgba(132,102,79,.95);
  box-sizing:border-box;
  pointer-events:none;
  z-index:99999;
  opacity:0;
  transform:translate3d(0,0,0);
  transition:opacity .12s ease;
  overflow:hidden;
  background-color:#f7eee3;
  box-shadow:rgba(0,0,0,.18) 0 4px 14px;
}
.sag-zoom-cursor-lens::after{
  content:"";
  position:absolute;
  width:22px;
  height:3px;
  background:rgba(132,102,79,.95);
  border-radius:3px;
  right:-8px;
  bottom:8px;
  transform:rotate(45deg);
}
.sag-zoom-cursor-lens.is-visible{opacity:1;}
@media (max-width:900px){
  .sag-zoom-cursor-lens{display:none !important;}
}
body.single-artwork .wp-block-post-featured-image img,
body.single-artwork .post-thumbnail img,
body.single-artwork .entry-content img,
body.single-artwork .sag-ui img{cursor:none !important;}
@media (max-width:900px){
  body.single-artwork .wp-block-post-featured-image img,
  body.single-artwork .post-thumbnail img,
  body.single-artwork .entry-content img,
  body.single-artwork .sag-ui img{cursor:zoom-in !important;}
}
body:not(.single-artwork) .sag-zoom-cursor-lens{display:none !important;}

body,
a,
button,
input,
select,
textarea,
.sag-card,
.sag-card-link,
.sag-collection-card-link,
.sag-filter-link,
.sag-color-swatch,
.sag-art-meta-link,
.sag-art-card-link{cursor:pointer;}
html,body{cursor:default;}

/* Gallery grid + card: .sag-art-card-body owns width; image + caption 100%; left-aligned like reference portfolio */
.sag-art-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important;
  justify-items:start !important;
  align-items:start !important;
  gap:40px !important;
  padding-left:40px !important;
  box-sizing:border-box !important;
}
.sag-art-grid > .sag-art-card{
  min-width:0 !important;
  width: min(var(--sag-max-card-w, 260px), 100%) !important; 
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
}
.sag-art-grid .sag-art-card-body{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  text-align:left !important;
}
.sag-art-grid .sag-art-card-body > .sag-art-card-link,
.sag-art-grid .sag-art-card-body > .sag-art-meta-wrap{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
.sag-art-grid .sag-art-card-body > .sag-art-card-link{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  text-decoration:none !important;
  color:inherit !important;
  cursor:pointer !important;
}
.sag-art-grid .sag-art-card-body > .sag-art-card-link:hover,
.sag-art-grid .sag-art-card-body > .sag-art-card-link:focus,
.sag-art-grid .sag-art-card-body > .sag-art-card-link:active{cursor:pointer !important;}
.sag-art-grid .sag-art-card-body .sag-art-image-wrap{
  position:relative !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  /* Use explicit height from PHP variables for consistent centering. */
  height:var(--sag-display-h) !important;
  min-height:0 !important;
  max-height:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  background:transparent !important;
  margin:0 0 16px 0 !important;
  box-sizing:border-box !important;
  border-radius:5px !important;
  box-shadow:none !important;
}
.sag-art-grid .sag-art-card-body .sag-art-image{
  /* Size the element to the real image so its box-shadow matches the artwork bounds.
     The wrapper handles centering and sizing via flex + aspect-ratio. */
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  margin:0 !important;
  box-sizing:border-box !important;
  /* Drop-shadow follows the visible artwork pixels better than box-shadow. */
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.75) 0 2px 12px) !important;
  transition:transform .45s ease !important;
  border-radius:5px !important;
}
.sag-art-grid .sag-art-card-body .sag-art-overlay{
  display:none !important;
}
.sag-art-grid .sag-art-card-body .sag-art-card-link:hover .sag-art-image,
.sag-art-grid .sag-art-card-body .sag-art-card-link:focus .sag-art-image{
  transform:scale(1.03) !important;
}
.sag-art-grid .sag-art-card-body .sag-art-image-wrap,
.sag-art-grid .sag-art-card-body .sag-art-image{cursor:pointer !important;}
.sag-art-grid .sag-art-card-body .sag-art-meta-wrap,
.sag-art-grid .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-body .sag-art-meta-link,
.sag-art-grid .sag-art-card-body .sag-art-meta,
.sag-art-grid .sag-art-card-body .sag-art-title,
.sag-art-grid .sag-art-card-body .sag-art-size,
.sag-art-grid .sag-art-card-body .sag-art-status{
  text-align:left !important;
}
.sag-art-grid .sag-art-card-body .sag-art-meta-wrap{
  margin:0 !important;
  padding:0 !important;
  position:relative !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
.sag-art-grid .sag-art-card-body .sag-art-meta-head{
  display:block !important;
  position:relative !important;
  margin:0 0 4px 0 !important;
  padding:0 !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
.sag-art-grid .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  padding-right:42px !important;
  box-sizing:border-box !important;
  margin:0 !important;
}
.sag-art-grid .sag-art-card-body > .sag-art-meta-wrap > .sag-art-meta-link{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:0 !important;
}
.sag-art-grid .sag-art-card-body .sag-art-title,
.sag-art-grid .sag-art-card-body .sag-art-size,
.sag-art-grid .sag-art-card-body .sag-art-status{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}
.sag-art-grid .sag-art-card-body .sag-fav-meta{
  position:absolute !important;
  top:-5px !important;
  right:0 !important;
  margin:0 !important;
  z-index:4 !important;
}
.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-fav-label{
  display:none !important;
}
.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-fav-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
}
.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-heart{
  width:20px !important;
  height:20px !important;
  flex-shrink:0 !important;
}
.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-fav-btn,
.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-fav-btn:focus,
.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-fav-btn:active,
.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-fav-btn:hover,
.sag-art-grid .sag-art-card-body > .sag-art-card-link,
.sag-art-grid .sag-art-card-body > .sag-art-card-link:focus,
.sag-art-grid .sag-art-card-body > .sag-art-card-link:active,
.sag-art-grid .sag-art-card-body .sag-art-meta-link,
.sag-art-grid .sag-art-card-body .sag-art-meta-link:hover,
.sag-art-grid .sag-art-card-body .sag-art-meta-link:focus,
.sag-art-grid .sag-art-card-body .sag-art-meta-link:active{
  outline:0 !important;
  -webkit-tap-highlight-color:transparent !important;
  text-decoration:none !important;
}
.sag-art-grid .sag-art-card-body .sag-art-meta-link .sag-art-title,
.sag-art-grid .sag-art-card-body .sag-art-meta-link .sag-art-meta,
.sag-art-grid .sag-art-card-body .sag-art-meta-link .sag-art-size,
.sag-art-grid .sag-art-card-body .sag-art-meta-link .sag-art-status,
.sag-art-grid .sag-art-card-body .sag-art-meta-link strong{
  text-decoration:none !important;
}
.sag-art-grid .sag-art-card-body .sag-art-meta-link .sag-art-title{
  color: #84664f !important;
}
@media (max-width:900px){
  .sag-art-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    padding-left:24px !important;
    padding-right:12px !important;
    box-sizing:border-box !important;
  }
}
@media (max-width:620px){
  .sag-art-grid{
    grid-template-columns:1fr !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }
  .sag-art-grid .sag-art-card-body{
    width:100% !important;
    max-width:100% !important;
  }
}

/* "All-paintings" and "all-photography" pages should match Erin's centered card frames. */
.sag-art-grid.sag-all-view{
  justify-items:center !important;
  align-items:start !important;
}
.sag-art-grid.sag-all-view > .sag-art-card{
  width:100% !important;
  max-width:100% !important;
  align-items:center !important;
}


/* v2.11.0 exact-gap gallery layout
   Goal:
   - keep the good 3/2/1 column layout from the near-working version
   - vertically center images in a shared 330px stage
   - pull captions up by the exact bottom gap so titles/meta sit directly below the visible image
*/

.sag-art-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  justify-content:center !important;
  justify-items:center !important;
  align-items:start !important;
  column-gap:32px !important;
  row-gap:34px !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  overflow:visible !important;
}

.sag-art-grid > .sag-art-card{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  justify-self:center !important;
  align-self:start !important;
  display:flex !important;
  justify-content:center !important;
}

.sag-art-grid .sag-art-card-body{
  width:min(100%, var(--sag-display-w)) !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  box-sizing:border-box !important;
}

.sag-art-grid .sag-art-card-body > .sag-art-card-link,
.sag-art-grid .sag-art-card-body > .sag-art-meta-wrap,
.sag-art-grid .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-body .sag-art-meta-link,
.sag-art-grid .sag-art-card-body .sag-art-meta{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

.sag-art-grid .sag-art-card-body .sag-art-card-link{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  color:inherit !important;
  text-decoration:none !important;
}

/* shared stage for vertical centering */
.sag-art-grid .sag-art-card-body .sag-art-image-wrap{
  width:100% !important;
  height:330px !important;
  min-height:330px !important;
  max-height:330px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  background:transparent !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}

/* requested image styling */
.sag-art-grid .sag-art-card-body .sag-art-image{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
  margin:0 !important;
  box-sizing:border-box !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  transition:transform .45s ease !important;
  border-radius:0px !important;
}

/* captions are pulled up by the exact empty space below the centered image */
.sag-art-grid .sag-art-card-body .sag-art-meta-wrap{
  display:block !important;
  position:relative !important;
  margin-top:calc(-1 * var(--sag-gap-below)) !important;
  padding:0 !important;
  text-align:left !important;
}

.sag-art-grid .sag-art-card-body .sag-art-meta-head{
  display:block !important;
  position:relative !important;
  margin:0 0 4px 0 !important;
  padding:0 !important;
}

.sag-art-grid .sag-art-card-body .sag-art-meta-link,
.sag-art-grid .sag-art-card-body .sag-art-meta,
.sag-art-grid .sag-art-card-body .sag-art-title,
.sag-art-grid .sag-art-card-body .sag-art-size,
.sag-art-grid .sag-art-card-body .sag-art-status{
  display:block !important;
  width:100% !important;
  text-align:left !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta{
  position:absolute !important;
  top:2px !important;
  right:0 !important;
  margin:0 !important;
  z-index:4 !important;
}
.sag-art-grid .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  padding-right:42px !important;
  box-sizing:border-box !important;
}

.sag-art-grid .sag-art-card-body .sag-art-overlay{
  display:none !important;
}

/* earlier collapse so 3 columns don't fight the sidebar width */
@media (max-width: 1500px){
  .sag-art-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    justify-content:start !important;
    justify-items:start !important;
  }
  .sag-art-grid > .sag-art-card{
    justify-self:start !important;
    justify-content:flex-start !important;
  }
  .sag-art-grid .sag-art-card-body{
    margin:0 !important;
  }
}

@media (max-width: 980px){
  .sag-art-grid{
    grid-template-columns:1fr !important;
    justify-content:start !important;
    justify-items:start !important;
  }
  .sag-art-grid > .sag-art-card{
    justify-self:start !important;
    justify-content:flex-start !important;
  }
  .sag-art-grid .sag-art-card-body{
    margin:0 !important;
  }
  .sag-art-grid .sag-art-card-body .sag-art-image-wrap{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    display:block !important;
  }
  .sag-art-grid .sag-art-card-body .sag-art-image{
    height:auto !important;
    max-height:none !important;
  }
  .sag-art-grid .sag-art-card-body .sag-art-meta-wrap{
    margin-top:0 !important;
  }
}


/* v2.11.1 finishing tweaks:
   - add 17px space above title/meta head
   - remove explicit top offset from favorites heart
   - prevent wrapping on thin-image captions similar to Erin Hanson's left-column treatment
*/

.sag-art-grid .sag-art-card-body .sag-art-meta-head {
  display: block !important;
  position: relative !important;
  margin: 17px 0 4px 0 !important;
  padding: 0 !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta {
  position: absolute !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 4 !important;
  top: auto !important;
}

/* keep caption lines on one line for thin images */
.sag-art-grid .sag-art-card-body .sag-art-title,
.sag-art-grid .sag-art-card-body .sag-art-size,
.sag-art-grid .sag-art-card-body .sag-art-status,
.sag-art-grid .sag-art-card-body .sag-art-status .price-label,
.sag-art-grid .sag-art-card-body .sag-art-status .replica-price {
  white-space: nowrap !important;
}

/* emulate Erin's left-column behavior: let caption block grow to content for thin works */
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-wrap,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-link,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta {
  min-width: max-content !important;
  width: max-content !important;
  max-width: none !important;
}

/* but keep titles aligned from the image edge */
.sag-art-grid .sag-art-card-vertical .sag-art-card-body {
  align-items: flex-start !important;
}


/* v2.11.2 layout polish */

/* remove any left padding from grid */
.sag-art-grid{
  padding-left: 0 !important;
}

/* make meta head a flex row so heart sits at far right */
.sag-art-grid .sag-art-card-body .sag-art-meta-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

/* ensure title stays left and doesn't shrink */
.sag-art-grid .sag-art-card-body .sag-art-meta-link{
  flex:1 1 auto !important;
}

/* position heart at far right cleanly */
.sag-art-grid .sag-art-card-body .sag-fav-meta{
  position:relative !important;
  right:auto !important;
  margin-left:12px !important;
  flex:0 0 auto !important;
}


/* v2.11.3 heart alignment polish */
.sag-art-grid .sag-art-card-body .sag-art-meta-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
}

.sag-art-grid .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  flex:1 1 auto !important;
  min-width:0 !important;
  padding-right:0 !important;
  margin-right:0 !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta{
  position:relative !important;
  right:auto !important;
  top:auto !important;
  margin:0 0 0 14px !important;
  z-index:4 !important;
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  align-self:center !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-heart{
  width:20px !important;
  height:20px !important;
  flex-shrink:0 !important;
  margin-top:-5px !important;
}

/* give a touch more room for thinner items */
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-fav-meta,
.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-fav-meta{
  margin-left:16px !important;
}


/* v2.11.4 heart pinned to far right edge of the meta head */
.sag-art-grid .sag-art-card-body .sag-art-meta-head{
  display:block !important;
  position:relative !important;
  margin:17px 0 4px 0 !important;
  padding:0 !important;
}

.sag-art-grid .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  display:block !important;
  width:100% !important;
  padding-right:34px !important;
  box-sizing:border-box !important;
  margin:0 !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta{
  position:absolute !important;
  right:0 !important;
  left:auto !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  margin:0 !important;
  z-index:4 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-heart{
  width:20px !important;
  height:20px !important;
  flex-shrink:0 !important;
  margin-top:0 !important;
}


/* v2.11.5 heart aligned to far right edge of the image/card width */
.sag-art-grid .sag-art-card-body .sag-art-meta-wrap,
.sag-art-grid .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-body .sag-art-meta-link,
.sag-art-grid .sag-art-card-body .sag-art-meta{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}

/* cancel earlier max-content rules on thin works */
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-wrap,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-link,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta,
.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-wrap,
.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-link,
.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta {
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
}

.sag-art-grid .sag-art-card-body .sag-art-meta-head{
  display:block !important;
  position:relative !important;
  margin:17px 0 4px 0 !important;
  padding:0 !important;
}

.sag-art-grid .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  display:block !important;
  width:100% !important;
  padding-right:34px !important;
  box-sizing:border-box !important;
  margin:0 !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta{
  position:absolute !important;
  left:auto !important;
  right:0 !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  margin:0 !important;
  z-index:4 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-heart{
  width:20px !important;
  height:20px !important;
  margin-top:0 !important;
  flex-shrink:0 !important;
}


/* v2.11.8 revert to 2.11.5 sizing/layout and fix only heart placement */

/* keep the near-working title/image spacing from 2.11.5, only widen the title row */
.sag-art-grid .sag-art-card-body .sag-art-meta-head{
  display:block !important;
  position:relative !important;
  margin:17px 0 4px 0 !important;
  padding:0 !important;
  min-width:0 !important;
}

/* reserve enough room for the heart on all cards */
.sag-art-grid .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  padding-right:38px !important;
  margin:0 !important;
}

/* for thin works, widen only the header row to stop heart/title collision */
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  min-width:300px !important;
  width:300px !important;
  max-width:300px !important;
}

.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  min-width:300px !important;
  width:300px !important;
  max-width:300px !important;
}

/* pin heart to far right edge of the widened title row */
.sag-art-grid .sag-art-card-body .sag-fav-meta{
  position:absolute !important;
  right:0 !important;
  left:auto !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  margin:0 !important;
  z-index:4 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.sag-art-grid .sag-art-card-body .sag-fav-meta .sag-heart{
  width:20px !important;
  height:20px !important;
  margin-top:0 !important;
  flex-shrink:0 !important;
}

@media (max-width: 980px){
  .sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head,
  .sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head .sag-art-meta-link,
  .sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head,
  .sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
  }
}


/* v2.11.9 heart position tweak:
   keep widened header row only for thin vertical works,
   not for square works like Cardinal.
*/

.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
}

@media (max-width: 980px){
  .sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head,
  .sag-art-grid .sag-art-card-square .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
  }
}


/* v2.12.0 tighten vertical-image title row only
   2.11.8 widened thin vertical title rows too much (300px), which pushed hearts too far right.
   Use a narrower width so long titles still clear the heart, but the heart stays visually tied to the image.
*/

.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  min-width: 260px !important;
  width: 260px !important;
  max-width: 260px !important;
}

@media (max-width: 980px){
  .sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head,
  .sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* v2.12.1 pull vertical-image hearts slightly left
   Match the heart more closely to the lower-right corner of normal vertical images.
*/
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head,
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
  min-width: 240px !important;
  width: 240px !important;
  max-width: 240px !important;
}

@media (max-width: 980px){
  .sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head,
  .sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-art-meta-head .sag-art-meta-link{
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* v2.12.2 micro-adjust: nudge heart slightly left */
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-fav-meta{
  right: 6px !important; /* was 0 */
}


/* v2.13.0 sidebar menu refresh + saved heart tweak */
.sag-art-grid .sag-art-card-vertical .sag-art-card-body .sag-fav-meta{
  right: 8px !important;
}

.sag-filter-accordion{
  border-top:1px solid #ececec;
  padding-top:10px;
  margin:0 0 12px;
}
.sag-filter-summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:700;
  margin:0;
  font-size:12px;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#5c544b;
}
.sag-filter-summary::-webkit-details-marker{display:none;}
.sag-filter-summary::after{
  content:'▾';
  font-size:13px;
  line-height:1;
  transition:transform .2s ease;
}
.sag-filter-accordion[open] > .sag-filter-summary::after{
  transform:rotate(180deg);
}
.sag-filter-accordion-body{
  padding-top:10px;
}
.sag-filter-checkbox-row{
  border-top:1px solid #ececec;
  padding-top:10px;
}
.sag-checkbox-label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#3a352f;
  cursor:pointer;
}
.sag-checkbox-label input[type="checkbox"]{margin:0;}


/* v2.13.1 requested tweaks */
:root{
  --wp--style--root--padding-left: 12px !important;
  --wp--style--root--padding-right: 10px !important;
}

.sag-status-dot{
  margin-right: 8px !important;
}

.sag-art-grid{
  column-gap: 20px !important;
}

@media (max-width: 1500px){
  .sag-art-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1280px){
  .sag-art-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.sag-filter-scroll{
  max-height: 280px !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
}


/* v2.13.2 sidebar/order/filter tweaks */
.sag-sidebar,
.sag-sidebar .sag-filter-title,
.sag-sidebar .sag-filter-link,
.sag-sidebar .sag-filter-link-small,
.sag-sidebar .sag-filter-summary,
.sag-sidebar .sag-checkbox-label,
.sag-sidebar input,
.sag-sidebar select{
  font-size:15px !important;
}

.sag-artwork-link strong{
  font-weight:700 !important;
}

.sag-status-dot{
  margin-right:10px !important;
}


/* v2.13.3 sidebar cleanup */
.sag-sidebar,
.sag-sidebar .sag-filter-title,
.sag-sidebar .sag-filter-link,
.sag-sidebar .sag-filter-link-small,
.sag-sidebar .sag-filter-summary,
.sag-sidebar .sag-checkbox-label,
.sag-sidebar input,
.sag-sidebar select{
  font-size:14px !important;
}


/* v2.13.4 sidebar focus/active border cleanup */
.sag-sidebar{
  position:relative !important;
  z-index:1 !important;
  overflow:visible !important;
}

.sag-filter-block,
.sag-filter-accordion,
.sag-filter-accordion-body,
.sag-filter-scroll{
  position:relative !important;
  overflow:visible !important;
}

.sag-filter-link,
.sag-filter-link-small,
.sag-filter-summary,
.sag-sort,
.sag-sidebar-search input[type="search"]{
  position:relative !important;
  z-index:1 !important;
  outline:none !important;
  box-sizing:border-box !important;
}

/* use inset box-shadow instead of border/outline so edges don't get clipped */
.sag-filter-link:focus,
.sag-filter-link:active,
.sag-filter-link-small:focus,
.sag-filter-link-small:active,
.sag-filter-summary:focus,
.sag-filter-summary:active,
.sag-sort:focus,
.sag-sort:active,
.sag-sidebar-search input[type="search"]:focus{
  outline:none !important;
  box-shadow:inset 0 0 0 1px #111 !important;
  border-radius:9px !important;
}

/* active item styling stays visible */
.sag-filter-link.is-active,
.sag-filter-link-small.is-active{
  box-shadow:inset 0 0 0 1px #ad9d92 !important;
}


/* v2.13.5 sidebar arrows + mobile stacking */

/* larger dropdown arrows */
.sag-filter-summary::after{
  font-size:18px !important;
}

/* make gallery single column on phone */
@media (max-width: 640px){
  .sag-art-grid{
    grid-template-columns: 1fr !important;
  }
}


/* v2.13.6 sidebar icons */
.sag-menu-icon-img{
  width:16px !important;
  height:16px !important;
  object-fit:contain !important;
  margin-right:8px !important;
  vertical-align:-2px !important;
  flex:0 0 auto !important;
}

.sag-filter-link,
.sag-filter-link-small{
  display:flex !important;
  align-items:center !important;
  gap:0 !important;
}

.sag-color-swatch{
  display:inline-block !important;
}


/* v2.13.8 subject icons from provided silhouettes */
.sag-menu-icon-img{
  width:16px !important;
  height:16px !important;
  image-rendering:auto !important;
}


/* v2.14.0 replace broken SVG subject/shape icons with transparent PNG micro-icons */
.sag-menu-icon-img{
  width:16px !important;
  height:16px !important;
  object-fit:contain !important;
  image-rendering:auto !important;
}


/* v2.14.2 icon sizing adjustments */
.sag-subject-icon img,
.sag-shape-icon img {
  width: 20px !important;
  height: 20px !important;
}

.sag-artwork-icon img {
  width: 18px !important;
  height: 18px !important;
}


/* v2.14.3 homepage width + art_type_chooser sizing */
.sag-status-dot{
  margin-right: 5px !important;
}

:root{
  --wp--style--root--padding-left: 12px !important;
  --wp--style--root--padding-right: 10px !important;
}

.home .entry-content,
.home .wp-block-post-content,
.home .wp-site-blocks{
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.home .sag-art-type-chooser,
.home .art-type-chooser,
.home .sag-type-chooser,
.home .art-type-grid,
.home .sag-type-chooser-grid,
.home .sag-art-type-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  align-items: start !important;
}

.home .sag-art-type-chooser a,
.home .art-type-chooser a,
.home .sag-type-chooser a,
.home .art-type-grid a,
.home .sag-type-chooser-grid a,
.home .sag-art-type-grid a{
  display: block !important;
  text-decoration: none !important;
}

.home .sag-art-type-chooser img,
.home .art-type-chooser img,
.home .sag-type-chooser img,
.home .art-type-grid img,
.home .sag-type-chooser-grid img,
.home .sag-art-type-grid img{
  display: block !important;
  width: 100% !important;
  max-width: 420px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 auto !important;
}

.home .sag-art-type-chooser .sag-type-label,
.home .art-type-chooser .sag-type-label,
.home .sag-type-chooser .sag-type-label,
.home .art-type-grid .sag-type-label,
.home .sag-type-chooser-grid .sag-type-label,
.home .sag-art-type-grid .sag-type-label{
  text-align: center !important;
  margin-top: 12px !important;
}

@media (max-width: 700px){
  .home .sag-art-type-chooser,
  .home .art-type-chooser,
  .home .sag-type-chooser,
  .home .art-type-grid,
  .home .sag-type-chooser-grid,
  .home .sag-art-type-grid{
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .home .sag-art-type-chooser img,
  .home .art-type-chooser img,
  .home .sag-type-chooser img,
  .home .art-type-grid img,
  .home .sag-type-chooser-grid img,
  .home .sag-art-type-grid img{
    max-width: 100% !important;
  }
}


/* v2.14.4 art_type_chooser homepage links + styling */
.home .sag-art-type-chooser,
.home .art-type-chooser,
.home .sag-type-chooser,
.home .art-type-grid,
.home .sag-type-chooser-grid,
.home .sag-art-type-grid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:20px !important;
  row-gap:34px !important;
  max-width:980px !important;
  margin:0 auto !important;
  align-items:start !important;
}

.home .sag-art-type-chooser a,
.home .art-type-chooser a,
.home .sag-type-chooser a,
.home .art-type-grid a,
.home .sag-type-chooser-grid a,
.home .sag-art-type-grid a{
  display:block !important;
  text-decoration:none !important;
  color:inherit !important;
}

.home .sag-art-type-chooser img,
.home .art-type-chooser img,
.home .sag-type-chooser img,
.home .art-type-grid img,
.home .sag-type-chooser-grid img,
.home .sag-art-type-grid img{
  display:block !important;
  width:100% !important;
  max-width:420px !important;
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
  margin:0 auto !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  border-radius:0 !important;
}

.home .sag-art-type-chooser .sag-type-label,
.home .art-type-chooser .sag-type-label,
.home .sag-type-chooser .sag-type-label,
.home .art-type-grid .sag-type-label,
.home .sag-type-chooser-grid .sag-type-label,
.home .sag-art-type-grid .sag-type-label{
  display:block !important;
  text-align:left !important;
  color:#84664f !important;
  font-size:16px !important;
  font-weight:600 !important;
  font-style:italic !important;
  line-height:1.25 !important;
  margin:12px auto 0 auto !important;
  max-width:420px !important;
}

.home .sag-art-type-chooser .sag-type-card,
.home .art-type-chooser .sag-type-card,
.home .sag-type-chooser .sag-type-card,
.home .art-type-grid .sag-type-card,
.home .sag-type-chooser-grid .sag-type-card,
.home .sag-art-type-grid .sag-type-card{
  width:100% !important;
  max-width:420px !important;
  margin:0 auto !important;
}

@media (max-width:700px){
  .home .sag-art-type-chooser,
  .home .art-type-chooser,
  .home .sag-type-chooser,
  .home .art-type-grid,
  .home .sag-type-chooser-grid,
  .home .sag-art-type-grid{
    grid-template-columns:1fr !important;
    row-gap:24px !important;
  }

  .home .sag-art-type-chooser img,
  .home .art-type-chooser img,
  .home .sag-type-chooser img,
  .home .art-type-grid img,
  .home .sag-type-chooser-grid img,
  .home .sag-art-type-grid img,
  .home .sag-art-type-chooser .sag-type-label,
  .home .art-type-chooser .sag-type-label,
  .home .sag-type-chooser .sag-type-label,
  .home .art-type-grid .sag-type-label,
  .home .sag-type-chooser-grid .sag-type-label,
  .home .sag-art-type-grid .sag-type-label{
    max-width:100% !important;
  }
}


/* v2.14.5 homepage [art_type_chooser] should visually match all-paintings cards */
.home .sag-art-type-chooser,
.home .art-type-chooser,
.home .sag-type-chooser,
.home .art-type-grid,
.home .sag-type-chooser-grid,
.home .sag-art-type-grid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:20px !important;
  row-gap:34px !important;
  max-width:980px !important;
  margin:0 auto !important;
  align-items:start !important;
}

.home .sag-art-type-chooser a,
.home .art-type-chooser a,
.home .sag-type-chooser a,
.home .art-type-grid a,
.home .sag-type-chooser-grid a,
.home .sag-art-type-grid a{
  display:block !important;
  width:100% !important;
  max-width:420px !important;
  margin:0 auto !important;
  text-decoration:none !important;
  color:inherit !important;
}

.home .sag-art-type-chooser img,
.home .art-type-chooser img,
.home .sag-type-chooser img,
.home .art-type-grid img,
.home .sag-type-chooser-grid img,
.home .sag-art-type-grid img{
  display:block !important;
  width:100% !important;
  max-width:420px !important;
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
  margin:0 auto !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  border-radius:0 !important;
  transition:transform .45s ease !important;
}

.home .sag-art-type-chooser a:hover img,
.home .art-type-chooser a:hover img,
.home .sag-type-chooser a:hover img,
.home .art-type-grid a:hover img,
.home .sag-type-chooser-grid a:hover img,
.home .sag-art-type-grid a:hover img,
.home .sag-art-type-chooser a:focus img,
.home .art-type-chooser a:focus img,
.home .sag-type-chooser a:focus img,
.home .art-type-grid a:focus img,
.home .sag-type-chooser-grid a:focus img,
.home .sag-art-type-grid a:focus img{
  transform:scale(1.03) !important;
}

/* labels echo gallery metadata color/weight */
.home .sag-art-type-chooser .sag-type-label,
.home .art-type-chooser .sag-type-label,
.home .sag-type-chooser .sag-type-label,
.home .art-type-grid .sag-type-label,
.home .sag-type-chooser-grid .sag-type-label,
.home .sag-art-type-grid .sag-type-label{
  display:block !important;
  max-width:420px !important;
  margin:12px auto 0 auto !important;
  text-align:left !important;
  color:#84664f !important;
  font-size:16px !important;
  font-weight:600 !important;
  font-style:italic !important;
  line-height:1.25 !important;
}

/* if chooser uses card wrappers, constrain them to same card size */
.home .sag-art-type-chooser .sag-type-card,
.home .art-type-chooser .sag-type-card,
.home .sag-type-chooser .sag-type-card,
.home .art-type-grid .sag-type-card,
.home .sag-type-chooser-grid .sag-type-card,
.home .sag-art-type-grid .sag-type-card{
  width:100% !important;
  max-width:420px !important;
  margin:0 auto !important;
}

@media (max-width:700px){
  .home .sag-art-type-chooser,
  .home .art-type-chooser,
  .home .sag-type-chooser,
  .home .art-type-grid,
  .home .sag-type-chooser-grid,
  .home .sag-art-type-grid{
    grid-template-columns:1fr !important;
    row-gap:24px !important;
  }

  .home .sag-art-type-chooser a,
  .home .art-type-chooser a,
  .home .sag-type-chooser a,
  .home .art-type-grid a,
  .home .sag-type-chooser-grid a,
  .home .sag-art-type-grid a,
  .home .sag-art-type-chooser img,
  .home .art-type-chooser img,
  .home .sag-type-chooser img,
  .home .art-type-grid img,
  .home .sag-type-chooser-grid img,
  .home .sag-art-type-grid img,
  .home .sag-art-type-chooser .sag-type-label,
  .home .art-type-chooser .sag-type-label,
  .home .sag-type-chooser .sag-type-label,
  .home .art-type-grid .sag-type-label,
  .home .sag-type-chooser-grid .sag-type-label,
  .home .sag-art-type-grid .sag-type-label{
    max-width:100% !important;
  }
}


/* v2.14.6 exact [art_type_chooser] styling for actual shortcode markup */
.home .sag-chooser{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:20px !important;
  row-gap:34px !important;
  max-width:760px !important;
  margin:0 auto !important;
  align-items:start !important;
}

.home .sag-chooser-card{
  display:block !important;
  width:100% !important;
  max-width:330px !important;
  margin:0 auto !important;
  text-decoration:none !important;
  color:inherit !important;
}

.home .sag-chooser-img{
  display:block !important;
  width:100% !important;
  max-width:330px !important;
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
  margin:0 auto !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  border-radius:0 !important;
  transition:transform .45s ease !important;
}

.home .sag-chooser-card:hover .sag-chooser-img,
.home .sag-chooser-card:focus .sag-chooser-img{
  transform:scale(1.03) !important;
}

.home .sag-chooser-title{
  display:block !important;
  max-width:330px !important;
  margin:12px auto 0 auto !important;
  text-align:left !important;
  color:#84664f !important;
  font-size:16px !important;
  font-weight:600 !important;
  font-style:italic !important;
  line-height:1.25 !important;
}

@media (max-width:700px){
  .home .sag-chooser{
    grid-template-columns:1fr !important;
    row-gap:24px !important;
  }

  .home .sag-chooser-card,
  .home .sag-chooser-img,
  .home .sag-chooser-title{
    max-width:100% !important;
  }
}


/* v2.14.7 make homepage [art_type_chooser] match all-paintings card layout */
.home .sag-chooser{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:20px !important;
  row-gap:34px !important;
  max-width:760px !important;
  margin:0 auto !important;
  align-items:start !important;
}

.home .sag-chooser-card{
  display:block !important;
  width:100% !important;
  max-width:330px !important;
  margin:0 auto !important;
  text-decoration:none !important;
  color:inherit !important;
  position:static !important;
}

.home .sag-chooser-img-wrap,
.home .sag-chooser-image-wrap,
.home .sag-chooser-thumb,
.home .sag-chooser-card .wp-block-image,
.home .sag-chooser-card figure{
  position:static !important;
  display:block !important;
  width:100% !important;
  max-width:330px !important;
  margin:0 0 12px 0 !important;
  padding:0 !important;
  overflow:visible !important;
  border-radius:0 !important;
  background:transparent !important;
}

.home .sag-chooser-img{
  display:block !important;
  width:100% !important;
  max-width:330px !important;
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
  margin:0 auto !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  border-radius:0 !important;
  transition:transform .45s ease !important;
}

.home .sag-chooser-card:hover .sag-chooser-img,
.home .sag-chooser-card:focus .sag-chooser-img{
  transform:scale(1.03) !important;
}

/* force title below image and remove overlay styling */
.home .sag-chooser-title{
  position:static !important;
  display:block !important;
  max-width:330px !important;
  margin:12px auto 0 auto !important;
  padding:0 !important;
  text-align:left !important;
  color:#84664f !important;
  background:transparent !important;
  font-size:16px !important;
  font-weight:600 !important;
  font-style:italic !important;
  line-height:1.25 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  transform:none !important;
  inset:auto !important;
}

/* kill any overlay/pseudo-element title positioning inherited on homepage chooser */
.home .sag-chooser-card::before,
.home .sag-chooser-card::after,
.home .sag-chooser-title::before,
.home .sag-chooser-title::after{
  display:none !important;
  content:none !important;
}

@media (max-width:700px){
  .home .sag-chooser{
    grid-template-columns:1fr !important;
    row-gap:24px !important;
  }

  .home .sag-chooser-card,
  .home .sag-chooser-img-wrap,
  .home .sag-chooser-image-wrap,
  .home .sag-chooser-thumb,
  .home .sag-chooser-img,
  .home .sag-chooser-title{
    max-width:100% !important;
  }
}


/* v2.14.8 homepage chooser exact requested styling */
.home .sag-chooser{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:20px !important;
  row-gap:34px !important;
  max-width:820px !important;
  margin:0 auto !important;
  align-items:start !important;
}

.home .sag-chooser-card{
  display:block !important;
  width:100% !important;
  max-width:360px !important;
  margin:0 auto !important;
  text-decoration:none !important;
  color:inherit !important;
  position:static !important;
}

.home .sag-chooser-img-wrap,
.home .sag-chooser-image-wrap,
.home .sag-chooser-thumb,
.home .sag-chooser-card .wp-block-image,
.home .sag-chooser-card figure{
  position:static !important;
  display:block !important;
  width:100% !important;
  max-width:360px !important;
  margin:0 0 12px 0 !important;
  padding:0 !important;
  overflow:visible !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.home .sag-chooser-img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:360px !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  margin:0 auto !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  border-radius:0 !important;
  transition:transform .45s ease !important;
}

.home .sag-chooser-card:hover .sag-chooser-img,
.home .sag-chooser-card:focus .sag-chooser-img{
  transform:scale(1.03) !important;
}

/* titles below image, no overlay/background */
.home .sag-chooser-title{
  position:static !important;
  display:block !important;
  width:100% !important;
  max-width:360px !important;
  margin:12px auto 0 auto !important;
  padding:0 !important;
  text-align:left !important;
  color:#84664f !important;
  background:transparent !important;
  font-size:16px !important;
  font-weight:600 !important;
  font-style:italic !important;
  line-height:1.25 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  transform:none !important;
  inset:auto !important;
}

.home .sag-chooser-card::before,
.home .sag-chooser-card::after,
.home .sag-chooser-title::before,
.home .sag-chooser-title::after{
  display:none !important;
  content:none !important;
}

@media (max-width:700px){
  .home .sag-chooser{
    grid-template-columns:1fr !important;
    row-gap:24px !important;
  }

  .home .sag-chooser-card,
  .home .sag-chooser-img-wrap,
  .home .sag-chooser-image-wrap,
  .home .sag-chooser-thumb,
  .home .sag-chooser-img,
  .home .sag-chooser-title{
    max-width:100% !important;
  }
}


/* v2.14.9 exact selectors for current homepage chooser HTML */
.home .pagelayer-shortcodes-container .sag-chooser{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:20px !important;
  row-gap:34px !important;
  max-width:820px !important;
  margin:0 auto !important;
  align-items:start !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  max-width:360px !important;
  margin:0 auto !important;
  text-decoration:none !important;
  color:inherit !important;
  position:static !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-img{
  order:1 !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:360px !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  margin:0 auto !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  border-radius:0 !important;
  transition:transform .45s ease !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card:hover .sag-chooser-img,
.home .pagelayer-shortcodes-container .sag-chooser-card:focus .sag-chooser-img{
  transform:scale(1.03) !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title{
  order:2 !important;
  position:static !important;
  display:block !important;
  width:100% !important;
  max-width:360px !important;
  margin:12px auto 0 auto !important;
  padding:0 !important;
  text-align:left !important;
  color:#84664f !important;
  background:transparent !important;
  font-size:16px !important;
  font-weight:600 !important;
  font-style:italic !important;
  line-height:1.25 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  transform:none !important;
  inset:auto !important;
}

/* neutralize any pagebuilder styling forcing title overlays or rounded images */
.home .pagelayer-shortcodes-container .sag-chooser-card,
.home .pagelayer-shortcodes-container .sag-chooser-card *,
.home .pagelayer-shortcodes-container .sag-chooser-img,
.home .pagelayer-shortcodes-container .sag-chooser-title{
  border-radius:0 !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card::before,
.home .pagelayer-shortcodes-container .sag-chooser-card::after,
.home .pagelayer-shortcodes-container .sag-chooser-title::before,
.home .pagelayer-shortcodes-container .sag-chooser-title::after{
  display:none !important;
  content:none !important;
}

@media (max-width:700px){
  .home .pagelayer-shortcodes-container .sag-chooser{
    grid-template-columns:1fr !important;
    row-gap:24px !important;
  }
  .home .pagelayer-shortcodes-container .sag-chooser-card,
  .home .pagelayer-shortcodes-container .sag-chooser-img,
  .home .pagelayer-shortcodes-container .sag-chooser-title{
    max-width:100% !important;
  }
}


/* v2.15.0 homepage chooser exact sizing/title cleanup */
.home .pagelayer-shortcodes-container .sag-chooser{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:20px !important;
  row-gap:34px !important;
  max-width:820px !important;
  margin:0 auto !important;
  align-items:start !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  max-width:360px !important;
  margin:0 auto !important;
  text-decoration:none !important;
  color:inherit !important;
  position:static !important;
  background:transparent !important;
  box-shadow:none !important;
}

/* title above image */
.home .pagelayer-shortcodes-container .sag-chooser-title{
  order:1 !important;
  position:static !important;
  display:block !important;
  width:100% !important;
  max-width:360px !important;
  margin:0 auto 12px auto !important;
  padding:0 !important;
  text-align:left !important;
  color:#84664f !important;
  background:transparent !important;
  background-color:transparent !important;
  font-size:16px !important;
  font-weight:600 !important;
  font-style:italic !important;
  line-height:1.25 !important;
  box-shadow:none !important;
  border:none !important;
  border-radius:0 !important;
  transform:none !important;
  inset:auto !important;
}

/* make the actual image box cap at 360 on the long side */
.home .pagelayer-shortcodes-container .sag-chooser-img{
  order:2 !important;
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:360px !important;
  max-height:360px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  margin:0 auto !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  border-radius:0 !important;
  background:transparent !important;
  transition:transform .45s ease !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card:hover .sag-chooser-img,
.home .pagelayer-shortcodes-container .sag-chooser-card:focus .sag-chooser-img{
  transform:scale(1.03) !important;
}

/* nuke pagebuilder backgrounds/overlays around chooser titles/images */
.home .pagelayer-shortcodes-container .sag-chooser-card,
.home .pagelayer-shortcodes-container .sag-chooser-card *,
.home .pagelayer-shortcodes-container .sag-chooser-title,
.home .pagelayer-shortcodes-container .sag-chooser-img{
  box-shadow:none !important;
  border-radius:0 !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card::before,
.home .pagelayer-shortcodes-container .sag-chooser-card::after,
.home .pagelayer-shortcodes-container .sag-chooser-title::before,
.home .pagelayer-shortcodes-container .sag-chooser-title::after,
.home .pagelayer-shortcodes-container .sag-chooser-img::before,
.home .pagelayer-shortcodes-container .sag-chooser-img::after{
  display:none !important;
  content:none !important;
}

@media (max-width:700px){
  .home .pagelayer-shortcodes-container .sag-chooser{
    grid-template-columns:1fr !important;
    row-gap:24px !important;
  }
  .home .pagelayer-shortcodes-container .sag-chooser-card,
  .home .pagelayer-shortcodes-container .sag-chooser-title{
    max-width:360px !important;
  }
}


/* v2.15.1 homepage chooser cards made pixel-identical in feel to gallery cards */

/* chooser grid spacing mirrors gallery rhythm more closely */
.home .pagelayer-shortcodes-container .sag-chooser{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:20px !important;
  row-gap:34px !important;
  max-width:820px !important;
  margin:0 auto !important;
  align-items:start !important;
  justify-items:center !important;
}

/* card shrink-wraps to image width instead of stretching wider */
.home .pagelayer-shortcodes-container .sag-chooser-card{
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  width:auto !important;
  max-width:none !important;
  margin:0 auto !important;
  text-decoration:none !important;
  color:inherit !important;
  position:static !important;
  background:transparent !important;
  box-shadow:none !important;
  border:none !important;
  border-radius:0 !important;
}

/* title above image, aligned to exact image width like gallery titles */
.home .pagelayer-shortcodes-container .sag-chooser-title{
  order:1 !important;
  position:static !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 0 12px 0 !important;
  padding:0 !important;
  text-align:left !important;
  color:#84664f !important;
  background:transparent !important;
  background-color:transparent !important;
  font-size:16px !important;
  font-weight:600 !important;
  font-style:italic !important;
  line-height:1.25 !important;
  box-shadow:none !important;
  border:none !important;
  border-radius:0 !important;
  transform:none !important;
  inset:auto !important;
}

/* image defines the card width; full-size, uncropped, same shadow/hover as gallery */
.home .pagelayer-shortcodes-container .sag-chooser-img{
  order:2 !important;
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:360px !important;
  max-height:360px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  border-radius:0 !important;
  background:transparent !important;
  transition:transform .45s ease !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card:hover .sag-chooser-img,
.home .pagelayer-shortcodes-container .sag-chooser-card:focus .sag-chooser-img{
  transform:scale(1.03) !important;
}

/* neutralize pagebuilder wrappers that were creating oversized boxes or white backgrounds */
.home .pagelayer-shortcodes-container .sag-chooser-card,
.home .pagelayer-shortcodes-container .sag-chooser-card *,
.home .pagelayer-shortcodes-container .sag-chooser-title,
.home .pagelayer-shortcodes-container .sag-chooser-img{
  box-shadow:none !important;
  border-radius:0 !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card::before,
.home .pagelayer-shortcodes-container .sag-chooser-card::after,
.home .pagelayer-shortcodes-container .sag-chooser-title::before,
.home .pagelayer-shortcodes-container .sag-chooser-title::after,
.home .pagelayer-shortcodes-container .sag-chooser-img::before,
.home .pagelayer-shortcodes-container .sag-chooser-img::after{
  display:none !important;
  content:none !important;
}

@media (max-width:700px){
  .home .pagelayer-shortcodes-container .sag-chooser{
    grid-template-columns:1fr !important;
    row-gap:24px !important;
  }
  .home .pagelayer-shortcodes-container .sag-chooser-card{
    width:auto !important;
    max-width:none !important;
  }
  .home .pagelayer-shortcodes-container .sag-chooser-img{
    max-width:360px !important;
    max-height:360px !important;
  }
}


/* v2.15.2 homepage chooser final alignment + wrapper cleanup */
.home .pagelayer-shortcodes-container,
.home .pagelayer-shortcodes-container .sag-chooser,
.home .pagelayer-shortcodes-container .sag-chooser-card{
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.home .pagelayer-shortcodes-container .sag-chooser{
  justify-items: center !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card{
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: fit-content !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: static !important;
  text-decoration: none !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title{
  order: 1 !important;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  align-self: flex-start !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-img{
  order: 2 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 360px !important;
  max-height: 360px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  -webkit-filter: drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card *,
.home .pagelayer-shortcodes-container .sag-chooser-card img{
  border-color: transparent !important;
}


/* v2.15.3 chooser title typography + icons */
.home .pagelayer-shortcodes-container .sag-chooser-title{
  font-size: 1.3rem !important;
  color: #84664f !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* add icons */
.home .pagelayer-shortcodes-container .sag-chooser-card[href*="all-paintings"] .sag-chooser-title::before{
  content: "\1F3A8"; /* paint palette */
  font-size: 1.1em;
}

.home .pagelayer-shortcodes-container .sag-chooser-card[href*="all-photography"] .sag-chooser-title::before{
  content: "\1F4F7"; /* camera */
  font-size: 1.1em;
}


/* v2.15.4 replace emojis with flat black SVG icons (same style as gallery/sidebar) */

/* reset previous icons */
.home .sag-chooser-title::before{
  content: none !important;
}

/* base icon style */
.home .sag-chooser-title{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
}

/* paintings icon */
.home .sag-chooser-card[href*="all-paintings"] .sag-chooser-title::before{
  content:"";
  width:18px;
  height:18px;
  display:inline-block;
  background-color:#000;
  -webkit-mask-image: url('/wp-content/plugins/goudie-gallery-cursor/assets/icons/palette.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('/wp-content/plugins/goudie-gallery-cursor/assets/icons/palette.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
}

/* photography icon */
.home .sag-chooser-card[href*="all-photography"] .sag-chooser-title::before{
  content:"";
  width:18px;
  height:18px;
  display:inline-block;
  background-color:#000;
  -webkit-mask-image: url('/wp-content/plugins/goudie-gallery-cursor/assets/icons/camera.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('/wp-content/plugins/goudie-gallery-cursor/assets/icons/camera.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
}


/* v2.15.5 chooser icon path fix + width tweak */
.home .pagelayer-shortcodes-container .sag-chooser{
  max-width: 650px !important;
}

/* reset broken mask approach */
.home .sag-chooser-title::before{
  content: none !important;
  display: none !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card[href*="all-paintings"] .sag-chooser-title::before{
  content:"" !important;
  display:inline-block !important;
  width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
  background: url('/wp-content/plugins/goudie-gallery-cursor/assets/images/palette.png') center/contain no-repeat !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card[href*="all-photography"] .sag-chooser-title::before{
  content:"" !important;
  display:inline-block !important;
  width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
  background: url('/wp-content/plugins/goudie-gallery-cursor/assets/images/photo-camera.png') center/contain no-repeat !important;
}


/* v2.15.6 FIX ICONS (use content:url instead of background) */

.home .pagelayer-shortcodes-container .sag-chooser-title{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
}

/* Paintings icon */
.home .pagelayer-shortcodes-container 
.sag-chooser-card[href*="all-paintings"] 
.sag-chooser-title::before{
  content: url('/wp-content/plugins/goudie-gallery-cursor/assets/images/palette.png') !important;
  display:inline-block !important;
  width:18px !important;
  height:18px !important;
}

/* Photography icon */
.home .pagelayer-shortcodes-container 
.sag-chooser-card[href*="all-photography"] 
.sag-chooser-title::before{
  content: url('/wp-content/plugins/goudie-gallery-cursor/assets/images/photo-camera.png') !important;
  display:inline-block !important;
  width:18px !important;
  height:18px !important;
}


/* v2.15.7 chooser title icons: kill conflicting ::before rules and use background image on the title itself */
.home .pagelayer-shortcodes-container .sag-chooser-title::before{
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title{
  display: block !important;
  padding-left: 26px !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-size: 18px 18px !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card[href*="all-paintings"] .sag-chooser-title{
  background-image: url('/wp-content/plugins/goudie-gallery-cursor/assets/images/palette.png') !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card[href*="all-photography"] .sag-chooser-title{
  background-image: url('/wp-content/plugins/goudie-gallery-cursor/assets/images/photo-camera.png') !important;
}


/* v2.15.8 chooser title icon vertical alignment */
.home .pagelayer-shortcodes-container .sag-chooser-title{
  background-position: left center !important;
  padding-left: 24px !important;
  display: inline-block !important;
}


/* v2.15.9 chooser title icons rendered in markup, not CSS */
.home .pagelayer-shortcodes-container .sag-chooser-title{
  background: none !important;
  background-image: none !important;
  padding-left: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title::before{
  content: none !important;
  display: none !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title-icon{
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  object-fit: contain !important;
  flex: 0 0 18px !important;
  margin: 0 !important;
  vertical-align: middle !important;
}



  10%{opacity:1;}
  50%{transform:scale(1.1);}
  90%{opacity:1;}
  100%{opacity:0; transform:scale(1.15);}
}


/* v2.16.7 homepage chooser FINAL hard reset */
.home .pagelayer-shortcodes-container .sag-chooser{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:24px !important;
  max-width:650px !important;
  margin:0 auto !important;
  justify-items:center !important;
  align-items:start !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card{
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  width:fit-content !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  outline:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
  text-decoration:none !important;
}

.home .pagelayer-shortcodes-container .sag-chooser,
.home .pagelayer-shortcodes-container .sag-chooser *,
.home .pagelayer-shortcodes-container .sag-chooser-card,
.home .pagelayer-shortcodes-container .sag-chooser-card *{
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  border-color:transparent !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title{
  order:1 !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  width:auto !important;
  max-width:none !important;
  margin:0 0 10px 0 !important;
  padding:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  border:0 !important;
  outline:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#84664f !important;
  font-size:1.3rem !important;
  font-weight:600 !important;
  line-height:1.15 !important;
  text-align:left !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title::before{
  content:none !important;
  display:none !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-title-icon,
.home .pagelayer-shortcodes-container .sag-chooser-title img.sag-chooser-title-icon,
.home .pagelayer-shortcodes-container .sag-chooser-title img{
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  display:inline-block !important;
  flex:0 0 18px !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  vertical-align:middle !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-img{
  order:2 !important;
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:360px !important;
  max-height:360px !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  outline:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  -webkit-filter:drop-shadow(rgba(0,0,0,.6) 0 2px 6px) !important;
  transition:transform .45s ease !important;
}

.home .pagelayer-shortcodes-container .sag-chooser-card:hover .sag-chooser-img,
.home .pagelayer-shortcodes-container .sag-chooser-card:focus .sag-chooser-img{
  transform:scale(1.03) !important;
}

@media (max-width:700px){
  .home .pagelayer-shortcodes-container .sag-chooser{
    grid-template-columns:1fr !important;
  }
}
