.shirt-preview>svg:not([hidden]){display:block!important}.shirt-preview .shirt-fill{fill:url(#selected-fabric)}.shirt-preview .shirt-texture{pointer-events:none}.sft-extra{border-top:1px solid #ddd;padding:16px 0}.sft-extra>label{font-weight:700}.sft-extra fieldset{border:0;padding:12px 0;margin:0}.sft-extra fieldset:disabled{opacity:.45}.sft-extra select,.sft-extra input[type=text]{display:block;padding:10px;max-width:100%;margin:8px 0;border:1px solid #ccc;background:white}.shirt-preview[data-back="Center Pleats"] .shirt-back-pleat{display:block}.sft-side-pleats,.sft-tuxedo-pleats{display:none;fill:none;stroke:#7f898b;stroke-width:1}.shirt-preview[data-back="Side Pleats"] .sft-side-pleats,.shirt-preview[data-front="Tuxedo Placket"] .sft-tuxedo-pleats{display:block}.sft-monogram-warning{color:#9a4735}
.detail-group[data-detail="collar"] .detail-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:650px){.detail-group[data-detail="collar"] .detail-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.sft-advanced .sft-advanced-intro{color:#777;font-size:13px;line-height:1.6;margin:10px 0 22px}
.sft-advanced-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}
.sft-advanced .sft-extra{border:1px solid #dedcd6;background:#fff;padding:0;min-width:0;transition:border-color .2s,box-shadow .2s}
.sft-advanced .sft-extra:has(input[type=checkbox]:checked){border-color:#202122;box-shadow:inset 0 0 0 1px #202122}
.sft-advanced .sft-extra-trigger{display:grid;grid-template-columns:76px minmax(0,1fr) 20px;gap:14px;align-items:center;padding:14px;cursor:pointer;font-weight:400}
.sft-extra-art{display:flex;align-items:center;justify-content:center;width:76px;height:76px;background:#f1f0ec}
.sft-extra-art svg{width:48px;height:48px;fill:none;stroke:#8c9698;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.sft-extra-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.sft-extra-copy strong{font-size:12px;font-weight:600;line-height:1.35}.sft-extra-copy small{font-size:11px;color:#777;line-height:1.4}.sft-extra-default{font-size:9px;font-weight:700;letter-spacing:.07em;color:#999;text-transform:uppercase}
.sft-extra-check{position:relative;width:18px;height:18px;display:block}.sft-extra-check input{position:absolute;inset:0;width:18px;height:18px;opacity:0;margin:0;cursor:pointer;z-index:1}.sft-extra-check span{display:block;width:18px;height:18px;border:1px solid #aaa;background:#fff}.sft-extra-check input:checked+span{background:#202122;border-color:#202122}.sft-extra-check input:checked+span:after{content:'';display:block;width:8px;height:4px;border-left:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:rotate(-45deg);margin:5px 0 0 4px}.sft-extra-check input:focus-visible+span{outline:2px solid #8f7e68;outline-offset:3px}
.sft-advanced .sft-extra fieldset{border:0;border-top:1px solid #eeede9;padding:14px;margin:0;display:grid;gap:10px}.sft-advanced .sft-extra fieldset:disabled{display:none}.sft-advanced .sft-extra fieldset label{display:block;color:#646761;font-size:11px;line-height:1.5}.sft-advanced .sft-extra select,.sft-advanced .sft-extra input[type=text]{display:block;width:100%;max-width:none;min-height:43px;margin:5px 0 0;padding:10px 12px;border:1px solid #dedcd6;background:#fff;color:#333;font:400 13px 'DM Sans',Arial,sans-serif}.sft-advanced .sft-extra select:disabled{opacity:.45}.sft-advanced .sft-monogram-warning{margin:0;color:#9a4735;font-size:11px;line-height:1.5}.sft-advanced .sft-monogram-warning[hidden]{display:none}
@media(max-width:650px){.sft-advanced-grid{grid-template-columns:1fr}.sft-advanced .sft-extra-trigger{grid-template-columns:64px minmax(0,1fr) 20px;gap:12px;padding:12px}.sft-extra-art{width:64px;height:64px}.sft-extra-art svg{width:42px;height:42px}}

.sft-fabric-search-label{display:block;margin:0 0 7px;color:#424340;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.sft-fabric-search{display:block;width:100%;max-width:440px;height:45px;padding:0 14px;border:1px solid #d8d6d0;border-radius:0;background:#fff;color:#202122;font:400 13px DM Sans,Arial,sans-serif}.sft-fabric-search:focus-visible{outline:2px solid #8f7e68;outline-offset:2px}.sft-fabric-search-status:empty{display:none}.sft-fabric-search-status{min-height:16px;margin:8px 0 12px;color:#777;font-size:11px}.fabric-catalogue label[hidden]{display:none!important}
.designer-options > .wizard-step > .fabric-catalogue-heading,.designer-options > .wizard-step > .detail-tabs,.designer-options > .wizard-step > .fit-group{margin-top:0}
.sft-fabric-group{border-top:1px solid #d8d6d0;margin-top:18px}.sft-fabric-group[hidden]{display:none}.sft-fabric-group-heading{display:flex;align-items:center;gap:12px;padding:16px 0;cursor:pointer;list-style:none}.sft-fabric-group-heading::-webkit-details-marker{display:none}.sft-fabric-group-heading strong{font-size:11px;letter-spacing:.14em;text-transform:uppercase}.sft-fabric-group-count{margin-left:auto;color:#999;font-size:11px}.sft-fabric-group-heading::after{content:"";width:7px;height:7px;border-right:1.5px solid #777;border-bottom:1.5px solid #777;transform:rotate(45deg);margin:0 4px 4px;transition:transform .15s}.sft-fabric-group[open]>.sft-fabric-group-heading::after{transform:rotate(225deg);margin-bottom:0}.sft-fabric-group-heading:focus-visible{outline:2px solid #8f7e68;outline-offset:3px}

.topbar > .header-cart{display:inline-flex;align-items:center;justify-content:center;position:relative;width:44px;height:44px;padding:0;border:0;background:transparent;color:#fff;cursor:pointer;flex:none}
.topbar > .header-cart:hover{color:#dedcd6}.topbar > .header-cart:focus-visible{outline:2px solid #fff;outline-offset:1px}.topbar > .header-cart svg{width:21px;height:21px}
.topbar > .header-cart #cart-count{position:absolute;top:2px;right:0;display:grid;place-items:center;width:auto;min-width:16px;height:16px;margin:0;padding:0 3px;border:1px solid #b7b7b5;border-radius:9px;background:#1d1e20;color:#fff;font:600 9px/1 Arial,sans-serif;letter-spacing:0}
@media(min-width:651px){.topbar > .header-cart{position:absolute;right:calc(4% + 54px);top:50%;transform:translateY(-50%)}.nav{margin-right:108px}}
@media(min-width:901px){.topbar > .header-cart{right:calc(5% + 54px)}.top-tailor{right:calc(5% + 114px)}.nav{margin-right:0}}
@media(min-width:901px) and (max-width:1150px){.top-tailor{display:none}}
@media(max-width:650px){.topbar > .header-cart{position:relative;margin-right:8px}.topbar .brand{left:16px}.topbar{padding-left:16px;padding-right:16px}}
@media(max-width:380px){.topbar .brand img{width:130px}}
body.elementor-page-282 { background:#f9f8f5; }
body.elementor-page-282 .elementor-top-section:has(.elementor-shortcode) > .elementor-container { max-width:none; }
body.elementor-page-282 .elementor-top-section:has(.elementor-shortcode) .elementor-widget-wrap { padding:0; }
@media (max-width:650px) { body.elementor-page-282 .elementor-widget-heading h1 { font-size:clamp(42px,12vw,58px)!important; } }
body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1) { background-image:url('../../themes/shirt-factory/assets/hero-fitting.webp'); background-size:cover; background-position:center top; margin-left:3.3%; margin-right:3.3%; }
@media (max-width:650px) { body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1) { margin-left:0; margin-right:0; background-position:58% top; } }
/* About section: preserve Elementor text widgets while matching the tailoring theme. */
body.elementor-page-282 #about-us { background:#f4f2ed; padding:100px 7% 110px; }
body.elementor-page-282 #about-us > .elementor-container { max-width:1120px; }
body.elementor-page-282 #about-us .elementor-widget-wrap { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); grid-template-rows:auto auto auto auto auto; column-gap:clamp(50px,8vw,130px); align-items:start; padding:0; }
body.elementor-page-282 #about-us .elementor-widget-heading:first-child { grid-column:1; grid-row:1; margin:0 0 20px; }
body.elementor-page-282 #about-us .elementor-widget-heading:first-child .elementor-heading-title { color:#8c8c87; font:700 10px/1.5 'DM Sans',sans-serif; letter-spacing:.2em; text-transform:uppercase; }
body.elementor-page-282 #about-us .elementor-widget-heading:nth-child(2) { grid-column:1; grid-row:2; margin:0 0 27px; }
body.elementor-page-282 #about-us h2.elementor-heading-title { color:#202122; font:400 clamp(48px,5vw,68px)/1.05 'Playfair Display',Georgia,serif; letter-spacing:-.035em; }
body.elementor-page-282 #about-us .elementor-widget-text-editor { display:contents; }
body.elementor-page-282 #about-us .elementor-widget-text-editor p { color:#656662; font:400 14px/1.85 'DM Sans',Arial,sans-serif; margin:0 0 18px; }
body.elementor-page-282 #about-us .elementor-widget-text-editor p:nth-of-type(1) { grid-column:1; grid-row:3; max-width:570px; }
body.elementor-page-282 #about-us .elementor-widget-text-editor p:nth-of-type(2) { grid-column:1; grid-row:4; max-width:570px; }
body.elementor-page-282 #about-us .elementor-widget-text-editor p:nth-of-type(3) { grid-column:2; grid-row:2 / span 2; padding:5px 0 0 32px; border-left:1px solid #cbc8c1; color:#30312f; }
body.elementor-page-282 #about-us .elementor-widget-text-editor p:nth-of-type(3)::before { content:'VISIT SHIRT FACTORY THAILAND'; display:block; color:#202122; font:700 10px/1.5 'DM Sans',sans-serif; letter-spacing:.16em; margin-bottom:20px; }
body.elementor-page-282 #about-us .elementor-widget-text-editor p:nth-of-type(4) { grid-column:2; grid-row:4 / span 2; padding-left:32px; border-left:1px solid #cbc8c1; }
body.elementor-page-282 #about-us .elementor-widget-button { grid-column:1; grid-row:5; margin:14px 0 0; }
body.elementor-page-282 #about-us .elementor-button { background:#202122; color:#fff; border-radius:0; padding:18px 24px; font:700 10px/1.3 'DM Sans',sans-serif; letter-spacing:.1em; }
body.elementor-page-282 #about-us .elementor-button:hover { background:#44423e; }
@media(max-width:767px){ body.elementor-page-282 #about-us { padding:72px 24px 80px; } body.elementor-page-282 #about-us .elementor-widget-wrap { display:flex; flex-direction:column; gap:0; } body.elementor-page-282 #about-us .elementor-widget-text-editor { display:block; } body.elementor-page-282 #about-us .elementor-widget-text-editor p:nth-of-type(3) { margin-top:34px; } body.elementor-page-282 #about-us .elementor-widget-button { margin-top:18px; } }
/* Hero call to action */
body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1) .elementor-button { display:inline-flex; align-items:center; justify-content:center; min-height:58px; min-width:230px; padding:18px 26px; border:1px solid #202122; border-radius:0; background:#202122; color:#fff; font:700 10px/1.3 'DM Sans',Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase; transition:background .2s,color .2s,opacity .2s; }
body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1) .elementor-button:hover { background:#202122; color:#fff; opacity:.75; }
body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1) .elementor-button:focus-visible { outline:2px solid #8f7e68; outline-offset:3px; }
/* Advanced category headings use text and the checkbox without an illustration. */
.sft-advanced .sft-extra-trigger .sft-extra-art { display:none; }
.sft-advanced .sft-extra-trigger { grid-template-columns:minmax(0,1fr) 20px; }
@media(max-width:650px) { .sft-advanced .sft-extra-trigger { grid-template-columns:minmax(0,1fr) 20px; } }
/* Keep every cart item and the checkout controls reachable on short screens. */
.cart-drawer { box-sizing:border-box; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.cart-drawer-head, .cart-items, .cart-summary { flex-shrink:0; }
/* Keep the Elementor header visible without covering the section anchors. */
body.elementor-page-282 .elementor-top-section:has(.topbar) { position:sticky; top:0; z-index:50; background:#1d1e20; }
body.elementor-page-282.admin-bar .elementor-top-section:has(.topbar) { top:32px; }
body.elementor-page-282 :is(#customize,#story,#collection,#about-us) { scroll-margin-top:90px; }
@media(max-width:782px) { body.elementor-page-282.admin-bar .elementor-top-section:has(.topbar) { top:46px; } }
@media(max-width:650px) { body.elementor-page-282 :is(#customize,#story,#collection,#about-us) { scroll-margin-top:82px; } }
body.elementor-page-282 #trp-floater-ls { display:none; }
/* Place the default beneath the checkbox without overlapping the description. */
.sft-advanced .sft-extra-trigger { grid-template-columns:minmax(0,1fr) minmax(0,auto); grid-template-rows:auto auto; gap:5px 14px; }
.sft-advanced .sft-extra-copy { display:contents; }
.sft-advanced .sft-extra-copy strong { grid-column:1; grid-row:1; }
.sft-advanced .sft-extra-copy small { grid-column:1; grid-row:2; }
.sft-advanced .sft-extra-check { grid-column:2; grid-row:1; justify-self:end; }
.sft-advanced .sft-extra-default { grid-column:2; grid-row:2; justify-self:end; text-align:right; overflow-wrap:anywhere; }
/* Thai typography: use a Thai typeface and avoid wide tracking intended for Latin capitals. */
html:lang(th) body, html:lang(th) body :is(h1,h2,h3,h4,h5,h6,p,a,button,label,input,select,option,textarea,summary,legend,dt,dd,th,td,span,strong,small) { font-family:'Prompt',Tahoma,sans-serif !important; letter-spacing:normal !important; }
html:lang(th) body :is(.sft-extra-copy small,.sft-extra-default,.sft-extra fieldset label,.sft-choice,.detail-card-name,.wizard-progress button,.size-guide summary) { font-size:12px; line-height:1.6; }
html:lang(th) body :is(.elementor-heading-title,h1,h2,h3) { line-height:1.35; }
/* Simple Thai headings with a clear, comfortable weight. */
html:lang(th) body :is(h1,h2,.designer-summary > h3,.wizard-step > legend,.cart-drawer-head h2),
html:lang(th) body :is(h1,h2,.designer-summary > h3,.wizard-step > legend,.cart-drawer-head h2) :is(span,em,strong) { font-family:'Prompt',Tahoma,sans-serif !important; letter-spacing:normal !important; }
html:lang(th) body :is(h1,h2,.designer-summary > h3,.wizard-step > legend) { font-weight:600; line-height:1.4; }
html:lang(th) body :is(h1,h2,.designer-summary > h3,.wizard-step > legend) em { font-style:normal; }
/* Lighter Thai typography and readable navigation. */
html:lang(th) body :is(h1,h2,h3,h4,h5,h6,legend,strong,b,.eyebrow,.sft-extra-default,.wizard-progress button,.button,.elementor-button) { font-weight:500 !important; }
html:lang(th) body .topbar .nav a { font-size:14px; font-weight:500; line-height:1.5; }
html:lang(th) body .topbar .top-tailor { font-size:12px; font-weight:400; line-height:1.45; }
html:lang(th) body .topbar .top-tailor-link { font-size:13px; font-weight:500; }
@media(min-width:651px) { html:lang(th) body .topbar .nav { gap:clamp(12px,2vw,28px); } }
@media(max-width:650px) { html:lang(th) body .topbar .nav a, html:lang(th) body .topbar .nav .nav-tailor { font-size:14px; font-weight:500; line-height:1.5; } }
html:lang(th) body #about-us h2.elementor-heading-title { font-weight:500 !important; font-style:normal; }
html:lang(th) body .elementor-widget-heading h1.elementor-heading-title,
html:lang(th) body .elementor-widget-heading h1.elementor-heading-title em { font-weight:500 !important; font-style:italic !important; }
/* Respect the active preview type when the compact mobile preview is pinned. */
.shirt-preview > svg[hidden], .shirt-preview > img[hidden] { display:none !important; }
.sft-advanced label:has(> select.sft-choice-select) { display:none !important; }
@media(max-width:650px) {
  .designer-summary.is-floating .shirt-preview > img:not([hidden]) { display:block; width:100%; height:auto; max-height:160px; object-fit:contain; }
}
@media(max-width:650px) {
  body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1) {
    background-image:linear-gradient(90deg,rgba(249,247,241,.95) 0%,rgba(249,247,241,.86) 28%,rgba(249,247,241,.48) 53%,rgba(249,247,241,0) 80%),url('../../themes/shirt-factory/assets/hero-fitting.webp');
  }
  html:lang(th) body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1) h1.elementor-heading-title { font-size:clamp(32px,9vw,42px) !important; line-height:1.35; }
  body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1) .elementor-widget-text-editor p { color:#353531; }
}

html:lang(th) body #designer-heading, html:lang(th) body #designer-heading em { font-weight:500 !important; font-style:italic !important; }

#collection .product > a > img { width:100%; height:100%; object-fit:contain; padding:2%; }

#collection .product[hidden]{display:none!important}.sft-collection-pages{display:flex;justify-content:center;gap:8px;margin-top:32px}.sft-collection-pages button{width:42px;height:42px;border:1px solid #d1cec7;background:#fff;color:#202122;cursor:pointer;font:500 13px 'DM Sans',Arial,sans-serif}.sft-collection-pages button[aria-current=page],.sft-collection-pages button:hover{background:#202122;color:#fff;border-color:#202122}.sft-collection-pages button:focus-visible{outline:2px solid #746d61;outline-offset:2px}

#collection .product { position:relative; }
#collection .product > a { height:286px; }
#collection .product > a > img { padding:0; }
#collection .product > div { position:absolute; z-index:1; left:10px; bottom:10px; max-width:calc(100% - 20px); padding:10px 12px; border:0; background:#fff; pointer-events:none; }
#collection .product > div h3 { line-height:1.4; }
@media(max-width:650px){#collection .product > a { height:210px; } #collection .product > div { left:7px; bottom:7px; max-width:calc(100% - 14px); padding:8px; }}
#collection .product > div { top:10px; bottom:auto; }
@media(max-width:650px){#collection .product > div { top:7px; bottom:auto; }}

#collection .product > a > img { padding-top:20px; }
@media(max-width:650px){#collection .product > a > img { padding-top:14px; }}



@media(max-width:650px){.topbar .menu-toggle > span:not(.sr-only){display:block;flex:none;width:25px;height:2px;background-color:#fff!important;opacity:1}}

.sft-advanced .sft-extra-default.is-selected { color:#287347; }

@media(max-width:650px){.designer .sft-advanced input[type=text],.designer .sft-advanced input[type=search],.designer .sft-advanced select,.designer .sft-advanced .sft-button-filters select,.designer .sft-advanced .sft-button-filters input[type=search]{font-size:16px!important}.sft-collection-pages button{min-width:44px;min-height:44px}}

@media(max-width:650px){.wizard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.wizard-progress button{min-width:0;padding:10px 3px 12px;text-align:center;line-height:1.35;overflow-wrap:anywhere;letter-spacing:0}.wizard-progress button span{display:block;margin:0 0 4px;line-height:1.2}html:lang(th) body .wizard-progress button{font-size:11px;line-height:1.35}}

@media(max-width:650px){html:lang(th) .wizard-progress [data-go-step='2']{white-space:pre-line}}

@media(max-width:650px){.designer-summary:not(.is-floating){position:static;top:auto}}

.sft-advanced #extra-buttons .sft-choice { position:relative; display:block; aspect-ratio:1 / 1; min-height:0; padding:0; overflow:hidden; border:1px solid #dedcd6; }
.sft-advanced #extra-buttons .sft-choice .sft-button-photo { display:block; width:100%; height:100%; max-width:none; object-fit:cover; }
.sft-advanced #extra-buttons .sft-choice > span { position:absolute; left:8px; bottom:8px; padding:5px 8px; background:#fff; color:#202122; font-size:12px; line-height:1.2; }
.sft-advanced #extra-buttons .sft-choice[aria-checked=true] { border:1px solid #202122; box-shadow:inset 0 0 0 2px #202122; }
.sft-advanced #extra-buttons .sft-choice[aria-checked=true]::after { content:''; position:absolute; inset:0; box-shadow:inset 0 0 0 2px #202122; pointer-events:none; }
@media(max-width:480px){.sft-advanced #extra-buttons .sft-choice > span { left:6px; bottom:6px; }}
.sft-advanced .sft-button-pages{display:flex;justify-content:center;align-items:center;gap:10px;margin:16px 0 0}.sft-advanced .sft-button-pages[hidden]{display:none}.sft-advanced .sft-button-pages button{min-height:44px;padding:8px 12px;background:#fff;border:1px solid #d5d2cc;color:#202122;cursor:pointer;font-size:12px}.sft-advanced .sft-button-pages button:disabled{opacity:.45;cursor:default}.sft-advanced .sft-button-pages span{font-size:12px;color:#646761}

.sft-advanced #extra-buttons .sft-choice .sft-button-photo { object-fit:contain; padding:12%; background:#f3efec; }
.sft-advanced .sft-button-pages button:not(:disabled){background:#202122;border-color:#202122;color:#fff}
.sft-advanced .sft-button-pages button:not(:disabled):hover{background:#444;border-color:#444}
.sft-advanced .sft-button-pages button:disabled{background:#e8e7e3;border-color:#dedcd6;color:#777;opacity:1}
.sft-advanced .sft-button-filters{grid-template-columns:minmax(0,1.4fr) minmax(110px,.8fr) minmax(120px,.8fr)}@media(max-width:480px){.sft-advanced .sft-button-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sft-advanced .sft-button-filters label:first-child{grid-column:1/-1}}

.sft-advanced .sft-button-filters { grid-template-columns:minmax(0,1.4fr) minmax(120px,.8fr); }
.sft-advanced .sft-colour-filter { grid-column:1/-1; min-width:0; }
.sft-advanced .sft-colour-title { display:block; color:#646761; font-size:11px; line-height:1.5; margin:0 0 6px; }
.sft-advanced .sft-colour-palette { display:flex; flex-wrap:wrap; align-items:center; gap:3px; }
.sft-advanced .sft-colour-swatch { display:inline-flex; justify-content:center; align-items:center; flex:none; width:38px; height:38px; padding:3px; border:2px solid transparent; background:transparent; border-radius:50%; cursor:pointer; }
.sft-advanced .sft-colour-swatch[aria-checked=true] { border-color:#202122; }
.sft-advanced .sft-colour-swatch:focus-visible { outline:2px solid #1b68ad; outline-offset:2px; }
.sft-advanced .sft-colour-dot { display:block; width:26px; height:26px; border-radius:50%; border:1px solid rgba(0,0,0,.2); }
.sft-advanced .sft-colour-all { width:auto; min-width:44px; padding:4px 9px; border-radius:2px; color:#333; font-size:11px; }
@media(max-width:480px){.sft-advanced .sft-button-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sft-advanced .sft-button-filters label:first-child{grid-column:1/-1}.sft-advanced .sft-colour-swatch{width:40px;height:40px}.sft-advanced .sft-colour-all{width:auto}}
.sft-advanced .sft-button-status{display:none!important}

.sft-advanced .sft-button-filters { display:flex; flex-wrap:wrap; align-items:end; gap:12px 18px; }
.sft-advanced .sft-colour-filter { flex:1 1 480px; min-width:0; }
.sft-advanced .sft-button-filters > label { flex:1 1 200px; min-width:0; }
@media(max-width:480px){.sft-advanced .sft-colour-filter,.sft-advanced .sft-button-filters > label { flex-basis:100%; }}
.sft-posture{margin:30px 0}.sft-posture h4{margin:0 0 8px}.sft-posture>p{color:#777;font-size:13px;line-height:1.5;margin:0 0 14px}.sft-posture-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.sft-posture-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:132px;padding:8px 4px;border:1px solid #dedcd6;background:#fff;text-align:center;font-size:11px;line-height:1.35;cursor:pointer}.sft-posture-card:has(input:checked){border:2px solid #202122;background:#f8f7f4}.sft-posture-card input{position:absolute;opacity:0}.sft-posture-card:has(input:focus-visible){outline:2px solid #1b68ad;outline-offset:2px}.sft-posture-visual svg{display:block;width:58px;height:68px;fill:none;stroke:#87979b;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sft-posture-visual svg text{fill:#87979b;stroke:none;font-size:32px}@media(max-width:650px){.sft-posture-options{grid-template-columns:repeat(3,minmax(0,1fr))}.sft-posture-card{min-height:125px;font-size:12px}}@media(max-width:320px){.sft-posture-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sft-posture-visual svg{width:72px;height:90px;stroke:#667d83;stroke-width:1.7}.sft-posture-visual .posture-shirt{fill:#e8edec;stroke:#667d83}.sft-posture-visual .posture-face{fill:#f8f7f4}.sft-posture-visual .posture-guide{stroke:#d1d8d7;stroke-width:1}.sft-posture-card{min-height:155px}@media(max-width:650px){.sft-posture-card{min-height:150px}}

.sft-posture-photo{display:block;width:68px;height:170px;background-image:url('posture-mannequins-v2.png');background-repeat:no-repeat;background-size:500% 100%}
.sft-posture-card{min-height:225px;justify-content:flex-end}.sft-posture-card .sft-posture-visual:not(.sft-posture-photo){height:170px;display:flex;align-items:center;justify-content:center}@media(max-width:650px){.sft-posture-card{min-height:210px}.sft-posture-photo{width:62px;height:155px}.sft-posture-card .sft-posture-visual:not(.sft-posture-photo){height:155px}}
.sft-posture-photo{height:125px;background-size:500% auto!important;background-position-y:top!important}.sft-posture-card{min-height:180px}.sft-posture-card .sft-posture-visual:not(.sft-posture-photo){height:125px}@media(max-width:650px){.sft-posture-photo{height:114px}.sft-posture-card{min-height:169px}.sft-posture-card .sft-posture-visual:not(.sft-posture-photo){height:114px}}

.sft-posture-options{grid-template-columns:repeat(7,minmax(0,1fr))}.sft-posture-photo.sft-posture-abdomen{background-image:url('posture-full-abdomen.png');background-size:auto 170px!important;background-position:center top!important}@media(max-width:650px){.sft-posture-options{grid-template-columns:repeat(3,minmax(0,1fr))}.sft-posture-photo.sft-posture-abdomen{background-size:auto 155px!important}}@media(max-width:320px){.sft-posture-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.sft-posture-photo{background-image:url('posture-sway-belly-v5.png')!important;background-size:600% auto!important;background-position-y:top!important}

@media(min-width:651px){.sft-posture-options{grid-template-columns:repeat(6,minmax(0,1fr))}}

@media(min-width:651px){.sft-posture-options{grid-template-columns:repeat(5,minmax(0,1fr))}}

.sft-posture-photo{background-image:url('posture-five-mannequins.png')!important;background-size:500% auto!important}@media(min-width:651px){.sft-posture-options{grid-template-columns:repeat(6,minmax(0,1fr))}}

.sft-posture .sft-posture-error{color:#a03f36;font-size:12px;margin:10px 0 0}.sft-posture .sft-posture-error[hidden]{display:none}

.sft-posture-card:has(input[value='Rounded back']) .sft-posture-photo{background-image:url('posture-rounded-belly-final.png')!important}

.sft-posture-card,.sft-posture-card:has(input:checked){background:#fff!important}

.purchase-actions .sft-purchase-error{order:0;flex-basis:100%;margin:0;color:#ac302c;font-size:13px;line-height:1.5;text-align:right}.purchase-actions .sft-purchase-error[hidden]{display:none}@media(max-width:650px){.purchase-actions .sft-purchase-error{text-align:left}}

/* sft compact button colours 20261126 */
.sft-advanced .sft-colour-palette{gap:1px}.sft-advanced .sft-colour-swatch{width:30px;height:30px;padding:3px}.sft-advanced .sft-colour-dot{width:22px;height:22px}.sft-advanced .sft-colour-all{width:auto;min-width:38px;padding:4px 5px}@media(max-width:480px){.sft-advanced .sft-colour-swatch{width:30px;height:30px}.sft-advanced .sft-colour-all{width:auto}}

#collection .product > .sft-collection-price { margin: 12px 0 0; color: #292925; font-family: "DM Sans", Arial, sans-serif; font-size: 14px; line-height: 1.45; font-weight: 600; letter-spacing: .02em; }
#collection .sft-collection-price .woocommerce-Price-amount { color: inherit; }
@media(max-width:650px){#collection .product > .sft-collection-price { margin-top: 9px; font-size: 13px; }}

#collection .sft-price-note { display:block; margin-top:3px; color:#74746e; font-size:10px; line-height:1.4; font-weight:400; letter-spacing:0; }


/* Alternate the two existing homepage photographs without moving the text. */
body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1){position:relative;isolation:isolate}
body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1)::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:url('../../themes/shirt-factory/assets/hero.webp') center top/cover no-repeat;opacity:0;animation:sft-hero-slideshow 16s ease-in-out infinite}
body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1)>.elementor-container{position:relative;z-index:1}
@keyframes sft-hero-slideshow{0%,43%{opacity:0}50%,93%{opacity:1}100%{opacity:0}}
@media(max-width:650px){body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1)::after{background-image:linear-gradient(90deg,rgba(249,247,241,.95) 0%,rgba(249,247,241,.86) 28%,rgba(249,247,241,.48) 53%,rgba(249,247,241,0) 80%),url('../../themes/shirt-factory/assets/hero.webp');background-position:58% top}}
@media(prefers-reduced-motion:reduce){body.elementor-page-282 .elementor-top-section:has(.elementor-widget-heading h1)::after{animation:none;opacity:0}}

body.elementor-page-282 #customize{position:relative}
body.elementor-page-282 .sft-legacy-story-anchor{position:absolute;top:0;left:0;width:1px;height:1px;pointer-events:none}
