/* ==========================================================================
   The Gift Shortlist · Design System v1.3.40  ("Hybrid" — the one skin; Today + Find/search wizard opted out)
   One token set for the app, sign-in, Youzify Gift Profile skin, WooCommerce.
   Load order: shortlist.css → surfaces.css → hybrid-theme.css → tgs-design.css (wins).
   Youzify/Woo are SKINNED with scoped CSS only — no markup, table or setting changes.
   Opt-out: add_filter('tgsapp_design_scope_woo','__return_false') / _youzify / _login.
   Brady 1.3.40: Main Page (data-screen=today) and Find/search wizard (data-screen=find|live)
   keep 1.3.36 look — component rules exclude those screens. Catalog product results,
   Woo, Youzify, login, and product-action bars stay styled.
   ========================================================================== */

/* 1 · TOKENS ------------------------------------------------------------- */
:root{
 /* colour */
 --tgs-teal-900:#063e48;--tgs-teal-800:#07545c;--tgs-teal-700:#0c6870;--tgs-teal-500:#32838a;
 --tgs-teal-100:#e1efed;--tgs-teal-50:#f0f8f6;
 --tgs-gold-700:#8a5811;--tgs-gold-600:#a66c19;--tgs-gold-500:#c99336;--tgs-gold-200:#f1cc7c;--tgs-gold-50:#fff4dc;
 --tgs-ink:#073d46;--tgs-ink-2:#265963;--tgs-muted:#5c757a;
 --tgs-surface:#ffffff;--tgs-surface-2:#f7fbfa;--tgs-line:#d8e7e5;--tgs-line-strong:#b9d3cf;
 --tgs-success:#13776f;--tgs-success-soft:#e7f5f1;--tgs-danger:#a3404c;--tgs-danger-soft:#fbeeed;
 --tgs-warn:#8a5811;--tgs-warn-soft:#fff4dc;
 --tgs-primary:var(--tgs-teal-800);--tgs-on-primary:#fff;
 --tgs-action:var(--tgs-gold-600);--tgs-action-hover:var(--tgs-gold-700);--tgs-on-action:#fff;
 --tgs-focus:#bd8730;
 /* type */
 --tgs-font-display:"TGS Serif","Iowan Old Style","Palatino Linotype",Georgia,serif;
 --tgs-font-text:"TGS Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
 --tgs-fs-xs:12px;--tgs-fs-sm:14px;--tgs-fs-md:16px;--tgs-fs-lg:19px;--tgs-fs-xl:24px;--tgs-fs-2xl:32px;--tgs-fs-3xl:clamp(32px,4vw,46px);
 --tgs-lh:1.5;--tgs-kicker-track:.14em;
 /* space (4pt) */
 --tgs-s1:4px;--tgs-s2:8px;--tgs-s3:12px;--tgs-s4:16px;--tgs-s5:20px;--tgs-s6:24px;--tgs-s8:32px;--tgs-s10:40px;--tgs-s12:48px;
 /* radius — three sizes + pill, nothing else */
 --tgs-r-sm:8px;--tgs-r-md:12px;--tgs-r-lg:18px;--tgs-r-pill:999px;
 /* elevation */
 --tgs-shadow-1:0 1px 2px rgba(6,66,73,.06),0 4px 14px -8px rgba(0,80,89,.20);
 --tgs-shadow-2:0 2px 6px rgba(6,66,73,.06),0 14px 36px -18px rgba(0,80,89,.28);
 --tgs-shadow-3:0 24px 60px -24px rgba(4,50,58,.40);
 /* controls */
 --tgs-ctl-h:44px;--tgs-ctl-h-sm:36px;--tgs-ctl-h-lg:52px;
 --tgs-ease:cubic-bezier(.2,.7,.2,1);
}
@font-face{font-family:"TGS Serif";src:url(fonts/InstrumentSerif-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"TGS Serif";src:url(fonts/InstrumentSerif-Italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"TGS Sans";src:url(fonts/InstrumentSans-Variable.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}

/* 2 · LEGACY ALIASES — every older TGS stylesheet now reads the same tokens */
.tgsapp-root,.tgs70,.tgs-sheet-back,.tgs-toasts,.tgs-ask70,.tgs-auth-shell,.tgs-bp70,#tgsapp-bp,.tgs-bp70-ov,.tgs-bp-native,.tgs-product-actions,.tgs-ds-scope{
 --ink:var(--tgs-ink);--ink-2:var(--tgs-ink-2);--muted:var(--tgs-muted);
 --plum:var(--tgs-primary);--plum-2:var(--tgs-teal-700);--plum-3:var(--tgs-teal-500);
 --bone:var(--tgs-surface);--paper:var(--tgs-surface);--sand:var(--tgs-teal-100);--sand-2:var(--tgs-teal-50);--line:var(--tgs-line);
 --persimmon:var(--tgs-action);--persimmon-dk:var(--tgs-action-hover);--persimmon-soft:var(--tgs-gold-50);
 --brass:var(--tgs-gold-500);--brass-lt:var(--tgs-gold-200);
 --moss:var(--tgs-success);--moss-soft:var(--tgs-success-soft);--rose:var(--tgs-danger);--rose-soft:var(--tgs-danger-soft);
 --on-plum:#fff;--on-plum-2:#e0f1ef;
 --serif:var(--tgs-font-display);--sans:var(--tgs-font-text);
 --r-lg:var(--tgs-r-lg);--r-md:var(--tgs-r-md);--r-sm:var(--tgs-r-sm);--r-pill:var(--tgs-r-pill);
 --shadow:var(--tgs-shadow-2);--shadow-sm:var(--tgs-shadow-1);
 --tgs-bp-teal:var(--tgs-teal-800);--tgs-bp-orange:var(--tgs-gold-600);--tgs-bp-tan:var(--tgs-teal-50);--tgs-bp-cream:#fff;
 --tgs-bp-ink:var(--tgs-ink);--tgs-bp-muted:var(--tgs-muted);--tgs-bp-line:var(--tgs-line);
}

/* 3 · COMPONENTS (app scopes) -------------------------------------------- */
/* Buttons: one shape (pill), three sizes, four intents. */
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) :is(.btn,.tgs-btn,.tgs-auth-button){
 display:inline-flex;align-items:center;justify-content:center;gap:var(--tgs-s2);
 min-height:var(--tgs-ctl-h);padding:0 var(--tgs-s5);border-radius:var(--tgs-r-pill);
 font:600 var(--tgs-fs-md)/1 var(--tgs-font-text);letter-spacing:0;text-decoration:none;white-space:nowrap;cursor:pointer;
 border:1.5px solid var(--tgs-line-strong);background:var(--tgs-surface);color:var(--tgs-ink);box-shadow:none;
 transition:background .18s var(--tgs-ease),color .18s var(--tgs-ease),border-color .18s,transform .18s var(--tgs-ease)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) :is(.btn,.tgs-btn):hover{background:var(--tgs-teal-50);border-color:var(--tgs-teal-500);color:var(--tgs-ink)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) :is(.btn-primary,.tgs-btn-primary,.tgs-auth-button){
 background:var(--tgs-action);border-color:var(--tgs-action);color:var(--tgs-on-action);box-shadow:0 6px 16px -8px rgba(166,108,25,.55)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) :is(.btn-primary,.tgs-btn-primary,.tgs-auth-button):hover{background:var(--tgs-action-hover);border-color:var(--tgs-action-hover);color:#fff}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) .btn-quiet{background:transparent;border-color:transparent;padding:0 var(--tgs-s3)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) .btn-quiet:hover{background:var(--tgs-teal-50);border-color:transparent}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) :is(.btn-danger,.btn[data-tone=danger]){color:var(--tgs-danger);border-color:#e3c1c5}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) .btn-sm{min-height:var(--tgs-ctl-h-sm);padding:0 var(--tgs-s4);font-size:var(--tgs-fs-sm)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) .btn-lg{min-height:var(--tgs-ctl-h-lg);padding:0 var(--tgs-s8);font-size:var(--tgs-fs-lg)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) :is(.btn[disabled],.btn[aria-disabled=true]){opacity:.45;cursor:not-allowed;transform:none}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) :is(.hero,.rail,.band,.on-plum) .btn:not(.btn-primary){background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) :is(.hero,.rail,.band,.on-plum) .btn:not(.btn-primary):hover{background:#fff;color:var(--tgs-ink)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) :focus-visible{outline:3px solid var(--tgs-focus);outline-offset:2px}

/* Cards / panels: one radius, one border, one shadow. */
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) :is(.panel,.card,.tile,.issue,.person-card,.gift-card,.booster,.stat,.archive-row,.tgs-card){
 background:var(--tgs-surface);border:1px solid var(--tgs-line);border-radius:var(--tgs-r-lg);box-shadow:var(--tgs-shadow-1)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-sheet-back,.tgs-ds-scope) :is(.tile,.gift-card,.person-card,.tgs-card):hover{box-shadow:var(--tgs-shadow-2)}

/* Type */
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) :is(.display,h1.display,h2.display){font-family:var(--tgs-font-display);font-weight:400;color:var(--tgs-ink);letter-spacing:-.01em}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) .kicker{font:700 var(--tgs-fs-xs)/1.2 var(--tgs-font-text);letter-spacing:var(--tgs-kicker-track);text-transform:uppercase;color:var(--tgs-gold-600)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-ds-scope) .muted{color:var(--tgs-muted)}

