/*! Pawtrove UI 1.0.0
 *  Sits on top of the store stylesheet (Appearance > Customize > Additional CSS).
 *  Every rule is scoped to body.pwui, which this plugin adds. Deactivate the plugin
 *  and the site returns to how it looked before.
 */
:root{
  --pwui-header-h:80px;                 /* kept in sync by ui.js */
  --pwui-star:#D9A441;
  --pwui-star-off:#DDD4C7;
}
html{ scroll-padding-top:calc(var(--pwui-header-h) + 18px); }

/* ================= 1. header: stays with you ================= */
body.pwui #masthead{
  position:sticky; top:0; z-index:1000;
  background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:saturate(1.5) blur(14px); backdrop-filter:saturate(1.5) blur(14px);
  transition:transform .4s var(--pw-ease,ease), box-shadow .3s ease;
}
body.pwui.admin-bar #masthead{ top:32px; }
@media (max-width:782px){ body.pwui.admin-bar #masthead{ top:46px; } }
@media (max-width:600px){ body.pwui.admin-bar #masthead{ top:0; } }
html.pwui-scrolled body.pwui #masthead{ box-shadow:0 8px 28px rgba(48,48,48,.08); }
html.pwui-nav-hidden body.pwui #masthead{ transform:translateY(-102%); box-shadow:none; }

/* ================= 2. product page: layout ================= */
body.pwui.single-product div.product.type-product::before,
body.pwui.single-product div.product.type-product::after{ content:none; display:none; }

@media (min-width:769px){
  body.pwui.single-product div.product.type-product{
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:clamp(32px,4.6vw,64px); align-items:start;
  }
  body.pwui.single-product div.product.type-product > *{ grid-column:1 / -1; min-width:0; }
  body.pwui.single-product div.product.type-product > .woocommerce-product-gallery{
    grid-column:1; width:100% !important; float:none !important; margin:0 !important;
  }
  body.pwui.single-product div.product.type-product > .summary{
    grid-column:2; width:100% !important; float:none !important; margin:0 !important;
  }
}
@media (max-width:768px){
  body.pwui.single-product div.product.type-product > .woocommerce-product-gallery,
  body.pwui.single-product div.product.type-product > .summary{ width:100% !important; float:none !important; }
  body.pwui.single-product div.product.type-product > .woocommerce-product-gallery{ margin-bottom:22px !important; }
  body.pwui.single-product .kadence-breadcrumbs .kadence-breadcrumb-container{
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px;
  }
}

/* ---------- gallery ---------- */
body.pwui.single-product div.product div.images .flex-viewport{ border-radius:var(--pw-radius,18px); }
body.pwui.single-product div.product div.images .flex-control-thumbs{
  position:static; left:auto; transform:none; width:auto; max-width:none;
  display:flex; flex-wrap:nowrap; justify-content:flex-start; gap:10px;
  margin:9px -3px 0 !important; padding:3px; overflow-x:auto; scrollbar-width:none;
}
body.pwui.single-product div.product div.images .flex-control-thumbs::-webkit-scrollbar{ display:none; }
body.pwui.single-product div.product div.images .flex-control-thumbs li,
body.pwui.single-product div.product div.images .flex-control-thumbs li:first-child{
  flex:0 0 68px; width:68px !important; margin:0 !important; padding:0 !important;
  float:none; background:transparent !important; list-style:none;
}
body.pwui.single-product div.product div.images .flex-control-thumbs li img{
  display:block; width:100%; height:auto; aspect-ratio:1; object-fit:cover; margin:0;
  border-radius:12px; opacity:.62; cursor:pointer;
  box-shadow:0 0 0 1px var(--pw-line);
  transition:opacity .2s ease, box-shadow .2s ease;
}
body.pwui.single-product div.product div.images .flex-control-thumbs li img:hover{ opacity:1; }
body.pwui.single-product div.product div.images .flex-control-thumbs li img.flex-active{
  opacity:1; box-shadow:0 0 0 2px var(--pw-btn);
}
@media (max-width:480px){
  body.pwui.single-product div.product div.images .flex-control-thumbs{ gap:8px; }
  body.pwui.single-product div.product div.images .flex-control-thumbs li,
  body.pwui.single-product div.product div.images .flex-control-thumbs li:first-child{ flex-basis:58px; width:58px !important; }
}

/* ---------- buy box ---------- */
body.pwui.single-product div.product .summary{ display:flex; flex-direction:column; align-items:stretch; }
body.pwui.single-product div.product .summary > *{ min-width:0; }
body.pwui.single-product div.product .summary .product_title{
  font-size:clamp(26px,2.55vw,34px); line-height:1.14; margin:0 0 14px;
}
/* "Name | who it is for": the second half becomes a quieter line; the heading's text is unchanged */
body.pwui.single-product div.product .summary .product_title .pwui-title-sep{
  position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
body.pwui.single-product div.product .summary .product_title .pwui-title-sub{
  display:block; margin-top:8px; font-size:max(16px,.5em); font-weight:600; line-height:1.35;
  letter-spacing:-.005em; color:var(--pw-muted);
}
body.pwui.single-product div.product .summary .woocommerce-product-rating{
  display:flex; align-items:center; gap:10px; margin:0 0 14px; font-size:14px;
}
body.pwui.single-product div.product .summary .woocommerce-product-rating .star-rating{ margin:0; float:none; }
body.pwui.single-product div.product .summary p.price{
  align-self:flex-start; display:block; margin:0 0 18px; padding:0;
  border:0; border-radius:0; background:none;
  font-size:28px; font-weight:700; line-height:1.2; letter-spacing:-.01em; color:var(--pw-text);
}
body.pwui.single-product div.product .summary p.price del{ font-size:.68em; font-weight:500; color:var(--pw-muted); margin-right:8px; }
body.pwui.single-product div.product .summary p.price ins{ text-decoration:none; }
body.pwui.single-product .summary #payment-method-message:empty{ display:none; }
/* the short description's parts join the column, so the delivery panel can sit under the button */
body.pwui.single-product div.product .summary .woocommerce-product-details__short-description{ display:contents; }
body.pwui.single-product div.product .summary .pw-pd-hook{ margin:0 0 14px; }
body.pwui.single-product div.product .summary .pw-pd-trust{ order:2; margin:22px 0 0; }

/* colour / size choices */
body.pwui.woo-variation-swatches{
  --wvs-single-product-item-width:40px; --wvs-single-product-item-height:40px;
  --wvs-item-box-shadow:0 0 0 1px rgba(48,48,48,.2);
  --wvs-hover-item-box-shadow:0 0 0 2px var(--pw-accent);
  --wvs-selected-item-box-shadow:0 0 0 2px var(--pw-text);
}
body.pwui.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item.color-variable-item:not(.radio-variable-item){
  border-radius:50%; padding:3px; margin:4px 10px 4px 2px;
}
body.pwui.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item.color-variable-item:not(.radio-variable-item) :is(.variable-item-contents,.variable-item-span){
  border-radius:50%; overflow:hidden;
}
body.pwui.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item.button-variable-item:not(.radio-variable-item){
  border-radius:999px; padding:0 16px; margin:4px 8px 4px 2px; font-size:14.5px; font-weight:600;
}
body.pwui.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item.button-variable-item.selected:not(.radio-variable-item){
  background:var(--pw-text); color:#fff;
}
body.pwui.single-product div.product form.cart table.variations{ margin:0 0 4px; }
body.pwui.single-product div.product form.cart .reset_variations{
  display:inline-block; margin-top:6px; font-size:13px; color:var(--pw-muted);
}

/* quantity + button on one row */
body.pwui.single-product div.product form.cart{ margin:22px 0 0 !important; gap:14px 12px; }
body.pwui.single-product div.product form.variations_form.cart > div,
body.pwui.single-product div.product form.cart .single_variation_wrap{ flex:1 1 100%; width:100%; min-width:0; }
body.pwui.single-product div.product form.cart .woocommerce-variation-add-to-cart{
  display:flex; flex-wrap:wrap; align-items:stretch; gap:12px;
}
body.pwui.single-product div.product form.cart .single_add_to_cart_button{
  flex:1 1 180px; min-height:56px; font-size:16.5px;
}
body.pwui.single-product div.product form.cart .single_add_to_cart_button:active{ transform:scale(.985); }
body.pwui.single-product div.product form.cart .single_add_to_cart_button.pwui-busy{ pointer-events:none; filter:saturate(.7) brightness(1.06); }
body.pwui.single-product div.product form.cart .single_add_to_cart_button.pwui-busy::after{
  content:""; width:16px; height:16px; margin-left:12px; border-radius:50%;
  border:2px solid rgba(255,255,255,.45); border-top-color:#fff; animation:pwui-spin .7s linear infinite;
}
@keyframes pwui-spin{ to{ transform:rotate(360deg); } }

body.pwui .quantity.pwui-qty{
  display:inline-flex !important; align-items:stretch; flex:0 0 auto; height:56px;
  border:1px solid var(--pw-line); border-radius:999px; background:var(--pw-surface); overflow:hidden;
}
body.pwui .quantity.pwui-qty .qty{
  width:42px !important; height:auto !important; min-height:0; padding:0 !important; margin:0;
  border:0 !important; border-radius:0 !important; background:transparent !important;
  text-align:center; font-weight:600; font-size:16px; -moz-appearance:textfield; appearance:textfield;
}
body.pwui .quantity.pwui-qty .qty:focus{ outline:0 !important; }
body.pwui .quantity.pwui-qty:has(.qty:focus-visible){ box-shadow:0 0 0 2px var(--pw-accent); border-color:transparent; }
body.pwui .quantity.pwui-qty .qty::-webkit-outer-spin-button,
body.pwui .quantity.pwui-qty .qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
body.pwui .pwui-qty-btn,
body.pwui .pwui-qty-btn:hover,
body.pwui .pwui-qty-btn:focus,
body.pwui .pwui-qty-btn:active{
  flex:0 0 46px; width:46px; min-height:0; padding:0; margin:0; border:0; border-radius:0;
  background:transparent; color:var(--pw-text); box-shadow:none;
  font:500 21px/1 var(--pw-font,sans-serif); cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .15s ease;
}
body.pwui .pwui-qty-btn:focus-visible{ outline:2px solid var(--pw-accent); outline-offset:-4px; border-radius:999px; }
@media (hover:hover){ body.pwui .pwui-qty-btn:hover{ background:var(--pw-soft); } }
body.pwui .pwui-qty-btn:active{ background:var(--pw-surface-2); }
body.pwui .pwui-qty-btn:disabled{ opacity:.32; cursor:default; background:transparent; }

/* Apple Pay / Google Pay sit under the button when the shopper's device offers them; no gap when it doesn't */
body.pwui.single-product div.product .summary .wcpay-express-checkout-wrapper{ margin:0 !important; }
body.pwui.single-product div.product .summary #wcpay-express-checkout-element:not(:empty){ margin-top:12px; }

/* small print under the buy box */
body.pwui.single-product div.product .summary .product_meta{
  order:3; display:flex; flex-wrap:wrap; gap:4px 20px; margin:20px 0 0; padding:16px 0 0;
  border-top:1px solid var(--pw-line); font-size:13px; line-height:1.5;
}
body.pwui.single-product div.product .summary .product_meta > span{
  display:inline; color:var(--pw-muted); font-size:13px; font-weight:400; text-transform:none; letter-spacing:0;
}
body.pwui.single-product div.product .summary .product_meta > .sku_wrapper{ display:none; }
body.pwui.single-product div.product .summary .product_meta a{
  color:var(--pw-text); text-decoration:underline; text-decoration-color:var(--pw-accent); text-underline-offset:3px;
}
body.pwui.single-product div.product .summary .product_meta a:hover{ color:var(--pw-btn); }
body.pwui.single-product div.product .summary .product_meta > span:has(a[href*="/brand/"]){ display:none; }

/* ================= 3. product page: tabs and reading column ================= */
body.pwui.single-product div.product .woocommerce-tabs{
  border:0 !important; border-top:1px solid var(--pw-line) !important;
  margin-top:clamp(40px,6vw,72px); padding-top:clamp(26px,4vw,44px);
}
body.pwui.single-product div.product .woocommerce-tabs ul.tabs{
  display:flex; justify-content:flex-start; gap:4px;
  width:max-content; max-width:100%; margin:0 auto clamp(26px,4vw,42px); padding:5px;
  background:var(--pw-surface-2); border-radius:999px; overflow-x:auto; scrollbar-width:none;
}
body.pwui.single-product div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar{ display:none; }
body.pwui.single-product div.product .woocommerce-tabs ul.tabs::before,
body.pwui.single-product div.product .woocommerce-tabs ul.tabs::after{ display:none; }
body.pwui.single-product div.product .woocommerce-tabs ul.tabs li{
  display:block; flex:0 0 auto; margin:0; padding:0; border-radius:999px;
}
body.pwui.single-product div.product .woocommerce-tabs ul.tabs li a{
  display:block; padding:10px 20px; border-radius:999px; border-bottom:0 !important;
  font-size:14.5px; font-weight:600; line-height:1.3; white-space:nowrap; color:var(--pw-muted) !important;
  transition:background .2s ease, color .2s ease, box-shadow .2s ease;
}
body.pwui.single-product div.product .woocommerce-tabs ul.tabs li:not(.active) a:hover{ color:var(--pw-text) !important; }
body.pwui.single-product div.product .woocommerce-tabs ul.tabs li.active a{
  background:var(--pw-surface); color:var(--pw-text) !important; border-bottom:0 !important;
  box-shadow:0 1px 3px rgba(48,48,48,.14);
}
@media (max-width:480px){
  body.pwui.single-product div.product .woocommerce-tabs ul.tabs{ width:100%; }
  body.pwui.single-product div.product .woocommerce-tabs ul.tabs li{ flex:1 1 auto; }
  body.pwui.single-product div.product .woocommerce-tabs ul.tabs li a{ padding:10px 10px; font-size:13.5px; text-align:center; }
}
body.pwui.single-product div.product .woocommerce-tabs .panel{
  max-width:760px; margin:0 auto !important; padding:0; border:0;
}
@media (prefers-reduced-motion:no-preference){
  body.pwui.single-product div.product .woocommerce-tabs .panel{ animation:pwui-panel .35s var(--pw-ease,ease) both; }
}
@keyframes pwui-panel{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
body.pwui.single-product .woocommerce-Tabs-panel h2{
  font-size:clamp(21px,2.1vw,26px); line-height:1.2; margin:clamp(30px,4vw,44px) 0 12px;
}
body.pwui.single-product .woocommerce-Tabs-panel > :first-child{ margin-top:0; }
body.pwui.single-product .woocommerce-Tabs-panel :is(p,li){ font-size:16px; line-height:1.72; }
body.pwui.single-product .woocommerce-Tabs-panel .videofit{ border-radius:16px; overflow:hidden; }

/* details table: plain rows */
body.pwui.single-product table.shop_attributes{ width:100%; margin:0; border:0; border-top:1px solid var(--pw-line); border-collapse:collapse; }
body.pwui.single-product table.shop_attributes :is(th,td){
  padding:14px 0; border:0; border-bottom:1px solid var(--pw-line); background:transparent !important;
  font-size:15.5px; font-style:normal; line-height:1.5; text-align:left; vertical-align:top;
}
body.pwui.single-product table.shop_attributes th{ width:34%; padding-right:16px; font-weight:600; color:var(--pw-text); }
body.pwui.single-product table.shop_attributes td{ color:var(--pw-muted); }
body.pwui.single-product table.shop_attributes td p{ margin:0; padding:0; font-size:inherit; line-height:inherit; }

/* questions fold away until asked */
body.pwui .pwui-faq{ max-width:none; margin:18px 0 26px; gap:10px; }
body.pwui .pwui-faq details{ padding:2px 22px; border-radius:14px; }
body.pwui .pwui-faq summary{ font-size:16px; padding:16px 0; line-height:1.4; }
body.pwui .pwui-faq summary :is(strong,h3,h4,h5){ flex:1; min-width:0; margin:0; padding:0; font:inherit; color:inherit; letter-spacing:inherit; }
body.pwui .pwui-faq details p{ padding:0 0 18px; margin:0; }
body.pwui .pwui-faq details :is(ul,ol){ margin:0; padding:0 0 18px 20px; color:var(--pw-muted); }
body.pwui.single-product .woocommerce-Tabs-panel .pwui-faq details :is(p,li){ font-size:15.5px; line-height:1.68; }
body.pwui .pw-faq summary:focus-visible{ outline:2px solid var(--pw-accent); outline-offset:6px; border-radius:6px; }
@media (prefers-reduced-motion:no-preference){
  @supports (interpolate-size:allow-keywords){
    body.pwui .pw-faq details{ interpolate-size:allow-keywords; }
    body.pwui .pw-faq details::details-content{
      block-size:0; overflow:hidden;
      transition:block-size .32s var(--pw-ease,ease), content-visibility .32s allow-discrete;
    }
    body.pwui .pw-faq details[open]::details-content{ block-size:auto; }
  }
}

/* ================= 4. reviews ================= */
body.pwui .star-rating::before{ color:var(--pwui-star-off); }
body.pwui .star-rating span::before{ color:var(--pwui-star); }

body.pwui.single-product #reviews{ display:grid; gap:26px; }
body.pwui.single-product #reviews #comments,
body.pwui.single-product #reviews #review_form_wrapper{ float:none; width:auto; margin:0; }
body.pwui.single-product #reviews #comments{ padding:0; }
body.pwui.single-product #reviews .clear{ display:none; }
body.pwui.single-product #reviews #comments .woocommerce-Reviews-title{ font-size:clamp(21px,2.1vw,26px); margin:0 0 8px; }
body.pwui.single-product #reviews .woocommerce-noreviews{ margin:0; color:var(--pw-muted); }

body.pwui.single-product #reviews #comments ol.commentlist{ list-style:none; margin:14px 0 0; padding:0; display:grid; gap:14px; }
body.pwui.single-product #reviews #comments ol.commentlist::before,
body.pwui.single-product #reviews #comments ol.commentlist::after{ content:none; display:none; }
body.pwui.single-product #reviews #comments ol.commentlist li{ margin:0; padding:0; list-style:none; }
body.pwui.single-product #reviews #comments ol.commentlist li .comment_container{
  display:flex; gap:14px; align-items:flex-start; padding:20px 22px;
  background:var(--pw-surface); border:1px solid var(--pw-line); border-radius:16px;
}
body.pwui.single-product #reviews #comments ol.commentlist li img.avatar{
  position:static; float:none; flex:0 0 44px; width:44px; height:44px; padding:0; margin:0;
  border:0; border-radius:50%; background:var(--pw-soft);
}
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text{
  flex:1; min-width:0; margin:0; padding:0; border:0; border-radius:0;
}
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text::before,
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text::after{ content:none; display:none; }
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text .star-rating{ float:none; margin:2px 0 8px; font-size:15px; }
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text p.meta{
  margin:0 0 8px; font-size:13.5px; line-height:1.5; color:var(--pw-muted);
}
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text p.meta strong{ font-size:15px; color:var(--pw-text); }
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text p.meta em{ font-style:normal; color:var(--pw-btn); }
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text .description p{ margin:0; font-size:15.5px; line-height:1.65; }
body.pwui.single-product #reviews #comments ol.commentlist li .comment-text .description p + p{ margin-top:10px; }

body.pwui.single-product #review_form_wrapper{
  padding:clamp(20px,3.2vw,32px); background:var(--pw-surface);
  border:1px solid var(--pw-line); border-radius:var(--pw-radius,18px);
}
body.pwui.single-product #review_form #respond{ margin:0; padding:0; background:none; border:0; }
body.pwui.single-product #reply-title{
  display:block; margin:0 0 4px; font-size:21px; font-weight:700; line-height:1.25; letter-spacing:-.02em; color:var(--pw-text);
}
body.pwui.single-product #commentform{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; margin:0; }
body.pwui.single-product #commentform > *{ grid-column:1 / -1; min-width:0; }
@media (min-width:600px){
  body.pwui.single-product #commentform > .comment-form-author{ grid-column:1; }
  body.pwui.single-product #commentform > .comment-form-email{ grid-column:2; }
}
body.pwui.single-product #review_form #respond #commentform .comment-notes,
body.pwui.single-product #review_form #respond #commentform .logged-in-as{ margin:0 0 20px; font-size:13.5px; font-style:normal; line-height:1.5; color:var(--pw-muted); }
body.pwui.single-product #commentform label{ display:block; margin:0 0 7px; font-size:14px; font-weight:600; color:var(--pw-text); }
body.pwui.single-product #review_form #respond #commentform :is(.comment-form-rating,.comment-form-comment,.comment-form-author,.comment-form-email){ margin:0 0 18px; }
body.pwui.single-product #commentform :is(input[type=text],input[type=email],textarea){
  display:block; width:100%; padding:13px 15px; font-size:16px; line-height:1.5;
}
body.pwui.single-product #commentform textarea{ min-height:124px; resize:vertical; }
body.pwui.single-product #review_form #respond #commentform p.stars{ margin:0; line-height:1; }
body.pwui.single-product #commentform p.stars > span{ display:inline-flex; gap:6px; }
body.pwui.single-product #commentform p.stars a{
  font-size:32px; color:var(--pwui-star) !important; border-bottom:0 !important; padding:0 !important;
  transition:transform .15s ease;
}
body.pwui.single-product #commentform p.stars a:hover{ transform:scale(1.12); }
body.pwui.single-product #commentform p.stars a:focus-visible{ outline:2px solid var(--pw-accent); outline-offset:3px; }
body.pwui.single-product #review_form #respond #commentform .comment-form-cookies-consent{
  display:flex; align-items:flex-start; gap:10px; margin:0 0 20px;
}
body.pwui.single-product #commentform .comment-form-cookies-consent input{ flex:0 0 auto; width:18px; height:18px; margin:2px 0 0; accent-color:var(--pw-btn); }
body.pwui.single-product #commentform .comment-form-cookies-consent label{ margin:0; font-size:13.5px; font-weight:400; line-height:1.5; color:var(--pw-muted); }
body.pwui.single-product #review_form #respond #commentform .form-submit{ margin:0; }
body.pwui.single-product #commentform .form-submit input#submit{ min-height:52px; padding:0 34px !important; font-size:16px; cursor:pointer; }

