/*
 * The store pages of a member web app (shop, category, product, cart, checkout, order received), as part of the same
 * product as the My Account dashboard: the same card language, spacing rhythm, inline-SVG icons, empty states and buttons.
 * Loaded only on a web app's store page (gend-society inc/store-templates.php adds body.gs-store-dash and this file; gend.me's
 * own shop gets neither). Every rule is under body.gs-store-dash and inside <main>, so the site header, footer, dock and
 * widgets are never touched.
 *
 * Colours come from the theme palette variables (base, contrast, brand-primary, brand-secondary) and nothing else is
 * hard-coded: surfaces, lines and muted text are mixed from the text colour with color-mix, so a dark style guide works as
 * well as a light one. Text on a brand-coloured surface is white or black by the brand colour's lightness (oklch relative
 * colour, #fff where that is not supported; .56 is the pivot the account dashboard verified for 26 brand colours). Status
 * colours (error, success) tint an edge or an icon; the text of a notice is always the page's text colour.
 * Radius, button shape, density, card style, motion and headings follow the design DNA the chat saved
 * (body.gs-dna-shape-*, -density-*, -cards-*, -motion-*, -headings-*, -hero-*; tokens from brand-tokens.php).
 * What WooCommerce prints is only restyled: no field, price, validation or payment behaviour is changed.
 */

