/* Site-wide housekeeping: one button system, calm navigation, no leftover animation hooks. */

/* Navigation: underline instead of the scale() jitter. */
.wp-block-navigation-item__content{display:inline-block;transition:opacity .18s ease!important;transform:none!important}
.wp-block-navigation-item:hover .wp-block-navigation-item__content{transform:none!important;opacity:.75}
.wp-block-site-logo img{transition:none!important}

/* Buttons: pill, sentence case, navy fill primary / navy outline secondary. */
:root :where(.wp-element-button,.wp-block-button__link){
  font-family:var(--wp--preset--font-family--poppins,Poppins,sans-serif);font-weight:500;letter-spacing:0;text-transform:none;
  border-radius:999px;padding:.9em 1.6em;line-height:1;
  background:var(--wp--preset--color--foreground,#0b0620);color:var(--wp--preset--color--background,#fafaf3);
  border:1.5px solid var(--wp--preset--color--foreground,#0b0620);transition:background .18s,color .18s;
}
:root :where(.wp-element-button:hover,.wp-block-button__link:hover){background:#2b2740;color:var(--wp--preset--color--background,#fafaf3)}
.wp-block-button.is-style-outline .wp-block-button__link,.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background){background:transparent;color:var(--wp--preset--color--foreground,#0b0620);border:1.5px solid currentColor}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--wp--preset--color--foreground,#0b0620);color:var(--wp--preset--color--background,#fafaf3)}
/* On dark grounds the primary flips to cream. */
.has-primary-background-color .wp-block-button__link:not(.has-background),.has-foreground-background-color .wp-block-button__link:not(.has-background),.wp-block-cover .wp-block-button__link:not(.has-background){background:var(--wp--preset--color--background,#fafaf3);color:var(--wp--preset--color--foreground,#0b0620);border-color:var(--wp--preset--color--background,#fafaf3)}

/* Woo grids: the "Read more" pill becomes a quiet text link. */
.wp-block-woocommerce-product-button .wp-block-button__link{background:transparent!important;color:var(--wp--preset--color--foreground,#0b0620)!important;border:0!important;padding:0!important;text-decoration:underline;text-underline-offset:4px;font-weight:500}
.wp-block-woocommerce-product-button .wp-block-button__link:hover{opacity:.7}

/* Neutralise the abandoned scroll-reveal system. */
.tb-fade{opacity:1!important;transform:none!important}

/* Product photography is portrait; show the whole pack, centred, instead of cropping it to a square. */
.wc-block-components-product-image,
.wp-block-woocommerce-product-image,
ul.products li.product a > img,
.woocommerce ul.products li.product img{
  background:var(--wp--preset--color--tertiary,#f2f2fa);
  border-radius:6px;
}
.wc-block-components-product-image img,
.wp-block-woocommerce-product-image img,
ul.products li.product a > img,
.woocommerce ul.products li.product img{
  object-fit:contain!important;
  object-position:center!important;
  padding:10px;
  background:transparent;
  box-sizing:border-box;
  max-width:100%;
}
.wc-block-components-product-image,
.wp-block-woocommerce-product-image{
  display:flex;
  align-items:center;
  justify-content:center;
}