/* ================= 5. buy bar: follows once the button is off screen ================= */
body.pwui .pwui-buybar{
  position:fixed; left:0; right:0; bottom:0; z-index:990;
  padding-bottom:env(safe-area-inset-bottom,0px);
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:saturate(1.5) blur(14px); backdrop-filter:saturate(1.5) blur(14px);
  border-top:1px solid var(--pw-line); box-shadow:0 -10px 34px rgba(48,48,48,.09);
  transform:translateY(110%); visibility:hidden;
  transition:transform .45s var(--pw-ease,ease), visibility 0s linear .45s;
}
body.pwui .pwui-buybar.is-on:not(.is-typing){ transform:none; visibility:visible; transition-delay:0s, 0s; }
body.pwui .pwui-buybar-in{
  display:flex; align-items:center; gap:14px;
  max-width:calc(var(--global-content-width,1290px)); margin:0 auto; padding:10px 24px;
}
body.pwui .pwui-buybar-img{
  flex:0 0 46px; width:46px; height:46px; object-fit:cover; border-radius:10px; box-shadow:0 0 0 1px var(--pw-line);
}
body.pwui .pwui-buybar-txt{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
body.pwui .pwui-buybar-name{
  font-size:14.5px; font-weight:600; line-height:1.3; color:var(--pw-text);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.pwui .pwui-buybar-sub{ display:flex; align-items:baseline; gap:10px; font-size:13.5px; line-height:1.3; color:var(--pw-muted); white-space:nowrap; }
body.pwui .pwui-buybar-price{ font-weight:700; color:var(--pw-text); }
body.pwui .pwui-buybar-price del{ font-weight:400; color:var(--pw-muted); margin-right:6px; }
body.pwui .pwui-buybar-price ins{ text-decoration:none; }
body.pwui .pwui-buybar-btn,
body.pwui .pwui-buybar-btn:hover,
body.pwui .pwui-buybar-btn:focus,
body.pwui .pwui-buybar-btn:active{
  flex:0 0 auto; min-height:48px; padding:0 28px; margin:0; border:0; border-radius:999px;
  background:var(--pw-btn); color:#fff; box-shadow:none;
  font:600 15.5px/1 var(--pw-font,sans-serif); white-space:nowrap; cursor:pointer;
  transition:filter .18s ease, transform .18s var(--pw-ease,ease);
}
body.pwui .pwui-buybar-btn:focus-visible{ outline:2px solid var(--pw-text); outline-offset:3px; }
body.pwui .pwui-buybar-btn:hover{ filter:brightness(1.08); }
body.pwui .pwui-buybar-btn:active{ transform:scale(.97); }
body.pwui.pwui-has-buybar .site-footer{ padding-bottom:calc(70px + env(safe-area-inset-bottom,0px)); }
@media (max-width:600px){
  body.pwui .pwui-buybar-in{ gap:12px; padding:9px 16px; }
  body.pwui .pwui-buybar-img{ flex-basis:42px; width:42px; height:42px; }
  body.pwui .pwui-buybar-btn,
  body.pwui .pwui-buybar-btn:hover,
  body.pwui .pwui-buybar-btn:focus,
  body.pwui .pwui-buybar-btn:active{ padding:0 22px; }
}
/* a nudge when the bar sends you back to choose a colour or size */
body.pwui .pwui-flash{ animation:pwui-flash 1.2s ease 1; border-radius:14px; }
@keyframes pwui-flash{ 0%,100%{ box-shadow:0 0 0 0 rgba(128,152,120,0); } 30%{ box-shadow:0 0 0 10px rgba(128,152,120,.28); } }

/* ================= 6. "added to your cart" message ================= */
body.pwui .woocommerce-notices-wrapper .woocommerce-message{
  display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:12px 20px;
  padding:16px 18px 16px 20px; border:1px solid var(--pw-line); border-left:4px solid var(--pw-btn);
  border-radius:14px; box-shadow:0 10px 30px rgba(48,48,48,.06); font-size:15.5px; line-height:1.5;
}
body.pwui .woocommerce-notices-wrapper .woocommerce-message::before,
body.pwui .woocommerce-notices-wrapper .woocommerce-message::after{ content:none; display:none; }
body.pwui .woocommerce-notices-wrapper .woocommerce-message .button{
  order:2; flex:0 0 auto; float:none; margin:0 0 0 auto !important; padding:12px 24px !important; text-align:center;
}
@media (max-width:600px){
  body.pwui .woocommerce-notices-wrapper .woocommerce-message .button{ flex:1 1 100%; margin:0 !important; }
}
@media (prefers-reduced-motion:no-preference){
  body.pwui .woocommerce-notices-wrapper .woocommerce-message{ animation:pwui-panel .45s var(--pw-ease,ease) both; }
}

/* ================= 7. product cards ================= */
body.pwui ul.products li.product .woocommerce-loop-product__title{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden; line-height:1.3;
}
body.pwui ul.products li.product .woocommerce-loop-image-link{ display:block; overflow:hidden; }
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  body.pwui ul.products li.product .woocommerce-loop-image-link img{ transition:transform .8s var(--pw-ease,ease); }
  body.pwui ul.products li.product:hover .woocommerce-loop-image-link img{ transform:scale(1.045); }
}

@media (prefers-reduced-motion:reduce){
  body.pwui #masthead, body.pwui .pwui-buybar{ transition:none; }
  body.pwui .pwui-flash{ animation:none; }
}