body.gs-store-dash{ --st-ico-bag:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4z'/%3E%3Cpath%20d='M3%206h18'/%3E%3Cpath%20d='M16%2010a4%204%200%200%201-8%200'/%3E%3C/svg%3E"); --st-ico-chev:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m6%209%206%206%206-6'/%3E%3C/svg%3E"); }

/* ---- Tokens ---- */
body.gs-store-dash{
  --st-bg:var(--wp--preset--color--base,#fff);
  --st-ink:var(--wp--preset--color--contrast,#1d2327);
  --st-p:var(--wp--preset--color--brand-primary,var(--st-ink));
  --st-s:var(--wp--preset--color--brand-secondary,var(--st-p));
  --st-on-p:#fff;
  --st-on-s:#fff;
  --st-muted:color-mix(in srgb,var(--st-ink) 80%,var(--st-bg));
  --st-line:color-mix(in srgb,var(--st-ink) 14%,transparent);
  --st-line-2:color-mix(in srgb,var(--st-ink) 30%,transparent);
  --st-tint:color-mix(in srgb,var(--st-ink) 5%,var(--st-bg));
  --st-wash:color-mix(in srgb,var(--st-p) 9%,var(--st-bg));
  --st-field:color-mix(in srgb,var(--st-ink) 4%,var(--st-bg));
  --st-hero-end:color-mix(in oklab,var(--st-p) 82%,var(--st-s));
  --st-ok:var(--wp--preset--color--brand-success,#2e9e5b);
  --st-warn:#d98e04;
  --st-bad:#d6453d;
  --st-bad-text:color-mix(in srgb,var(--st-bad) 55%,var(--st-ink));
  --st-r:var(--wp--custom--gs--radius,16px);
  --st-rm:min(calc(var(--st-r) * .75),20px);
  --st-rs:min(calc(var(--st-r) * .55),12px);
  --st-rb:var(--wp--custom--gs--button-radius,999px);
  --st-sp:var(--wp--custom--gs--space,1);
  --st-gap:calc(clamp(14px,1.8vw,22px) * var(--st-sp));
  --st-pad:calc(clamp(16px,2vw,24px) * var(--st-sp));
  --st-font-h:var(--gs-font-heading,inherit);
  --st-font-b:var(--gs-font-body,inherit);
  --st-card-bg:var(--st-tint);
  --st-card-edge:var(--st-line);
  --st-card-sh:0 1px 2px color-mix(in srgb,var(--st-ink) 7%,transparent);
  --st-card-sh-hover:0 14px 30px -14px color-mix(in srgb,var(--st-ink) 36%,transparent);
  --st-card-blur:none;
  --st-lift:-2px;
  --st-ease:.2s ease;
  --st-head-case:none;
  --st-head-track:-.01em;
  --st-head-weight:700;
  color:var(--st-ink);
}
@supports (color:oklch(from red l c h)){
  body.gs-store-dash{
    --st-on-p:oklch(from var(--st-p) clamp(0,(.56 - l) * 1000,1) 0 0);
    --st-on-s:oklch(from var(--st-s) clamp(0,(.56 - l) * 1000,1) 0 0);
  }
}
body.gs-store-dash main,
body.gs-store-dash main :is(*,*::before,*::after){ box-sizing:border-box; }

/* Design DNA */
body.gs-store-dash.gs-dna-cards-glass{ --st-card-bg:linear-gradient(150deg,color-mix(in srgb,var(--st-p) 8%,var(--st-bg)),color-mix(in srgb,var(--st-s) 6%,var(--st-bg))); --st-card-blur:blur(var(--wp--custom--gs--blur,18px)); --st-card-sh:0 10px 30px -18px color-mix(in srgb,var(--st-ink) 40%,transparent); }
body.gs-store-dash.gs-dna-cards-outline{ --st-card-bg:transparent; --st-card-edge:var(--st-line-2); --st-card-sh:none; --st-card-sh-hover:none; }
body.gs-store-dash.gs-dna-cards-flat{ --st-card-bg:color-mix(in srgb,var(--st-p) 8%,var(--st-bg)); --st-card-edge:transparent; --st-card-sh:none; --st-card-sh-hover:none; }
body.gs-store-dash.gs-dna-cards-elevated{ --st-card-bg:var(--st-bg); --st-card-edge:transparent; --st-card-sh:0 1px 2px color-mix(in srgb,var(--st-ink) 8%,transparent),0 10px 22px -10px color-mix(in srgb,var(--st-p) 22%,color-mix(in srgb,var(--st-ink) 30%,transparent)),0 28px 48px -26px color-mix(in srgb,var(--st-ink) 34%,transparent); --st-card-sh-hover:0 2px 4px color-mix(in srgb,var(--st-ink) 10%,transparent),0 18px 30px -12px color-mix(in srgb,var(--st-p) 30%,color-mix(in srgb,var(--st-ink) 30%,transparent)); }
body.gs-store-dash.gs-dna-motion-none{ --st-lift:0px; --st-ease:0s; }
body.gs-store-dash.gs-dna-motion-lively{ --st-lift:-5px; --st-ease:.28s cubic-bezier(.2,.9,.3,1.3); }
body.gs-store-dash.gs-dna-headings-display{ --st-head-weight:800; --st-head-track:-.025em; }
body.gs-store-dash.gs-dna-headings-classic{ --st-head-weight:600; --st-head-track:0; }
body.gs-store-dash.gs-dna-headings-caps{ --st-head-case:uppercase; --st-head-track:.06em; --st-head-weight:700; }
body.gs-store-dash.gs-dna-shape-sharp{ --st-rb:0px; }

/* ---- Page frame ---- */
body.gs-store-dash main{ padding-top:clamp(38px,4.4vw,56px); padding-bottom:clamp(40px,6vw,84px); font-family:var(--st-font-b); color:var(--st-ink); }
body.gs-store-dash main :is(h1,h2,h3,h4){ font-family:var(--st-font-h); color:var(--st-ink); text-transform:var(--st-head-case); letter-spacing:var(--st-head-track); font-weight:var(--st-head-weight); }
body.gs-store-dash main :is(.wp-block-post-title,.wc-block-cart__totals-title){ text-wrap:balance; }
body.gs-store-dash main :is(.woocommerce-breadcrumb,.wc-block-breadcrumbs){ opacity:1!important; margin-bottom:6px; font-size:.86rem; color:var(--st-muted); }
body.gs-store-dash main .woocommerce-breadcrumb a{ color:var(--st-ink); text-decoration:underline; text-underline-offset:.2em; text-decoration-color:var(--st-line-2); }
body.gs-store-dash main .woocommerce-breadcrumb a:hover{ text-decoration-color:var(--st-ink); }
body.gs-store-dash main :is(a,button,input,select,textarea,summary,[role=button],[tabindex="0"]):focus-visible{ outline:2px solid var(--st-ink); outline-offset:2px; box-shadow:0 0 0 5px color-mix(in srgb,var(--st-p) 38%,transparent); }

/* Cards */
body.gs-store-dash main :is(.gs-st-card,li.wc-block-product,ul.products li.product,.wc-block-cart-items,.wp-block-woocommerce-cart-order-summary-block,.wp-block-woocommerce-checkout-order-summary-block,.wc-block-components-checkout-step,.woocommerce-tabs .wc-tab,.gs-st-empty,.wc-block-order-confirmation-summary-list-item,.wc-block-order-confirmation-totals__table,.wc-block-order-confirmation-address-wrapper address){
  border:1px solid var(--st-card-edge); border-radius:var(--st-r); background:var(--st-card-bg); box-shadow:var(--st-card-sh);
  -webkit-backdrop-filter:var(--st-card-blur); backdrop-filter:var(--st-card-blur);
}

/* ---- Buttons ---- */
body.gs-store-dash main :is(.gs-st-btn,.wp-element-button,.wp-block-button__link,.wc-block-components-button:not(.is-link),.single_add_to_cart_button,button.button,a.button,input.button,input[type=submit].submit,.gs-store-search button,.wc-block-cart__submit-button,.added_to_cart){
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:.65em 1.5em!important; border:0!important; border-radius:var(--st-rb)!important;
  background:var(--st-p)!important; color:var(--st-on-p)!important; font-family:var(--st-font-b)!important; font-size:.95rem!important; font-weight:650; line-height:1.2; text-align:center; text-decoration:none!important; cursor:pointer;
  box-shadow:none; transition:transform var(--st-ease),box-shadow var(--st-ease),background-color var(--st-ease);
}
body.gs-store-dash main :is(.gs-st-btn,.wp-element-button,.wp-block-button__link,.wc-block-components-button:not(.is-link),.single_add_to_cart_button,button.button,a.button,input.button,input[type=submit].submit,.gs-store-search button,.wc-block-cart__submit-button):hover{
  transform:translateY(var(--st-lift)); box-shadow:0 12px 22px -10px color-mix(in srgb,var(--st-p) 80%,transparent);
}
body.gs-store-dash main :is(.gs-st-btn,.wp-element-button,.wc-block-components-button,.single_add_to_cart_button,button.button,a.button,input.button,.gs-store-search button):focus-visible{ outline:2px solid var(--st-ink)!important; outline-offset:3px!important; box-shadow:0 0 0 6px color-mix(in srgb,var(--st-p) 38%,transparent)!important; }
body.gs-store-dash main :is(.wp-element-button,.wc-block-components-button,.single_add_to_cart_button,button.button,.gs-st-btn)[disabled],
body.gs-store-dash main :is(.wp-element-button,.wc-block-components-button,.single_add_to_cart_button,button.button).disabled{ opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }
body.gs-store-dash main .gs-st-btn--ghost,
body.gs-store-dash main .added_to_cart{
  background:transparent!important; color:var(--st-ink)!important; border:1px solid var(--st-line-2)!important; box-shadow:none;
}
body.gs-store-dash main .gs-st-btn--ghost:hover,body.gs-store-dash main .added_to_cart:hover{ background:var(--st-wash)!important; box-shadow:none; }
body.gs-store-dash main .gs-st-empty-cta{ margin:6px 0 0!important; text-align:center; }

/* ---- Product with no picture: a brand panel with the product's initial (markup from store-templates.php), or an icon where only CSS ran ---- */
body.gs-store-dash main .gs-st-ph{ position:absolute; inset:0; display:grid; place-items:center; overflow:hidden; background:linear-gradient(135deg,var(--st-wash),color-mix(in srgb,var(--st-p) 17%,var(--st-bg))); }
body.gs-store-dash main .gs-st-ph::before,body.gs-store-dash main .gs-st-ph::after{ content:''; position:absolute; border-radius:50%; background:color-mix(in srgb,var(--st-p) 9%,transparent); }
body.gs-store-dash main .gs-st-ph::before{ width:62%; aspect-ratio:1; right:-14%; bottom:-34%; }
body.gs-store-dash main .gs-st-ph::after{ width:36%; aspect-ratio:1; left:-8%; top:-18%; }
body.gs-store-dash main .gs-st-ph__mark{ position:relative; z-index:1; display:grid; place-items:center; width:clamp(56px,26%,92px); aspect-ratio:1; border-radius:50%; background:var(--st-p); color:var(--st-on-p); font-family:var(--st-font-h); font-size:clamp(1.6rem,3.2vw,2.4rem); font-weight:700; line-height:1; box-shadow:0 0 0 8px color-mix(in srgb,var(--st-p) 14%,transparent); }
/* any grey stock placeholder picture that PHP did not replace (cart rows, order summary, other templates) */
body.gs-store-dash main :is(img.woocommerce-placeholder,img[src*="product-placeholder"],img[alt="Placeholder"],img[alt="Awaiting product image"]){ opacity:0!important; }
body.gs-store-dash main :is(a,div,span):has(> img:is(.woocommerce-placeholder,[src*="product-placeholder"],[alt="Placeholder"],[alt="Awaiting product image"])){ position:relative; background:linear-gradient(135deg,var(--st-wash),color-mix(in srgb,var(--st-p) 17%,var(--st-bg))); }
body.gs-store-dash main :is(a,div,span):has(> img:is(.woocommerce-placeholder,[src*="product-placeholder"],[alt="Placeholder"],[alt="Awaiting product image"]))::after{
  content:''; position:absolute; inset:0; margin:auto; width:min(44%,44px); aspect-ratio:1; background:var(--st-p);
  -webkit-mask:var(--st-ico-bag) center / contain no-repeat; mask:var(--st-ico-bag) center / contain no-repeat;
}

/* ---- Badges ---- */
body.gs-store-dash main .gs-st-badges{ position:absolute; z-index:2; top:12px; left:12px; display:flex; flex-wrap:wrap; gap:6px; max-width:calc(100% - 24px); pointer-events:none; }
body.gs-store-dash main .gs-st-badge{ display:inline-block; padding:.3em .8em; border-radius:var(--st-rb); font-family:var(--st-font-b); font-size:.74rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; line-height:1.2; }
body.gs-store-dash main .gs-st-badge--sale{ background:var(--st-s); color:var(--st-on-s); }
body.gs-store-dash main .gs-st-badge--new{ background:var(--st-ink); color:var(--st-bg); }
body.gs-store-dash main .gs-st-badge--out{ background:var(--st-bg); color:var(--st-ink); box-shadow:inset 0 0 0 1px var(--st-line-2); }
body.gs-store-dash main :is(.wc-block-components-sale-badge,.wc-block-components-product-sale-badge,span.onsale){
  position:absolute; z-index:2; top:12px!important; left:12px!important; right:auto!important; margin:0!important; min-height:0!important; min-width:0!important; padding:.3em .8em!important; line-height:1.2!important;
  border:0!important; border-radius:var(--st-rb)!important; background:var(--st-s)!important; color:var(--st-on-s)!important; font-size:.74rem!important; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
}

/* ---- Shop: header ---- */
body.gs-store-dash main .gs-store-hero{
  position:relative; isolation:isolate; overflow:hidden; width:auto!important; max-width:none!important; margin:6px 0 var(--st-gap)!important; padding:calc(clamp(26px,4.4vw,56px) * var(--st-sp)) calc(clamp(20px,4vw,52px) * var(--st-sp));
  border-radius:var(--st-r); color:var(--st-on-p); background:linear-gradient(118deg,var(--st-p),var(--st-hero-end)); box-shadow:0 18px 36px -22px color-mix(in srgb,var(--st-p) 80%,transparent);
}
body.gs-store-dash main .gs-store-hero::before{ content:''; position:absolute; z-index:-1; inset:auto -6% -80% auto; width:min(46%,380px); aspect-ratio:1; border-radius:50%; background:color-mix(in srgb,var(--st-on-p) 11%,transparent); }
body.gs-store-dash main .gs-store-hero::after{ content:''; position:absolute; z-index:-1; inset:-50% auto auto -4%; width:min(30%,240px); aspect-ratio:1; border-radius:50%; background:color-mix(in srgb,var(--st-on-p) 7%,transparent); }
body.gs-store-dash main .gs-store-hero-inner{ max-width:none; margin:0; }
body.gs-store-dash main .gs-store-hero h1{ margin:0 0 .3em; color:var(--st-on-p)!important; font-size:clamp(2rem,4.2vw,3.1rem); line-height:1.1; text-transform:var(--st-head-case); letter-spacing:var(--st-head-track); font-weight:var(--st-head-weight); }
body.gs-store-dash main .gs-store-hero p{ margin:0 0 1.3em; max-width:58ch; color:var(--st-on-p); opacity:1; font-size:clamp(1rem,1.5vw,1.15rem); line-height:1.5; }
body.gs-store-dash main .gs-store-search{ position:relative; max-width:600px; padding:6px; border-radius:var(--st-rb); background:var(--st-bg); box-shadow:0 18px 40px -16px rgba(0,0,0,.4); }
body.gs-store-dash.gs-dna-shape-sharp main .gs-store-search{ border-radius:0; }
body.gs-store-dash main .gs-store-search input[type=search]{ flex:1; min-width:0; min-height:44px; padding:.5em 1.1em; border:0!important; outline:0!important; box-shadow:none!important; background:transparent!important; color:var(--st-ink)!important; font:inherit; font-size:1rem; }
body.gs-store-dash main .gs-store-search input[type=search]::placeholder{ color:var(--st-muted); opacity:1; }
body.gs-store-dash main .gs-store-search:focus-within{ outline:2px solid var(--st-on-p); outline-offset:3px; }
body.gs-store-dash main .gs-store-results{ border-radius:var(--st-r); border-color:var(--st-line-2); background:var(--st-bg); color:var(--st-ink); }
body.gs-store-dash main .gs-store-result span{ color:var(--st-ink); }
body.gs-store-dash.gs-dna-hero-centered main .gs-store-hero-inner{ text-align:center; }
body.gs-store-dash.gs-dna-hero-centered main .gs-store-hero p,body.gs-store-dash.gs-dna-hero-centered main .gs-store-search{ margin-inline:auto; }
body.gs-store-dash.gs-dna-hero-centered main .gs-store-hero p{ margin-bottom:1.3em; }

/* category chips */
body.gs-store-dash main .gs-store-pills{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 var(--st-gap)!important; }
body.gs-store-dash main .gs-store-pill{
  display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:.4em 1.1em; border:1px solid var(--st-line-2); border-radius:var(--st-rb); background:var(--st-card-bg); color:var(--st-ink)!important;
  font-family:var(--st-font-b); font-size:.92rem; font-weight:600; line-height:1.2; text-decoration:none!important; transition:transform var(--st-ease),border-color var(--st-ease),background-color var(--st-ease);
}
body.gs-store-dash main .gs-store-pill span{ display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:99px; background:color-mix(in srgb,var(--st-ink) 10%,transparent); color:var(--st-ink); font-size:.78rem; font-weight:700; opacity:1; }
body.gs-store-dash main .gs-store-pill:hover{ transform:translateY(var(--st-lift)); border-color:var(--st-ink); }
body.gs-store-dash main .gs-store-pill.is-now{ border-color:var(--st-p); background:var(--st-p); color:var(--st-on-p)!important; }
body.gs-store-dash main .gs-store-pill.is-now span{ background:color-mix(in srgb,var(--st-on-p) 22%,transparent); color:var(--st-on-p); }

/* result count + sorting */
body.gs-store-dash main .wp-block-group:has(> .wc-block-product-results-count){ display:flex!important; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin:0 0 var(--st-gap)!important; padding:0 0 12px; border-bottom:1px solid var(--st-line); }
body.gs-store-dash main :is(.woocommerce-result-count,.wc-block-product-results-count){ margin:0!important; color:var(--st-muted); font-size:.92rem; }
body.gs-store-dash main :is(.woocommerce-ordering,.wc-block-catalog-sorting){ position:relative; margin:0!important; }
body.gs-store-dash main .woocommerce-ordering select{
  -webkit-appearance:none; appearance:none; min-height:44px; padding:.55em 2.6em .55em 1.1em; border:1px solid var(--st-line-2)!important; border-radius:var(--st-rb)!important; background:var(--st-field)!important; color:var(--st-ink)!important;
  font-family:var(--st-font-b); font-size:.92rem; font-weight:600; cursor:pointer;
}
body.gs-store-dash main .woocommerce-ordering::after{ content:''; position:absolute; top:50%; right:16px; width:16px; height:16px; margin-top:-8px; background:var(--st-ink); pointer-events:none; -webkit-mask:var(--st-ico-chev) center / contain no-repeat; mask:var(--st-ico-chev) center / contain no-repeat; }
body.gs-store-dash main .woocommerce-ordering select:focus{ outline:2px solid var(--st-ink); outline-offset:2px; box-shadow:0 0 0 5px color-mix(in srgb,var(--st-p) 38%,transparent); }
body.gs-store-dash main .woocommerce-ordering select option{ background:var(--st-bg); color:var(--st-ink); }

/* ---- Shop: product cards (block catalogue, related products, and the classic loop) ---- */
body.gs-store-dash main :is(ul.wc-block-product-template,ul.products,.wc-block-grid__products){
  display:grid!important; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))!important; gap:var(--st-gap)!important; margin:0!important; padding:0!important; list-style:none; align-items:stretch;
}
body.gs-store-dash main ul.products::before,body.gs-store-dash main ul.products::after{ content:none!important; }
body.gs-store-dash main :is(li.wc-block-product,ul.products li.product,.wc-block-grid__product){
  position:relative; display:flex!important; flex-direction:column; float:none!important; width:auto!important; max-width:none!important; margin:0!important; padding:0!important; overflow:hidden; text-align:left!important;
  border:1px solid var(--st-card-edge)!important; border-radius:var(--st-r)!important; background:var(--st-card-bg); transition:transform var(--st-ease),box-shadow var(--st-ease),border-color var(--st-ease);
}
body.gs-store-dash main :is(li.wc-block-product,ul.products li.product,.wc-block-grid__product):hover{ transform:translateY(var(--st-lift)); border-color:var(--st-line-2)!important; box-shadow:var(--st-card-sh-hover); }
body.gs-store-dash main :is(li.wc-block-product,ul.products li.product,.wc-block-grid__product):focus-within{ border-color:var(--st-ink)!important; }
body.gs-store-dash main :is(li.wc-block-product,.wc-block-grid__product) > :not(.wc-block-components-product-image,.wc-block-grid__product-image){ margin-inline:var(--st-pad)!important; }
body.gs-store-dash main :is(li.wc-block-product,.wc-block-grid__product) > :last-child:not(.wc-block-components-product-image){ margin-bottom:var(--st-pad)!important; }
/* picture */
body.gs-store-dash main :is(.wc-block-components-product-image,.wc-block-grid__product-image){ position:relative; margin:0 0 14px!important; aspect-ratio:4 / 3; overflow:hidden; border-radius:0!important; background:var(--st-wash); border-bottom:1px solid var(--st-line); }
body.gs-store-dash main :is(.wc-block-components-product-image,.wc-block-grid__product-image) > a{ display:block; width:100%; height:100%; }
body.gs-store-dash main :is(li.wc-block-product,.wc-block-grid__product) :is(.wc-block-components-product-image,.wc-block-grid__product-image) img{ display:block; width:100%; height:100%; aspect-ratio:auto; object-fit:cover; border-radius:0!important; margin:0!important; transition:transform .45s ease; }
body.gs-store-dash main :is(li.wc-block-product,.wc-block-grid__product):hover :is(.wc-block-components-product-image,.wc-block-grid__product-image) img{ transform:scale(1.04); }
body.gs-store-dash main ul.products li.product a.woocommerce-LoopProduct-link{ display:block; }
body.gs-store-dash main ul.products li.product :is(a img,.gs-st-ph){ margin:0 0 14px!important; }
body.gs-store-dash main ul.products li.product a img{ display:block; width:100%; aspect-ratio:4 / 3; object-fit:cover; border-radius:0!important; }
body.gs-store-dash main ul.products li.product > a:first-child{ position:relative; display:block; aspect-ratio:4 / 3; overflow:hidden; background:var(--st-wash); margin:0 0 14px; }
body.gs-store-dash main ul.products li.product > a:first-child img{ position:absolute; inset:0; width:100%; height:100%; margin:0!important; }
/* text */
body.gs-store-dash main :is(li.wc-block-product .wp-block-post-title,ul.products li.product .woocommerce-loop-product__title,.wc-block-grid__product-title){ margin-block:0 6px!important; padding:0!important; font-family:var(--st-font-h); font-size:1.08rem!important; font-weight:650; line-height:1.3; text-align:left!important; text-transform:none; letter-spacing:0; }
body.gs-store-dash main :is(li.wc-block-product .wp-block-post-title a,.wc-block-grid__product-link){ color:var(--st-ink); text-decoration:none; }
body.gs-store-dash main li.wc-block-product .wp-block-post-title a::after{ content:''; position:absolute; inset:0; z-index:0; }
body.gs-store-dash main :is(.wc-block-components-product-price,.wp-block-woocommerce-product-price,ul.products li.product .price,.wc-block-grid__product-price){ margin-block:0 14px!important; color:var(--st-ink)!important; font-size:1rem!important; font-weight:700; text-align:left!important; }
body.gs-store-dash main :is(.wc-block-components-product-price,ul.products li.product .price) del{ color:var(--st-muted); font-weight:500; opacity:1; }
body.gs-store-dash main :is(.wc-block-components-product-price,ul.products li.product .price) ins{ text-decoration:none; }
body.gs-store-dash main :is(li.wc-block-product .wp-block-woocommerce-product-button,.wc-block-grid__product-add-to-cart){ position:relative; z-index:1; margin-top:auto!important; padding-top:2px; text-align:left!important; }
body.gs-store-dash main :is(li.wc-block-product .wp-block-woocommerce-product-button,.wc-block-grid__product-add-to-cart) :is(.wp-element-button,.wp-block-button__link){ width:100%!important; }
body.gs-store-dash main :is(li.wc-block-product .wp-block-woocommerce-product-button) .added_to_cart{ width:100%; margin-top:8px; }
body.gs-store-dash main ul.products li.product :is(.button,.added_to_cart){ width:calc(100% - 2 * var(--st-pad))!important; margin:auto var(--st-pad) var(--st-pad)!important; }
body.gs-store-dash main ul.products li.product :is(.woocommerce-loop-product__title,.price,.star-rating){ margin-inline:var(--st-pad)!important; }
body.gs-store-dash main ul.products li.product .woocommerce-LoopProduct-link{ display:flex; flex-direction:column; }

/* pagination */
body.gs-store-dash main :is(.wp-block-query-pagination,.woocommerce-pagination,.wc-block-product-template__pagination,.wp-block-woocommerce-product-collection nav){ margin-top:calc(var(--st-gap) * 1.6); }
body.gs-store-dash main :is(.wp-block-query-pagination,.wp-block-query-pagination-numbers){ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; }
body.gs-store-dash main :is(.wp-block-query-pagination a,.wp-block-query-pagination .page-numbers,.woocommerce-pagination ul.page-numbers li > .page-numbers,.wp-block-query-pagination-previous,.wp-block-query-pagination-next){
  display:inline-grid; place-items:center; min-width:44px; min-height:44px; padding:0 .9em; border:1px solid var(--st-line-2); border-radius:var(--st-rb); background:var(--st-card-bg); color:var(--st-ink); font-weight:650; text-decoration:none!important;
}
body.gs-store-dash main :is(.wp-block-query-pagination a,.woocommerce-pagination a.page-numbers):hover{ border-color:var(--st-ink); }
body.gs-store-dash main :is(.wp-block-query-pagination .current,.woocommerce-pagination .page-numbers.current){ border-color:var(--st-p); background:var(--st-p)!important; color:var(--st-on-p)!important; }
body.gs-store-dash main .woocommerce-pagination ul.page-numbers{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:0; padding:0; border:0; list-style:none; }
body.gs-store-dash main .woocommerce-pagination ul.page-numbers li{ margin:0; border:0; overflow:visible; }

/* empty states (no products, empty cart, nothing found): the same card as the account dashboard's; the icon and button come from store-templates.php */
body.gs-store-dash main :is(.wp-block-woocommerce-product-collection-no-results,.woocommerce-no-products-found,.gs-st-empty){
  display:grid; justify-items:center; gap:8px; padding:clamp(28px,5vw,56px) var(--st-pad); text-align:center; border:1px dashed var(--st-line-2); border-radius:var(--st-r); background:var(--st-wash); box-shadow:none;
}
body.gs-store-dash main .gs-st-empty__ico{ display:grid; place-items:center; width:60px; height:60px; margin-bottom:4px; border-radius:50%; background:var(--st-p); color:var(--st-on-p); box-shadow:0 0 0 8px color-mix(in srgb,var(--st-p) 14%,transparent); }
body.gs-store-dash main .gs-st-empty :is(h2,.wc-block-cart__empty-cart__title){ margin:0!important; font-size:1.3rem!important; text-align:center; }
body.gs-store-dash main .wc-block-cart__empty-cart__title::before,body.gs-store-dash main .wc-block-cart__empty-cart__title::after{ content:none!important; display:none!important; }
body.gs-store-dash main .wp-block-woocommerce-empty-cart-block{ display:grid; gap:12px; }
body.gs-store-dash main .wp-block-woocommerce-empty-cart-block > :is(.wp-block-separator,hr){ width:100%; max-width:none; margin:18px 0 6px; border:0; border-top:1px solid var(--st-line); opacity:1; }
body.gs-store-dash main .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title){ margin:0 0 4px!important; font-size:1.1rem; color:var(--st-ink); }
body.gs-store-dash main .wp-block-woocommerce-empty-cart-block > :is(.wp-block-woocommerce-product-new,.wc-block-grid){ width:100%; text-align:left; }
body.gs-store-dash main :is(.wp-block-woocommerce-product-collection-no-results,.woocommerce-no-products-found) p{ margin:0; max-width:44ch; color:var(--st-ink); font-size:1.1rem; font-weight:600; line-height:1.4; border:0; background:none; padding:0; }
body.gs-store-dash main .woocommerce-no-products-found .woocommerce-info{ margin:0; border:0!important; background:none!important; padding:0!important; justify-content:center; font-size:1.1rem; font-weight:600; }

/* ---- Single product ---- */
body.gs-store-dash.single-product main .wp-block-columns:has(.wp-block-woocommerce-product-image-gallery){ display:grid!important; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:clamp(22px,3.4vw,52px)!important; align-items:start; margin-block:6px var(--st-gap); }
body.gs-store-dash.single-product main .wp-block-columns:has(.wp-block-woocommerce-product-image-gallery) > .wp-block-column{ flex-basis:auto!important; width:auto; min-width:0; }
body.gs-store-dash.single-product main .wp-block-columns:has(.wp-block-woocommerce-product-image-gallery) > .wp-block-column:first-child{ position:sticky; top:120px; }
body.gs-store-dash.single-product main .wp-block-columns:has(.wp-block-woocommerce-product-image-gallery) > .wp-block-column:last-child{
  padding:calc(clamp(20px,3vw,36px) * var(--st-sp)); border:1px solid var(--st-card-edge); border-radius:var(--st-r); background:var(--st-card-bg); box-shadow:var(--st-card-sh);
  -webkit-backdrop-filter:var(--st-card-blur); backdrop-filter:var(--st-card-blur);
}
body.gs-store-dash.single-product main :is(.woocommerce-product-gallery,.wp-block-woocommerce-product-image-gallery){ float:none!important; width:100%!important; max-width:none!important; margin:0; }
body.gs-store-dash.single-product main .woocommerce-product-gallery__wrapper{ position:relative; margin:0; }
body.gs-store-dash.single-product main .woocommerce-product-gallery__image--placeholder,
body.gs-store-dash.single-product main .woocommerce-product-gallery__image:first-child{ position:relative; overflow:hidden; border:1px solid var(--st-card-edge); border-radius:var(--st-r); background:var(--st-wash); }
body.gs-store-dash.single-product main .woocommerce-product-gallery__image--placeholder{ aspect-ratio:5 / 4; }
body.gs-store-dash.single-product main .woocommerce-product-gallery__image--placeholder .gs-st-ph__mark{ width:clamp(80px,22%,128px); font-size:clamp(2.4rem,5vw,3.6rem); }
body.gs-store-dash.single-product main .woocommerce-product-gallery img{ display:block; border-radius:var(--st-r); }
body.gs-store-dash.single-product main .woocommerce-product-gallery .flex-control-thumbs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(72px,1fr)); gap:10px; margin:12px 0 0; padding:0; list-style:none; }
body.gs-store-dash.single-product main .woocommerce-product-gallery .flex-control-thumbs li{ width:auto!important; float:none!important; margin:0; }
body.gs-store-dash.single-product main .woocommerce-product-gallery .flex-control-thumbs img{ aspect-ratio:1; object-fit:cover; border:2px solid transparent; border-radius:var(--st-rs); cursor:pointer; opacity:.78; }
body.gs-store-dash.single-product main .woocommerce-product-gallery .flex-control-thumbs img.flex-active,body.gs-store-dash.single-product main .woocommerce-product-gallery .flex-control-thumbs img:hover{ border-color:var(--st-ink); opacity:1; }
body.gs-store-dash.single-product main :is(.wp-block-column .wp-block-post-title,.product_title){ margin:0 0 .25em; font-size:clamp(1.7rem,3.2vw,2.6rem)!important; line-height:1.15; }
body.gs-store-dash.single-product main :is(.wp-block-columns .wp-block-woocommerce-product-price,.wp-block-columns .wc-block-components-product-price,.summary p.price){ margin:0 0 16px!important; color:var(--st-ink)!important; font-size:clamp(1.5rem,2.4vw,2rem)!important; font-weight:800; line-height:1.2; }
body.gs-store-dash.single-product main :is(.wp-block-columns .wc-block-components-product-price,.summary p.price) del{ color:var(--st-muted); font-size:.7em; font-weight:500; opacity:1; }
body.gs-store-dash.single-product main :is(.wp-block-columns .wc-block-components-product-price,.summary p.price) ins{ text-decoration:none; }
body.gs-store-dash.single-product main :is(.wp-block-post-excerpt,.woocommerce-product-details__short-description){ margin:0 0 20px; color:var(--st-muted); font-size:1.05rem; line-height:1.6; }
body.gs-store-dash.single-product main :is(.wp-block-post-excerpt,.woocommerce-product-details__short-description) p{ margin:0; }
body.gs-store-dash.single-product main form.cart{ display:flex; flex-wrap:wrap; align-items:stretch; gap:12px; margin:0 0 4px; }
body.gs-store-dash.single-product main form.cart .quantity{ flex:none; margin:0; }
body.gs-store-dash.single-product main form.cart .quantity input.qty{
  width:76px; height:100%; min-height:52px; padding:0 .4em; border:1px solid var(--st-line-2)!important; border-radius:var(--st-rb)!important; background:var(--st-field)!important; color:var(--st-ink)!important; font-family:var(--st-font-b); font-size:1.05rem; font-weight:650; text-align:center;
}
body.gs-store-dash.single-product main form.cart .quantity input.qty:focus{ outline:2px solid var(--st-ink); outline-offset:2px; }
body.gs-store-dash.single-product main form.cart .single_add_to_cart_button{ flex:1 1 200px; min-height:52px; font-size:1.02rem!important; }
body.gs-store-dash.single-product main form.variations_form .variations select,body.gs-store-dash.single-product main table.variations select{ min-height:46px; padding:.5em 1em; border:1px solid var(--st-line-2)!important; border-radius:var(--st-rs)!important; background:var(--st-field)!important; color:var(--st-ink)!important; }
body.gs-store-dash.single-product main table.variations :is(th,td){ border:0; padding:6px 8px 6px 0; background:none; color:var(--st-ink); }
body.gs-store-dash.single-product main table.variations label{ font-weight:650; }
body.gs-store-dash main .gs-st-trust{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px 16px; margin:20px 0 0; padding:14px 0 0; border-top:1px solid var(--st-line); list-style:none; }
body.gs-store-dash main .gs-st-trust li{ display:flex; align-items:center; gap:10px; margin:0; color:var(--st-ink); font-size:.9rem; font-weight:600; line-height:1.3; }
body.gs-store-dash main .gs-st-trust svg{ flex:none; width:34px; height:34px; padding:7px; border-radius:50%; background:var(--st-wash); color:var(--st-ink); }
body.gs-store-dash.single-product main :is(.wp-block-woocommerce-product-meta,.product_meta){ margin-top:18px; color:var(--st-muted); font-size:.9rem; }
body.gs-store-dash.single-product main :is(.wp-block-woocommerce-product-meta,.product_meta) a{ color:var(--st-ink); font-weight:650; text-decoration:underline; text-underline-offset:.2em; }
body.gs-store-dash.single-product main .wp-block-post-terms__prefix,body.gs-store-dash.single-product main .product_meta > span{ color:var(--st-muted); }
body.gs-store-dash.single-product main .wp-block-woocommerce-product-meta .wp-block-group{ gap:8px 18px; flex-wrap:wrap; }
/* tabs: description, reviews */
body.gs-store-dash.single-product main .wp-block-woocommerce-product-details{ margin-top:var(--st-gap); }
body.gs-store-dash main .woocommerce-tabs ul.tabs{ display:flex; gap:6px; margin:0 0 var(--st-gap)!important; padding:0!important; overflow-x:auto; list-style:none; border:0; border-bottom:1px solid var(--st-line); scrollbar-width:none; }
body.gs-store-dash main .woocommerce-tabs ul.tabs::before,body.gs-store-dash main .woocommerce-tabs ul.tabs::after,body.gs-store-dash main .woocommerce-tabs ul.tabs li::before,body.gs-store-dash main .woocommerce-tabs ul.tabs li::after{ content:none!important; display:none!important; }
body.gs-store-dash main .woocommerce-tabs ul.tabs li{ flex:none; opacity:1!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:none!important; }
body.gs-store-dash main .woocommerce-tabs ul.tabs li a{ display:block; padding:13px 18px!important; margin-bottom:-1px; border-bottom:3px solid transparent; color:var(--st-muted)!important; font-family:var(--st-font-b); font-size:.98rem; font-weight:650; text-decoration:none!important; white-space:nowrap; }
body.gs-store-dash main .woocommerce-tabs ul.tabs li a:hover{ color:var(--st-ink)!important; }
body.gs-store-dash main .woocommerce-tabs ul.tabs li.active a{ border-bottom-color:var(--st-p); color:var(--st-ink)!important; font-weight:750; }
body.gs-store-dash main .woocommerce-tabs .wc-tab{ max-width:none!important; margin:0!important; padding:calc(clamp(20px,3vw,36px) * var(--st-sp))!important; line-height:1.7; font-size:1.02rem; }
body.gs-store-dash main .woocommerce-tabs .wc-tab > :is(p,ul,ol,h2,h3,h4){ max-width:78ch; }
body.gs-store-dash main .woocommerce-tabs .wc-tab > :first-child{ margin-top:0; }
body.gs-store-dash main .woocommerce-tabs .wc-tab > :last-child{ margin-bottom:0; }
body.gs-store-dash main .woocommerce-tabs .wc-tab h3{ margin:1.6em 0 .5em; font-size:1.2rem; color:var(--st-ink); }
body.gs-store-dash main .woocommerce-tabs .wc-tab h3:first-of-type{ margin-top:0; }
body.gs-store-dash main .woocommerce-tabs .wc-tab ul{ padding-left:1.2em; }
body.gs-store-dash main .woocommerce-tabs .wc-tab li::marker{ color:var(--st-ink); }
body.gs-store-dash main .woocommerce-tabs .wc-tab a:not(.button){ color:var(--st-ink); text-decoration:underline; text-underline-offset:.2em; }
/* reviews */
body.gs-store-dash main .woocommerce-Reviews-title,body.gs-store-dash main .comment-reply-title{ display:block; margin:0 0 12px; font-family:var(--st-font-h); font-size:1.25rem; font-weight:var(--st-head-weight); color:var(--st-ink); }
body.gs-store-dash main .woocommerce-noreviews{ margin:0 0 22px; color:var(--st-muted); }
body.gs-store-dash main .comment-form{ display:grid; gap:14px; }
body.gs-store-dash main .comment-form p{ margin:0; }
body.gs-store-dash main .comment-form label{ display:block; margin-bottom:6px; color:var(--st-ink); font-size:.92rem; font-weight:650; }
body.gs-store-dash main .comment-form :is(input[type=text],input[type=email],input[type=url],textarea){ width:100%; min-height:48px; padding:.7em 1em; border:1px solid var(--st-line-2)!important; border-radius:var(--st-rs)!important; background:var(--st-field)!important; color:var(--st-ink)!important; font:inherit; }
body.gs-store-dash main .comment-form :is(input,textarea):focus{ outline:2px solid var(--st-ink); outline-offset:1px; box-shadow:0 0 0 5px color-mix(in srgb,var(--st-p) 32%,transparent); }
body.gs-store-dash main .comment-form-rating select{ min-height:46px; padding:.5em 1em; border:1px solid var(--st-line-2); border-radius:var(--st-rs); background:var(--st-field); color:var(--st-ink); }
body.gs-store-dash main p.stars a{ color:var(--st-ink); }
body.gs-store-dash main .star-rating{ color:var(--st-ink); }
/* related products and up-sells */
body.gs-store-dash main :is(.wp-block-woocommerce-related-products,.related.products,.up-sells.products){ margin-top:calc(var(--st-gap) * 2); }
body.gs-store-dash main :is(.wp-block-woocommerce-related-products,.related.products,.up-sells.products) > :is(h2,h3,.wp-block-heading){ margin:0 0 var(--st-gap); font-size:clamp(1.3rem,2.2vw,1.7rem); }

