/* Tromp Store brand system. Shared by the coded homepage and every Storefront page (shop, product, cart, checkout, account).
   Colors each have one job:
   Grape  = anything clickable      Plum = frame (header row, footer)
   Lilac  = soft panels             Mist = product shelves, quiet sections
   Ink    = text                    Deal = savings only   Ship = delivery promises only */
:root{
  --ts-grape:#7f54b3;--ts-grape-d:#5e3b8f;--ts-grape-l:#a98bd6;
  --ts-plum:#2b1b47;--ts-lilac:#efe8f8;--ts-mist:#f3f3f5;--ts-shelf:#ececef;--ts-paper:#fff;
  --ts-ink:#1d1726;--ts-ink-2:#4a4356;--ts-mute:#6e6878;--ts-line:#e4e1ea;
  --ts-deal:#b4232f;--ts-ship:#15803d;
  --ts-strip:#7f54b3;
  --ts-disp:'Exo 2',system-ui,sans-serif;--ts-body:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --ts-r-shelf:18px;--ts-r-ctl:12px;--ts-r-panel:18px;
  /* type scale, ratio about 1.4 */
  --ts-t-xs:12.5px;--ts-t-s:14px;--ts-t-m:16px;--ts-t-l:20px;--ts-t-xl:28px;--ts-t-2xl:clamp(32px,4.2vw,54px);--ts-t-3xl:clamp(44px,7vw,96px);
}
body{font-family:var(--ts-body);color:var(--ts-ink-2)}
h1,h2,h3,h4,h5,h6,.ts-disp{font-family:var(--ts-disp);color:var(--ts-ink);font-weight:800;letter-spacing:-.01em}
a{color:var(--ts-grape-d)}

/* Back to top, every page */
.ts-top{position:fixed;right:22px;bottom:22px;z-index:9980;display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:var(--ts-grape);color:#fff;box-shadow:0 12px 28px -10px rgba(43,27,71,.55);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .25s,transform .25s,visibility 0s linear .25s,background .2s}
.ts-top.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .25s,background .2s}
.ts-top:hover{background:var(--ts-grape-d)}
.ts-top:focus-visible{outline:2px solid var(--ts-grape-l);outline-offset:3px}
.ts-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (prefers-reduced-motion:reduce){.ts-top{transition:none}}

/* ---------- Storefront pages (not used by the coded homepage) ---------- */
body:not(.h139){background:var(--ts-paper)}
.site-header{border-bottom:0}
.site-header .custom-logo-link img{max-height:46px;width:auto}
.main-navigation ul li a,.storefront-primary-navigation a{font-weight:500}
.storefront-primary-navigation{background:var(--ts-mist)!important}
.storefront-primary-navigation .main-navigation ul.menu>li>a,.storefront-primary-navigation .main-navigation ul.nav-menu>li>a{color:var(--ts-ink-2)}
.site-header-cart .cart-contents{color:#fff}
/* Buttons */
body:not(.h139) .button,body:not(.h139) button.button,body:not(.h139) input[type=submit],body:not(.h139) .wc-block-components-button,body:not(.h139) .added_to_cart{background:var(--ts-grape);color:#fff;border-radius:var(--ts-r-ctl);font-family:var(--ts-body);font-weight:600;border:0;padding:.85em 1.5em}
body:not(.h139) .button:hover,body:not(.h139) input[type=submit]:hover,body:not(.h139) .wc-block-components-button:hover{background:var(--ts-grape-d);color:#fff}
body:not(.h139) .button.alt,body:not(.h139) .checkout-button,body:not(.h139) #place_order,body:not(.h139) .single_add_to_cart_button{background:var(--ts-grape)!important;color:#fff!important}
/* Product shelves in shop and category loops (same card as the homepage) */
ul.products li.product{background:var(--ts-shelf);border-radius:var(--ts-r-shelf);overflow:hidden;padding-bottom:18px;text-align:center}
ul.products li.product img{margin:0 0 14px!important;width:100%;aspect-ratio:1/1;object-fit:cover}
ul.products li.product .woocommerce-loop-product__title{font-family:var(--ts-disp);font-weight:800;font-size:17px;color:var(--ts-ink);padding:0 14px}
ul.products li.product .price{display:block;margin:10px 14px 12px;padding:10px;background:var(--ts-strip);font-family:var(--ts-disp);font-weight:800;color:var(--ts-ink)!important}
ul.products li.product .price del{color:var(--ts-mute);opacity:1;font-weight:600}
ul.products li.product .price ins{text-decoration:none;font-weight:800}
ul.products li.product .button{margin:0 14px}
/* Sale badge = savings, so it uses deal red */
.onsale{background:var(--ts-deal)!important;color:#fff!important;border:0!important;border-radius:var(--ts-r-shelf)!important;font-weight:700;padding:.35em .7em}
/* Single product */
.single-product div.product .product_title{font-weight:900;font-size:var(--ts-t-2xl);line-height:1}
.single-product div.product p.price{color:var(--ts-ink);font-family:var(--ts-disp);font-weight:800;font-size:var(--ts-t-xl)}
.single-product div.product p.price del{color:var(--ts-mute)}
.single-product div.product p.price ins{text-decoration:none}
.single-product div.product .woocommerce-product-gallery{background:var(--ts-shelf);border-radius:var(--ts-r-shelf)}
/* Notices and fields */
.woocommerce-message,.woocommerce-info{background:var(--ts-lilac)!important;color:var(--ts-ink)!important;border-left:4px solid var(--ts-grape)}
.woocommerce-message a,.woocommerce-info a{color:var(--ts-grape-d)!important}
body:not(.h139) input[type=text],body:not(.h139) input[type=email],body:not(.h139) input[type=tel],body:not(.h139) input[type=search],body:not(.h139) input[type=password],body:not(.h139) input[type=number],body:not(.h139) select,body:not(.h139) textarea{border-radius:var(--ts-r-ctl);background:var(--ts-mist);border:1px solid var(--ts-line);box-shadow:none}
/* Footer */
.site-footer{background:var(--ts-plum)!important;color:#efe8f8}
.site-footer a{color:#fff}
/* footer links */
.site-footer a,.site-info a{text-decoration:none!important;font-weight:600}
.site-footer a:hover,.site-info a:hover{color:#efe8f8!important}

/* buttons restored */
.button,button.button,a.button,.wp-element-button,input[type=submit],.single_add_to_cart_button,.checkout-button{border-radius:12px!important;font-family:Inter,sans-serif!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;background:#7f54b3!important;color:#fff!important;border-color:#7f54b3!important}
.button:hover,button.button:hover,a.button:hover,.wp-element-button:hover,input[type=submit]:hover{background:#5e3b8f!important;border-color:#5e3b8f!important}

/* price strips in brand grape */
ul.products li.product .price{background:#7f54b3!important;color:#fff!important;border-radius:12px}
ul.products li.product .price ins,ul.products li.product .price .amount{color:#fff!important}
ul.products li.product .price del,ul.products li.product .price del .amount{color:rgba(255,255,255,.72)!important}