/* Form controls */
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=number],input[type=date],input[type=url],input[type=tel],select,textarea){
 min-height:var(--tgs-ctl-h);padding:10px 14px;border:1.5px solid var(--tgs-line-strong);border-radius:var(--tgs-r-md);
 background:#fff;color:var(--tgs-ink);font:400 var(--tgs-fs-md)/1.4 var(--tgs-font-text);box-shadow:none;transition:border-color .15s,box-shadow .15s}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) textarea{min-height:96px}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) :is(input,select,textarea):focus{outline:none;border-color:var(--tgs-teal-700);box-shadow:0 0 0 3px rgba(12,104,112,.16)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-ask70,.tgs-bp70,.tgs-sheet-back,.tgs-auth-shell,.tgs-ds-scope) label:not(.btn):not(.choice){font:600 var(--tgs-fs-sm)/1.3 var(--tgs-font-text);color:var(--tgs-ink-2)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-sheet-back,.tgs-ds-scope) :is(input[type=checkbox],input[type=radio]){accent-color:var(--tgs-teal-700);width:18px;height:18px}
/* Choice chips (filters etc.; Find wizard opted out via data-screen) */
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-sheet-back,.tgs-ds-scope) :is(.choice,.chip,.pill-toggle){border:1.5px solid var(--tgs-line);border-radius:var(--tgs-r-md);background:#fff;color:var(--tgs-ink)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-sheet-back,.tgs-ds-scope) :is(.choice,.chip):is(.on,.selected,[aria-pressed=true],[aria-checked=true],:has(input:checked)){border-color:var(--tgs-teal-700);background:var(--tgs-teal-50);box-shadow:inset 0 0 0 1px var(--tgs-teal-700)}

/* Sheets (person, shortlist, list edit) */
.tgs-sheet-back{background:rgba(4,40,46,.48)}
.tgs-sheet-back .tgs-sheet,.tgs-sheet-back .sheet{border-radius:var(--tgs-r-lg) var(--tgs-r-lg) 0 0;box-shadow:var(--tgs-shadow-3);background:#fff}
@media(min-width:901px){.tgs-sheet-back .tgs-sheet,.tgs-sheet-back .sheet{border-radius:var(--tgs-r-lg)}}

/* Empty states */
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-sheet-back,.tgs-bp70,.tgs-ds-scope) :is(.empty,.tgs-empty,.empty-state){
 display:grid;justify-items:center;gap:var(--tgs-s3);text-align:center;padding:var(--tgs-s10) var(--tgs-s6);
 border:1.5px dashed var(--tgs-line-strong);border-radius:var(--tgs-r-lg);background:var(--tgs-surface-2);color:var(--tgs-ink-2)}
:is(.tgs70:not([data-screen=today]):not([data-screen=find]):not([data-screen=live]),.tgs-sheet-back,.tgs-bp70,.tgs-ds-scope) :is(.empty,.tgs-empty,.empty-state) :is(h3,strong){font:400 var(--tgs-fs-xl)/1.2 var(--tgs-font-display);color:var(--tgs-ink)}

/* Toasts / notices */
.tgs-toasts .toast,.tgs-ds-notice{border-radius:var(--tgs-r-md);background:var(--tgs-teal-900);color:#fff;box-shadow:var(--tgs-shadow-2);font:500 var(--tgs-fs-sm)/1.4 var(--tgs-font-text)}

/* Product action bar — same tokens on Woo, app tiles and lists */
.tgs-product-actions .tgs-product-action{background:#fff!important;color:var(--tgs-ink)!important;border:1px solid var(--tgs-line)!important;border-radius:var(--tgs-r-sm)!important;font-family:var(--tgs-font-text)!important}
.tgs-product-actions .tgs-product-action:hover{background:var(--tgs-teal-50)!important;border-color:var(--tgs-teal-500)!important}
.tgs-product-actions .tgs-product-action.is-on,.tgs-product-actions .tgs-product-action[aria-pressed="true"]{background:var(--tgs-teal-50)!important;border-color:var(--tgs-teal-700)!important;color:var(--tgs-teal-800)!important}
.tgs-product-actions .tgs-product-action[aria-pressed="true"] svg{fill:var(--tgs-gold-500);stroke:var(--tgs-gold-600)}
.tgs-product-actions .tgs-product-action:focus-visible{outline:3px solid var(--tgs-focus)!important}

/* Youzify Gift Profile tab content (TGS markup only) */
.tgs-bp-native,.tgs-bp-intro{font-family:var(--tgs-font-text)!important;color:var(--tgs-ink)}
.tgs-bp-native .tgs-bp-shell,.tgs-bp-intro{border-radius:var(--tgs-r-lg)!important;border-color:var(--tgs-line)!important;background:#fff!important;box-shadow:var(--tgs-shadow-1)!important}
.tgs-bp-native h2,.tgs-bp-native h3{font-family:var(--tgs-font-display)!important;font-weight:400!important;color:var(--tgs-ink)!important}
.tgs-bp-native :is(.tgs-btn,a.tgs-btn,button){border-radius:var(--tgs-r-pill)!important}
.tgs-bp-native :is(.tgs-btn-primary,.tgs-btn.primary){background:var(--tgs-action)!important;border-color:var(--tgs-action)!important;color:#fff!important}

/* 4 · YOUZIFY CHROME SKIN (body.tgs-ds-youzify; colours/type/radius only) */
body.tgs-ds-youzify .youzify :is(.youzify-name h2,.youzify-profile-name){font-family:var(--tgs-font-display)}
body.tgs-ds-youzify .youzify-profile-navmenu{border-radius:var(--tgs-r-md);box-shadow:var(--tgs-shadow-1)}
body.tgs-ds-youzify .youzify-profile-navmenu .youzify-navbar-item a{font-family:var(--tgs-font-text);font-weight:600;letter-spacing:.01em}
body.tgs-ds-youzify .youzify-profile-navmenu .youzify-navbar-item.youzify-active-menu a,
body.tgs-ds-youzify .youzify-profile-navmenu .youzify-navbar-item a:hover{color:var(--tgs-teal-800)}
body.tgs-ds-youzify .youzify-profile-navmenu .youzify-navbar-item.youzify-active-menu{box-shadow:inset 0 -3px 0 var(--tgs-gold-500)}
body.tgs-ds-youzify .youzify :is(.youzify-widget,.youzify-tab,.youzify-main-column .youzify-widget){border-radius:var(--tgs-r-lg);box-shadow:var(--tgs-shadow-1)}
body.tgs-ds-youzify .youzify :is(.youzify-widget-title,.youzify-section-title){font-family:var(--tgs-font-display);font-weight:400;color:var(--tgs-ink)}
body.tgs-ds-youzify .youzify :is(.youzify-save-btn,.youzify-send-message,.youzify-follow,.button.youzify-btn){border-radius:var(--tgs-r-pill)}

/* 5 · WOOCOMMERCE SKIN (body.tgs-ds-woo; shop, product, cart, checkout, my-account) */
body.tgs-ds-woo .woocommerce,body.tgs-ds-woo.woocommerce-page main{--tgs-scope:woo;font-family:var(--tgs-font-text);color:var(--tgs-ink)}
body.tgs-ds-woo :is(.woocommerce-products-header__title,.product_title,.woocommerce-cart h1,.woocommerce-account h1,.entry-title){font-family:var(--tgs-font-display);font-weight:400;color:var(--tgs-ink);letter-spacing:-.01em}
body.tgs-ds-woo ul.products li.product{background:#fff;border:1px solid var(--tgs-line);border-radius:var(--tgs-r-lg);box-shadow:var(--tgs-shadow-1);padding:var(--tgs-s3)!important;transition:box-shadow .18s var(--tgs-ease),transform .18s var(--tgs-ease)}
body.tgs-ds-woo ul.products li.product:hover{box-shadow:var(--tgs-shadow-2);transform:translateY(-2px)}
body.tgs-ds-woo ul.products li.product img{border-radius:var(--tgs-r-md);background:var(--tgs-surface-2);aspect-ratio:1/1;object-fit:contain}
body.tgs-ds-woo ul.products li.product .woocommerce-loop-product__title{font:600 var(--tgs-fs-md)/1.3 var(--tgs-font-text)!important;color:var(--tgs-ink)}
body.tgs-ds-woo :is(.price,.amount){color:var(--tgs-teal-800);font-weight:700}
body.tgs-ds-woo .price del{color:var(--tgs-muted);font-weight:400}
body.tgs-ds-woo .onsale{background:var(--tgs-gold-500)!important;color:#fff!important;border-radius:var(--tgs-r-pill)!important;font:700 var(--tgs-fs-xs)/1 var(--tgs-font-text)!important;letter-spacing:.06em;text-transform:uppercase;min-height:0;padding:6px 10px}
body.tgs-ds-woo :is(.button,button.button,a.button,input.button,.single_add_to_cart_button,.checkout-button,#place_order,.wc-block-components-button,.wp-element-button){
 display:inline-flex;align-items:center;justify-content:center;min-height:var(--tgs-ctl-h);padding:0 var(--tgs-s5)!important;border-radius:var(--tgs-r-pill)!important;
 background:var(--tgs-surface)!important;color:var(--tgs-ink)!important;border:1.5px solid var(--tgs-line-strong)!important;font:600 var(--tgs-fs-md)/1 var(--tgs-font-text)!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
body.tgs-ds-woo :is(.button.alt,.single_add_to_cart_button,.checkout-button,#place_order,.product_type_external,.wc-block-components-checkout-place-order-button,.wc-block-cart__submit-button){
 background:var(--tgs-action)!important;border-color:var(--tgs-action)!important;color:#fff!important}
body.tgs-ds-woo :is(.button,.single_add_to_cart_button,.checkout-button,#place_order):hover{background:var(--tgs-teal-50)!important;border-color:var(--tgs-teal-500)!important;color:var(--tgs-ink)!important}
body.tgs-ds-woo :is(.button.alt,.single_add_to_cart_button,.checkout-button,#place_order,.product_type_external):hover{background:var(--tgs-action-hover)!important;border-color:var(--tgs-action-hover)!important;color:#fff!important}
body.tgs-ds-woo :is(.woocommerce form .input-text,.woocommerce form select,.woocommerce-Input,.quantity .qty,.select2-selection,.wc-block-components-text-input input){
 min-height:var(--tgs-ctl-h);border:1.5px solid var(--tgs-line-strong)!important;border-radius:var(--tgs-r-md)!important;background:#fff;color:var(--tgs-ink);font-family:var(--tgs-font-text);box-shadow:none}
body.tgs-ds-woo :is(.woocommerce form .input-text,.woocommerce-Input,.quantity .qty):focus{border-color:var(--tgs-teal-700)!important;box-shadow:0 0 0 3px rgba(12,104,112,.16)!important;outline:none}
body.tgs-ds-woo :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner){padding:12px 16px 12px 44px;position:relative;list-style:none;border:1px solid var(--tgs-line)!important;border-left:4px solid var(--tgs-teal-700)!important;border-radius:var(--tgs-r-md)!important;background:var(--tgs-surface-2)!important;color:var(--tgs-ink)!important;box-shadow:none}
body.tgs-ds-woo .woocommerce-error{border-left-color:var(--tgs-danger)!important;background:var(--tgs-danger-soft)!important}
body.tgs-ds-woo :is(.woocommerce-message,.woocommerce-info)::before{color:var(--tgs-teal-700)}
body.tgs-ds-woo :is(table.shop_table,.woocommerce-cart-form table,.cart_totals table){border:1px solid var(--tgs-line)!important;border-radius:var(--tgs-r-lg)!important;overflow:hidden;border-collapse:separate}
body.tgs-ds-woo table.shop_table th{font:700 var(--tgs-fs-xs)/1.2 var(--tgs-font-text);letter-spacing:var(--tgs-kicker-track);text-transform:uppercase;color:var(--tgs-muted);background:var(--tgs-surface-2)}
body.tgs-ds-woo .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:var(--tgs-s2);border:1px solid var(--tgs-line);border-radius:var(--tgs-r-lg);background:#fff;box-shadow:var(--tgs-shadow-1)}
body.tgs-ds-woo .woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;border-radius:var(--tgs-r-sm);color:var(--tgs-ink-2);font-weight:600;text-decoration:none}
body.tgs-ds-woo .woocommerce-MyAccount-navigation li.is-active a,body.tgs-ds-woo .woocommerce-MyAccount-navigation li a:hover{background:var(--tgs-teal-50);color:var(--tgs-teal-800)}
body.tgs-ds-woo .woocommerce-MyAccount-navigation li.is-active a{box-shadow:inset 3px 0 0 var(--tgs-gold-500)}
body.tgs-ds-woo .woocommerce-tabs ul.tabs li{border-radius:var(--tgs-r-md) var(--tgs-r-md) 0 0}
body.tgs-ds-woo .woocommerce-tabs ul.tabs li.active a{color:var(--tgs-teal-800)}
body.tgs-ds-woo .star-rating span::before,body.tgs-ds-woo .star-rating::before{color:var(--tgs-gold-500)}
body.tgs-ds-woo .woocommerce-breadcrumb{font-size:var(--tgs-fs-sm);color:var(--tgs-muted)}
body.tgs-ds-woo .woocommerce-breadcrumb a{color:var(--tgs-teal-700)}
body.tgs-ds-woo .tgs-amazon-note{font-size:var(--tgs-fs-xs);color:var(--tgs-muted);margin:var(--tgs-s2) 0 0}

/* 6 · WP LOGIN (wp-login.php) — matches [tgs_login] */
body.login{background:linear-gradient(160deg,var(--tgs-teal-50),#fff 55%);font-family:var(--tgs-font-text)}
body.login #login h1 a{background:none!important;width:auto!important;height:auto!important;text-indent:0!important;font:400 34px/1.1 var(--tgs-font-display);color:var(--tgs-ink)}
body.login #login h1 a em{color:var(--tgs-gold-600)}
body.login form{border:1px solid var(--tgs-line);border-radius:var(--tgs-r-lg);box-shadow:var(--tgs-shadow-2);padding:var(--tgs-s6)}
body.login form :is(.input,input[type=text],input[type=password]){border:1.5px solid var(--tgs-line-strong);border-radius:var(--tgs-r-md);min-height:var(--tgs-ctl-h);font-size:var(--tgs-fs-md);box-shadow:none}
body.login form :is(.input,input):focus{border-color:var(--tgs-teal-700);box-shadow:0 0 0 3px rgba(12,104,112,.16)}
body.login .button-primary{background:var(--tgs-action)!important;border-color:var(--tgs-action)!important;border-radius:var(--tgs-r-pill)!important;min-height:var(--tgs-ctl-h);padding:0 var(--tgs-s5)!important;font-weight:600;box-shadow:none!important;text-shadow:none}
body.login .button-primary:hover{background:var(--tgs-action-hover)!important}
body.login :is(#nav,#backtoblog) a{color:var(--tgs-teal-700)}
body.login .message,body.login .notice{border-left-color:var(--tgs-teal-700);border-radius:var(--tgs-r-md)}

@media(prefers-reduced-motion:reduce){:is(.tgs70,.tgs-sheet-back,body.tgs-ds-woo) *{transition:none!important}}


/* 1.4.9: Woo Shelly's Pick — Design D gold banner BELOW image (not overlay) + bigger ~3-col cards */
body.tgs-ds-woo .tgs-shelly-media-stack,
body.tgs-ds-woo .tgs-shelly-pick-wrap{
  display:flex;flex-direction:column;align-items:stretch;
  position:static;width:100%;max-width:100%;margin:0;padding:0;gap:0;
}
body.tgs-ds-woo .tgs-shelly-media-img{
  display:block;width:100%;position:relative;overflow:hidden;background:var(--tgs-surface-2,#f6f4ef);
  border-radius:var(--tgs-r-md) var(--tgs-r-md) 0 0;
}
body.tgs-ds-woo .tgs-shelly-media-stack:not(.is-pick) .tgs-shelly-media-img,
body.tgs-ds-woo .tgs-shelly-pick-wrap:not(:has(.tgs-shelly-pick-banner)) .tgs-shelly-media-img{
  border-radius:var(--tgs-r-md);
}
body.tgs-ds-woo .tgs-shelly-media-img img,
body.tgs-ds-woo .tgs-shelly-media-img .woocommerce-product-gallery__image,
body.tgs-ds-woo .tgs-shelly-media-img a{
  display:block;width:100%;margin:0;
}
body.tgs-ds-woo .tgs-shelly-pick-banner{
  position:static!important;display:block;box-sizing:border-box;
  width:100%;margin:0;left:auto;right:auto;top:auto;bottom:auto;z-index:auto;
  padding:10px;text-align:center;
  font-family:Arial,Helvetica,system-ui,-apple-system,sans-serif;
  font-weight:800;font-size:18px;line-height:1.15;letter-spacing:1px;
  text-transform:uppercase;color:#3a2600;
  background:linear-gradient(90deg,#e0a21c,#f8c94a,#e0a21c);
  pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  border-radius:0 0 var(--tgs-r-md) var(--tgs-r-md);
}
body.tgs-ds-woo .tgs-shelly-pick-banner::before{content:"★\00a0"}
body.tgs-ds-woo .tgs-shelly-pick-banner::after{content:"\00a0★"}
/* Fallback banner (image filter missed): still a full-width strip under the thumb area */
body.tgs-ds-woo .tgs-woo-badges--loop,
body.tgs-ds-woo .tgs-woo-badges--single{
  position:static!important;left:auto;right:auto;bottom:auto;top:auto;z-index:auto;
  display:block;width:100%;margin:8px 0 0;padding:0;pointer-events:none;
}
body.tgs-ds-woo ul.products li.product{position:relative}
body.tgs-ds-woo .woocommerce-product-gallery__image,
body.tgs-ds-woo .woocommerce-product-gallery__wrapper,
body.tgs-ds-woo .product .images{position:relative}
body.tgs-ds-woo .tgs-has-shelly-pick .cts-image,
body.tgs-ds-woo .tgs-has-shelly-pick .ct-image-container,
body.tgs-ds-woo .tgs-has-shelly-pick .ct-media-container{position:relative}

/* Bigger Woo loop cards — prefer ~3 per row on desktop */
body.tgs-ds-woo ul.products{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px!important;
  margin:0 0 2rem!important;padding:0!important;list-style:none;
}
body.tgs-ds-woo ul.products::before,body.tgs-ds-woo ul.products::after{display:none!important;content:none!important}
body.tgs-ds-woo ul.products li.product,
body.tgs-ds-woo ul.products li.product.first,
body.tgs-ds-woo ul.products li.product.last{
  width:auto!important;max-width:none!important;float:none!important;clear:none!important;
  margin:0!important;padding:18px!important;
}
body.tgs-ds-woo ul.products li.product img{border-radius:var(--tgs-r-md) var(--tgs-r-md) 0 0;aspect-ratio:1/1;object-fit:contain;width:100%;height:auto}
body.tgs-ds-woo ul.products li.product .tgs-shelly-media-stack img,
body.tgs-ds-woo ul.products li.product .tgs-shelly-media-img img{border-radius:0}
body.tgs-ds-woo ul.products li.product .woocommerce-loop-product__title{
  font:650 clamp(15px,1.35vw,18px)/1.3 var(--tgs-font-text)!important;margin:.55rem 0 .35rem!important
}
body.tgs-ds-woo ul.products li.product .price{font-size:clamp(15px,1.2vw,17px)!important}
@media(max-width:980px){
  body.tgs-ds-woo ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}
}
@media(max-width:560px){
  body.tgs-ds-woo ul.products{grid-template-columns:1fr;gap:14px!important}
  body.tgs-ds-woo .tgs-shelly-pick-banner{font-size:14px;padding:8px}
}
@media(min-width:981px) and (max-width:1280px){
  body.tgs-ds-woo ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* legacy pill classes redirected to banner look if still emitted */
body.tgs-ds-woo .tgs-woo-badge-pick{
  display:block;width:100%;box-sizing:border-box;padding:10px;text-align:center;border-radius:0 0 var(--tgs-r-md) var(--tgs-r-md);border:0;
  font:800 18px/1.15 Arial,Helvetica,system-ui,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#3a2600;
  background:linear-gradient(90deg,#e0a21c,#f8c94a,#e0a21c);box-shadow:none
}
body.tgs-ds-woo .tgs-woo-badge-pick::before{content:"★ ";color:inherit}
body.tgs-ds-woo .tgs-woo-badge-shortlist{display:none}

/* 1.4.5: Overview Favorites — small Amazon-linked square thumbs */
.tgs-overview-fav-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,72px));gap:8px;margin:4px 0 0;justify-content:start}
.tgs-overview-fav-thumb{display:block;width:72px;height:72px;border-radius:var(--tgs-r-md,12px);overflow:hidden;background:#fff;border:1px solid var(--tgs-line,#e6ddd0);box-shadow:var(--tgs-shadow-sm,0 1px 2px rgba(16,40,40,.06));text-decoration:none!important}
.tgs-overview-fav-thumb img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:520px){.tgs-overview-fav-thumbs{grid-template-columns:repeat(3,minmax(0,64px));gap:7px}.tgs-overview-fav-thumb{width:64px;height:64px;border-radius:var(--tgs-r-sm,8px)}}
