/* Softhands: Ollie design tokens on Twenty Twenty-Five.
 * Defines the colour, spacing and font-size presets the Softhands parts,
 * templates and CSS were written against. :root:root beats theme.json vars. */
:root:root{
  --wp--preset--color--primary:#5344F4;
  --wp--preset--color--primary-accent:#e9e7ff;
  --wp--preset--color--primary-alt:#DEC9FF;
  --wp--preset--color--primary-alt-accent:#3d386b;
  --wp--preset--color--main:#1E1E26;
  --wp--preset--color--main-accent:#d4d4ec;
  --wp--preset--color--base:#ffffff;
  --wp--preset--color--secondary:#545473;
  --wp--preset--color--tertiary:#f8f7fc;
  --wp--preset--color--border-light:#E3E3F0;
  --wp--preset--color--border-dark:#4E4E60;
  --wp--preset--spacing--x-small:clamp(.25rem,1.5vw,.5rem);
  --wp--preset--spacing--small:clamp(.5rem,2.5vw,1rem);
  --wp--preset--spacing--medium:clamp(1.5rem,4vw,2rem);
  --wp--preset--spacing--large:clamp(2rem,5vw,3rem);
  --wp--preset--spacing--x-large:clamp(3rem,7vw,5rem);
  --wp--preset--spacing--xx-large:clamp(4rem,9vw,7rem);
  --wp--preset--spacing--xxx-large:clamp(5rem,12vw,9rem);
  --wp--preset--spacing--xxxx-large:clamp(6rem,14vw,13rem);
  /* Type scale (fluid 360px → 1440px): 13–14 / 14–15 / 16–17 / 18–20 / 22–28 / 28–38 / 34–48 px */
  --wp--preset--font-size--x-small:clamp(0.8125rem,0.7917rem + 0.0926vw,0.875rem);
  --wp--preset--font-size--small:clamp(0.875rem,0.8542rem + 0.0926vw,0.9375rem);
  --wp--preset--font-size--base:clamp(1rem,0.9792rem + 0.0926vw,1.0625rem);
  --wp--preset--font-size--medium:clamp(1.125rem,1.0833rem + 0.1852vw,1.25rem);
  --wp--preset--font-size--large:clamp(1.375rem,1.2500rem + 0.5556vw,1.75rem);
  --wp--preset--font-size--x-large:clamp(1.75rem,1.5417rem + 0.9259vw,2.375rem);
  --wp--preset--font-size--xx-large:clamp(2.125rem,1.8333rem + 1.2963vw,3rem);
  --wp--preset--font-family--primary:var(--wp--preset--font-family--manrope,'Manrope',sans-serif);
  --wp--preset--border-radius--sm:8px;
  --wp--preset--border-radius--md:12px;
  --wp--style--global--content-size:740px;
  --wp--style--global--wide-size:1260px;
}
.has-primary-color{color:var(--wp--preset--color--primary) !important}
.has-primary-background-color{background-color:var(--wp--preset--color--primary) !important}
.has-primary-border-color{border-color:var(--wp--preset--color--primary) !important}
.has-primary-accent-color{color:var(--wp--preset--color--primary-accent) !important}
.has-primary-accent-background-color{background-color:var(--wp--preset--color--primary-accent) !important}
.has-primary-accent-border-color{border-color:var(--wp--preset--color--primary-accent) !important}
.has-primary-alt-color{color:var(--wp--preset--color--primary-alt) !important}
.has-primary-alt-background-color{background-color:var(--wp--preset--color--primary-alt) !important}
.has-primary-alt-border-color{border-color:var(--wp--preset--color--primary-alt) !important}
.has-primary-alt-accent-color{color:var(--wp--preset--color--primary-alt-accent) !important}
.has-primary-alt-accent-background-color{background-color:var(--wp--preset--color--primary-alt-accent) !important}
.has-primary-alt-accent-border-color{border-color:var(--wp--preset--color--primary-alt-accent) !important}
.has-main-color{color:var(--wp--preset--color--main) !important}
.has-main-background-color{background-color:var(--wp--preset--color--main) !important}
.has-main-border-color{border-color:var(--wp--preset--color--main) !important}
.has-main-accent-color{color:var(--wp--preset--color--main-accent) !important}
.has-main-accent-background-color{background-color:var(--wp--preset--color--main-accent) !important}
.has-main-accent-border-color{border-color:var(--wp--preset--color--main-accent) !important}
.has-base-color{color:var(--wp--preset--color--base) !important}
.has-base-background-color{background-color:var(--wp--preset--color--base) !important}
.has-base-border-color{border-color:var(--wp--preset--color--base) !important}
.has-secondary-color{color:var(--wp--preset--color--secondary) !important}
.has-secondary-background-color{background-color:var(--wp--preset--color--secondary) !important}
.has-secondary-border-color{border-color:var(--wp--preset--color--secondary) !important}
.has-tertiary-color{color:var(--wp--preset--color--tertiary) !important}
.has-tertiary-background-color{background-color:var(--wp--preset--color--tertiary) !important}
.has-tertiary-border-color{border-color:var(--wp--preset--color--tertiary) !important}
.has-border-light-color{color:var(--wp--preset--color--border-light) !important}
.has-border-light-background-color{background-color:var(--wp--preset--color--border-light) !important}
.has-border-light-border-color{border-color:var(--wp--preset--color--border-light) !important}
.has-border-dark-color{color:var(--wp--preset--color--border-dark) !important}
.has-border-dark-background-color{background-color:var(--wp--preset--color--border-dark) !important}
.has-border-dark-border-color{border-color:var(--wp--preset--color--border-dark) !important}
.has-x-small-font-size{font-size:var(--wp--preset--font-size--x-small) !important}
.has-small-font-size{font-size:var(--wp--preset--font-size--small) !important}
.has-base-font-size{font-size:var(--wp--preset--font-size--base) !important}
.has-medium-font-size{font-size:var(--wp--preset--font-size--medium) !important}
.has-large-font-size{font-size:var(--wp--preset--font-size--large) !important}
.has-x-large-font-size{font-size:var(--wp--preset--font-size--x-large) !important}
.has-xx-large-font-size{font-size:var(--wp--preset--font-size--xx-large) !important}

