/* ANE Brand 1.10.0: the shop (shop, product categories, product pages) and the design-tools page in the round-4 look.
   Owner decision 14.11.2026. Only presentation: WooCommerce's markup, the add-to-cart form, the product fields
   (ane-shop-custom), the model-files choice (ane-shop-files), the 3D viewer and the tool are not changed.
   Tokens are round 4's (r4.css). Every rule is scoped to body.ae2-r4.ae2-shop / body.ae2-r4.ae2-tool.
   Contrast (WCAG AA): #1B1D1C on #FFF 16.9:1 · #4E5552 on #FFF 7.6:1 · #6B726F on #FFF 4.9:1 · #FFF on #0D5C45 7.7:1 ·
   #0D5C45 on #FFF 7.7:1 · #1B1D1C on #F4F5F4 15.6:1. */

/* ---------- shared: breadcrumb on a light ground, page width ---------- */
body.ae2-r4:not(#_):is(.ae2-shop,.ae2-tool) .r4-crumb{color:var(--ink-3);flex-wrap:wrap;row-gap:4px}
body.ae2-r4:not(#_):is(.ae2-shop,.ae2-tool) .r4-crumb a{color:var(--ink-2)}
body.ae2-r4:not(#_):is(.ae2-shop,.ae2-tool) .r4-crumb a:hover{color:var(--ink)}
body.ae2-r4:not(#_):is(.ae2-shop,.ae2-tool) .r4-crumb [aria-current]{color:var(--ink)}
body.ae2-r4.ae2-shop:not(#_){background:#fff;font-family:var(--b-font,'Heebo','Segoe UI',Arial,sans-serif)}
body.ae2-r4.ae2-shop:not(#_) .site-main,
body.ae2-r4.ae2-shop:not(#_) #primary,
body.ae2-r4.ae2-shop:not(#_) .woocommerce-notices-wrapper{max-width:var(--wrap);width:auto;margin-inline:auto;padding-left:var(--gut);padding-right:var(--gutr)}
body.ae2-r4.ae2-shop:not(#_) #primary .site-main{padding-left:0;padding-right:0}
body.ae2-r4.ae2-shop:not(#_) .site-main{padding-bottom:clamp(56px,7vw,104px)}
body.ae2-r4.ae2-shop:not(#_) :is(h1,h2,h3,.price,button,input,select,textarea){font-family:inherit}

/* header: the cart */
body.ae2-r4:not(#_) .r4-cart{position:relative;display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:999px;color:var(--ink);text-decoration:none}
body.ae2-r4:not(#_) .r4-cart:hover{background:var(--panel)}
body.ae2-r4:not(#_) .r4-cart__n{position:absolute;top:4px;inset-inline-end:2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--green);color:#fff;font:700 11px/18px inherit;font-family:inherit;text-align:center}

/* ---------- shop heading band ---------- */
body.ae2-r4.ae2-shop:not(#_) .r4-shopband{padding-block:clamp(28px,4vw,52px) clamp(22px,2.6vw,32px)}
body.ae2-r4.ae2-shop:not(#_) .r4-shopband .r4-wrap{padding:0;max-width:none}
body.ae2-r4.ae2-shop:not(#_) .r4-shopband__h{margin:18px 0 0;font-size:clamp(34px,4.6vw,60px);line-height:1.05;font-weight:700;letter-spacing:-.022em;color:var(--ink);text-wrap:balance}
body.ae2-r4.ae2-shop:not(#_) .r4-shopband__p{margin:14px 0 0;max-width:56ch;font-size:clamp(16px,1.35vw,19px);line-height:1.55;color:var(--ink-2)}
body.ae2-r4.ae2-shop:not(#_) .r4-shopband--product{padding-block:22px 6px}

/* category navigation: pills on one row, scrolling sideways on a phone */
body.ae2-r4.ae2-shop:not(#_) .r4-chips{margin-top:clamp(22px,2.6vw,34px)}
body.ae2-r4.ae2-shop:not(#_) .r4-chips ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
body.ae2-r4.ae2-shop:not(#_) .r4-chips li{margin:0;padding:0}
body.ae2-r4.ae2-shop:not(#_) .r4-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;background:#fff;color:var(--ink-2);box-shadow:inset 0 0 0 1px var(--line);font-size:14.5px;font-weight:500;text-decoration:none;white-space:nowrap;transition:background-color .2s var(--ease),color .2s var(--ease),box-shadow .2s var(--ease)}
body.ae2-r4.ae2-shop:not(#_) .r4-chip:hover{color:var(--ink);box-shadow:inset 0 0 0 1px #C9CFCC}
body.ae2-r4.ae2-shop:not(#_) .r4-chip.is-on{background:var(--ink);color:#fff;box-shadow:none}
body.ae2-r4.ae2-shop:not(#_) .r4-chip small{font-size:12px;font-weight:500;color:var(--ink-3);font-variant-numeric:tabular-nums}
body.ae2-r4.ae2-shop:not(#_) .r4-chip.is-on small{color:rgba(255,255,255,.72)}
body.ae2-r4.ae2-shop:not(#_) .r4-chips__sub{margin-top:10px!important}
body.ae2-r4.ae2-shop:not(#_) .r4-chips__sub .r4-chip{min-height:34px;padding:0 13px;font-size:13.5px;background:var(--panel);box-shadow:none}
body.ae2-r4.ae2-shop:not(#_) .r4-chips__sub .r4-chip.is-on{background:var(--green);color:#fff}
@media (max-width:760px){
  body.ae2-r4.ae2-shop:not(#_) .r4-chips ul{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin-inline:calc(-1 * var(--gut)) calc(-1 * var(--gutr));padding-inline:var(--gut) var(--gutr);scroll-padding-inline:var(--gut)}
  body.ae2-r4.ae2-shop:not(#_) .r4-chips ul::-webkit-scrollbar{display:none}
}

/* ---------- list toolbar: count and sort ---------- */
body.ae2-r4.ae2-shop:not(#_) .woocommerce-result-count{float:none;display:inline-block;margin:0;padding-block:12px;font-size:14px;color:var(--ink-3)}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-ordering{float:none;display:inline-block;margin:0;margin-inline-start:auto}
body.ae2-r4.ae2-shop.ae2-shop--list:not(#_) .site-main>.woocommerce-notices-wrapper+.woocommerce-result-count,
body.ae2-r4.ae2-shop.ae2-shop--list:not(#_) .woocommerce-result-count{margin-bottom:0}
body.ae2-r4.ae2-shop.ae2-shop--list:not(#_) form.woocommerce-ordering{float:inline-end}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-ordering select{min-height:44px;padding:0 16px;padding-inline-end:40px;border:0;border-radius:999px;background-color:var(--panel);color:var(--ink);font-size:14.5px;font-weight:500;cursor:pointer;box-shadow:none}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-ordering select:hover{background-color:var(--panel-2)}
body.ae2-r4.ae2-shop.ae2-shop--list:not(#_) .r4-shopband{margin-bottom:18px;border-bottom:1px solid var(--line)}

/* ---------- product grid (shop, category, related) ---------- */
body.ae2-r4.ae2-shop:not(#_) ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(36px,3.4vw,52px) clamp(16px,1.8vw,28px);margin:28px 0 0;padding:0;list-style:none;clear:both}
body.ae2-r4.ae2-shop:not(#_) ul.products::before,body.ae2-r4.ae2-shop:not(#_) ul.products::after{display:none}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product{position:relative;display:flex;flex-direction:column;width:auto!important;float:none!important;margin:0!important;padding:0;text-align:start}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1 1 auto;color:var(--ink);text-decoration:none}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product a img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;margin:0 0 16px;border-radius:20px;background:var(--panel);box-shadow:none;transition:transform .5s var(--ease),filter .5s var(--ease)}
@media (hover:hover){
  body.ae2-r4.ae2-shop:not(#_) ul.products li.product a.woocommerce-LoopProduct-link:hover img{transform:translateY(-3px);filter:brightness(1.02) contrast(1.02)}
  body.ae2-r4.ae2-shop:not(#_) ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .woocommerce-loop-product__title{margin:0;padding:0;font-size:16px;line-height:1.4;font-weight:500;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .price{display:block;margin:6px 0 0;font-size:15.5px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .price del{margin-inline-end:6px;color:var(--ink-3);font-weight:400;opacity:1}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .price ins{text-decoration:none;color:var(--ink)}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .star-rating{display:none}
/* the list's add-to-cart button, quieter than the product page's */
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:14px 0 0;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px #C9CFCC;font-size:14px;font-weight:600;line-height:1;text-decoration:none;transition:box-shadow .2s var(--ease),background-color .2s var(--ease)}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button:hover{background:var(--panel);box-shadow:inset 0 0 0 1px var(--ink)}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button.loading{opacity:.6}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button.loading::after{display:none}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button.added::after{display:none}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .added_to_cart{align-self:flex-start;margin-top:8px;padding:0;font-size:14px;font-weight:600;color:var(--green);text-decoration:underline;text-underline-offset:3px}
body.ae2-r4.ae2-shop:not(#_) .onsale{position:absolute;top:12px;inset-inline-start:12px;inset-inline-end:auto;z-index:1;min-width:0;min-height:0;margin:0;padding:5px 11px;border-radius:999px;background:#fff;color:var(--ink);box-shadow:0 0 0 1px var(--line);font-size:12.5px;font-weight:600;line-height:1.2}
body.ae2-r4.ae2-shop:not(#_) [class*="jet-compare-button"]{display:none!important}
@media (max-width:1100px){body.ae2-r4.ae2-shop:not(#_) ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
  body.ae2-r4.ae2-shop:not(#_) ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px;margin-top:20px}
  body.ae2-r4.ae2-shop:not(#_) ul.products li.product a img{border-radius:14px;margin-bottom:12px}
  body.ae2-r4.ae2-shop:not(#_) ul.products li.product .woocommerce-loop-product__title{font-size:14.5px}
  body.ae2-r4.ae2-shop:not(#_) ul.products li.product .price{font-size:14.5px}
  body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button{min-height:38px;padding:0 14px;font-size:13.5px}
  body.ae2-r4.ae2-shop:not(#_) .woocommerce-ordering select{min-height:40px;font-size:14px}
}

/* pagination */
body.ae2-r4.ae2-shop:not(#_) .woocommerce-pagination{margin-top:clamp(40px,5vw,64px);text-align:center}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-pagination ul.page-numbers{display:inline-flex;gap:6px;margin:0;padding:0;border:0;list-style:none}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-pagination ul.page-numbers li{border:0;margin:0;float:none}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-pagination .page-numbers :is(a,span){display:grid;place-items:center;min-width:44px;height:44px;padding:0 10px;border-radius:999px;color:var(--ink-2);font-size:15px;font-weight:500;text-decoration:none;background:none}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-pagination .page-numbers a:hover{background:var(--panel);color:var(--ink)}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-pagination .page-numbers span.current{background:var(--ink);color:#fff}

/* ---------- product page ---------- */
body.ae2-r4.ae2-shop--product:not(#_) div.product{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(28px,4.5vw,72px);align-items:start;margin-top:14px}
body.ae2-r4.ae2-shop--product:not(#_) div.product>*{grid-column:1/-1;min-width:0}
body.ae2-r4.ae2-shop--product:not(#_) div.product>.woocommerce-product-gallery{grid-column:1;width:auto!important;float:none!important;margin:0!important;position:relative;top:auto}
body.ae2-r4.ae2-shop--product:not(#_) div.product>.summary{grid-column:2;width:auto!important;float:none!important;margin:0!important;padding:0}
body.ae2-r4.ae2-shop--product:not(#_) div.product>.onsale{grid-column:1;position:absolute}
/* gallery: the image sits on the panel, rounded, no frame */
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery__wrapper{margin:0}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery .flex-viewport,
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child{border-radius:24px;overflow:hidden;background:var(--panel)}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery__image img{width:100%;height:auto;border-radius:0;background:var(--panel)}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0;padding:0}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery .flex-control-thumbs li{width:76px!important;float:none!important;margin:0!important;list-style:none}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery .flex-control-thumbs img{border-radius:12px;opacity:.6;background:var(--panel);transition:opacity .2s var(--ease),box-shadow .2s var(--ease)}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:.9}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1;box-shadow:0 0 0 2px var(--ink)}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery__trigger{top:16px;inset-inline-end:16px;inset-inline-start:auto;width:40px;height:40px;border-radius:999px;background:rgba(255,255,255,.9);box-shadow:0 0 0 1px var(--line);font-size:0}
/* without the gallery script (it did not run: no slider wrapper .flex-viewport), the extra images are a strip of small images
   under the first. Once the slider runs, WooCommerce manages every slide and this rule no longer applies. */
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:not(:first-child){display:inline-block;width:76px;margin:12px 0 0;margin-inline-end:10px;border-radius:12px;overflow:hidden}
/* summary */
body.ae2-r4.ae2-shop--product:not(#_) .summary .product_title{margin:0;font-size:clamp(30px,3.2vw,44px);line-height:1.1;font-weight:700;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
body.ae2-r4.ae2-shop--product:not(#_) .summary>.price{margin:14px 0 0;font-size:24px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
body.ae2-r4.ae2-shop--product:not(#_) .summary>.price del{margin-inline-end:8px;font-size:18px;font-weight:400;color:var(--ink-3);opacity:1}
body.ae2-r4.ae2-shop--product:not(#_) .summary>.price ins{text-decoration:none}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-details__short-description{margin:18px 0 0;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:17px;line-height:1.65;color:var(--ink-2)}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-details__short-description p{margin:0 0 .6em}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-details__short-description p:last-child{margin-bottom:0}
body.ae2-r4.ae2-shop--product:not(#_) .summary form.cart{margin:24px 0 0}
/* the model-files choice (ane-shop-files): same structure, round-4 colours and radius */
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__legend{font-size:15px;font-weight:600;color:var(--ink)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__body{border-radius:16px;border-color:var(--line);padding-block:14px}
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__opt:hover .ane-sf__body{border-color:#C9CFCC}
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__opt input:checked+.ane-sf__body,
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__opt:has(input:checked) .ane-sf__body{border-color:var(--green);background:#F2F7F5;box-shadow:inset 0 0 0 1px var(--green)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__name{color:var(--ink);font-weight:600}
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__sub,body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__note{color:var(--ink-2)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__price{color:var(--green)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-sf__note a{color:var(--green)}
/* the personalisation fields (ane-shop-custom) */
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf{gap:18px;margin:4px 0 20px;padding:20px;border:0;border-radius:18px;background:var(--panel)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-row label{font-size:14px;font-weight:600;color:var(--ink)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-row :is(input[type=text],input[type=url],select,textarea){min-height:46px;border:1px solid #D6DBD8;border-radius:12px;background:#fff;font-size:16px;color:var(--ink)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-row :is(input,select,textarea):focus{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-help,body.ae2-r4.ae2-shop--product:not(#_) .ane-lead{color:var(--ink-3)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-swatches{gap:8px}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-swatches .sw{min-height:40px;padding:6px 14px;border-color:#D6DBD8;border-radius:999px;font-size:14px;color:var(--ink-2)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-swatches .sw:has(input:checked){border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);color:var(--ink);font-weight:600}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-swatches .sw:has(input:focus-visible){outline-color:var(--green)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-row .add{color:var(--green)}
/* quantity and the add-to-cart button */
body.ae2-r4.ae2-shop--product:not(#_) form.cart:not(.variations_form),
body.ae2-r4.ae2-shop--product:not(#_) form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body.ae2-r4.ae2-shop--product:not(#_) form.cart>:not(.quantity):not(.single_add_to_cart_button):not([type=hidden]){flex:1 1 100%;min-width:0}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .quantity{float:none;margin:0}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .quantity .qty{width:84px;min-height:52px;padding:0 10px;border:1px solid #D6DBD8;border-radius:999px;background:#fff;color:var(--ink);font-size:16px;font-weight:600;text-align:center}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .single_add_to_cart_button{flex:1 1 220px;float:none;min-height:52px;margin:0;padding:0 28px;border:0;border-radius:999px;background:var(--green);color:#fff;font-size:16.5px;font-weight:600;line-height:1;transition:background-color .2s var(--ease),transform .2s var(--ease)}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .single_add_to_cart_button:hover{background:var(--green-hover)}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .single_add_to_cart_button:active{transform:scale(.985)}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .single_add_to_cart_button:is(.disabled,:disabled){opacity:.5}
body.ae2-r4.ae2-shop--product:not(#_) .summary .stock{font-size:14px;color:var(--ink-2)}
body.ae2-r4.ae2-shop--product:not(#_) .summary .stock.out-of-stock{color:#A12622}
/* express payment buttons that PayPal adds under the form keep their own look; only the spacing */
body.ae2-r4.ae2-shop--product:not(#_) .summary :is(#ppc-button-ppcp-gateway,.ppc-button-wrapper){margin-top:14px}
body.ae2-r4.ae2-shop--product:not(#_) .product_meta{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:13.5px;color:var(--ink-3)}
body.ae2-r4.ae2-shop--product:not(#_) .product_meta>span{display:block;margin:2px 0}
body.ae2-r4.ae2-shop--product:not(#_) .product_meta a{color:var(--ink-2);text-decoration:none}
body.ae2-r4.ae2-shop--product:not(#_) .product_meta a:hover{color:var(--ink);text-decoration:underline}
/* the 3D viewer section (ane-shop-media / ane-shop-custom) */
body.ae2-r4.ae2-shop--product:not(#_) .ane-viewer-wrap{padding-block:clamp(48px,6vw,88px) 0;text-align:center}
body.ae2-r4.ae2-shop--product:not(#_) .ane-viewer h2{margin:0;font-size:clamp(24px,2.4vw,32px);font-weight:700;letter-spacing:-.015em;color:var(--ink)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-viewer>p{margin:8px auto 0;color:var(--ink-2)}
body.ae2-r4.ae2-shop--product:not(#_) .ane-viewer :is(model-viewer,.ane-mv){border-radius:24px;background:var(--panel)}
/* tabs: a line with the active tab marked, no boxes */
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs{margin-top:clamp(48px,6vw,88px);padding:0}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs{display:flex;gap:28px;margin:0;padding:0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs::before,body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs::after{display:none}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;border-radius:0;background:none}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs li::before,body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs li::after{display:none}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs li a{display:block;padding:12px 0;margin-bottom:-1px;border-bottom:2px solid transparent;color:var(--ink-3);font-size:15.5px;font-weight:500;white-space:nowrap;text-decoration:none}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs li a:hover{color:var(--ink)}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs ul.tabs li.active a{color:var(--ink);font-weight:600;border-bottom-color:var(--ink)}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs .panel{max-width:72ch;margin:0;padding:28px 0 0;font-size:16.5px;line-height:1.7;color:var(--ink-2)}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs .panel>h2:first-child{display:none}
body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-tabs .panel :is(h2,h3){color:var(--ink);font-size:20px;font-weight:700}
/* related products */
body.ae2-r4.ae2-shop--product:not(#_) :is(section.related,section.up-sells){margin-top:clamp(64px,8vw,120px);padding-top:0}
body.ae2-r4.ae2-shop--product:not(#_) :is(section.related,section.up-sells)>h2{margin:0;font-size:clamp(26px,2.8vw,38px);line-height:1.15;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
@media (max-width:900px){
  body.ae2-r4.ae2-shop--product:not(#_) div.product{grid-template-columns:minmax(0,1fr);gap:24px}
  body.ae2-r4.ae2-shop--product:not(#_) div.product>.woocommerce-product-gallery,
  body.ae2-r4.ae2-shop--product:not(#_) div.product>.summary{grid-column:1;position:static}
  body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery .flex-viewport,
  body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child{border-radius:18px}
  body.ae2-r4.ae2-shop--product:not(#_) .woocommerce-product-gallery .flex-control-thumbs li{width:64px!important}
  body.ae2-r4.ae2-shop--product:not(#_) .summary>.price{font-size:22px}
  body.ae2-r4.ae2-shop--product:not(#_) .ane-pf{padding:16px}
}

/* WooCommerce notices on the shop pages */
body.ae2-r4.ae2-shop:not(#_) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;padding:16px 20px;border:0;border-radius:16px;background:var(--panel);color:var(--ink);font-size:15px;list-style:none}
body.ae2-r4.ae2-shop:not(#_) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{display:none}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-message{box-shadow:inset 3px 0 0 var(--green)}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-error{box-shadow:inset 3px 0 0 #A12622}
html[dir="rtl"] body.ae2-r4.ae2-shop:not(#_) .woocommerce-message{box-shadow:inset -3px 0 0 var(--green)}
html[dir="rtl"] body.ae2-r4.ae2-shop:not(#_) .woocommerce-error{box-shadow:inset -3px 0 0 #A12622}
body.ae2-r4.ae2-shop:not(#_) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) .button{order:2;margin-inline-start:auto;min-height:40px;padding:0 18px;border-radius:999px;background:var(--ink);color:#fff;font-size:14px;font-weight:600;float:none}

/* ---------- design-tools page ---------- */
body.ae2-r4.ae2-tool:not(#_){background:#fff}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband{padding-block:clamp(26px,3.4vw,44px) clamp(22px,2.8vw,34px)}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband__row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px 48px;margin-top:16px;flex-wrap:wrap}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband__copy{flex:1 1 520px;min-width:0}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband h1{margin:0;font-size:clamp(32px,4vw,54px);line-height:1.06;font-weight:700;letter-spacing:-.022em;color:var(--ink);text-wrap:balance}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband__copy p{margin:14px 0 0;max-width:58ch;font-size:clamp(16px,1.35vw,18.5px);line-height:1.55;color:var(--ink-2)}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts{display:flex;gap:0;margin:0;padding:0;list-style:none}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts li{display:flex;flex-direction:column;gap:4px;margin:0;padding:2px 22px;border-inline-start:1px solid var(--line)}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts li:first-child{border-inline-start:0;padding-inline-start:0}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts b{font-size:12.5px;font-weight:600;letter-spacing:.02em;color:var(--ink-3)}
body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts span{font-size:15px;font-weight:500;color:var(--ink);white-space:nowrap}
body.ae2-r4.ae2-tool:not(#_) .r4-toolapp{border-top:1px solid var(--line)}
@media (max-width:900px){
  body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts{flex-direction:column;gap:10px;width:100%}
  body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts li{flex-direction:row;align-items:baseline;gap:10px;padding:0;border:0}
  body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts b{min-width:52px}
  body.ae2-r4.ae2-tool:not(#_) .r4-toolband__facts span{white-space:normal}
}
@media (max-width:760px){
  body.ae2-r4.ae2-tool:not(#_) .r4-toolband__copy p{font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  body.ae2-r4:not(#_):is(.ae2-shop,.ae2-tool) *{transition:none!important}
}

/* The production frame (ane-animations frame.css) sets WooCommerce buttons and the sort menu with !important
   (green gradient, 800 weight, its own padding and radius). On these pages the round-4 values win, also !important. */
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button{background:transparent!important;color:var(--ink)!important;border:0!important;border-radius:999px!important;font-weight:600!important;padding:0 18px!important;line-height:1!important;box-shadow:inset 0 0 0 1px #C9CFCC!important;transform:none!important;filter:none!important}
body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button:hover{background:var(--panel)!important;box-shadow:inset 0 0 0 1px var(--ink)!important;color:var(--ink)!important}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .single_add_to_cart_button{background:var(--green)!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:600!important;padding:0 28px!important;line-height:1!important;box-shadow:none!important;filter:none!important}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .single_add_to_cart_button:hover{background:var(--green-hover)!important;transform:none!important}
body.ae2-r4.ae2-shop:not(#_) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) .button{background:var(--ink)!important;color:#fff!important;border-radius:999px!important;font-weight:600!important;padding:0 18px!important;box-shadow:none!important;transform:none!important;filter:none!important;line-height:40px!important}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-ordering select{border:0!important;border-radius:999px!important;padding:0 16px!important;padding-inline-end:40px!important;font-size:14.5px!important;background-color:var(--panel)!important;color:var(--ink)!important;min-height:44px}
body.ae2-r4.ae2-shop:not(#_) .woocommerce-ordering select:hover{background-color:var(--panel-2)!important}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .quantity .qty:focus{border-color:var(--green)!important;box-shadow:inset 0 0 0 1px var(--green)!important}
@media (max-width:760px){
  body.ae2-r4.ae2-shop:not(#_) ul.products li.product .button{padding:0 14px!important}
  body.ae2-r4.ae2-shop:not(#_) .woocommerce-ordering select{font-size:14px!important;min-height:40px}
}
/* WooCommerce's own list heading is empty here (the round-4 band carries the title and description); without content it takes no room */
body.ae2-r4.ae2-shop.ae2-shop--list:not(#_) .woocommerce-products-header:not(:has(*)){display:none}
body.ae2-r4.ae2-shop.ae2-shop--list:not(#_) .woocommerce-products-header{margin:0}
body.ae2-r4.ae2-shop--product:not(#_) form.cart .quantity .qty{border:1px solid #D6DBD8!important;border-radius:999px!important;min-height:52px!important;padding:0 10px!important}

/* 1.10.2: two rules the live styles override on the shop pages (CANARY check 17.11): the product-field inputs
   (frame.css .woocommerce form .form-row input… border-radius:var(--r-sm)!important) and the notice background
   (Additional CSS: html body .woocommerce-message/.woocommerce-info background !important). */
body.ae2-r4.ae2-shop--product:not(#_) .ane-pf-row :is(input[type=text],input[type=url],select,textarea){border-radius:12px!important}
body.ae2-r4.ae2-shop:not(#_) :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){background:var(--panel)!important}
