.is-shirt-preview{--is-shirt-ink:#17243b;--is-shirt-accent:#5b35d5;box-sizing:border-box;width:100%;min-width:0;border:1px solid #d7dbe6;border-radius:18px;overflow:hidden;background:#fff;color:var(--is-shirt-ink);text-align:left;font-family:inherit}
.is-shirt-preview *,.is-shirt-dialog *{box-sizing:border-box}
.is-shirt-tone-lavender{--is-shirt-art-background:#eee7f7}.is-shirt-tone-mint{--is-shirt-art-background:#e3f2e9}.is-shirt-tone-cream{--is-shirt-art-background:#f7eddc}.is-shirt-tone-navy{--is-shirt-art-background:#132039}.is-shirt-tone-charcoal{--is-shirt-art-background:#22232b}
.is-shirt-view-options{display:flex;gap:5px;padding:8px;background:#f3f1f8;border-bottom:1px solid #d7dbe6}
.is-shirt-view-options button{flex:1;min-width:0;min-height:44px;border:1px solid transparent;border-radius:999px;padding:9px 8px;font:inherit;font-size:.76rem;font-weight:750;line-height:1.2;background:transparent;color:#38445b;cursor:pointer;white-space:nowrap;word-break:normal;overflow-wrap:normal}
.is-shirt-view-options button[aria-pressed=true]{background:#17243b;color:#fff;border-color:#17243b}
.is-shirt-view-options button:hover{border-color:#7867a6}
.is-shirt-preview-stage{position:relative;width:100%;aspect-ratio:4/5;background:var(--is-shirt-art-background);overflow:hidden}
.is-shirt-design-panel,.is-shirt-garment-panel{position:absolute;inset:0;width:100%;height:100%}
.is-shirt-design-panel[hidden],.is-shirt-garment-panel[hidden]{display:none!important}
.is-shirt-design-panel{padding:7%}
.is-shirt-design-panel>a{display:block;width:100%;height:100%}
.is-shirt-design-panel img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;mix-blend-mode:normal!important;margin:0!important}
.is-shirt-garment-panel{background:#f8f8f8}
.is-shirt-garment-panel>.wc-block-components-product-image{width:100%!important;height:100%!important;max-height:100%;margin:0!important;aspect-ratio:auto!important}
.is-shirt-garment-panel>.wc-block-components-product-image>a{display:block;width:100%!important;height:100%!important}
.is-shirt-garment-panel img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;mix-blend-mode:normal!important;margin:0!important}
.is-shirt-preview-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:12px 13px 0}
.is-shirt-color-label{font-size:.74rem;line-height:1.3;font-weight:750;color:#526079}
.is-shirt-detail-button{border:0;background:transparent;color:#4e2eaf;padding:3px 0;font:inherit;font-size:.77rem;font-weight:800;line-height:1.3;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.is-shirt-print-words{padding:12px 13px 0;line-height:1.3}
.is-shirt-print-words>span{display:block;font-size:.61rem;font-weight:750;letter-spacing:.07em;text-transform:uppercase;color:#746786;margin-bottom:5px}
.is-shirt-print-words>strong{display:block;font-size:clamp(.86rem,1.3vw,1.08rem);font-weight:800;color:#17243b;overflow-wrap:normal;word-break:normal}
.is-shirt-preview-note{padding:9px 13px 13px;font-size:.67rem;line-height:1.45;color:#657086}
.is-shirt-preview button:focus-visible,.is-shirt-preview a:focus-visible,.is-shirt-dialog button:focus-visible,.is-shirt-dialog a:focus-visible{outline:3px solid #7050d8;outline-offset:3px}
.is-shirt-gallery-detail{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:12px 0;color:#657086}.is-shirt-gallery-detail>span{font-size:.76rem;line-height:1.4}.is-shirt-gallery-detail button:focus-visible{outline:3px solid #7050d8;outline-offset:3px}
ul.wc-block-product-template.is-shirt-catalog-grid,.wp-block-woocommerce-product-template.is-shirt-catalog-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important}
ul.wc-block-product-template.is-shirt-catalog-grid>li,.wp-block-woocommerce-product-template.is-shirt-catalog-grid>li{width:auto!important;min-width:0!important;margin:0!important}
.is-shirt-dialog{width:min(940px,94vw);max-width:94vw;max-height:94vh;max-height:94dvh;margin:auto;border:1px solid #aeb6c8;border-radius:21px;padding:0;background:#fff;color:#17243b;overflow:auto;box-shadow:0 20px 80px #0005}
.is-shirt-dialog::backdrop{background:#101626bf}
.is-shirt-dialog-content{padding:20px}
.is-shirt-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.is-shirt-dialog-heading h2{font:inherit;font-size:1.15rem;font-weight:800;line-height:1.3;margin:0;color:#17243b}
.is-shirt-dialog-close{flex-shrink:0;border:1px solid #bcc4d3;border-radius:999px;padding:8px 13px;background:#f4f1fa;color:#17243b;font:inherit;font-size:.8rem;font-weight:750;cursor:pointer}
.is-shirt-dialog-art{display:flex;align-items:center;justify-content:center;background:var(--is-shirt-art-background,#f7eddc);height:63vh;height:63dvh;min-height:200px;max-height:760px;padding:4%;border-radius:14px}
.is-shirt-dialog-art img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.is-shirt-dialog-words{font-size:clamp(1.05rem,2.2vw,1.4rem);font-weight:800;line-height:1.3;margin:17px 0 9px;overflow-wrap:anywhere}
.is-shirt-dialog-description{font-size:.85rem;line-height:1.5;color:#526079;margin:0 0 13px}
.is-shirt-dialog-product-link{display:inline-block;color:#4e2eaf;font-size:.9rem;font-weight:750;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){ul.wc-block-product-template.is-shirt-catalog-grid,.wp-block-woocommerce-product-template.is-shirt-catalog-grid{grid-template-columns:minmax(0,1fr)!important;gap:27px!important}.is-shirt-view-options button{font-size:.85rem}.is-shirt-print-words>strong{font-size:1.06rem}.is-shirt-dialog-content{padding:13px}.is-shirt-dialog-heading{gap:12px}.is-shirt-dialog-heading h2{font-size:1rem}.is-shirt-dialog-art{height:57vh;height:57dvh;padding:4%}.is-shirt-preview-note{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.is-shirt-preview *,.is-shirt-dialog *{scroll-behavior:auto!important;transition:none!important}}

/* Two-column phone catalog: equal image frames and aligned buying controls. */
@media(max-width:700px){
  #shop-products ul.wc-block-product-template,
  #shop-products .wp-block-woocommerce-product-template,
  ul.wc-block-product-template.is-catalog-grid,
  .wp-block-woocommerce-product-template.is-catalog-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:1fr;gap:12px!important;align-items:stretch;
  }
  .is-catalog-grid>li,#shop-products .wc-block-product-template>li{
    display:flex!important;width:auto!important;min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;
  }
  .is-catalog-grid>li>.wp-block-group{
    box-sizing:border-box;display:flex!important;flex-direction:column;width:100%;height:100%;
    min-width:0;padding:10px!important;border-radius:14px!important;gap:10px;
  }
  .is-catalog-grid>li>.wp-block-group>*{margin:0!important;min-width:0}
  .is-catalog-grid>li>.wp-block-group>.wc-block-components-product-image,
  .is-catalog-grid>li>.wp-block-group>.is-shirt-preview{
    flex:0 0 auto;width:100%!important;height:auto!important;aspect-ratio:2/3!important;
    overflow:hidden;border-radius:10px;
  }
  .is-catalog-grid>li>.wp-block-group>.wc-block-components-product-image>a{
    display:flex;width:100%;height:100%;align-items:center;justify-content:center;
  }
  .is-catalog-grid>li>.wp-block-group>.wc-block-components-product-image img{
    width:100%!important;height:100%!important;max-height:100%;object-fit:contain!important;margin:0!important;
  }
  .is-catalog-grid .wp-block-post-title{
    flex:1 0 auto;font-size:14px!important;line-height:1.35!important;
    word-break:normal!important;overflow-wrap:normal!important;hyphens:none;
  }
  .is-catalog-grid .wp-block-woocommerce-product-price{
    flex:0 0 auto;min-height:38px;font-size:13px!important;line-height:1.4!important;
  }
  .is-catalog-grid .wp-block-woocommerce-product-button{flex:0 0 auto;width:100%}
  .is-catalog-grid .wp-block-button__link{
    box-sizing:border-box;width:100%!important;min-height:44px;display:flex;align-items:center;justify-content:center;
    padding:10px 5px!important;font-size:12px!important;line-height:1.3!important;
    white-space:nowrap;word-break:normal;overflow-wrap:normal;
  }
  .is-catalog-grid .is-shirt-preview{display:flex;flex-direction:column}
  .is-catalog-grid .is-shirt-preview-stage{flex:1 1 0;min-height:0;aspect-ratio:auto}
  .is-catalog-grid .is-shirt-design-panel{padding:4%}
  .is-catalog-grid .is-shirt-preview-meta{flex:0 0 44px;display:flex;padding:0 4px;justify-content:center;gap:0}
  .is-catalog-grid .is-shirt-preview-meta .is-shirt-detail-button{
    width:100%;min-height:44px;padding:4px 0;font-size:11px;white-space:nowrap;
  }
  .is-catalog-grid .is-shirt-view-options,
  .is-catalog-grid .is-shirt-color-label,
  .is-catalog-grid .is-shirt-preview .is-shirt-print-words,
  .is-catalog-grid .is-shirt-preview .is-shirt-preview-note{display:none}
}
