/* RCexplained Custom Shirts v0.020 — single-product only.
   WooCommerce owns variation controls and product/gallery images. No global archive styling. */
body.rce-custom-shirt-page{
  --rce-ink:#12344d;--rce-blue:#087dad;--rce-blue-dark:#05668e;
  --rce-line:#d9e6ef;--rce-soft:#f3f8fc;--rce-muted:#516c81;
}
body.rce-custom-shirt-page :is(.rce-purchase-shell,.rce-product-description){box-sizing:border-box;color:var(--rce-ink);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body.rce-custom-shirt-page :is(.rce-purchase-shell,.rce-product-description) *{box-sizing:border-box}
body.rce-custom-shirt-page .summary .rce-purchase-shell{
  position:relative;width:100%;max-width:100%;padding:24px 25px;
  border:1px solid #d9e7ef;border-radius:15px;background:#fff;
  box-shadow:0 5px 24px rgba(19,52,77,.055);overflow:visible;
}
body.rce-custom-shirt-page .summary .rce-purchase-shell:before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;border-radius:15px 15px 0 0;
  background:linear-gradient(90deg,#0879ab,#44bee3)
}
/* Product title is server-rendered, one H1. Never alter the stored WC title or SEO metadata. */
body.rce-custom-shirt-page .summary .rce-product-heading{margin:7px 0 15px}
body.rce-custom-shirt-page .summary .rce-product-heading h1.rce-product-title{
  margin:0!important;padding:0!important;color:var(--rce-ink)!important;
  font:800 clamp(23px,2.3vw,31px)/1.23 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  letter-spacing:-.025em;overflow-wrap:anywhere;
}
body.rce-custom-shirt-page .summary .rce-product-subtitle{
  margin:6px 0 0!important;color:#54748a!important;font:700 15px/1.45 system-ui,sans-serif!important;
}
body.rce-custom-shirt-page .summary .rce-shell-price{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  margin:0 0 20px!important;padding:14px 16px;background:var(--rce-soft);
  border:1px solid #d6e8f3;border-radius:11px;
}
body.rce-custom-shirt-page .rce-shell-price span{
  display:block;font:800 12px/1.4 system-ui,sans-serif;letter-spacing:.055em;
  color:#42647b;text-transform:uppercase;
}
body.rce-custom-shirt-page .rce-shell-price small{display:block;margin-top:3px;font:400 12px/1.4 system-ui,sans-serif;color:var(--rce-muted)}
body.rce-custom-shirt-page .rce-shell-price strong{
  color:#09678f;font:850 clamp(22px,2.25vw,29px)/1.13 system-ui,sans-serif;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
/* Remove duplicate Astra/Woo category and price displays inside this purchase card only. */
body.rce-custom-shirt-page .rce-purchase-shell :is(.product_meta,.single-product-category,.ast-woo-product-category,.posted_in),
body.rce-custom-shirt-page .rce-purchase-shell > .price{display:none!important}
body.rce-custom-shirt-page .rce-purchase-shell .woocommerce-variation-price{display:none!important}
body.rce-custom-shirt-page .summary .rce-purchase-shell form.cart{width:100%;margin:0!important}
body.rce-custom-shirt-page .rce-section-title{display:flex;align-items:flex-start;gap:12px}
body.rce-custom-shirt-page .rce-step-count{
  flex:0 0 30px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;background:#e5f4fc;color:#0673a2;font:800 15px/1 system-ui,sans-serif;
}
body.rce-custom-shirt-page .rce-section-title h3{
  margin:0!important;color:var(--rce-ink)!important;font:800 21px/1.35 system-ui,sans-serif!important;letter-spacing:-.02em;
}
body.rce-custom-shirt-page .rce-section-title h3 span{font-weight:500;font-size:14px;color:#6d8393}
body.rce-custom-shirt-page .rce-section-title p{margin:4px 0 0!important;font:400 14px/1.5 system-ui,sans-serif!important;color:var(--rce-muted)!important}
body.rce-custom-shirt-page .rce-shirt-step{margin:0 0 14px}
body.rce-custom-shirt-page .rce-step-note{display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px}
body.rce-custom-shirt-page .rce-inline-size-guide{display:inline-flex;align-items:center;min-height:24px}
body.rce-custom-shirt-page #rce-size-guide-trigger{
  display:inline-flex;min-height:25px;align-items:center;padding:0!important;margin:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  font:750 14px/1.4 system-ui,sans-serif!important;color:#077ba9!important;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;
}
body.rce-custom-shirt-page .rce-purchase-shell :is(select,input,button,textarea):focus-visible{
  outline:3px solid #138bc1!important;outline-offset:2px!important;
}
/* Retain source Size Guide for third-party modal behavior, without a second visual row. */
body.rce-custom-shirt-page .rce-purchase-shell :is(.rce-native-guide-holder,.printful-size-guide:not(#rce-inline-size-guide),.pf-size-guide:not(#rce-inline-size-guide)){
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  padding:0!important;margin:0!important;left:-10000px!important;opacity:0!important;
}
body.rce-custom-shirt-page .rce-purchase-shell .rce-native-guide-source{
  position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;
  padding:0!important;margin:0!important;overflow:hidden!important;opacity:0!important;
}
/* Two real WooCommerce selectors, side by side on desktop, stacked on small phones. */
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations{
  border:0!important;margin:0 0 9px!important;width:100%!important;border-collapse:collapse;
}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations tbody{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;
}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations tr{
  display:flex!important;flex-direction:column!important;min-width:0!important;gap:7px!important;
  margin:0!important;padding:0!important;
}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations :is(td,th){
  display:block!important;text-align:left!important;width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;border:0!important;
}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations label{
  font:750 15px/1.3 system-ui,sans-serif!important;color:#123a53!important;
}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations select{
  display:block!important;width:100%!important;max-width:100%!important;min-height:46px!important;
  margin:0!important;padding:9px 12px!important;border:1px solid #c3d7e5!important;
  border-radius:9px!important;background:#fff!important;color:var(--rce-ink)!important;
  font:500 16px/1.35 system-ui,sans-serif!important;box-shadow:none!important;
}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations select:focus{
  border-color:var(--rce-blue)!important;box-shadow:0 0 0 3px rgba(8,125,173,.10)!important;
}
body.rce-custom-shirt-page .rce-purchase-shell form.cart .reset_variations{
  font:500 12px/1.4 system-ui,sans-serif!important;color:var(--rce-blue)!important;
  margin:3px 0 0!important;display:inline-block;
}
body.rce-custom-shirt-page .rce-purchase-shell .single_variation_wrap,
body.rce-custom-shirt-page .rce-purchase-shell .woocommerce-variation.single_variation{
  min-height:0!important;margin:0!important;padding:0!important;
}
body.rce-custom-shirt-page .rce-purchase-shell .woocommerce-variation.single_variation:empty{display:none!important}
/* Upgrade cards */
body.rce-custom-shirt-page .rce-shirt-customizer{margin:15px 0 0;border-top:1px solid #e1eaf1;padding-top:16px}
body.rce-custom-shirt-page .rce-personalize-title{margin-bottom:13px}
body.rce-custom-shirt-page .rce-option-list{display:grid;gap:10px;margin:0 0 12px}
body.rce-custom-shirt-page .rce-upgrade{border:1px solid var(--rce-line);border-radius:11px;background:#fff;overflow:hidden;transition:border-color .15s,background .15s}
body.rce-custom-shirt-page .rce-upgrade:hover{border-color:#aacfe0}
body.rce-custom-shirt-page .rce-upgrade.has-selection{border-color:#1588ba;background:#f0f9fe;box-shadow:inset 3px 0 0 #1588ba}
body.rce-custom-shirt-page .rce-choice{
  display:flex!important;align-items:center;gap:12px;min-height:76px;padding:12px 13px!important;
  margin:0!important;cursor:pointer;color:var(--rce-ink)!important;
}
body.rce-custom-shirt-page .rce-choice input[type=checkbox]{
  flex:0 0 21px;width:21px!important;height:21px!important;margin:0!important;accent-color:var(--rce-blue)
}
body.rce-custom-shirt-page .rce-choice > span{flex:1;display:grid;gap:4px;min-width:0}
body.rce-custom-shirt-page .rce-choice strong{font:800 16px/1.3 system-ui,sans-serif;color:var(--rce-ink)}
body.rce-custom-shirt-page .rce-choice small{font:400 13px/1.4 system-ui,sans-serif;color:var(--rce-muted)}
body.rce-custom-shirt-page .rce-choice > b{
  flex:none;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;
  padding:6px 10px;border-radius:99px;background:#eaf5fb;color:#076b95;
  font:800 13px/1.25 system-ui,sans-serif;font-variant-numeric:tabular-nums;
}
body.rce-custom-shirt-page .rce-bundle-hint{
  margin:0!important;padding:8px 11px;background:#f1f8fc;border-radius:7px;
  font:500 13px/1.45 system-ui,sans-serif!important;color:#2a5b73;
}
body.rce-custom-shirt-page .rce-bundle-hint strong{color:#0c709e}
body.rce-custom-shirt-page .rce-mode-field{border-top:1px solid #dcebf4;padding:13px 15px 16px;background:#f8fcfe}
body.rce-custom-shirt-page .rce-mode-field[hidden],body.rce-custom-shirt-page .rce-price-row[hidden],body.rce-custom-shirt-page .rce-custom-preview[hidden]{display:none!important}
body.rce-custom-shirt-page .rce-mode-field label{display:block;font:750 14px/1.35 system-ui,sans-serif;margin-bottom:8px}
body.rce-custom-shirt-page .rce-mph-input{display:flex;align-items:center;gap:10px;font-weight:750}
body.rce-custom-shirt-page .rce-mph-input input{width:130px!important;max-width:65%;height:43px;padding:8px 12px;border:1px solid #bdd6e6;border-radius:8px;background:#fff}
body.rce-custom-shirt-page .rce-mode-field small{font:400 12px/1.55 system-ui,sans-serif;color:var(--rce-muted)}
body.rce-custom-shirt-page .rce-field-intro{margin:0 0 10px!important;font:400 14px/1.5 system-ui,sans-serif!important}
body.rce-custom-shirt-page .rce-custom-drop{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  min-height:122px;padding:16px;cursor:pointer;text-align:center;border:2px dashed #8ac2dd;
  border-radius:10px;background:#f0f8fe;
}
body.rce-custom-shirt-page .rce-custom-drop:hover,.rce-custom-drop.rce-drag-over{background:#e5f4fc;border-color:var(--rce-blue)}
body.rce-custom-shirt-page .rce-drop-symbol{font-size:24px;font-weight:700;color:#1378a4;line-height:1}
body.rce-custom-shirt-page .rce-custom-drop strong{font:750 15px/1.4 system-ui,sans-serif}
body.rce-custom-shirt-page .rce-drop-button{display:inline-block;margin-top:5px;padding:8px 13px;background:#087dad;border-radius:7px;color:#fff;font:700 13px/1.3 system-ui,sans-serif}
body.rce-custom-shirt-page #rce_rc_image{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important}
body.rce-custom-shirt-page .rce-custom-upload:focus-within .rce-custom-drop{outline:3px solid #168bc1;outline-offset:2px}
body.rce-custom-shirt-page #rce-file-error{color:#b42318;font:600 13px/1.4 system-ui,sans-serif}
body.rce-custom-shirt-page .rce-custom-preview{display:flex;align-items:center;gap:11px;margin-top:11px;padding:10px;border:1px solid #d4e4ed;border-radius:9px;background:#fff}
body.rce-custom-shirt-page .rce-custom-preview img{width:88px;height:78px;object-fit:contain;border-radius:6px;background:#e8f0f5}
body.rce-custom-shirt-page .rce-custom-preview div{min-width:0;flex:1;overflow-wrap:anywhere}
body.rce-custom-shirt-page .rce-custom-preview strong{display:block;font-size:13px}
body.rce-custom-shirt-page .rce-custom-preview small{display:block}
body.rce-custom-shirt-page .rce-custom-clear{padding:0;border:0;background:none;color:#087dad;text-decoration:underline;cursor:pointer;font-size:12px}
body.rce-custom-shirt-page .rce-photo-help{margin:9px 0 0!important;font-size:12px!important;line-height:1.5!important;color:var(--rce-muted)}
/* Price disclosure is an estimate until the cart verifies taxes, shipping and payment. */
body.rce-custom-shirt-page .rce-purchase-total{
  padding:14px 15px;margin:16px 0 11px;border:1px solid #d5e7f1;border-radius:11px;background:#f3f8fc;
}
body.rce-custom-shirt-page .rce-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:5px 0;font:400 13px/1.5 system-ui,sans-serif}
body.rce-custom-shirt-page .rce-price-row strong{font-weight:750;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
body.rce-custom-shirt-page .rce-discount{color:#117959}
body.rce-custom-shirt-page .rce-total-line{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  margin-top:9px;padding-top:11px;border-top:1px solid #d6e6ee;
}
body.rce-custom-shirt-page .rce-total-line span{font:800 13px/1.35 system-ui,sans-serif;color:#21465e}
body.rce-custom-shirt-page .rce-total-line strong{font:850 clamp(18px,2vw,24px)/1.22 system-ui,sans-serif;color:#0776a1;text-align:right;font-variant-numeric:tabular-nums}
body.rce-custom-shirt-page .rce-price-footnote{margin:8px 0 0!important;color:#617b8d;font:400 12px/1.45 system-ui,sans-serif!important}
/* Compact trust statement: no guarantee of manual Printful/order approval. */
body.rce-custom-shirt-page .rce-confidence-row{
  display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px 16px;
  margin:12px 0 15px;color:#426a7c;font:650 12px/1.45 system-ui,sans-serif;
}
body.rce-custom-shirt-page .rce-confidence-row>span{display:inline-flex;align-items:center;gap:6px}
body.rce-custom-shirt-page .rce-confidence-row>span>span{color:#108075;font-weight:900}
body.rce-custom-shirt-page .rce-purchase-shell :is(.single_variation_wrap,.woocommerce-variation-add-to-cart){margin:0!important}
body.rce-custom-shirt-page .rce-purchase-shell :is(.variations_button,.woocommerce-variation-add-to-cart){display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:6px!important}
body.rce-custom-shirt-page .rce-purchase-shell .quantity{margin:0!important;float:none!important}
body.rce-custom-shirt-page .rce-purchase-shell .quantity .qty{min-height:45px;max-width:84px;border-radius:9px;border:1px solid #cadce8;text-align:center;font-size:15px}
body.rce-custom-shirt-page .rce-purchase-shell button.single_add_to_cart_button{
  flex:1;min-width:155px;min-height:46px!important;padding:10px 16px!important;border:0!important;
  border-radius:9px!important;background:#087ca9!important;color:#fff!important;
  font:800 15px/1.3 system-ui,sans-serif!important;cursor:pointer;
}
body.rce-custom-shirt-page .rce-purchase-shell button.single_add_to_cart_button:hover:not(:disabled){background:#055b80!important}
body.rce-custom-shirt-page .rce-purchase-shell button.single_add_to_cart_button:disabled{cursor:not-allowed;opacity:.5}
/* Preserve existing payment methods and provider controls; style only within this card. */
body.rce-custom-shirt-page .rce-purchase-shell .wc-payment-request{margin-top:12px}
/* WooCommerce/Printful product images; no synthetic images or JS gallery swapping. */
body.rce-custom-shirt-page .woocommerce-product-gallery{max-width:100%;overflow:hidden}
body.rce-custom-shirt-page .woocommerce-product-gallery .wp-post-image{width:100%;max-width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;display:block}
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs{
  display:flex!important;flex-wrap:nowrap;gap:10px;margin:14px 0 4px!important;padding:2px!important;list-style:none;overflow-x:auto;scroll-snap-type:x proximity;
}
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs li{
  flex:0 0 clamp(76px,8vw,100px);max-width:100px;margin:0!important;list-style:none;scroll-snap-align:start;
}
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs img{
  display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;
  padding:4px;border:2px solid transparent;border-radius:8px;opacity:.75;cursor:pointer;
}
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs img:is(.flex-active,:focus-visible){opacity:1;border-color:var(--rce-blue);outline-offset:2px}
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs img:hover{opacity:1}
/* WordPress description is the source of truth; visual restructuring only. */
body.rce-custom-shirt-page .woocommerce-tabs{display:none!important}
body.rce-custom-shirt-page .rce-product-description{clear:both;width:100%;margin:20px 0 32px!important;max-width:none;line-height:1.7}
body.rce-custom-shirt-page .rce-parsed-description{display:flex;flex-direction:column;max-width:100%;gap:0;color:#24485e}
body.rce-custom-shirt-page .rce-parsed-description>section{margin:0;padding:22px 2px;border-bottom:1px solid #dce8ef}
body.rce-custom-shirt-page .rce-parsed-description>section:last-child{border-bottom:0}
body.rce-custom-shirt-page .rce-parsed-description>section.rce-description-intro{background:#f3f9fc;border:1px solid #deebf2;padding:23px 25px;border-radius:12px}
body.rce-custom-shirt-page .rce-parsed-description>section.rce-description-story{border-left:3px solid #1687b4;padding-left:17px}
body.rce-custom-shirt-page .rce-parsed-description :is(h2,h3){margin:0 0 13px!important;font:800 clamp(19px,2vw,24px)/1.35 system-ui,sans-serif!important;color:var(--rce-ink)!important}
body.rce-custom-shirt-page .rce-parsed-description h2{font-size:clamp(21px,2.2vw,27px)!important}
body.rce-custom-shirt-page :is(.rce-parsed-description .rce-description-copy,.rce-original-description){font:400 16px/1.72 system-ui,sans-serif;color:#36586d}
body.rce-custom-shirt-page .rce-description-copy p{margin:0 0 13px!important;font-size:16px!important;line-height:1.72!important}
body.rce-custom-shirt-page .rce-description-copy p:last-child{margin-bottom:0!important}
body.rce-custom-shirt-page .rce-parsed-description .rce-description-specs .rce-description-copy>:is(ul,ol),
body.rce-custom-shirt-page .rce-parsed-description ul.rce-description-specs{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px!important;
  list-style:none!important;margin:8px 0 0!important;padding:0!important;columns:auto!important;
}
body.rce-custom-shirt-page .rce-parsed-description .rce-description-specs .rce-description-copy>:is(ul,ol)>li,
body.rce-custom-shirt-page .rce-parsed-description ul.rce-description-specs>li{
  display:block;min-width:0;position:relative;padding:0 0 0 23px!important;margin:0!important;
  list-style:none!important;font-size:15px!important;line-height:1.6!important;break-inside:avoid;
}
body.rce-custom-shirt-page .rce-parsed-description .rce-description-specs .rce-description-copy>:is(ul,ol)>li:before,
body.rce-custom-shirt-page .rce-parsed-description ul.rce-description-specs>li:before{
  content:"✓";position:absolute;top:0;left:0;color:#087faf;font-weight:900;
}
body.rce-custom-shirt-page .rce-parsed-description section:not(.rce-description-specs) .rce-description-copy ul{display:block;list-style:disc;padding-left:25px}
body.rce-custom-shirt-page .rce-parsed-description section:not(.rce-description-specs) .rce-description-copy ol{display:block;list-style:decimal;padding-left:25px}
body.rce-custom-shirt-page .rce-product-description :is(img,video,iframe){max-width:100%;height:auto}
body.rce-custom-shirt-page .rce-product-description a{color:#087dad;text-decoration:underline}
@media(max-width:1024px){
 body.rce-custom-shirt-page .summary .rce-purchase-shell{padding:20px 19px}
 body.rce-custom-shirt-page .rce-shell-price strong{font-size:23px}
 body.rce-custom-shirt-page .rce-choice{min-height:74px}
}
@media(max-width:768px){
 body.rce-custom-shirt-page .summary .rce-purchase-shell{padding:20px;border-radius:12px}
 body.rce-custom-shirt-page .rce-purchase-shell{float:none}
 body.rce-custom-shirt-page .rce-product-heading h1.rce-product-title{font-size:24px!important}
 body.rce-custom-shirt-page .rce-parsed-description .rce-description-specs .rce-description-copy>:is(ul,ol),
 body.rce-custom-shirt-page .rce-parsed-description ul.rce-description-specs{grid-template-columns:1fr!important}
 body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs{gap:9px}
}
@media(max-width:390px){
 body.rce-custom-shirt-page .summary .rce-purchase-shell{padding:16px 13px}
 body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations tbody{grid-template-columns:1fr!important;gap:10px!important}
 body.rce-custom-shirt-page .rce-shell-price{gap:7px;padding:12px}
 body.rce-custom-shirt-page .rce-shell-price strong{font-size:22px}
 body.rce-custom-shirt-page .rce-choice{gap:8px;padding:11px 9px!important}
 body.rce-custom-shirt-page .rce-choice strong{font-size:15px}
 body.rce-custom-shirt-page .rce-choice small{font-size:12px}
 body.rce-custom-shirt-page .rce-choice>b{font-size:12px;padding:5px 7px}
 body.rce-custom-shirt-page .rce-total-line{flex-wrap:wrap}
 body.rce-custom-shirt-page .rce-parsed-description>section.rce-description-intro{padding:17px}
}

/* v0.021 — product-page polish only: preserve Astra/WooCommerce structure. */
body.rce-custom-shirt-page .summary .rce-product-heading{margin-bottom:13px}
body.rce-custom-shirt-page .summary .rce-product-subtitle{font-size:14px!important;font-weight:650!important;letter-spacing:.015em}
body.rce-custom-shirt-page .summary .rce-shell-price{margin-bottom:17px!important;min-width:0}
body.rce-custom-shirt-page .rce-shell-price strong{overflow-wrap:normal;white-space:nowrap;font-size:clamp(21px,2vw,27px)}
body.rce-custom-shirt-page .rce-shirt-step{margin-bottom:11px!important}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations{margin-bottom:5px!important}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations tbody{gap:11px!important}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations select{min-height:48px!important;padding:10px 13px!important;transition:border-color .15s,box-shadow .15s}
body.rce-custom-shirt-page .rce-purchase-shell form.cart table.variations select.rce-selected-variation{border-color:#8dbcd5!important}
body.rce-custom-shirt-page .rce-shirt-customizer{margin-top:11px;padding-top:14px}
body.rce-custom-shirt-page .rce-option-list{gap:9px}
body.rce-custom-shirt-page .rce-choice{min-height:78px;gap:13px;padding:14px!important}
body.rce-custom-shirt-page .rce-choice:hover{background:#f8fcff}
body.rce-custom-shirt-page .rce-upgrade.has-selection{box-shadow:inset 3px 0 0 #1588ba,0 1px 5px rgba(8,125,173,.07)}
body.rce-custom-shirt-page .rce-upgrade:focus-within{border-color:#087dad;box-shadow:0 0 0 2px rgba(8,125,173,.12)}
body.rce-custom-shirt-page .rce-choice > b{min-width:70px;flex-shrink:0;text-align:center}
body.rce-custom-shirt-page .rce-purchase-total{margin-top:13px}
body.rce-custom-shirt-page .rce-purchase-shell .rce-confidence-row{
  flex-basis:100%;width:100%;justify-content:space-between;
  gap:8px 12px;margin:10px 0 4px;padding:12px 3px 0;
  border-top:1px solid #e1eaf1;color:#446779;font-size:12px;
}
body.rce-custom-shirt-page .rce-purchase-shell .rce-confidence-row > span{white-space:nowrap}
/* Match WooCommerce's native active thumbnail or the currently selected variation. */
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs{gap:11px!important;margin-top:12px!important;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs li{flex:0 0 clamp(78px,8vw,104px);max-width:104px}
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs img{
  border:2px solid #dfe9ef;opacity:.82;border-radius:10px;
  transition:border-color .15s,opacity .15s,box-shadow .15s;
}
body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs img:is(.flex-active,.rce-thumb-current,:focus-visible){
  border-color:#087dad;opacity:1;box-shadow:0 0 0 2px rgba(8,125,173,.12)
}
body.rce-custom-shirt-page .woocommerce-product-gallery.rce-gallery-variation-unmatched ol.flex-control-thumbs img.flex-active:not(.rce-thumb-current){border-color:#dfe9ef;box-shadow:none;opacity:.82}
body.rce-custom-shirt-page .woocommerce-product-gallery img{max-width:100%}
@media(max-width:767px){
 body.rce-custom-shirt-page .summary .rce-purchase-shell{padding:18px 16px!important}
 body.rce-custom-shirt-page .rce-purchase-shell .rce-choice{gap:10px;padding:12px!important}
 body.rce-custom-shirt-page .rce-purchase-shell .rce-confidence-row{justify-content:flex-start;gap:9px 16px}
 body.rce-custom-shirt-page .woocommerce-product-gallery ol.flex-control-thumbs li{flex-basis:88px}
}
@media(max-width:390px){
 body.rce-custom-shirt-page .rce-purchase-shell .rce-choice{align-items:center;gap:8px}
 body.rce-custom-shirt-page .rce-purchase-shell .rce-choice > b{min-width:62px;padding:6px 7px;font-size:12px}
 body.rce-custom-shirt-page .rce-shell-price{flex-wrap:wrap}
 body.rce-custom-shirt-page .rce-confidence-row>span{font-size:11px}
}


/* v0.027: stable initial product rendering without waiting for the gallery script. */
body.rce-custom-shirt-page .woocommerce-product-gallery{opacity:1!important;visibility:visible!important}
body.rce-custom-shirt-page :is(.woocommerce-breadcrumb,.ast-breadcrumbs-wrapper .trail-browse){
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;line-height:1.55!important;letter-spacing:0!important;
}
body.rce-custom-shirt-page .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child{
  aspect-ratio:1/1;
}
body.rce-custom-shirt-page .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child img{
  width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;display:block;
}
/* Before WC FlexSlider loads, show only the first real shirt image; retain all slides afterward. */
@supports selector(:has(*)){
  body.rce-custom-shirt-page .woocommerce-product-gallery:not(:has(.flex-viewport))
  .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:not(:first-child){display:none}
}