/* Base look carried over from Ollie */
/* Twenty Twenty-Five sets body text to its "large" size at weight 300; reset to a readable shop scale. */
:root body{font-family:var(--wp--preset--font-family--primary);font-size:var(--wp--preset--font-size--base);font-weight:400;line-height:1.6;letter-spacing:0;color:var(--wp--preset--color--main);background:var(--wp--preset--color--base);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:root :where(h1,h2,h3,h4,h5,h6){line-height:1.2;font-weight:700;letter-spacing:-.015em;text-wrap:balance}
:root :where(h1){font-size:var(--wp--preset--font-size--xx-large);font-weight:800;letter-spacing:-.025em}
:root :where(h2){font-size:var(--wp--preset--font-size--x-large)}
:root :where(h3){font-size:var(--wp--preset--font-size--large)}
:root :where(h4){font-size:var(--wp--preset--font-size--medium)}
:root :where(h5){font-size:var(--wp--preset--font-size--base)}
:root :where(h6){font-size:var(--wp--preset--font-size--small);text-transform:uppercase;letter-spacing:.06em}
:root :where(p,li,td,th,dd,dt,label,input,select,textarea){font-weight:400}
:root :where(.wp-block-post-content,.woocommerce-Tabs-panel) :where(p,li){max-width:72ch}
.woocommerce-Price-amount{font-variant-numeric:tabular-nums}
@media (max-width:600px){:root body{line-height:1.55}}
:where(.wp-site-blocks) a:where(:not(.wp-element-button)){color:var(--wp--preset--color--primary)}
.wp-element-button,.wp-block-button__link{background-color:var(--wp--preset--color--primary);color:#fff;border-radius:8px;font-weight:600;font-size:var(--wp--preset--font-size--small);padding:.7em 1.3em}
.wp-element-button:hover,.wp-block-button__link:hover{background-color:var(--wp--preset--color--primary-alt-accent);color:#fff}
.is-style-outline>.wp-block-button__link{background:transparent;color:var(--wp--preset--color--main);border:1px solid var(--wp--preset--color--border-light)}
h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:-.01em;color:var(--wp--preset--color--main)}
.wp-site-blocks{padding-top:0;padding-bottom:0}
.wp-site-blocks>*{margin-block-start:0}
.site-header,.site-footer{margin-block-start:0}

/* Header phone */
.sh-header__icons{align-items:center}
a.sh-header__phone{display:inline-flex;align-items:center;gap:10px;padding:6px 14px 6px 8px;margin-right:6px;border-radius:999px;color:var(--wp--preset--color--main);text-decoration:none;white-space:nowrap;transition:background-color .15s ease}
a.sh-header__phone:hover{background:var(--wp--preset--color--tertiary)}
a.sh-header__phone svg{flex:none;width:36px;height:36px;padding:8px;border-radius:50%;background:var(--wp--preset--color--primary-accent);color:var(--wp--preset--color--primary)}
.sh-header__phone-text{display:flex;flex-direction:column;line-height:1.15}
.sh-header__phone-text small{font-size:.72rem;color:var(--wp--preset--color--secondary);font-weight:500}
.sh-header__phone-text strong{font-size:.98rem;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
@media (max-width:1100px){.sh-header__phone-text{display:none}a.sh-header__phone{padding:4px;margin-right:0}}

/* Home: section headers, offers, why buy from us */
.sh-home-head{gap:12px}
.sh-home-head .wp-block-heading{margin:0}
.sh-home-head a{font-weight:600;text-decoration:none;white-space:nowrap}
.sh-home-head a:hover{text-decoration:underline}
.sh-offers .wc-block-components-product-sale-badge,.sh-offers .wc-block-components-product-image .wc-block-components-product-sale-badge{background:#e11d48;color:#fff;border:0;border-radius:999px;font-weight:700}
.sh-why__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.sh-why__card{background:#fff;border:1px solid var(--wp--preset--color--border-light);border-radius:16px;padding:24px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.sh-why__card:hover{transform:translateY(-2px);border-color:var(--wp--preset--color--main-accent);box-shadow:0 12px 30px rgba(30,30,38,.07)}
.sh-why__icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--wp--preset--color--primary-accent);color:var(--wp--preset--color--primary);margin-bottom:14px}
.sh-why__icon svg{width:22px;height:22px}
.sh-why__card h3{font-size:var(--wp--preset--font-size--medium);margin:0 0 6px}
.sh-why__card p{margin:0;color:var(--wp--preset--color--secondary);font-size:var(--wp--preset--font-size--small)}
.sh-why__card a{font-weight:600}
@media (prefers-reduced-motion:reduce){.sh-why__card,.sh-card{transition:none}.sh-why__card:hover{transform:none}}

/* Product card (replaces Ollie's hover card) */
.sh-card{background:#fff;border:1px solid var(--wp--preset--color--border-light);border-radius:12px;padding:12px;height:100%;display:flex;flex-direction:column;gap:6px;transition:box-shadow .2s,border-color .2s}
.sh-card:hover{border-color:var(--wp--preset--color--main-accent);box-shadow:0 8px 24px rgba(30,30,38,.08)}
.sh-card .wc-block-components-product-image img{border-radius:8px;aspect-ratio:1/1;object-fit:contain;background:var(--wp--preset--color--tertiary)}
.sh-card .wp-block-post-title{margin:4px 0 0;line-height:1.35}
.sh-card .wp-block-post-title a{color:var(--wp--preset--color--main);text-decoration:none}
.sh-card .wp-block-post-title a:hover{color:var(--wp--preset--color--primary)}
.sh-card .wp-block-woocommerce-product-price{font-weight:700;color:var(--wp--preset--color--main)}
.sh-card .wp-block-woocommerce-product-button{margin-top:auto}
.sh-card .wp-block-woocommerce-product-button .wp-block-button__link{width:100%;font-size:.85rem;padding:.55em 1em}
