/* =====================================================================
   Hau & Miau - product page part (single product). Loaded after main.css.
   Scope: .single-product / .hm-pp. Overrides main.css with >= specificity.
   ===================================================================== */

/* ---------- Hero grid ---------- */
.single-product .hm-product{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);padding-top:8px}
.single-product .hm-product__gallery{position:sticky;top:96px}
.single-product .hm-product__summary{min-width:0}
.single-product .hm-product__summary h1{font-size:clamp(26px,3vw,38px);line-height:1.15;margin-bottom:8px}
.single-product .hm-product__sub{font-size:17px;color:var(--hm-text);margin:0 0 12px}

/* Main image: fixed 1:1 box (no CLS), photo fully visible */
.single-product .hm-product__main-img{position:relative;margin:0;background:#fff;border:1px solid #EFE7DA;border-radius:24px;overflow:hidden;aspect-ratio:1/1;display:grid;place-items:center;box-shadow:var(--hm-shadow)}
.single-product .hm-product__main-img img{width:100%;height:100%;object-fit:contain;background:#fff}
.single-product .hm-product__main-img .hm-card__ph{width:100%;height:100%;display:grid;place-items:center;color:#CFE0B8}
.single-product .hm-product__main-img .hm-card__ph svg{width:38%;height:38%}
.hm-product__flag{position:absolute;top:16px;right:16px;background:var(--hm-olive);color:#fff;font-size:13px;font-weight:700;padding:6px 12px;border-radius:999px;line-height:1.2;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.hm-product__flag--sale{background:var(--hm-orange)}
.hm-product__flag--oos{background:#6B6B66}

/* Thumbs: real buttons, 76px targets */
.single-product .hm-product__thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.hm-product__thumb{width:76px;height:76px;padding:0;border:2px solid transparent;border-radius:14px;background:#fff;cursor:pointer;overflow:hidden;display:block;transition:border-color .15s,transform .15s}
.hm-product__thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0;border:0}
.hm-product__thumb:hover{border-color:#CFE0B8;transform:translateY(-1px)}
.hm-product__thumb.is-active,.hm-product__thumb[aria-pressed="true"]{border-color:var(--hm-olive)}
.hm-product__thumb:focus-visible{outline:3px solid var(--hm-olive);outline-offset:2px}

/* Percent line */
.single-product .hm-product__mix{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:14px;color:var(--hm-ink);background:#FBF8F2;border:1px solid #EFE7DA;border-radius:12px;padding:9px 12px;margin:0 0 12px;line-height:1.5}
.single-product .hm-product__mix a{color:var(--hm-olive-dark);font-weight:700;margin:0;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#B7CF97}
.single-product .hm-product__mix a:hover{text-decoration-color:currentColor}

/* Info pills */
.single-product .hm-badges{margin:0 0 14px}
.single-product .hm-badge{min-height:32px}

/* ---------- Price ---------- */
.hm-price-box{margin:2px 0 14px}
.single-product .hm-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:34px;font-weight:800;color:var(--hm-olive-dark);margin:0;line-height:1.1}
.single-product .hm-price .price{display:contents}
.single-product .hm-price del{font-size:18px;color:var(--hm-muted);font-weight:500;margin:0;text-decoration:line-through;order:2}
.single-product .hm-price ins{text-decoration:none;font-weight:800;color:var(--hm-orange-dark);order:1}
.single-product .hm-price .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.single-product .hm-price__unit{display:block;font-size:14px;color:#6E6E68;font-weight:600;margin:4px 0 0;letter-spacing:.01em}

/* ---------- Pack-size switcher ---------- */
.hm-variants{margin:0 0 14px}
.hm-variants__label{display:block;font-size:13px;font-weight:700;color:var(--hm-muted);margin-bottom:6px}
.hm-variants__list{display:flex;flex-wrap:wrap;gap:8px}
.hm-variants__opt{display:flex;flex-direction:column;gap:1px;min-width:120px;min-height:52px;padding:8px 14px;border:1.5px solid #E6DFD1;border-radius:14px;background:#fff;color:var(--hm-text);text-decoration:none;line-height:1.25;transition:border-color .15s,transform .15s,box-shadow .15s}
.hm-variants__opt strong{font-size:15px;color:var(--hm-ink)}
.hm-variants__opt small{font-size:12px;color:var(--hm-muted)}
.hm-variants__opt em{font-style:normal;font-size:13px;font-weight:700;color:var(--hm-olive-dark)}
.hm-variants__opt:hover{border-color:var(--hm-olive);color:var(--hm-text);transform:translateY(-1px);box-shadow:var(--hm-shadow)}
.hm-variants__opt.is-current{border-color:var(--hm-olive);background:var(--hm-olive-soft);box-shadow:inset 0 0 0 1px var(--hm-olive)}
.hm-variants__opt.is-oos{opacity:.65}
.hm-variants__oos{color:#A14A2A!important}
.hm-variants__opt:focus-visible{outline:3px solid var(--hm-olive);outline-offset:2px}

/* Supply line */
.single-product .hm-supply{margin:0 0 16px;font-size:14px;line-height:1.5}
.single-product .hm-supply svg{width:20px;height:20px}

/* ---------- Add-to-cart form ---------- */
.single-product form.cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:6px 0 12px}
.single-product form.cart .quantity{display:inline-flex;align-items:center;border:1px solid #E6DFD1;border-radius:999px;background:#fff;height:52px;overflow:hidden;flex:none}
.single-product form.cart .quantity input.qty{width:56px;height:50px;border:0;text-align:center;font:inherit;font-weight:800;font-size:17px;color:var(--hm-ink);background:transparent;-moz-appearance:textfield;appearance:textfield;padding:0}
.single-product form.cart .quantity input.qty:focus{outline:none;box-shadow:inset 0 -3px 0 var(--hm-olive)}
.single-product form.cart .qty-btn{width:46px;height:50px;border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:var(--hm-olive-dark);display:grid;place-items:center;transition:background .15s}
.single-product form.cart .qty-btn:hover{background:var(--hm-olive-soft)}
.single-product form.cart .qty-btn:focus-visible{outline:3px solid var(--hm-olive);outline-offset:-3px;border-radius:999px}
.single-product form.cart .qty-btn[disabled],.single-product form.cart .qty-btn[aria-disabled="true"]{color:#C9C9C2;cursor:default;background:transparent}
.single-product form.cart .single_add_to_cart_button{flex:1 1 200px;min-width:0;height:52px;font-size:17px;border-radius:999px;background:var(--hm-orange);color:#fff;border:0;font-weight:800;box-shadow:0 8px 20px rgba(232,116,44,.25);transition:transform .15s,background .15s,box-shadow .15s}
.single-product form.cart .single_add_to_cart_button:hover{background:var(--hm-orange-dark);transform:translateY(-1px)}
.single-product form.cart .single_add_to_cart_button:active{transform:translateY(0);box-shadow:0 3px 10px rgba(232,116,44,.25)}
.single-product form.cart .single_add_to_cart_button:focus-visible{outline:3px solid var(--hm-ink);outline-offset:3px}
.single-product form.cart .single_add_to_cart_button[disabled],.single-product form.cart .single_add_to_cart_button.disabled,.single-product form.cart .single_add_to_cart_button.wc-variation-selection-needed{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
/* Loading: spinner inside the button, label stays (spec 12.3) */
.single-product form.cart .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:inherit;cursor:pointer}
.hm-btn.is-loading,.single_add_to_cart_button.is-loading{position:relative;pointer-events:none;cursor:progress}
.hm-btn.is-loading::before,.single_add_to_cart_button.is-loading::before{content:"";width:18px;height:18px;flex:none;border-radius:50%;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;animation:hm-spin .7s linear infinite}
.hm-btn.is-loading svg{display:none}
@keyframes hm-spin{to{transform:rotate(360deg)}}
.hm-btn.is-added,.single-product form.cart .single_add_to_cart_button.is-added{background:var(--hm-olive)!important;box-shadow:none}
.hm-form-msg{margin:-4px 0 10px;font-size:14px;color:#A32D2D;background:#FDECEC;border:1px solid #F3C4C4;border-radius:12px;padding:8px 12px}
.hm-form-msg:empty{display:none}
/* Stock line from Woo */
.single-product .stock{font-size:14px;margin:0 0 8px;font-weight:600}
.single-product .stock.in-stock{color:var(--hm-olive-dark)}
.single-product .stock.out-of-stock{display:none}
.single-product .stock.available-on-backorder{color:#A14A2A}

/* Variable products (gift card) */
.single-product table.variations{width:100%;border-collapse:collapse;margin:0 0 6px}
.single-product table.variations th,.single-product table.variations td{padding:0 0 8px;text-align:right;vertical-align:middle}
.single-product table.variations th.label{width:1%;white-space:nowrap;padding-inline-end:12px;font-size:14px;color:var(--hm-text)}
.single-product table.variations select{width:100%;min-width:200px;height:48px;border:1px solid #E6DFD1;border-radius:14px;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E8F2E' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>") no-repeat left 14px center/16px;padding:0 14px 0 40px;font:inherit;font-weight:700;color:var(--hm-ink);appearance:none;-webkit-appearance:none}
.single-product table.variations select:focus-visible{outline:3px solid var(--hm-olive);outline-offset:1px}
.single-product .reset_variations{display:inline-block;margin-top:6px;font-size:13px;color:var(--hm-muted);text-decoration:underline}
.single-product .single_variation_wrap{width:100%}
.single-product .woocommerce-variation-price{font-size:22px;font-weight:800;color:var(--hm-olive-dark);margin-bottom:8px}
.single-product .woocommerce-variation-add-to-cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button{flex:1 1 200px}

/* Trust badges + calc CTA + ship notes */
.single-product .hm-trustline{margin:2px 0 6px;gap:6px 14px}
.single-product .hm-trustline li{font-weight:600;color:var(--hm-text)}
.single-product .hm-calc-cta{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px;font-weight:700;color:var(--hm-olive-dark);margin:0 0 4px;text-decoration:underline;text-decoration-color:#B7CF97;text-underline-offset:4px;border-radius:8px}
.single-product .hm-calc-cta:hover{text-decoration-color:currentColor;color:var(--hm-olive)}
.single-product .hm-calc-cta:focus-visible{outline:3px solid var(--hm-olive);outline-offset:2px}
.single-product .hm-shipnote{display:grid;gap:6px;margin-top:6px;font-size:14px;color:#6E6E68}
.single-product .hm-shipnote span{display:flex;align-items:flex-start;gap:8px;line-height:1.45}
.single-product .hm-shipnote svg{flex:none;margin-top:3px}

/* Description */
.single-product .hm-product__desc{margin-top:22px;padding-top:18px;border-top:1px solid #EFE7DA}
.hm-product__desc-title{font-size:18px;margin-bottom:8px}
.single-product .hm-product__desc p{font-size:15px;line-height:1.7}
.single-product .hm-product__desc p:last-child{margin-bottom:0}

/* ---------- Out of stock ---------- */
.hm-oos{background:#fff;border:1px solid #EFE7DA;border-radius:18px;padding:16px;margin:8px 0 14px}
.hm-oos__head{display:flex;gap:12px;align-items:flex-start}
.hm-oos__head svg{width:26px;height:26px;color:#6B6B66;flex:none;margin-top:2px}
.hm-oos__head strong{display:block;font-size:17px;color:var(--hm-ink);margin-bottom:2px}
.hm-oos__head p{margin:0;font-size:14px;color:var(--hm-text)}
.hm-oos__head a{font-weight:700;text-decoration:underline}
.hm-oos__alts{margin-top:14px}
.hm-products--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hm-oos__alts .hm-card{min-width:0}
.hm-oos__alts .hm-card__wish{display:none}
.hm-oos__alts .hm-card__meta{display:none}
@media (max-width:640px){.hm-products--3{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hm-oos__alts .hm-card:nth-child(3){display:none}}

/* ---------- What's inside ---------- */
.single-product .hm-ingr__arrow{transform:rotate(-90deg)} /* the glyph is bidi-mirrored in RTL: closed = down */
.single-product .hm-ingr__group.is-open .hm-ingr__arrow{transform:rotate(90deg)}
.single-product .hm-inside{scroll-margin-top:110px}
.single-product .hm-ingr__group{overflow:visible;background:#FBF8F2}
.single-product .hm-ingr__head{min-height:56px;border-radius:14px}
.single-product .hm-ingr__head:hover{background:rgba(94,143,46,.05)}
.single-product .hm-ingr__head:focus-visible{outline:3px solid var(--hm-olive);outline-offset:-3px}
.single-product .hm-ingr__panel{padding:0 14px 14px}
.single-product .hm-ingr__chip{min-height:38px;padding:6px 14px;font-size:14px;transition:border-color .15s,background .15s,color .15s}
.single-product .hm-ingr__chip--link:focus-visible{outline:3px solid var(--hm-olive);outline-offset:2px}
.single-product .hm-ing-bar{height:14px}
/* Popover: fixed positioned by product.js so it never clips or overflows */
.single-product .hm-tip{width:min(340px,calc(100vw - 24px));z-index:120;padding:14px 16px 12px;font-size:13.5px;border-radius:16px}
.single-product .hm-tip.is-fixed{position:fixed;bottom:auto;right:auto}
.single-product .hm-tip.is-fixed::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px} /* hover bridge to the chip below */
.single-product .hm-tip.is-below::after{top:auto;bottom:100%}
.single-product .hm-tip strong{font-size:15px;margin-bottom:6px;padding-inline-start:0}
.single-product .hm-tip ul{margin:0 0 10px;padding-inline-start:18px}
.single-product .hm-tip li{margin-bottom:5px;line-height:1.5}
.single-product .hm-tip__more{display:inline-flex;align-items:center;min-height:32px;font-weight:700;color:var(--hm-olive-dark);text-decoration:underline;text-underline-offset:3px}
.hm-tip__close{display:none;position:absolute;top:8px;left:8px;width:44px;height:44px;border:0;border-radius:50%;background:#F3EEE3;color:var(--hm-ink);font-size:24px;line-height:1;cursor:pointer}
.hm-tip__close:focus-visible{outline:3px solid var(--hm-olive)}
.hm-tip-bg{position:fixed;inset:0;background:rgba(30,30,25,.4);z-index:110;opacity:0;transition:opacity .2s;pointer-events:none}
.hm-tip-bg.is-on{opacity:1;pointer-events:auto}
@media (max-width:640px){body.hm-tip-open{overflow:hidden}}
@media (max-width:640px){
  .single-product .hm-ingr__chip{min-height:44px;padding:8px 14px}
  .single-product .hm-tip,.single-product .hm-tip.is-fixed{position:fixed;left:0;right:0;bottom:0;top:auto!important;width:auto;max-height:72vh;overflow:auto;border-radius:20px 20px 0 0;padding:18px 20px calc(18px + env(safe-area-inset-bottom));font-size:15px;box-shadow:0 -12px 40px rgba(0,0,0,.18);transform:translateY(8px);opacity:0;transition:transform .22s ease,opacity .22s ease}
  .single-product .hm-ingr__pop.is-open .hm-tip{transform:none;opacity:1}
  .single-product .hm-tip.is-fixed::after{display:none}
  .single-product .hm-tip strong{font-size:18px;padding-inline-start:0;padding-inline-end:0;margin-bottom:8px;padding-left:44px}
  .hm-tip__close{display:grid;place-items:center}
  .single-product .hm-tip__more{min-height:44px;font-size:15px}
}
/* Nutrition only (supplements without a recipe) */
.single-product .hm-inside--nutri-only .hm-inside__grid{grid-template-columns:minmax(0,560px)}
.single-product .hm-inside__plain{font-size:15px;line-height:1.7;background:#FBF8F2;border:1px solid #EFE7DA;border-radius:14px;padding:14px 16px;margin:0}
/* Nutrition tabs */
.single-product .hm-ntabs__bar{gap:4px;border-bottom:1px solid #EFE7DA;margin-bottom:12px}
.single-product .hm-ntabs__tab{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border-radius:10px 10px 0 0;font-size:15px;transition:color .15s,background .15s}
.single-product .hm-ntabs__tab svg{width:16px;height:16px}
.single-product .hm-ntabs__tab:hover{color:var(--hm-olive-dark);background:#FBF8F2}
.single-product .hm-ntabs__tab:focus-visible{outline:3px solid var(--hm-olive);outline-offset:-3px}
.single-product .hm-ntabs__panel[hidden]{display:none}
.single-product .hm-ntabs__panel--cta{display:none;background:linear-gradient(180deg,#F5F8EE 0%,#FBF8F2 100%);border:1px solid #E1EAD2;border-radius:16px;padding:22px 18px 20px;text-align:center}
.single-product .hm-ntabs__panel--cta.is-active{display:block}
.hm-ntabs__cta-ico{width:52px;height:52px;border-radius:50%;background:#fff;color:var(--hm-olive);display:inline-grid;place-items:center;box-shadow:var(--hm-shadow);margin-bottom:10px}
.hm-ntabs__cta-ico svg{width:26px;height:26px}
.single-product .hm-ntabs__panel--cta h4{font-size:18px;margin:0 0 6px;color:var(--hm-ink)}
.single-product .hm-ntabs__panel--cta p{font-size:14px;color:var(--hm-text);margin:0 auto 14px;max-width:38ch}
.single-product .hm-ntabs__panel--cta .hm-btn{min-height:44px;width:100%;max-width:340px}
.single-product .hm-ntabs__panel--cta .hm-link{display:inline-block;margin-top:10px;min-height:32px}
.single-product .hm-nutri table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.single-product .hm-nutri td{font-variant-numeric:tabular-nums}
.single-product .hm-nutri__pet th,.single-product .hm-nutri__pet td{text-align:right}
.single-product .hm-nutri__pet tr:first-child th{font-size:13px;color:var(--hm-muted)}
.single-product .hm-nutri tr:nth-child(even) th,.single-product .hm-nutri tr:nth-child(even) td{background:#FBF8F2}
.single-product .hm-nutri th:first-child{border-radius:0 8px 8px 0}
.single-product .hm-nutri td:last-child{border-radius:8px 0 0 8px}

/* ---------- Embedded calculator ---------- */
.single-product .hm-calc-embed{margin-top:clamp(36px,5vw,64px);scroll-margin-top:110px}
.single-product .hm-calc-embed .hm-inside__head{margin-bottom:16px}
.single-product .hm-calc-embed .hm-calc,.single-product .hm-calc-embed #hm-calc{margin-top:0;margin-bottom:0;scroll-margin-top:110px}
.single-product .hm-calc-embed .hm-section,.single-product .hm-calc-embed .hm-container{padding-block:0;padding-inline:0;max-width:none}

/* ---------- Usage + transition ---------- */
.single-product .hm-usage{margin-top:clamp(36px,5vw,64px)}
.single-product .hm-usage__grid{list-style:none;margin:0 0 18px;padding:0;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:none}
.single-product .hm-usage__card{position:relative;padding:18px 16px 16px;border-radius:16px;box-shadow:var(--hm-shadow)}
.hm-usage__n{position:absolute;top:14px;left:14px;width:28px;height:28px;border-radius:50%;background:var(--hm-olive-soft);color:var(--hm-olive-dark);font-size:13px;font-weight:800;display:grid;place-items:center}
.single-product .hm-usage__card h3{font-size:16px;margin:0 0 6px;padding-inline-end:36px}
.single-product .hm-usage__card p{font-size:14px;line-height:1.6;margin:0}
.single-product .hm-transition{padding:20px;box-shadow:var(--hm-shadow)}
.single-product .hm-transition h3{font-size:18px}
.single-product .hm-transition p{font-size:14px;color:var(--hm-text)}
.hm-transition__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.single-product .hm-transition table{width:100%;max-width:560px;min-width:300px;font-size:15px}
.single-product .hm-transition th,.single-product .hm-transition td{padding:10px 12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.single-product .hm-transition thead th{font-size:13px;color:var(--hm-muted);font-weight:700}
.single-product .hm-transition tbody th{font-weight:700;color:var(--hm-ink)}
.single-product .hm-transition tbody td:nth-child(2){font-weight:800;color:var(--hm-olive-dark)}
.hm-transition__bar{display:inline-block;width:56px;height:8px;border-radius:4px;background:#EFE7DA;margin-inline-end:8px;vertical-align:middle;position:relative;overflow:hidden}
.hm-transition__bar::after{content:"";position:absolute;inset:0;background:var(--hm-olive);transform-origin:right center;transform:scaleX(var(--p,0))}
.single-product .hm-suit{margin-top:14px;font-size:15px}
.single-product .hm-suit a{display:inline-block;min-height:32px;text-decoration:underline;text-decoration-color:#B7CF97;text-underline-offset:3px}
@media (max-width:1000px){.single-product .hm-usage__grid{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.single-product .hm-usage__grid{grid-template-columns:1fr}.hm-transition__bar{width:36px}}

/* ---------- Sticky bottom bar (mobile) ---------- */
.single-product .hm-sticky{z-index:70;transform:translateY(110%);transition:transform .25s ease;display:none;padding:10px var(--hm-gutter) calc(10px + env(safe-area-inset-bottom))}
.single-product .hm-sticky.is-visible{transform:none}
.single-product .hm-sticky.is-hidden{transform:translateY(110%)}
.single-product .hm-sticky__name{font-size:12px}
.single-product .hm-sticky__price{font-size:18px}
.single-product .hm-sticky__qty{color:var(--hm-muted);font-weight:600;font-size:14px}
.single-product .hm-sticky .hm-btn{min-height:48px;padding:0 20px;flex:none;box-shadow:0 6px 16px rgba(232,116,44,.25)}
.single-product .hm-sticky .hm-btn--oos{background:#E6DFD1;color:#6B6B66;box-shadow:none}
@media (max-width:820px){
  .single-product .hm-sticky{display:flex}
  .single-product .hm-product{grid-template-columns:1fr;gap:18px}
  .single-product .hm-product__gallery{position:static}
  .single-product .hm-product__main-img{border-radius:20px}
  .single-product .hm-product__summary h1{margin-top:4px}
  .single-product .hm-price{font-size:30px}
  .single-product form.cart .single_add_to_cart_button{flex-basis:100%}
  .single-product form.cart .quantity{margin-inline-start:auto}
  .single-product .hm-shipnote{font-size:14px}
  .single-product .hm-inside{padding:20px 16px}
  .single-product .hm-inside__grid{gap:22px}
  .single-product .hm-transition{padding:16px}
  body.has-sticky.single-product{padding-bottom:0} /* the bar hides itself before the footer scrolls in */
}
@media (max-width:420px){
  .hm-variants__opt{flex:1 1 calc(33.33% - 6px);min-width:0;padding:8px 10px}
  .hm-variants__opt small{font-size:11.5px}
  .single-product form.cart{gap:10px}
  .single-product form.cart .quantity{width:100%;justify-content:space-between}
  .single-product form.cart .quantity input.qty{flex:1}
}

/* Inline links: bigger touch targets without changing the visual layout */
.single-product .hm-product__mix a,.single-product .hm-supply a,.single-product .hm-suit a,.single-product .hm-nutri__note a,.single-product .hm-oos__head a,.single-product .hm-crumbs a{display:inline-block;padding-block:11px;margin-block:-11px}
.single-product .hm-crumbs{padding-block:4px}

/* ---------- Motion / focus ---------- */
.single-product a:focus-visible,.single-product button:focus-visible{outline:3px solid var(--hm-olive);outline-offset:2px}
@media (prefers-reduced-motion:reduce){
  .single-product *,.single-product *::before,.single-product *::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
  .hm-btn.is-loading::before,.single_add_to_cart_button.is-loading::before{animation:none;border-top-color:rgba(255,255,255,.9);border-right-color:rgba(255,255,255,.9)}
  .single-product .hm-sticky{transition:none}
}

/* PM fix P-03 */
.hm-inside--nutri-only .hm-inside__grid{grid-template-columns:1fr}.hm-inside--nutri-only .hm-nutri{max-width:640px;margin:0 auto}
.hm-ing__pct--joint{background:var(--hm-cream-2,#F1EADF);color:var(--hm-olive-dark,#4A7423);font-size:13.5px;white-space:nowrap}
.hm-ingr__note{margin:12px 2px 0;font-size:15px;color:var(--hm-text);background:var(--hm-cream-2,#F1EADF);border-radius:12px;padding:10px 14px;line-height:1.5}

/* transition routing note (David 2026-08-22: two paths, one block) */
.hm-transition__route{background:#F3F7EC;border:1px solid #D8E6C6;border-radius:16px;padding:14px 16px;margin:0 0 18px;font-size:.97rem;line-height:1.75;color:#4A5442}
.hm-transition__route strong{display:block;margin-bottom:2px;color:#2F3A25}
.hm-transition__route a{color:#456B21;font-weight:700}
/* Mobile fixes 11.9.2026: on phones the ingredients accordion forced the single 1fr column to its min-content width and
   pushed the whole page 28px off-screen (horizontal scroll); the nutrition tabs bar overflows once a customer has 3+ pets. */
@media (max-width:820px){
  .hm-inside__grid{grid-template-columns:minmax(0,1fr)}
  .hm-inside__grid>*{min-width:0}
  .single-product .hm-ntabs__bar{flex-wrap:wrap}
}