/* ---- Notices (WooCommerce block banners and the classic list) ---- */
body.gs-store-dash main :is(.wc-block-components-notice-banner,.woocommerce-message,.woocommerce-info,.woocommerce-error){
  display:flex; align-items:center; gap:12px; margin:0 0 var(--st-gap); padding:14px 16px 14px 18px!important; border:1px solid var(--st-line-2)!important; border-left:4px solid var(--st-s)!important; border-radius:var(--st-rs)!important;
  background:var(--st-tint)!important; color:var(--st-ink)!important; font-size:.96rem; line-height:1.45; list-style:none;
}
body.gs-store-dash main :is(.wc-block-components-notice-banner.is-error,.woocommerce-error){ border-left-color:var(--st-bad)!important; background:color-mix(in srgb,var(--st-bad) 9%,var(--st-bg))!important; }
body.gs-store-dash main :is(.wc-block-components-notice-banner.is-success,.woocommerce-message){ border-left-color:var(--st-ok)!important; background:color-mix(in srgb,var(--st-ok) 9%,var(--st-bg))!important; }
body.gs-store-dash main :is(.wc-block-components-notice-banner.is-warning){ border-left-color:var(--st-warn)!important; background:color-mix(in srgb,var(--st-warn) 9%,var(--st-bg))!important; }
body.gs-store-dash main .wc-block-components-notice-banner > svg{ flex:none; width:24px; height:24px; padding:3px; border-radius:50%; background:var(--st-s); fill:var(--st-on-s); }
body.gs-store-dash main .wc-block-components-notice-banner.is-error > svg{ background:var(--st-bad); fill:#fff; }
body.gs-store-dash main .wc-block-components-notice-banner.is-success > svg{ background:var(--st-ok); fill:#fff; }
body.gs-store-dash main .wc-block-components-notice-banner.is-warning > svg{ background:var(--st-warn); fill:#1d2327; }
body.gs-store-dash main .wc-block-components-notice-banner__content{ flex:1; color:var(--st-ink); }
body.gs-store-dash main :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{ content:none; }
body.gs-store-dash main .woocommerce-error li{ margin:0; }
body.gs-store-dash main .wc-block-components-notice-banner a:not(.button){ color:var(--st-ink); text-decoration:underline; text-underline-offset:.2em; }
body.gs-store-dash main .woocommerce-notices-wrapper:empty{ display:none; }
body.gs-store-dash main .wc-block-components-notice-banner .wc-block-components-button,body.gs-store-dash main .woocommerce-message .button{ min-height:36px; padding:.4em 1.1em!important; font-size:.86rem!important; }
body.gs-store-dash main .wc-block-components-validation-error,body.gs-store-dash main .wc-block-components-validation-error p{ color:var(--st-bad-text)!important; font-size:.84rem; font-weight:600; }
body.gs-store-dash main .wc-block-components-validation-error svg{ fill:var(--st-bad-text); }

/* ---- Fields (checkout block, cart coupon, classic forms) ---- */
body.gs-store-dash main :is(.wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select__select,.wc-block-components-combobox .components-combobox-control__input,.woocommerce form .input-text,.woocommerce form select){
  border:1px solid var(--st-line-2)!important; border-radius:var(--st-rs)!important; background:var(--st-field)!important; color:var(--st-ink)!important; font-family:var(--st-font-b); box-shadow:none!important;
}
body.gs-store-dash main .wc-blocks-components-select .wc-blocks-components-select__container{ border-radius:var(--st-rs)!important; background:var(--st-field)!important; color:var(--st-ink)!important; }
body.gs-store-dash main .wc-blocks-components-select .wc-blocks-components-select__label,body.gs-store-dash main .wc-block-components-text-input label,body.gs-store-dash main .wc-block-components-combobox label{ color:var(--st-muted)!important; opacity:1!important; }
body.gs-store-dash main .wc-blocks-components-select__select option{ background:var(--st-bg); color:var(--st-ink); }
body.gs-store-dash main .wc-blocks-components-select svg{ fill:var(--st-ink); }
body.gs-store-dash main :is(.wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select__select):focus{ outline:2px solid var(--st-ink)!important; outline-offset:1px; border-color:var(--st-ink)!important; box-shadow:0 0 0 5px color-mix(in srgb,var(--st-p) 32%,transparent)!important; }
body.gs-store-dash main .wc-block-components-text-input.has-error input,body.gs-store-dash main .has-error .wc-blocks-components-select__select{ border-color:var(--st-bad)!important; }
body.gs-store-dash main .wc-block-components-text-input.has-error label{ color:var(--st-bad-text)!important; }
body.gs-store-dash main :is(.wc-block-components-text-input input,.wc-block-components-textarea)::placeholder{ color:var(--st-muted); opacity:1; }
body.gs-store-dash main .wc-block-components-address-form__address_2-toggle,body.gs-store-dash main .wc-block-components-address-card__edit{ color:var(--st-ink); font-weight:650; text-decoration:underline; text-underline-offset:.2em; cursor:pointer; }
/* checkbox */
body.gs-store-dash main .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{ border:1.5px solid var(--st-line-2)!important; border-radius:6px!important; background:var(--st-field)!important; }
body.gs-store-dash main .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{ border-color:var(--st-p)!important; background:var(--st-p)!important; }
body.gs-store-dash main .wc-block-components-checkbox .wc-block-components-checkbox__mark{ fill:var(--st-on-p); }
body.gs-store-dash main .wc-block-components-checkbox__label,body.gs-store-dash main .wc-block-components-checkbox label{ color:var(--st-ink); }
body.gs-store-dash main .wc-block-checkout__terms,body.gs-store-dash main .wc-block-checkout__terms *{ color:var(--st-muted); }
body.gs-store-dash main .wc-block-checkout__terms a{ color:var(--st-ink); font-weight:650; text-decoration:underline; text-underline-offset:.2em; }

/* ---- Cart and checkout: the two-column frame ---- */
body.gs-store-dash.woocommerce-cart main .wp-block-post-title{ margin:6px auto var(--st-gap)!important; font-size:clamp(1.8rem,3.6vw,2.6rem); line-height:1.1; }
body.gs-store-dash main .wc-block-components-sidebar-layout{ display:grid!important; grid-template-columns:minmax(0,1fr) minmax(300px,390px); gap:var(--st-gap) clamp(22px,3vw,40px); align-items:start; margin:0; }
body.gs-store-dash main .wc-block-components-sidebar-layout > :is(.wc-block-components-main,.wc-block-components-sidebar){ width:auto!important; max-width:none; margin:0!important; padding:0!important; }
body.gs-store-dash main .wc-block-components-sidebar-layout.wc-block-checkout{ grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr); }
body.gs-store-dash main .wc-block-components-sidebar-layout > .wc-block-components-sidebar{ position:sticky; top:120px; }
body.gs-store-dash main :is(.wp-block-woocommerce-cart-order-summary-block,.wp-block-woocommerce-checkout-order-summary-block){ margin-bottom:var(--st-gap); }
body.gs-store-dash main :is(.wc-block-cart__payment-options,#ppcp-recaptcha-v2-container,.wc-block-components-totals-wrapper,.wp-block-woocommerce-checkout-shipping-method-block,.wp-block-woocommerce-checkout-pickup-options-block):empty{ display:none!important; }
body.gs-store-dash main .wc-block-components-sidebar-layout > [aria-hidden=true]{ position:absolute; }
body.gs-store-dash main .wc-block-checkout__main{ counter-reset:st-step; }
body.gs-store-dash.woocommerce-checkout:not(.woocommerce-order-received) main{ padding-top:24px; }
body.gs-store-dash main .wc-block-checkout.wp-block-woocommerce-checkout{ padding-top:0!important; }

/* cart: the line items */
body.gs-store-dash main .wc-block-cart-items{ width:100%; margin:0; overflow:hidden; border-collapse:separate; border-spacing:0; }
body.gs-store-dash main .wc-block-cart-items :is(th,td){ border:0; background:none; color:var(--st-ink); }
body.gs-store-dash main .wc-block-cart-items thead th{ padding:14px var(--st-pad); border-bottom:0; color:var(--st-muted); font-size:.78rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; text-align:left; }
body.gs-store-dash main .wc-block-cart-items thead .wc-block-cart-items__header-total{ text-align:right; }
body.gs-store-dash main .wc-block-cart-items thead .wc-block-cart-items__header-image span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
body.gs-store-dash main .wc-block-cart-items tbody tr td{ border-top:1px solid var(--st-line); }
body.gs-store-dash main .wc-block-cart-items td{ padding:var(--st-pad); vertical-align:top; }
body.gs-store-dash main .wc-block-cart-items td.wc-block-cart-item__image{ width:112px; padding-right:0; }
body.gs-store-dash main .wc-block-cart-item__image a{ position:relative; display:block; width:80px; aspect-ratio:1; overflow:hidden; border-radius:var(--st-rm); background:var(--st-wash); border:1px solid var(--st-line); }
body.gs-store-dash main .wc-block-cart-item__image img{ display:block; width:100%; height:100%; margin:0; object-fit:cover; }
body.gs-store-dash main .wc-block-cart-item__wrap{ display:grid; gap:6px; justify-items:start; }
body.gs-store-dash main .wc-block-cart-items .wc-block-components-product-name{ color:var(--st-ink); font-family:var(--st-font-h); font-size:1.05rem; font-weight:650; line-height:1.3; text-decoration:none; }
body.gs-store-dash main .wc-block-cart-items .wc-block-components-product-name:hover{ text-decoration:underline; text-underline-offset:.2em; }
body.gs-store-dash main :is(.wc-block-cart-item__prices,.wc-block-components-product-price){ color:var(--st-ink); font-weight:650; }
body.gs-store-dash main .wc-block-cart-items .wc-block-components-product-metadata{ color:var(--st-muted); font-size:.9rem; line-height:1.5; }
body.gs-store-dash main .wc-block-cart-items .wc-block-components-product-metadata p{ margin:0; }
body.gs-store-dash main .wc-block-cart-item__quantity{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:6px; }
body.gs-store-dash main .wc-block-cart-item__total{ text-align:right; font-weight:750; font-size:1.05rem; white-space:nowrap; }
body.gs-store-dash main .wc-block-cart-item__total .wc-block-components-product-price{ font-weight:750; }
body.gs-store-dash main .wc-block-cart-item__remove-link{ padding:6px 2px; border:0; background:none; color:var(--st-muted); font-family:var(--st-font-b); font-size:.86rem; font-weight:600; text-decoration:underline; text-underline-offset:.2em; cursor:pointer; }
body.gs-store-dash main .wc-block-cart-item__remove-link:hover{ color:var(--st-ink); }
/* quantity stepper */
body.gs-store-dash main .wc-block-components-quantity-selector{ position:relative; display:inline-flex; align-items:center; width:auto; height:42px; margin:0; border:1px solid var(--st-line-2)!important; border-radius:var(--st-rb)!important; background:var(--st-field)!important; }
body.gs-store-dash main .wc-block-components-quantity-selector::after{ content:none!important; }
body.gs-store-dash main .wc-block-components-quantity-selector__input{ order:2; width:44px; min-width:0; height:100%; padding:0; border:0!important; background:transparent!important; color:var(--st-ink)!important; font-family:var(--st-font-b); font-size:1rem; font-weight:650; text-align:center; box-shadow:none!important; -moz-appearance:textfield; }
body.gs-store-dash main .wc-block-components-quantity-selector__button{ width:38px; height:100%; min-height:0; padding:0!important; border:0; border-radius:var(--st-rb); background:transparent; color:var(--st-ink); font-size:1.1rem; line-height:1; cursor:pointer; opacity:1; }
body.gs-store-dash main .wc-block-components-quantity-selector__button--minus{ order:1; }
body.gs-store-dash main .wc-block-components-quantity-selector__button--plus{ order:3; }
body.gs-store-dash main .wc-block-components-quantity-selector__button:hover:not(:disabled){ background:color-mix(in srgb,var(--st-ink) 10%,transparent); }
body.gs-store-dash main .wc-block-components-quantity-selector__button:disabled{ color:var(--st-muted); cursor:not-allowed; }

/* cart and checkout: the summary card */
body.gs-store-dash main :is(.wp-block-woocommerce-cart-order-summary-block,.wp-block-woocommerce-checkout-order-summary-block){ padding:var(--st-pad)!important; }
body.gs-store-dash main .wc-block-cart__totals-title{ margin:0 0 4px!important; padding:0!important; color:var(--st-ink)!important; font-size:1.2rem!important; text-transform:var(--st-head-case); letter-spacing:var(--st-head-track); text-align:left!important; }
body.gs-store-dash main .wc-block-components-totals-wrapper{ padding:12px 0!important; border-color:var(--st-line)!important; }
body.gs-store-dash main .wc-block-components-totals-wrapper:first-child{ border-top:0!important; }
body.gs-store-dash main .wc-block-components-totals-item{ color:var(--st-ink); font-size:.98rem; }
body.gs-store-dash main .wc-block-components-totals-item__label{ color:var(--st-muted); font-weight:500; }
body.gs-store-dash main .wc-block-components-totals-item__value,body.gs-store-dash main .wc-block-formatted-money-amount{ color:var(--st-ink); font-weight:650; }
body.gs-store-dash main .wc-block-components-totals-footer-item{ padding-top:4px; }
body.gs-store-dash main .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{ color:var(--st-ink); font-family:var(--st-font-h); font-size:1.1rem; font-weight:700; }
body.gs-store-dash main .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,body.gs-store-dash main .wc-block-components-totals-footer-item .wc-block-formatted-money-amount{ font-family:var(--st-font-h); font-size:1.5rem; font-weight:800; }
body.gs-store-dash main .wc-block-components-totals-item__description{ color:var(--st-muted); font-size:.85rem; }
body.gs-store-dash main .wc-block-components-totals-coupon,body.gs-store-dash main .wc-block-components-panel{ border:0!important; padding:0!important; background:none!important; box-shadow:none!important; }
body.gs-store-dash main .wc-block-components-panel__button{ display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:48px; padding:.7em 1em!important; border:1px dashed var(--st-line-2); border-radius:var(--st-rs); background:var(--st-field); color:var(--st-ink)!important; font-family:var(--st-font-b); font-size:.95rem; font-weight:650; cursor:pointer; text-align:left; }
body.gs-store-dash main .wc-block-components-panel__button:hover{ border-color:var(--st-ink); }
body.gs-store-dash main .wc-block-components-panel__button svg{ fill:var(--st-ink); }
body.gs-store-dash main .wc-block-components-panel__button[aria-expanded=true]{ border-style:solid; }
body.gs-store-dash main .wc-block-components-totals-coupon__form{ display:flex; align-items:flex-start; gap:10px; margin-top:10px; }
body.gs-store-dash main .wc-block-components-totals-coupon__form .wc-block-components-text-input{ flex:1; margin:0; }
body.gs-store-dash main .wc-block-components-totals-coupon__button{ min-width:92px; }
body.gs-store-dash main .wc-block-cart__submit-container{ position:static; padding:0; background:none; }
body.gs-store-dash main :is(.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button){ width:100%; min-height:56px; font-size:1.05rem!important; font-weight:750; }
body.gs-store-dash main .wc-block-cart__submit-button{ margin:0; }
body.gs-store-dash main .wc-block-components-order-summary-item{ display:flex!important; gap:14px; align-items:flex-start; padding:12px 0; }
body.gs-store-dash main .wc-block-components-order-summary-item__image{ position:relative; width:64px!important; aspect-ratio:1; overflow:visible; border-radius:var(--st-rm); background:var(--st-wash); border:1px solid var(--st-line); }
body.gs-store-dash main .wc-block-components-order-summary-item__image img{ width:100%!important; height:100%!important; border-radius:var(--st-rm); object-fit:cover; }
body.gs-store-dash main .wc-block-components-order-summary-item__image:has(> img:is([src*="product-placeholder"],.woocommerce-placeholder))::after{ border-radius:inherit; }
body.gs-store-dash main .wc-block-components-order-summary-item__quantity{ position:absolute; z-index:2; top:-8px; right:-8px; min-width:22px; height:22px; padding:0 6px; border:2px solid var(--st-bg); border-radius:99px; background:var(--st-ink); color:var(--st-bg); font-size:.74rem; font-weight:700; line-height:18px; text-align:center; box-shadow:none; }
body.gs-store-dash main .wc-block-components-order-summary-item__description{ flex:1 1 0!important; min-width:0!important; width:auto!important; padding:0!important; word-break:normal; overflow-wrap:break-word; }
body.gs-store-dash main .wc-block-components-order-summary-item__image{ flex:none; }
body.gs-store-dash main .wc-block-components-order-summary-item__total-price{ flex:none; }
body.gs-store-dash main .wc-block-components-order-summary-item .wc-block-components-product-name{ margin:0; color:var(--st-ink); font-family:var(--st-font-h); font-size:.98rem; font-weight:650; line-height:1.3; }
body.gs-store-dash main .wc-block-components-order-summary-item .wc-block-components-product-metadata{ color:var(--st-muted); font-size:.85rem; line-height:1.45; }
body.gs-store-dash main .wc-block-components-order-summary-item .wc-block-components-product-metadata p{ margin:4px 0 0; }
body.gs-store-dash main .wc-block-components-order-summary-item__total-price{ color:var(--st-ink); font-weight:750; white-space:nowrap; }
body.gs-store-dash main .wc-block-components-order-summary-item__individual-prices{ color:var(--st-muted); font-size:.86rem; font-weight:500; }
body.gs-store-dash main .wc-block-components-checkout-order-summary__title{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 0 8px; }
body.gs-store-dash main .wc-block-components-checkout-order-summary__title-text{ margin:0; color:var(--st-ink); font-family:var(--st-font-h); font-size:1.2rem; font-weight:var(--st-head-weight); text-transform:var(--st-head-case); letter-spacing:var(--st-head-track); }
body.gs-store-dash main .wc-block-components-checkout-order-summary__title-price{ color:var(--st-ink); font-weight:750; }
body.gs-store-dash main .wc-block-components-checkout-order-summary__title-icon{ display:none; }

/* checkout: the steps as numbered cards */
body.gs-store-dash main .wc-block-components-checkout-step{ margin:0 0 var(--st-gap)!important; padding:var(--st-pad)!important; }
body.gs-store-dash main .wc-block-components-checkout-step__heading{ display:flex; align-items:center; gap:12px; margin:0 0 6px; }
body.gs-store-dash main .wc-block-components-checkout-step__title{ margin:0; color:var(--st-ink)!important; font-size:1.2rem!important; text-transform:var(--st-head-case); letter-spacing:var(--st-head-track); }
body.gs-store-dash main :is(#contact-fields,#shipping-fields,#billing-fields,#payment-method){ counter-increment:st-step; }
body.gs-store-dash main :is(#contact-fields,#shipping-fields,#billing-fields,#payment-method) .wc-block-components-checkout-step__title::before{ content:counter(st-step); display:inline-grid; place-items:center; width:30px; height:30px; margin-right:12px; border-radius:50%; background:var(--st-p); color:var(--st-on-p); font-family:var(--st-font-b); font-size:.9rem; font-weight:700; letter-spacing:0; vertical-align:middle; }
body.gs-store-dash main .wc-block-checkout__order-notes{ padding:var(--st-pad)!important; margin-bottom:var(--st-gap)!important; }
body.gs-store-dash main .wc-block-checkout__order-notes.wc-block-components-checkout-step .wc-block-components-checkout-step__title::before{ content:none; }
body.gs-store-dash main .wc-block-components-checkout-step__description{ color:var(--st-muted); }
/* payment methods as selectable cards */
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control{ display:grid; gap:10px; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control-accordion-option{ overflow:hidden; border:1.5px solid var(--st-line-2)!important; border-radius:var(--st-rm)!important; background:var(--st-field)!important; box-shadow:none!important; transition:border-color var(--st-ease),background-color var(--st-ease),box-shadow var(--st-ease); }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control-accordion-option:hover{ border-color:var(--st-ink)!important; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted{ border-color:var(--st-p)!important; background:var(--st-wash)!important; box-shadow:0 0 0 3px color-mix(in srgb,var(--st-p) 22%,transparent)!important; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control__option{ display:flex; align-items:center; min-height:60px; margin:0; padding:14px 16px 14px 52px!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control__option::after{ content:none!important; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control__input{ left:16px!important; border:2px solid var(--st-ink)!important; background:var(--st-bg)!important; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control__input:checked{ border-color:var(--st-p)!important; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control__input:checked::before{ background:var(--st-p)!important; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control__label,body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control__label *{ color:var(--st-ink)!important; font-weight:650; opacity:1!important; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control-accordion-content{ padding:0 16px 16px 52px!important; border-top:1px solid var(--st-line); background:transparent!important; color:var(--st-ink)!important; font-size:.92rem; }
body.gs-store-dash main .wc-block-checkout .wc-block-components-radio-control-accordion-content > *{ padding-top:14px; }
/* place order */
body.gs-store-dash main .wc-block-checkout__actions{ margin-top:4px; padding-top:var(--st-gap); border-top:1px solid var(--st-line)!important; }
body.gs-store-dash main .wc-block-checkout__actions_row{ display:flex!important; flex-wrap:wrap-reverse; align-items:center; justify-content:space-between; gap:14px 20px; }
body.gs-store-dash main .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{ flex:1 1 260px; width:auto; }
body.gs-store-dash main .wc-block-components-checkout-return-to-cart-button{ display:inline-flex; align-items:center; gap:8px; color:var(--st-ink)!important; font-weight:650; text-decoration:underline; text-underline-offset:.2em; }
body.gs-store-dash main .wc-block-components-checkout-return-to-cart-button svg{ fill:var(--st-ink); }

/* ---- Order received ---- */
body.gs-store-dash main :is(.woocommerce-order,.wp-block-woocommerce-order-confirmation-status,.wc-block-order-confirmation-status){ position:relative; }
body.gs-store-dash main .gs-st-confirm{ display:grid; place-items:center; width:72px; height:72px; margin:0 auto 14px; border-radius:50%; background:var(--st-on-p); color:var(--st-p); box-shadow:0 0 0 6px color-mix(in srgb,var(--st-on-p) 24%,transparent); }
body.gs-store-dash main .gs-st-confirm--bad{ color:var(--st-bad); }
body.gs-store-dash main .gs-st-confirm svg{ width:38px; height:38px; stroke-width:2.2; }
body.gs-store-dash main .wc-block-order-confirmation-status{
  position:relative; isolation:isolate; overflow:hidden; margin:6px auto 0!important; padding:calc(clamp(24px,4vw,48px) * var(--st-sp)) var(--st-pad); border-radius:var(--st-r); text-align:center; color:var(--st-on-p);
  background:linear-gradient(118deg,var(--st-p),var(--st-hero-end)); box-shadow:0 18px 36px -22px color-mix(in srgb,var(--st-p) 80%,transparent);
}
body.gs-store-dash main .wc-block-order-confirmation-status::before{ content:''; position:absolute; z-index:-1; inset:auto -6% -90% auto; width:min(46%,340px); aspect-ratio:1; border-radius:50%; background:color-mix(in srgb,var(--st-on-p) 11%,transparent); }
body.gs-store-dash main .wc-block-order-confirmation-status :is(h1,p){ margin:0; color:var(--st-on-p)!important; }
body.gs-store-dash main .wc-block-order-confirmation-status h1{ font-size:clamp(1.7rem,3.6vw,2.6rem)!important; line-height:1.15; text-wrap:balance; }
body.gs-store-dash main .wc-block-order-confirmation-status-description{ margin:0 0 var(--st-gap)!important; padding:16px var(--st-pad); text-align:center; color:var(--st-ink); border:1px solid var(--st-card-edge); border-top:0; border-radius:0 0 var(--st-r) var(--st-r); background:var(--st-card-bg); }
body.gs-store-dash main .wc-block-order-confirmation-status-description p{ margin:0; color:var(--st-ink); }
body.gs-store-dash main .wc-block-order-confirmation-status:has(+ .wc-block-order-confirmation-status-description){ border-radius:var(--st-r) var(--st-r) 0 0; }
body.gs-store-dash main .wc-block-order-confirmation-status:not(:has(+ .wc-block-order-confirmation-status-description)){ margin-bottom:var(--st-gap)!important; }
body.gs-store-dash main .wc-block-order-confirmation-status .button{ margin-top:12px; background:var(--st-on-p)!important; color:var(--st-p)!important; }
body.gs-store-dash main .wc-block-order-confirmation-summary{ margin:0 0 var(--st-gap)!important; padding:0!important; border:0!important; background:none!important; box-shadow:none!important; }
body.gs-store-dash main :is(.wc-block-order-confirmation-summary-list,ul.woocommerce-order-overview){ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:var(--st-gap); margin:0; padding:0; list-style:none; }
body.gs-store-dash main :is(.wc-block-order-confirmation-summary-list-item,ul.woocommerce-order-overview li){ display:grid; gap:4px; margin:0!important; padding:16px var(--st-pad)!important; min-width:0; border:1px solid var(--st-card-edge)!important; border-radius:var(--st-r)!important; background:var(--st-card-bg); color:var(--st-ink); overflow-wrap:anywhere; text-transform:none; font-size:.82rem; }
body.gs-store-dash main ul.woocommerce-order-overview li::before,body.gs-store-dash main ul.woocommerce-order-overview li::after{ content:none; }
body.gs-store-dash main .wc-block-order-confirmation-summary-list-item__key{ color:var(--st-muted); font-size:.82rem; font-weight:600; }
body.gs-store-dash main .wc-block-order-confirmation-summary-list-item__value,body.gs-store-dash main ul.woocommerce-order-overview li strong{ display:block; color:var(--st-ink); font-family:var(--st-font-h); font-size:1.05rem; font-weight:700; line-height:1.3; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals-wrapper,.wc-block-order-confirmation-downloads-wrapper,.wc-block-order-confirmation-additional-fields-wrapper,.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-order-downloads){ margin:0 0 var(--st-gap)!important; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals-wrapper,.wc-block-order-confirmation-downloads-wrapper,.wc-block-order-confirmation-shipping-wrapper,.wc-block-order-confirmation-billing-wrapper,.wc-block-order-confirmation-additional-fields-wrapper) :is(h2,h3),
body.gs-store-dash main :is(.woocommerce-order-details__title,.woocommerce-column__title,.woocommerce-order-downloads__title){ margin:0 0 12px!important; font-size:1.2rem!important; color:var(--st-ink)!important; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals,.wc-block-order-confirmation-downloads){ padding:0!important; border:0!important; background:none!important; box-shadow:none!important; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals__table,table.woocommerce-table--order-details,table.woocommerce-table--order-downloads){ width:100%; overflow:hidden; border-collapse:separate; border-spacing:0; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals__table,table.woocommerce-table--order-details,table.woocommerce-table--order-downloads) :is(th,td){ padding:14px var(--st-pad)!important; border:0!important; border-bottom:1px solid var(--st-line)!important; background:transparent!important; color:var(--st-ink)!important; text-align:left; vertical-align:top; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals__table,table.woocommerce-table--order-details) thead th{ color:var(--st-muted)!important; font-size:.78rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals__table,table.woocommerce-table--order-details) :is(td.wc-block-order-confirmation-totals__total,td.woocommerce-table__product-total,tfoot td){ text-align:right; font-weight:650; white-space:nowrap; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals__table,table.woocommerce-table--order-details) tfoot th{ color:var(--st-muted)!important; font-weight:600; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals__table,table.woocommerce-table--order-details) tfoot tr:last-child :is(th,td){ border-bottom:0!important; color:var(--st-ink)!important; font-family:var(--st-font-h); font-size:1.15rem; font-weight:800; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals__table,table.woocommerce-table--order-details) a{ color:var(--st-ink)!important; font-weight:650; text-decoration:underline; text-underline-offset:.2em; }
body.gs-store-dash main .wc-block-order-confirmation-address-wrapper{ gap:var(--st-gap); padding:0!important; border:0!important; background:none!important; box-shadow:none!important; }
body.gs-store-dash main :is(.wc-block-order-confirmation-address-wrapper address,.woocommerce-customer-details address){ padding:var(--st-pad)!important; font-style:normal; line-height:1.6; color:var(--st-ink)!important; }
body.gs-store-dash main .woocommerce-customer-details .woocommerce-columns{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:var(--st-gap); }
body.gs-store-dash main .woocommerce-customer-details .woocommerce-column{ float:none; width:auto; }
body.gs-store-dash main :is(.woocommerce-customer-details address,.wc-block-order-confirmation-address-wrapper address) :is(p,a){ color:var(--st-ink)!important; }
/* classic confirmation text */
body.gs-store-dash main :is(p.woocommerce-thankyou-order-received,p.woocommerce-notice--success.woocommerce-thankyou-order-received){ margin:0 0 var(--st-gap); padding:calc(clamp(22px,3.6vw,40px) * var(--st-sp)) var(--st-pad); border:0; border-radius:var(--st-r); background:linear-gradient(118deg,var(--st-p),var(--st-hero-end)); color:var(--st-on-p)!important; font-family:var(--st-font-h); font-size:clamp(1.3rem,2.6vw,1.9rem); font-weight:var(--st-head-weight); text-align:center; text-wrap:balance; }
body.gs-store-dash main .woocommerce-order > .gs-st-confirm{ margin-bottom:-36px; position:relative; z-index:2; }
/* next steps */
body.gs-store-dash main .gs-st-next{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin:8px 0 0; padding:var(--st-pad); border:1px dashed var(--st-line-2); border-radius:var(--st-r); background:var(--st-wash); }

/* ---- Phones and narrow widths ---- */
@media (max-width:900px){
  body.gs-store-dash.single-product main .wp-block-columns:has(.wp-block-woocommerce-product-image-gallery){ grid-template-columns:minmax(0,1fr); }
  body.gs-store-dash.single-product main .wp-block-columns:has(.wp-block-woocommerce-product-image-gallery) > .wp-block-column:first-child{ position:static; }
  body.gs-store-dash main .wc-block-components-sidebar-layout,
  body.gs-store-dash main .wc-block-components-sidebar-layout.wc-block-checkout{ grid-template-columns:minmax(0,1fr); }
  body.gs-store-dash main .wc-block-components-sidebar-layout > .wc-block-components-sidebar{ position:static; }
  body.gs-store-dash.woocommerce-checkout main .wc-block-components-sidebar-layout > .wc-block-components-sidebar{ order:-1; }
}
@media (max-width:640px){
  body.gs-store-dash main{ padding-top:34px; }
  body.gs-store-dash main :is(ul.wc-block-product-template,ul.products,.wc-block-grid__products){ grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr))!important; }
  body.gs-store-dash main .gs-store-pills{ flex-wrap:nowrap; margin-inline:-4px; padding:2px 4px 8px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; }
  body.gs-store-dash main .gs-store-pill{ flex:none; scroll-snap-align:start; }
  body.gs-store-dash main .gs-store-search{ flex-wrap:nowrap; }
  body.gs-store-dash.single-product main form.cart .single_add_to_cart_button{ flex-basis:100%; }
  body.gs-store-dash main .wc-block-checkout__actions_row{ flex-direction:column-reverse; align-items:stretch; }
  body.gs-store-dash main .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{ flex-basis:auto; }
  body.gs-store-dash main .wc-block-components-checkout-return-to-cart-button{ justify-content:center; }
  body.gs-store-dash main .wc-block-order-confirmation-summary-list{ grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); }
  body.gs-store-dash main .gs-st-next > .gs-st-btn{ flex:1 1 100%; }
}
/* the cart's lines become cards when their column is narrow */
body.gs-store-dash main .wc-block-cart__main{ container:st-cart / inline-size; }
@container st-cart (max-width:640px){
  body.gs-store-dash main .wc-block-cart__main table.wc-block-cart-items{ display:block!important; overflow:visible!important; border:0!important; background:none!important; box-shadow:none!important; backdrop-filter:none!important; -webkit-backdrop-filter:none!important; }
  body.gs-store-dash main .wc-block-cart-items thead{ position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; }
  body.gs-store-dash main .wc-block-cart-items tbody{ display:grid!important; gap:12px!important; }
  body.gs-store-dash main .wc-block-cart-items tbody tr{ display:grid!important; grid-template-columns:76px minmax(0,1fr)!important; grid-template-areas:"img prod" "img total"!important; gap:4px 14px!important; padding:var(--st-pad)!important; border:1px solid var(--st-card-edge)!important; border-radius:var(--st-r)!important; background:var(--st-card-bg)!important; box-shadow:var(--st-card-sh)!important; }
  body.gs-store-dash main .wc-block-cart-items tbody tr + tr td{ border-top:0!important; }
  body.gs-store-dash main .wc-block-cart-items tbody td{ display:block!important; padding:0!important; border:0!important; }
  body.gs-store-dash main .wc-block-cart-items td.wc-block-cart-item__image{ grid-area:img!important; width:auto!important; }
  body.gs-store-dash main .wc-block-cart-items td.wc-block-cart-item__product{ grid-area:prod!important; min-width:0!important; }
  body.gs-store-dash main .wc-block-cart-items td.wc-block-cart-item__total{ grid-area:total!important; display:flex!important; align-items:center!important; justify-content:flex-end!important; gap:8px!important; }
  body.gs-store-dash main .wc-block-cart-items td.wc-block-cart-item__total::before{ content:'Total'!important; margin-right:auto!important; color:var(--st-muted)!important; font-size:.82rem!important; font-weight:600!important; }
  body.gs-store-dash main .wc-block-cart-item__image a{ width:76px!important; }
  body.gs-store-dash main .wc-block-cart-items .wc-block-components-product-metadata{ display:none!important; }
}
@media (prefers-reduced-motion:reduce){
  body.gs-store-dash main *,body.gs-store-dash main *::before,body.gs-store-dash main *::after{ transition:none!important; animation:none!important; }
  body.gs-store-dash main :is(li.wc-block-product,ul.products li.product,.gs-st-btn,.wp-element-button,.gs-store-pill):hover{ transform:none; }
  body.gs-store-dash main li.wc-block-product:hover img{ transform:none; }
}
@media (prefers-reduced-motion:no-preference){
  body.gs-store-dash main :is(li.wc-block-product,ul.products li.product,.gs-st-empty,.wc-block-order-confirmation-status){ animation:gs-st-in .4s ease both; }
  @keyframes gs-st-in{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
}

/* the "New in store" grid in the empty cart (wc-block-grid): same card, its link wraps the picture and the title */
body.gs-store-dash main .wc-block-grid__products{ margin-top:6px!important; }
body.gs-store-dash main .wc-block-grid__product > .wc-block-grid__product-link{ display:block; margin-inline:0!important; color:var(--st-ink); text-decoration:none; }
body.gs-store-dash main .wc-block-grid__product .wc-block-grid__product-image{ margin:0 0 14px!important; width:100%; }
body.gs-store-dash main .wc-block-grid__product .wc-block-grid__product-image img{ display:block; width:100%; height:100%; aspect-ratio:auto; object-fit:cover; margin:0; }
body.gs-store-dash main .wc-block-grid__product :is(.wc-block-grid__product-title,.wc-block-grid__product-price){ margin-inline:var(--st-pad)!important; }
body.gs-store-dash main .wc-block-grid__product .wc-block-grid__product-title{ margin-block:0 6px!important; font-size:1.08rem; font-weight:650; line-height:1.3; text-align:left; color:var(--st-ink); }
body.gs-store-dash main .wc-block-grid__product .wc-block-grid__product-add-to-cart{ margin:auto var(--st-pad) var(--st-pad)!important; }

/* order received: every block spans the wide column (the template's content column is narrow) */
body.gs-store-dash main > :is(.wc-block-order-confirmation-status,.wc-block-order-confirmation-status-description,.wc-block-order-confirmation-summary,.wc-block-order-confirmation-totals-wrapper,.wc-block-order-confirmation-downloads-wrapper,.wc-block-order-confirmation-address-wrapper,.wc-block-order-confirmation-additional-fields-wrapper,.wc-block-order-confirmation-additional-information,.woocommerce-order){ width:100%; max-width:var(--wp--style--global--wide-size,1340px)!important; margin-inline:auto!important; }
body.gs-store-dash main .wc-block-order-confirmation-status-description{ margin-top:0!important; }

/* the balance panel's small print (contracts-and-payments / store-pages.css) in the muted text colour at full strength */
body.gs-store-dash main .gend-wallet-panel :is(.gend-wallet-sub,.gend-wallet-row-bal,.gend-wallet-row-hint,.gend-wallet-cur,.gend-wallet-summary){ color:var(--st-muted)!important; opacity:1!important; }
body.gs-store-dash main .gend-wallet-panel .gend-wallet-pill{ background:var(--st-p)!important; color:var(--st-on-p)!important; opacity:1!important; }
body.gs-store-dash main .gend-wallet-panel .gend-wallet-pill:is([disabled],.is-disabled,[aria-disabled=true]){ background:color-mix(in srgb,var(--st-ink) 8%,var(--st-bg))!important; color:var(--st-ink)!important; box-shadow:inset 0 0 0 1px var(--st-line-2)!important; cursor:not-allowed; }
body.gs-store-dash main .gend-wallet-panel .gend-wallet-pill.is-ghost{ background:transparent!important; color:var(--st-ink)!important; box-shadow:inset 0 0 0 1px var(--st-line-2)!important; }
body.gs-store-dash main .gend-wallet-panel .gend-wallet-badge{ background:var(--st-p)!important; color:var(--st-on-p)!important; }
body.gs-store-dash main :is(.wc-block-order-confirmation-totals__table,table.woocommerce-table--order-details) thead :is(th.wc-block-order-confirmation-totals__total,th.product-total){ text-align:right!important; }
