/* ============================================================
   AVANTE — SINGLE PRODUCT PAGE
   Loaded only on is_product(). Everything is scoped to .avs-pdp
   or body.single-product so no rule can leak onto another page.

   It follows the house rules the rest of the site is built on:
     · amber is the call to action and nothing else
     · glass on frames, chrome and floating surfaces — never behind
       a paragraph, which is why every block of prose sits on white
     · 17px body floor, 15px absolute floor, 48px touch targets
     · shadows are tinted with the brand indigo, never neutral black
   ============================================================ */

/* ---------------------------------------------------------------
   1. PAGE SHELL
   The product is the hero, so the page gets the same lit ground the
   rest of the site uses rather than flat paper.
   --------------------------------------------------------------- */
body.single-product{
  --avs-pdp-gap:clamp(32px, 4vw, 60px);
  --avs-pdp-card:0 1px 2px rgba(46,26,94,.04), 0 10px 28px rgba(46,26,94,.05);
  --avs-pdp-lift:0 2px 4px rgba(46,26,94,.05), 0 18px 44px rgba(46,26,94,.09);
  --avs-head-h:150px;
  background:
    radial-gradient(820px 620px at 92% -4%, rgba(245,166,35,.09), transparent 62%),
    radial-gradient(760px 640px at 2% 6%,  rgba(168,143,208,.13), transparent 64%),
    var(--ground);
  background-attachment:fixed;
}

/* ---------------------------------------------------------------
   1b. THE FIRST SCREEN

   Measured at 1440x900 before this block existed: the navigation
   ended at 207, the breadcrumb did not start until 279 and the
   product name sat at 393, with the Add to cart button 105px below
   the fold. 60px of that was Astra's own margin on .content-area, a
   figure written for a blog post and inherited by a page whose job
   is to show a photograph, a price and a button at once. It is a
   band of nothing under a navigation bar that is already 143px tall.

   Nothing here shrinks type. Every figure below is a gap.
   --------------------------------------------------------------- */
/* Astra sets this from `#primary{margin:4em 0}`, which an ordinary class
   selector cannot reach, so the id is named here too. */
body.single-product #primary.content-area{ margin-top:10px; }
body.single-product .ast-woocommerce-container{ padding-block:0 24px; }

/* Breadcrumb, lifted out of the summary column and given the full width.
   The links keep a 48px hit area on a phone, where a finger has to land on
   one; on a wide screen a mouse does not need 48px of empty row above the
   product, so the trail is set at its own line height there. */
.avs-pdp-crumbs{ margin:0 0 8px; }
.avs-pdp-crumbs .woocommerce-breadcrumb{
  margin:0; font-size:1.0625rem; line-height:1.5; color:var(--ink-muted);
  display:flex; flex-wrap:wrap; align-items:center; gap:2px 4px;
}
.avs-pdp-crumbs .woocommerce-breadcrumb a{
  display:inline-flex; align-items:center; min-height:48px;
  color:var(--ink-muted); text-decoration:none;
  padding:0 6px; border-radius:6px;
}
@media (min-width:1024px) and (pointer:fine){
  .avs-pdp-crumbs .woocommerce-breadcrumb a{ min-height:34px; }
}
.avs-pdp-crumbs .woocommerce-breadcrumb a:hover{ color:var(--indigo-900); text-decoration:underline; }

/* Woo's own notices land above the product; give them the house card rather
   than the plugin default's blue rule on grey. */
body.single-product .woocommerce-notices-wrapper:not(:empty){ margin:0 0 20px; }
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error{
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--success-ink);
  border-radius:var(--radius-sm); box-shadow:var(--avs-pdp-card);
  font-size:1.0625rem; line-height:1.6; color:var(--ink);
}
body.single-product .woocommerce-message::before,
body.single-product .woocommerce-info::before{ color:var(--success-ink); }
body.single-product .woocommerce-error{ border-left-color:var(--danger-ink); }
body.single-product .woocommerce-error::before{ color:var(--danger-ink); }

/* ---------------------------------------------------------------
   2. THE TWO-COLUMN GRID
   Woo floats the gallery and the summary; grid gives them a shared
   baseline and lets everything below run the full width.
   --------------------------------------------------------------- */
.avs-pdp{ position:relative; }

/* The hero row is its own box (see product-page.php) so the sticky gallery is
   constrained to the height of the summary beside it and can never ride down
   over the comparison or the specification tables.

   Named avs-pdp-hero, not avs-hero: visual.css already owns .avs-hero for the
   home page and pins it to display:block!important. */
.avs-pdp-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:var(--avs-pdp-gap);
  align-items:start;
}
.avs-pdp-hero > *{ min-width:0; }
.avs-pdp-hero > .avs-gal{ position:sticky; top:calc(var(--avs-head-h) + 16px); }

/* Woo's own sheet floats these two at 48% from an ID-carrying selector, so the
   reset has to out-rank it rather than politely ask. */
.avs-pdp .avs-pdp-hero > .summary.entry-summary{
  float:none!important; width:auto!important; max-width:none;
  margin:0!important; padding:0;
}
.avs-pdp .avs-pdp-hero > .avs-gal{ float:none!important; width:auto!important; }
.avs-pdp-hero > .onsale{
  position:absolute; z-index:3; top:18px; left:18px; margin:0;
  background:var(--indigo-900); color:#fff; border-radius:var(--pill);
  padding:7px 16px; font-size:1.0625rem; font-weight:700; letter-spacing:.02em;
}

/* ---------------------------------------------------------------
   3. GALLERY
   Glass frame around the photograph, solid plate behind it. The frame
   is chrome, so glass is allowed; the picture keeps a white ground so
   the product cut-outs read cleanly.
   --------------------------------------------------------------- */
.avs-gal{ display:grid; grid-template-columns:minmax(0,1fr); align-content:start; gap:14px; min-width:0; }
/* A grid item's automatic minimum size is its min-content, which for a 20-thumb
   rail is 1900px. Without this the rail pushes the whole page sideways. */
.avs-gal > *{ min-width:0; }

.avs-gal-stage{
  position:relative;
  border-radius:var(--radius);
  border:1px solid var(--glass-border);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.96), rgba(255,255,255,.72) 62%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F3FB 100%);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(115%);
  backdrop-filter:blur(var(--glass-blur)) saturate(115%);
  box-shadow:0 1px 1px rgba(46,26,94,.03), 0 14px 36px rgba(46,26,94,.07), 0 34px 74px rgba(46,26,94,.05);
  overflow:hidden;
}
.avs-gal-stage::before{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  border-top:1px solid rgba(255,255,255,.94);
}

.avs-gal-open{
  display:block; width:100%; border:0; background:none; padding:0;
  cursor:zoom-in; min-height:0; border-radius:var(--radius);
}
.avs-gal-open:focus-visible{ outline:var(--focus); outline-offset:-4px; }
.avs-gal-img{
  display:block; width:100%; height:auto;
  aspect-ratio:1 / 1; object-fit:contain;
  padding:clamp(18px, 3vw, 36px);
  transition:transform .45s cubic-bezier(.2,.7,.3,1);
}
.avs-gal-open:hover .avs-gal-img{ transform:scale(1.035); }

.avs-gal-hint{
  position:absolute; right:14px; bottom:14px; z-index:2; pointer-events:none;
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 15px; border-radius:var(--pill);
  background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 4px 14px rgba(46,26,94,.09);
  color:var(--ink-muted); font-size:1.0625rem; font-weight:600;
}
.avs-gal-hint .avs-i{ color:var(--violet-500); }

/* Nothing photographed yet — a gradient plate, never a stand-in product. */
.avs-gal-plate{
  display:grid; place-content:center; justify-items:center; gap:12px;
  aspect-ratio:1 / 1; color:var(--ink-muted);
  background:linear-gradient(150deg, #F3EFFA 0%, #ECE6F6 46%, #F7F4FC 100%);
}
.avs-gal-plate-i{ color:var(--lilac-300); }
.avs-gal-plate-t{ font-size:1.0625rem; font-weight:600; }

/* --- thumbnail rail --- */
.avs-gal-railwrap{ position:relative; min-width:0; }
.avs-gal-rail{
  list-style:none; margin:0; padding:2px;
  display:flex; gap:10px; overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x proximity; scrollbar-width:none;
}
.avs-gal-rail::-webkit-scrollbar{ display:none; }
.avs-gal-rail > li{ flex:0 0 auto; scroll-snap-align:start; }

/* position:relative keeps the visually-hidden label's containing block inside
   the scrolling rail. Without it the absolutely positioned span escapes the
   scroller and drags the whole page 700px wider. */
.avs-gal-thumb{
  position:relative;
  display:block; width:84px; height:84px; padding:5px; min-height:0;
  border-radius:var(--radius-sm);
  border:1px solid var(--line); background:#fff; cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.avs-gal-thumb img{ display:block; width:100%; height:100%; object-fit:contain; }
.avs-gal-thumb:hover{ border-color:var(--lilac-300); transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(46,26,94,.10); }
.avs-gal-thumb.is-on{
  border-color:var(--violet-500);
  box-shadow:0 0 0 2px rgba(123,94,167,.28), 0 8px 18px rgba(46,26,94,.10);
}
.avs-gal-thumb:focus-visible{ outline:var(--focus); outline-offset:2px; }

.avs-gal-arw{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:48px; height:48px; min-height:48px; padding:0; border-radius:50%;
  display:grid; place-items:center; cursor:pointer;
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border:1px solid var(--line); color:var(--indigo-900);
  box-shadow:0 6px 18px rgba(46,26,94,.12);
}
/* The arrows used to float over the ends of the strip, which put 23px of the
   chevron on top of the last photograph: aiming at that photograph scrolled
   the strip instead of opening it. They get a gutter of their own instead,
   opened only while the strip can actually scroll (product.js adds the class),
   so a short strip is not padded for buttons that are not there. */
.avs-gal-railwrap.has-arw{ padding-inline:56px; }
.avs-gal-arw--prev{ left:0; }
.avs-gal-arw--next{ right:0; }
.avs-gal-arw--prev .avs-i{ transform:rotate(90deg); }
.avs-gal-arw--next .avs-i{ transform:rotate(-90deg); }
.avs-gal-arw:hover{ background:#fff; }
.avs-gal-arw[hidden]{ display:none; }

/* ---------------------------------------------------------------
   4. SUMMARY HEAD
   --------------------------------------------------------------- */
/* The eyebrow row that used to sit here, a filled purple brand chip with the
   category beside it, is gone on the client's instruction. The brand is now
   plain text on the codes line at the foot of the column. */
.avs-sum-head{ margin:0; }

/* The customizer sets .entry-title's bottom margin in an inline sheet that
   outranks a plain `.avs-pdp h1` rule, which is why the name carried 21px of
   air under it however small this file asked for. Named through its wrapper so
   the figure below is the one that lands. */
.avs-pdp .avs-sum-head h1.product_title{ margin-bottom:6px; }
/* The ceiling used to be 2.6rem. On a wide screen that is where every long
   name landed, and 41.6px turned "EZ Adjust Aluminum Crutches with Euro-Style
   Clip and Accessories" into three lines, 140px of a 641px first screen, which
   is what put its Add to cart below the fold at 1440x900. At 2.25rem the same
   name is two lines and 81px. The floor is untouched, so nothing under 926px
   wide changes at all, and 36px is still more than twice the 17px body size:
   this is the largest thing in the column either way. */
.avs-pdp h1.product_title{
  margin:0 0 4px;
  font-size:clamp(1.85rem, 1.15rem + 1.9vw, 2.25rem);
  line-height:1.12; letter-spacing:-.025em; font-weight:600;
  color:var(--indigo-900);
}

.avs-pdp .woocommerce-product-rating{ margin:8px 0 0; }
.avs-pdp .woocommerce-product-rating:empty{ display:none; }

/* ---------------------------------------------------------------
   4b. WHAT IS THIS, AND WHO IS IT FOR

   The manufacturer's own one-line label, then the two written lines.
   Both are optional and both collapse to nothing, which is why every
   rule here hangs off a wrapper that is only printed when there is
   something in it.
   --------------------------------------------------------------- */
.avs-lede{ margin:12px 0 0; }
.avs-pdp .avs-lede .woocommerce-product-details__short-description{
  margin:0; color:var(--ink-muted);
}
.avs-pdp .avs-lede p{
  margin:0 0 6px; font-size:1.0625rem; line-height:1.6; overflow-wrap:anywhere;
}
.avs-pdp .avs-lede p:last-child{ margin-bottom:0; }

/* A quoted aside rather than a table: two facts a shop assistant would
   say out loud, not two more rows of specification. */
.avs-intro{
  margin:14px 0 0; padding:2px 0 2px 14px;
  border-left:3px solid var(--lilac-300);
  display:grid; gap:5px;
}
.avs-intro-l{
  margin:0; font-size:1.0625rem; line-height:1.5; color:var(--ink-muted);
  /* Staff type these by hand. A pasted part number with no spaces in it must
     wrap rather than push the whole column sideways on a phone. */
  overflow-wrap:anywhere;
}
.avs-intro-k{ font-weight:700; color:var(--indigo-900); }

/* ---------------------------------------------------------------
   5. PROP 65
   Legally required where the manufacturer published one. Above the
   purchase control, open by default, and at full body size — a notice
   nobody expands is a notice nobody read.
   --------------------------------------------------------------- */
.avs-pdp .avs-p65{
  margin:20px 0 0; padding:14px 18px;
  border:1px solid #E4C88A; background:#FFF8E8; border-radius:var(--radius-sm);
  box-shadow:0 1px 2px rgba(122,74,0,.05);
}
.avs-pdp .avs-p65-h{
  display:flex; align-items:flex-start; gap:10px; margin:0 0 6px;
  font-size:1.0625rem; font-weight:700; color:#6B4A00; line-height:1.35;
}
.avs-pdp .avs-p65-mark{ font-size:20px; line-height:1; }
.avs-pdp .avs-p65-b{ margin:0; font-size:1.0625rem; line-height:1.6; color:#5A3F00; }
.avs-pdp .avs-p65-src{ color:#6B4A00; }
/* An inline link in a sentence cannot be 48px tall without breaking the line,
   so the hit area is grown around it instead: the text stays put, the tappable
   box clears 48px for a hand that is not steady. */
.avs-pdp .avs-p65-src a{
  position:relative; color:#5A3F00; font-weight:700;
  display:inline-block; padding:11px 4px; margin:-11px -4px;
  text-decoration:underline; text-underline-offset:3px;
}

/* ---------------------------------------------------------------
   6. BUY BOX — the one place on the page that carries amber
   --------------------------------------------------------------- */
.avs-buy{
  position:relative; margin:12px 0 0; padding:clamp(15px, 1.15vw, 19px);
  border-radius:var(--radius); background:#fff;
  border:1px solid #E8E1F3;
  box-shadow:var(--avs-pdp-lift);
}
.avs-buy::after{
  content:""; position:absolute; z-index:-1; inset:28px -18px -30px;
  border-radius:44px; pointer-events:none;
  background:radial-gradient(60% 70% at 70% 30%, rgba(245,166,35,.16), transparent 68%);
  filter:blur(28px);
}
.avs-buy-top{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 18px;
}
.avs-buy-price{ min-width:0; }
.avs-pdp .avs-buy-price p.price{
  margin:0; color:var(--indigo-900);
  font-size:clamp(2rem, 1.4rem + 1.5vw, 2.6rem); font-weight:700;
  line-height:1.05; letter-spacing:-.02em; font-variant-numeric:tabular-nums;
}
.avs-pdp .avs-buy-price p.price del{
  font-size:.5em; font-weight:600; color:var(--ink-subtle); margin-right:.35em;
}
.avs-pdp .avs-buy-price p.price ins{ text-decoration:none; }
.avs-pdp .avs-buy-price .avs-poa{
  font-size:clamp(1.5rem, 1.1rem + 1vw, 1.95rem); font-weight:700;
  color:var(--indigo-900); letter-spacing:-.015em;
}

.avs-stock{
  display:inline-flex; align-items:center; gap:7px; margin:0;
  font-size:1.0625rem; font-weight:700; color:var(--success-ink);
}
.avs-stock--out{ color:var(--ink-muted); }
.avs-stock .avs-i{ flex:none; }

/* --- variation selectors --- */
.avs-pdp form.cart{ margin:20px 0 0; }
/* The selector now prints above the form and already ends in a rule, so the
   form must not add a second gap under it. */
.avs-var-js .avs-pdp .avs-var + form.cart{ margin-top:0; }
/* Astra draws a neutral-grey rule under the option table; keep the divider,
   which usefully separates choosing from acting, but in the house line colour. */
.avs-pdp table.variations{
  width:100%; margin:0 0 22px; padding-bottom:22px;
  border:0; border-bottom:1px solid var(--line); border-collapse:collapse;
}
.avs-pdp table.variations tbody,
.avs-pdp table.variations tr,
.avs-pdp table.variations th,
.avs-pdp table.variations td{ display:block; width:auto; padding:0; border:0; background:none; }
.avs-pdp table.variations tr + tr{ margin-top:14px; }
.avs-pdp table.variations th.label label{
  display:block; margin:0 0 7px;
  font-size:1.0625rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--ink-muted);
}
.avs-pdp .variations select{
  width:100%; min-height:56px; padding:12px 46px 12px 16px;
  font-size:1.0625rem; font-family:inherit; color:var(--ink);
  border:1px solid #D9D1E8; border-radius:var(--radius-sm);
  background-color:#FCFBFE;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%237B5EA7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center;
  -webkit-appearance:none; appearance:none; cursor:pointer;
}
.avs-pdp .variations select:hover{ border-color:var(--lilac-300); }
/* Astra ships this at 12px uppercase, which is under the floor and reads as a
   stray label rather than the control it is. */
.avs-pdp form.cart table.variations a.reset_variations{
  display:inline-flex; align-items:center; min-height:48px; margin-top:6px;
  font-size:1.0625rem; font-weight:600; text-transform:none; letter-spacing:0;
  color:var(--violet-500); text-decoration:underline; text-underline-offset:3px;
}

.avs-pdp .single_variation_wrap{ display:block; }
/* Woo fills this container with three divs and leaves them empty when the
   variation has nothing extra to say, so :not(:empty) matched on every
   variable product and painted a 521x17 pale bar with no content in it, right
   on the buy path. Paint it only when one of the three actually holds
   something. A browser without :has() loses the panel's background, never its
   words.

   The selector is long because Astra pins 1.2em of margin on this container
   from four classes and Woo shows it for every variation whether or not it
   filled it: empty, it was still 20px, and it was the last thing that moved
   Add to cart down the moment somebody chose. Room only when there is
   something in it. */
.avs-pdp .woocommerce-variation,
body.woocommerce-js .avs-pdp.product form.cart .single_variation_wrap > .woocommerce-variation{
  margin:0;
}
body.woocommerce-js .avs-pdp.product form.cart .single_variation_wrap > .woocommerce-variation:has(.woocommerce-variation-description:not(:empty)),
body.woocommerce-js .avs-pdp.product form.cart .single_variation_wrap > .woocommerce-variation:has(.woocommerce-variation-availability:not(:empty)){
  margin:0 0 16px; padding:16px 18px;
  background:var(--lavender); border-radius:var(--radius-sm);
  border:1px solid #E4DCF1;
}
/* The chosen price is written into the headline price line instead
   (variants.js), so this box would print the same figure a second time twenty
   pixels lower, and its own panel and margins were what pushed Add to cart off
   a 768px screen the moment a choice was made. The markup stays because Woo's
   scripts write to it and the live region still reads it. */
.avs-pdp .woocommerce-variation-price{ display:none; }
.avs-pdp .woocommerce-variation-description p{ margin:0 0 8px; font-size:1.0625rem; }
.avs-pdp .woocommerce-variation-availability p{ margin:0; font-size:1.0625rem; font-weight:600; }

/* --- quantity + add to cart --- */
.avs-pdp .woocommerce-variation-add-to-cart,
.avs-pdp form.cart:not(.variations_form){
  display:flex; flex-wrap:wrap; align-items:stretch; gap:12px;
}
/* Quantity: a named field with two real buttons.

   The native number spinner is roughly 10x8px and Chrome paints it on hover,
   which a touch screen never does, so it is turned off and replaced by two
   56px controls either side of the figure. The word "Quantity" is printed
   rather than left to a screen-reader-only label, because a lone box with a
   1 in it does not say what the 1 means. */
.avs-pdp .quantity{ flex:0 0 auto; display:flex; flex-direction:column; gap:6px; }
.avs-pdp .avs-qty-l{
  font-size:1.0625rem; font-weight:700; line-height:1.2; color:var(--ink-muted);
}
.avs-pdp .avs-qty-row{ display:flex; align-items:stretch; gap:8px; }
.avs-pdp .quantity .qty{
  width:88px; min-height:56px; padding:10px 8px; text-align:center;
  font-size:1.25rem; font-weight:700; color:var(--ink);
  border:1px solid #D9D1E8; border-radius:var(--radius-sm); background:#FCFBFE;
  -moz-appearance:textfield; appearance:textfield;
}
.avs-pdp .quantity .qty::-webkit-outer-spin-button,
.avs-pdp .quantity .qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.avs-pdp .avs-qty-b{
  flex:none; width:56px; min-width:56px; min-height:56px; padding:0;
  display:grid; place-items:center; cursor:pointer;
  border:1px solid #D9D1E8; border-radius:var(--radius-sm);
  background:#F6F2FC; color:var(--indigo-900);
  font-size:1.75rem; font-weight:700; line-height:1;
}
.avs-pdp .avs-qty-b:hover{ background:#EDE7F7; border-color:var(--lilac-300); }
.avs-pdp .avs-qty-b.is-off{ color:var(--ink-subtle); background:#F7F5FA; cursor:default; }
/* The tag name and body class are here to out-rank tokens.css, whose
   `.woocommerce button.button` sets 1rem and 48px. Without them the most
   important control on the page rendered at 16px, under the floor. */
body.single-product .avs-pdp button.single_add_to_cart_button,
body.single-product .avs-pdp .single_add_to_cart_button{
  flex:1 1 240px; min-height:60px; padding:14px 30px;
  border-radius:var(--pill); font-size:1.1875rem; font-weight:700; letter-spacing:-.01em;
  box-shadow:0 8px 20px rgba(245,166,35,.32);
  transition:transform .18s ease, box-shadow .18s ease, filter .15s ease;
}
.avs-pdp .single_add_to_cart_button:hover{
  transform:translateY(-2px); filter:brightness(1.05);
  box-shadow:0 12px 26px rgba(245,166,35,.38);
}

/* Woo greys the button out until an option is chosen. Amber must mean
   "you can act", so the waiting state drops to a neutral surface that
   still passes contrast rather than a half-transparent amber. */
body.single-product .avs-pdp button.single_add_to_cart_button.disabled,
body.single-product .avs-pdp button.single_add_to_cart_button.wc-variation-selection-needed,
body.single-product .avs-pdp button.single_add_to_cart_button[aria-disabled="true"]{
  background:#EAE4F3!important; color:#4B3C6B!important;
  /* Fill alone said this button was waiting, which says nothing at all to a
     colour blind reader. The broken outline is the second signal; the label
     itself is the third, and product.js writes it. */
  border:2px dashed #9A88C0!important;
  box-shadow:none!important; opacity:1!important; transform:none!important;
  cursor:not-allowed;
  /* Something in the stack shrinks a .disabled button to 16px, which put the
     most important control on the page under the floor for exactly the reader
     who has not chosen yet. The waiting state changes colour, not size. */
  font-size:1.1875rem!important; min-height:60px!important;
}
/* The quantity used to be hidden until an option was chosen, so the first
   choice grew the buy box by 84px and shoved everything under it down the
   page while the reader's thumb was still on the screen. It costs nothing to
   show it from the start, and the box then never moves. */
.avs-pdp .woocommerce-variation-add-to-cart-disabled .quantity{ display:flex; }

/* The answer to pressing Add to cart with nothing chosen. It takes the whole
   width under the button, so it cannot be mistaken for part of it, and it is
   empty until there is something to say. */
.avs-pdp .avs-ask{
  flex:1 1 100%; margin:2px 0 0; padding:12px 16px;
  border-radius:var(--radius-sm);
  background:#FFF4E0; border:1px solid #E9C77E; color:#5A3F00;
  font-size:1.125rem; font-weight:700; line-height:1.45;
}
.avs-pdp .avs-ask:empty{ display:none; }
/* Focus alone is not enough: a mouse click does not raise :focus-visible, so
   the group we sent the reader to is outlined as well. */
.avs-pdp .avs-asking{
  outline:3px solid var(--violet-500); outline-offset:6px; border-radius:var(--radius-sm);
}
.avs-pdp .wc-no-matching-variations{ margin:0; font-size:1.0625rem; }

/* Price on request. The call to order is the action, so it takes the amber
   the Add to cart button would otherwise have had. */
.avs-pdp .avs-buy-call{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin:20px 0 0; min-height:60px; padding:14px 26px;
  border-radius:var(--pill); text-decoration:none;
  font-size:1.1875rem; font-weight:700; letter-spacing:-.01em;
  box-shadow:0 8px 20px rgba(245,166,35,.32);
  transition:transform .18s ease, box-shadow .18s ease, filter .15s ease;
}
.avs-pdp .avs-buy-call:hover{
  transform:translateY(-2px); filter:brightness(1.05);
  box-shadow:0 12px 26px rgba(245,166,35,.38);
}
.avs-pdp .avs-buy-call .avs-i{ flex:none; }
/* A telephone number is one word. At 390 this button broke it as
   "(833) 985-" / "1918", which is unusable to the reader it exists for, so the
   number can never be the thing that wraps. */
.avs-pdp .avs-buy-call b,
.avs-stick .avs-stick-go span{ white-space:nowrap; }

/* The panel catalogue-mode.php prints at priority 29, which now lands inside
   this card as the explanation under the call button. */
.avs-pdp .avs-poa-box{
  margin:18px 0 0; padding:16px 18px; border-radius:var(--radius-sm);
  background:var(--lavender); border:1px solid #E4DCF1;
}
.avs-pdp .avs-poa-box p{ font-size:1.0625rem; line-height:1.6; }
.avs-pdp .avs-poa-box p:first-child{ font-size:1.125rem; color:var(--indigo-900); }
.avs-pdp .avs-poa-box a{
  color:var(--indigo-900); font-weight:700; text-decoration:underline;
  text-underline-offset:3px;
}
.avs-buy--poa .avs-poa-box p:first-child{ font-weight:700; }

/* ---------------------------------------------------------------
   7. FREE SHIPPING AND THE TRUST ROW

   Sits tight under the buy card and reads as its footer. The free
   shipping promise is the first item, so the card does not repeat it
   a few pixels above.
   --------------------------------------------------------------- */
/* Three (four, once cards are taken) short promises in one quiet row. They
   are reassurance, not content, so they sit under the card at the size of the
   card's own small print and take a third of the height they used to. */
.avs-assure{
  list-style:none; margin:14px 0 0; padding:4px 0 0;
  display:grid; gap:6px;
}
.avs-assure li{
  display:flex; align-items:center; gap:10px; min-width:0; min-height:32px;
}
.avs-assure-i{
  flex:none; display:grid; place-items:center; width:30px; height:30px;
  border-radius:50%; background:#F1ECFA; color:var(--violet-500);
}
.avs-assure-i .avs-i{ width:17px; height:17px; }
/* One line per promise: the label, then its small print beside it. */
.avs-assure-t{ display:flex; flex-wrap:wrap; align-items:baseline; gap:0 8px; min-width:0; line-height:1.4; }
.avs-assure-t b{ font-size:1rem; font-weight:700; color:var(--indigo-900); }
.avs-assure-t small{ font-size:.9375rem; color:var(--ink-muted); }
.avs-assure-t small + small::before{ content:"\00b7"; margin-right:8px; color:var(--lilac-300); }

/* ---------------------------------------------------------------
   8. AT A GLANCE
   --------------------------------------------------------------- */
/* The band under the hero: the measurements a buyer checks, then the codes.
   Full width, so six facts sit three abreast with room, and the purchase
   column above it stays the height of the photograph. */
.avs-facts{
  margin-top:clamp(28px, 3vw, 44px); padding:clamp(22px, 2.4vw, 32px);
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--avs-pdp-card);
}
.avs-hl{ margin:0; }
.avs-hl-h{
  margin:0 0 14px; font-size:1.0625rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; color:var(--ink-subtle);
}
.avs-hl-grid{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:12px;
}
.avs-hl-grid li{
  display:flex; align-items:flex-start; gap:12px;
  padding:16px 18px; border-radius:var(--radius-sm);
  background:#FBFAFD; border:1px solid var(--line);
}
.avs-hl-i{ flex:none; color:var(--violet-500); margin-top:2px; }
.avs-hl-t{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.avs-hl-t small{
  font-size:1rem; color:var(--ink-muted); line-height:1.35;
}
.avs-hl-t b{
  font-size:1.125rem; font-weight:700; color:var(--indigo-900); line-height:1.3;
  /* Values are imported text. One token with no space in it (a URL, a part
     number) must wrap here rather than set the width of the page. */
  overflow-wrap:anywhere;
}
.avs-hl-more{ margin:12px 0 0; font-size:1.0625rem; }
.avs-hl-more a{
  display:inline-flex; align-items:center; min-height:48px;
  color:var(--violet-500); font-weight:700; text-decoration:none;
  border-bottom:1px solid rgba(123,94,167,.4);
}
.avs-hl-more a:hover{ color:var(--indigo-900); border-bottom-color:currentColor; }

/* ---------------------------------------------------------------
   8b. PRODUCT CODES

   Last in the column and deliberately flat: no card, no shadow, no
   competing with the price. The codes still need to be copied onto a
   claim form, so the values keep tabular figures and full contrast
   while the labels step back.
   --------------------------------------------------------------- */
/* The client did not like this as a panel, and they were right: a filled
   lavender card with an uppercase heading and four columns of shouting labels
   made the least important facts on the page the loudest block in the column.

   It is a line of text now. Same words, same 17px, same tabular figures for
   the digits somebody has to copy onto a claim form, but no fill, no heading
   and no border. Each code reads as one run: "Item number 477-1". A rule above
   it separates it from the page without drawing a box round it. */
.avs-ids{
  margin:22px 0 0; padding:18px 0 0; border-top:1px solid var(--line);
}
.avs-facts > .avs-ids:first-child{ margin-top:0; padding-top:0; border-top:0; }
.avs-ids-h{
  margin:0 0 8px; font-size:1.0625rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; color:var(--ink-subtle);
}
.avs-pdp .avs-ids .avs-ident{
  margin:0; display:flex; flex-wrap:wrap; gap:4px 26px;
  font-size:1.0625rem; line-height:1.5;
}
.avs-pdp .avs-ids .avs-ident:empty{ display:none; }
/* The size is restated on the children on purpose. tokens.css still carries the
   old identifier list at `.avs-ident span{font-size:.8125rem}`, other pages use
   it, and that rule out-ranks a size set on `.avs-ident` alone: the wrapping
   span took 13px and the <b> inherited it, so the fourteen digit UPC was the
   smallest text on the page and the block shipped at 13px while the comment
   above claimed 17. Anything that names a code carries the size itself now. */
.avs-pdp .avs-ids .avs-id{
  display:inline-flex; align-items:baseline; gap:7px; font-size:1.0625rem;
}
.avs-pdp .avs-ids .avs-id-k,
.avs-pdp .avs-ids-brand .avs-id-k{
  color:var(--ink-muted); font-weight:400; font-size:1.0625rem;
}
/* Reading size, not display size. The value is a shade darker and a step
   heavier than its label so the digits can be copied without hunting, and that
   is the whole of its emphasis: no fill, no border, no colour of its own. */
.avs-pdp .avs-ids .avs-id-v{
  font-weight:600; color:var(--ink); font-size:1.0625rem;
  font-variant-numeric:tabular-nums; letter-spacing:.01em; overflow-wrap:anywhere;
}
.avs-ids-brand{
  margin:4px 0 0; font-size:1.0625rem; line-height:1.5; color:var(--ink);
}
.avs-ids-note,
.avs-ids-wait{
  margin:8px 0 0; font-size:1.0625rem; line-height:1.5; color:var(--ink-muted);
}
.avs-ids-note[hidden],
.avs-ids-wait[hidden]{ display:none; }

/* ---------------------------------------------------------------
   9. COMPARE
   --------------------------------------------------------------- */
.avs-pdp .avs-pp-compare{
  display:inline-flex; align-items:center; gap:10px;
  min-height:48px; margin:6px 0 0; padding:0 4px;
  font-size:1.0625rem; color:var(--ink-muted); cursor:pointer;
}
.avs-pdp .avs-pp-compare input{ width:22px; height:22px; accent-color:var(--violet-500); }

/* ---------------------------------------------------------------
   10. COMPETITIVE COMPARISON
   The pricing plugin owns everything inside .avp-compare; this only
   gives it room on the page.
   --------------------------------------------------------------- */
.avs-pdp-compare{ margin-top:clamp(36px, 4vw, 58px); }
.avs-pdp-compare .avp-compare{ margin-block:0; }

/* ---------------------------------------------------------------
   11. DETAIL SECTIONS
   The registered product tabs, stacked. Nothing is hidden behind a
   click, because hunting for a specification table is not a feature.
   --------------------------------------------------------------- */
.avs-detail{ margin-top:clamp(40px, 4.6vw, 68px); }

.avs-jump{
  position:relative; margin:0 0 clamp(22px, 2.4vw, 32px);
  border-radius:var(--pill);
  background:rgba(255,255,255,.7);
  -webkit-backdrop-filter:blur(var(--glass-blur)); backdrop-filter:blur(var(--glass-blur));
  border:1px solid var(--glass-border);
  box-shadow:0 8px 28px rgba(46,26,94,.07);
}
.avs-jump ul{
  list-style:none; margin:0; padding:6px;
  display:flex; gap:4px; overflow-x:auto; scrollbar-width:none;
}
.avs-jump ul::-webkit-scrollbar{ display:none; }
.avs-jump li{ flex:0 0 auto; }
.avs-jump a{
  display:inline-flex; align-items:center; min-height:48px; padding:0 20px;
  border-radius:var(--pill); text-decoration:none; white-space:nowrap;
  font-size:1.0625rem; font-weight:600; color:var(--ink-muted);
  transition:background-color .18s ease, color .18s ease;
}
.avs-jump a:hover{ background:var(--lavender); color:var(--indigo-900); }

.avs-sec{
  scroll-margin-top:calc(var(--avs-head-h) + 20px);
  margin:0 0 clamp(18px, 2vw, 26px);
  padding:clamp(24px, 2.6vw, 38px);
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--avs-pdp-card);
}
.avs-sec-h{
  margin:0 0 20px; font-size:clamp(1.35rem, 1.05rem + .8vw, 1.7rem);
  font-weight:600; letter-spacing:-.02em; color:var(--indigo-900);
}
/* On a phone each section folds behind its own heading (product.js turns the
   heading into a button), so the page reads as a list of five short titles
   rather than one wall. The description is open to begin with. */
.avs-sec-toggle{
  display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%;
  margin:0; padding:0; background:none; border:0; text-align:left; cursor:pointer;
  font:inherit; color:inherit; letter-spacing:inherit;
}
.avs-sec-toggle{ box-shadow:none; border-radius:0; }
.avs-sec-toggle:focus-visible{ outline:3px solid var(--violet-500); outline-offset:4px; border-radius:4px; }
.avs-sec-toggle .avs-i{ flex:none; color:var(--violet-500); transition:transform .18s ease; }
.avs-sec-toggle[aria-expanded="true"] .avs-i{ transform:rotate(180deg); }
.avs-sec-folded .avs-sec-b{ display:none; }
.avs-sec-folded .avs-sec-h{ margin-bottom:0; }
.avs-sec-b{ color:var(--ink); }
.avs-sec-b > :first-child{ margin-top:0; }
.avs-sec-b > :last-child{ margin-bottom:0; }
.avs-sec-b p{ font-size:1.0625rem; line-height:1.65; max-width:74ch; }
.avs-sec-b h2{ font-size:1.25rem; margin:26px 0 10px; }
.avs-sec-b h3{ font-size:1.1875rem; margin:24px 0 10px; font-weight:700; }
.avs-sec-b ul:not(.avs-doc-list):not(.avs-spec-multi){
  margin:0 0 14px; padding-left:1.3em; max-width:74ch;
}
.avs-sec-b ul:not(.avs-doc-list):not(.avs-spec-multi) li{
  font-size:1.0625rem; line-height:1.6; margin-bottom:8px;
}
.avs-sec-b ul:not(.avs-doc-list):not(.avs-spec-multi) li::marker{ color:var(--lilac-300); }

/* Description panel: the features list is the useful half, so give it air. */
.avs-sec--description .avs-desc p{ font-size:1.125rem; color:var(--ink-muted); }
.avs-sec--description .avs-feat-h{
  margin:26px 0 12px; font-size:1.1875rem; font-weight:700; color:var(--indigo-900);
}

/* --- specification tables --- */
.avs-pdp .avs-spec-wrap{
  overflow-x:auto; border-radius:var(--radius-sm);
  border:1px solid var(--line);
}
.avs-pdp .avs-spec-table{
  width:100%; margin:0; border-collapse:collapse; font-size:1.0625rem; background:#fff;
}
.avs-pdp .avs-spec-table th,
.avs-pdp .avs-spec-table td{
  padding:15px 20px; text-align:left; vertical-align:top; line-height:1.5;
  border-bottom:1px solid var(--line);
}
.avs-pdp .avs-spec-table tr:last-child th,
.avs-pdp .avs-spec-table tr:last-child td{ border-bottom:0; }
.avs-pdp .avs-spec-table th{
  width:42%; font-weight:600; color:var(--ink-muted); background:#FBFAFD;
}
.avs-pdp .avs-spec-table td{ color:var(--indigo-900); font-weight:600; overflow-wrap:anywhere; }
.avs-spec-multi{ list-style:none; margin:0; padding:0; display:grid; gap:4px; }
.avs-spec-multi li{ font-size:1.0625rem; }
.avs-pdp .avs-spec-note{
  margin:14px 0 0; font-size:1.0625rem; line-height:1.6; color:var(--ink-muted); max-width:74ch;
}
.avs-pdp .avs-cmp-missing{ color:var(--ink-subtle); font-style:italic; font-weight:400; }

/* Woo's own attribute table gets the same treatment. */
.avs-pdp table.shop_attributes{
  width:100%; margin:0; font-size:1.0625rem;
  border:1px solid var(--line); border-radius:var(--radius-sm);
  border-collapse:collapse; overflow:hidden;
}
.avs-pdp table.shop_attributes th,
.avs-pdp table.shop_attributes td{
  padding:14px 18px; text-align:left; vertical-align:top;
  border:0; border-bottom:1px solid var(--line); font-style:normal;
}
.avs-pdp table.shop_attributes tr:last-child th,
.avs-pdp table.shop_attributes tr:last-child td{ border-bottom:0; }
.avs-pdp table.shop_attributes th{
  width:42%; font-weight:600; color:var(--ink-muted); background:#FBFAFD;
}
.avs-pdp table.shop_attributes td,
.avs-pdp table.shop_attributes td p{
  margin:0; padding-block:0; font-size:1.0625rem;
  color:var(--indigo-900); font-weight:600; font-style:normal;
}
.avs-pdp table.shop_attributes td{ padding:14px 18px; }

/* --- manuals and downloads --- */
.avs-pdp .avs-doc-list{
  list-style:none; padding:0; margin:0;
  display:grid; gap:10px; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
}
.avs-pdp .avs-doc-list a{
  position:relative; display:flex; align-items:center; gap:14px;
  min-height:76px; padding:14px 18px;
  background:#FBFAFD; border:1px solid var(--line); border-radius:var(--radius-sm);
  text-decoration:none; color:var(--indigo-900);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.avs-pdp .avs-doc-list a:hover{
  transform:translateY(-2px); border-color:var(--lilac-300); background:#fff;
  box-shadow:0 10px 24px rgba(46,26,94,.09);
}
.avs-pdp .avs-doc-i{ flex:none; color:var(--violet-500); }
.avs-doc-t{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.avs-doc-t b{ font-size:1.0625rem; font-weight:700; line-height:1.3; }
/* visual.css pins .avs-doc-list small to 15px!important, an older brief's floor.
   This page's floor is 17px, so it is restated here rather than left at 15. */
.avs-pdp .avs-doc-t small,
.avs-pdp .avs-doc-list small{
  margin-left:0; font-size:1.0625rem!important; color:var(--ink-muted); font-weight:500;
}
.avs-doc-go{ flex:none; color:var(--violet-500); }

/* --- spare parts --- */
.avs-parts-html{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-sm); }
.avs-parts-html table{ width:100%; margin:0; border-collapse:collapse; font-size:1.0625rem; min-width:480px; }
.avs-parts-html th,
.avs-parts-html td{ padding:12px 16px; text-align:left; border-bottom:1px solid var(--line); }
.avs-parts-html thead th{
  background:#FBFAFD; font-size:1.0625rem; font-weight:700;
  letter-spacing:.04em; text-transform:uppercase; color:var(--ink-muted); white-space:nowrap;
}
.avs-parts-html tbody tr:last-child th,
.avs-parts-html tbody tr:last-child td{ border-bottom:0; }
.avs-parts-html tbody tr:nth-child(even){ background:#FCFBFE; }
.avs-parts-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-sm); }
.avs-parts-table{ width:100%; margin:0; border-collapse:collapse; font-size:1.0625rem; }
.avs-parts-table th,
.avs-parts-table td{ padding:13px 18px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.avs-parts-table thead th{ font-size:.9375rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-subtle); background:#FBFAFD; }
.avs-parts-table td:first-child{ font-variant-numeric:tabular-nums; font-weight:600; color:var(--indigo-900); white-space:nowrap; }
.avs-parts-table tbody tr:last-child td{ border-bottom:0; }
.avs-parts-cta{ margin:18px 0 0; }
.avs-pdp .avs-parts-cta a{
  position:relative; display:inline-flex; align-items:center; min-height:48px; padding:12px 26px;
  font-weight:700; text-decoration:none;
}

/* ---------------------------------------------------------------
   12. UPSELLS, RELATED, REVIEWS
   --------------------------------------------------------------- */
.avs-pdp .up-sells,
.avs-pdp .related.products{ margin-top:clamp(40px, 4.6vw, 68px); }
.avs-pdp .up-sells > h2,
.avs-pdp .related.products > h2{
  margin:0 0 24px; font-size:clamp(1.5rem, 1.1rem + 1.1vw, 2rem);
  letter-spacing:-.02em; font-weight:600;
}
.avs-pdp .related.products ul.products,
.avs-pdp .up-sells ul.products{
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px;
  list-style:none; margin:0; padding:0;
}
.avs-pdp ul.products li.product{
  width:auto!important; margin:0!important; float:none!important;
  background:#fff; border:1px solid var(--line); border-radius:20px;
  padding:18px; box-shadow:var(--avs-pdp-card);
  transition:transform .18s ease, box-shadow .18s ease;
}
.avs-pdp ul.products li.product:hover{
  transform:translateY(-2px); box-shadow:var(--avs-pdp-lift);
}
.avs-pdp ul.products li.product img{
  border-radius:var(--radius-sm); margin-bottom:12px;
  /* Shows only where there is no photograph: a tint reads as "image pending". */
  background:linear-gradient(150deg,#F3EFFA 0%,#ECE6F6 60%,#F7F4FC 100%);
}
/* loop.php prints a "Price on request" marker and the price HTML says the same
   thing, so the tile shows it twice. One is enough on this page. */
.avs-pdp ul.products li.product .avs-loop-poa{ display:none; }
.avs-pdp ul.products li.product .woocommerce-loop-product__title{
  font-size:1.125rem!important; line-height:1.35; font-weight:600; color:var(--indigo-900);
  margin:0 0 6px; padding:0;
}
.avs-pdp ul.products li.product .price{
  font-size:1.125rem; font-weight:700; color:var(--indigo-900);
  font-variant-numeric:tabular-nums;
}
/* Amber belongs to the buy box. The related rail is a secondary action, so its
   buttons are quiet — and consistent, where the loop currently mixes a blue
   "Add to cart" with an amber "View details". */
.avs-pdp ul.products li.product{ display:flex; flex-direction:column; }
/* Astra wraps the words in a block of their own, so the button can only reach
   the foot of the card once that block is a column that grows: four cards in
   a row then share one button line whether a name takes one line or two. */
.avs-pdp ul.products li.product .astra-shop-summary-wrap{
  display:flex; flex-direction:column; flex:1 1 auto; min-height:0;
}
.avs-pdp ul.products li.product .button{
  margin-top:auto!important;
  width:100%; min-height:48px; justify-content:center;
  background:var(--lavender)!important; color:var(--indigo-900)!important;
  border:1px solid #DDD4EE!important; box-shadow:none!important;
  border-radius:var(--pill); font-weight:700; font-size:1.0625rem;
}
.avs-pdp ul.products li.product .button:hover{ background:#E7E0F4!important; filter:none; }
/* loop.php's compare control and Astra's category line come in under the floor
   on this page. shop.css owns them on the grid pages; this is the product page
   copy of the same two, raised to 17px and a 48px target. */
.avs-pdp ul.products .avs-loop-cmp{
  font-size:1.0625rem!important; min-height:48px; padding:0 16px 0 14px;
}
.avs-pdp ul.products .avs-loop-cmp input{ width:24px; height:24px; }
body.single-product .avs-pdp ul.products li.product .ast-woo-product-category{ font-size:1.0625rem; }

.avs-pdp .avs-prev{ margin-top:clamp(40px, 4.6vw, 68px); }

/* ---------------------------------------------------------------
   13. STICKY PURCHASE BAR
   Floating chrome, so this one is genuinely glass.
   --------------------------------------------------------------- */
.avs-stick{
  position:fixed; left:0; right:0; bottom:0; z-index:700;
  padding:10px clamp(14px, 3vw, 28px) calc(10px + env(safe-area-inset-bottom, 0px));
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(120%);
  backdrop-filter:blur(var(--glass-blur)) saturate(120%);
  border-top:1px solid var(--glass-border);
  box-shadow:0 -10px 34px rgba(46,26,94,.12);
  transform:translateY(110%);
  transition:transform .28s cubic-bezier(.2,.7,.3,1);
}
.avs-stick.is-on{ transform:translateY(0); }
.avs-stick[hidden]{ display:none; }
.avs-stick-in{
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; gap:14px;
}
.avs-stick-img{
  flex:none; width:52px; height:52px; object-fit:contain;
  border-radius:12px; background:#fff; border:1px solid var(--line);
}
.avs-stick-t{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.avs-stick-t b{
  font-size:1.125rem; font-weight:600; color:var(--indigo-900); line-height:1.25;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.avs-stick-p{ font-size:1.0625rem; font-weight:700; color:var(--indigo-900); }
.avs-stick-p .avs-poa{ font-size:1.0625rem; }
.avs-stick-p .price{ font-size:inherit; }
/* The assistant bubble is also pinned bottom-right. Lift it clear rather than
   let it sit on top of the purchase button. */
body.single-product .avs-asst{ transition:transform .28s cubic-bezier(.2,.7,.3,1); }
body.single-product:has(.avs-stick.is-on) .avs-asst{ transform:translateY(-84px); }

.avs-stick-go{
  flex:none; min-height:52px; padding:12px 28px;
  border-radius:var(--pill); font-size:1.0625rem; font-weight:700;
  text-decoration:none; display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 8px 20px rgba(245,166,35,.32);
}

/* ---------------------------------------------------------------
   14. LIGHTBOX
   --------------------------------------------------------------- */
.avs-lb{
  position:fixed; inset:0; z-index:9000;
  display:grid; grid-template-rows:auto 1fr auto;
  background:rgba(28,16,58,.86);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  opacity:0; transition:opacity .22s ease;
}
.avs-lb.is-on{ opacity:1; }
.avs-lb[hidden]{ display:none; }
.avs-lb-bar{ display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:14px clamp(14px, 2vw, 26px); color:#fff; }
.avs-lb-count{ font-size:1.0625rem; font-weight:600; font-variant-numeric:tabular-nums;
  color:rgba(255,255,255,.86); }
.avs-lb-figure{
  position:relative; display:grid; place-items:center;
  padding:0 clamp(10px, 5vw, 76px); min-height:0;
}
/* A percentage max-height against an fr-sized grid row is treated as
   indefinite, so the picture would render at its natural 1200px and spill
   under the thumbnail strip. Size it off the viewport instead. */
.avs-lb-figure img{
  max-width:100%; width:auto; height:auto;
  max-height:calc(100vh - 210px);
  max-height:calc(100dvh - 210px);
  object-fit:contain; border-radius:var(--radius-sm); background:#fff;
  box-shadow:0 30px 80px rgba(10,4,30,.5);
}
.avs-lb-btn{
  min-width:52px; min-height:52px; padding:0 14px; border-radius:var(--pill);
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.3);
  font-size:1.0625rem; font-weight:600; cursor:pointer;
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
.avs-lb-btn:hover{ background:rgba(255,255,255,.24); }
.avs-lb-btn:focus-visible{ outline:3px solid #fff; outline-offset:3px; }
.avs-lb-nav{ position:absolute; top:50%; transform:translateY(-50%); }
.avs-lb-nav--prev{ left:clamp(6px, 1.4vw, 18px); }
.avs-lb-nav--next{ right:clamp(6px, 1.4vw, 18px); }
.avs-lb-nav--prev .avs-i{ transform:rotate(90deg); }
.avs-lb-nav--next .avs-i{ transform:rotate(-90deg); }
.avs-lb-foot{
  display:flex; gap:8px; justify-content:flex-start; justify-content:safe center; flex-wrap:nowrap;
  overflow-x:auto; padding:14px clamp(14px, 2vw, 26px) 20px; scrollbar-width:none;
}
.avs-lb-foot::-webkit-scrollbar{ display:none; }
.avs-lb-dot{
  position:relative; flex:0 0 auto; width:64px; height:64px; min-height:0; padding:4px;
  border-radius:12px; background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22); cursor:pointer;
}
.avs-lb-dot img{ width:100%; height:100%; object-fit:contain; }
.avs-lb-dot.is-on{ background:#fff; border-color:#fff; }
body.avs-lb-open{ overflow:hidden; }

/* ---------------------------------------------------------------
   15. RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width:1200px){
  .avs-pdp .related.products ul.products,
  .avs-pdp .up-sells ul.products{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}

/* One column, and a different running order.

   Stacking the two columns as they stand put the product's own name at y=1206
   at 768: a whole screen of header, breadcrumb and photograph before the
   reader learns what they are looking at, with the price at 1330 and the
   Prop 65 warning at 1765. So on one column the name leads, the legal notice
   follows it, and the photograph comes after both, capped in height so the
   price is reachable in one short scroll rather than three.

   Putting the name first was only half of it: the price still landed at 1197
   on a 390 phone, three quarters of a screen past the fold, because the
   photograph sat between them. The card is therefore opened up as well. The
   price and the stock line lead, directly under the name; the warning follows;
   the photograph comes next; and the controls that need the photograph beside
   them come after it. Name, price and legal notice now share the first screen
   at both 768 and 390, and the picture is still above the choosing.

   display:contents lets the summary's own children, and the buy card's own two
   halves, take their place in the hero's flex order without moving a line of
   markup. The summary carries no box of its own, and the card's box moves to
   .avs-buy-main, so nothing is lost. */
@media (max-width:1023px){
  /* align-items:start comes from the two-column rule above; in a flex column it
     shrinks every block to its content width, so it is restated here. */
  .avs-pdp-hero{ display:flex; flex-direction:column; row-gap:0; align-items:stretch; }
  .avs-pdp .avs-pdp-hero > .summary.entry-summary{ display:contents; }
  .avs-pdp .avs-pdp-hero .avs-buy{ display:contents; }
  .avs-pdp-hero .summary > *{ order:7; }
  .avs-pdp-hero .avs-sum-head{ order:1; margin-bottom:0; }
  .avs-pdp-hero .avs-lede,
  .avs-pdp-hero .avs-intro{ order:2; }
  .avs-pdp-hero .avs-buy-top{ order:3; margin:14px 0 0; }
  .avs-pdp-hero .avs-p65{ order:4; }
  .avs-pdp-hero > .avs-gal{ order:5; position:static; margin:18px 0 4px; }
  .avs-pdp-hero .avs-buy-main{ order:6; }
  /* The card's box, moved to the half that still holds the controls. Painted
     only when there is something in it: an out of stock simple product has no
     controls at all, and an empty white card on the buy path reads as broken. */
  .avs-pdp .avs-buy-main:has(*){
    position:relative; margin:0; padding:clamp(18px, 1.7vw, 24px);
    border-radius:var(--radius); background:#fff;
    border:1px solid #E8E1F3; box-shadow:var(--avs-pdp-lift);
  }
  /* The price is its own line here rather than the top of a card, so it needs
     the card's own left edge back. */
  .avs-pdp .avs-buy-price p.price{ line-height:1.15; }

  .avs-gal-stage{ max-width:560px; margin-inline:auto; width:100%; }
  .avs-gal-railwrap{ max-width:560px; margin-inline:auto; width:100%; }
  /* A square photograph is 728px tall at 768 wide. Contain it in a band
     instead: the whole product is still shown, the page is not. */
  .avs-pdp .avs-gal-img{ aspect-ratio:auto; height:clamp(240px, 34vh, 340px); }
  .avs-pdp .related.products ul.products,
  .avs-pdp .up-sells ul.products{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  /* Every section reachable at a glance: the pills wrap to a second row
     rather than run off the right edge of a strip nobody knows to swipe. */
  .avs-jump{ border-radius:var(--radius); }
  .avs-jump ul{ flex-wrap:wrap; overflow-x:visible; }
  .avs-jump a{ padding:0 16px; }
}

@media (max-width:767px){
  body.single-product .ast-woocommerce-container{ padding-bottom:96px; }
  .avs-pdp-crumbs{ margin:0 0 10px; }
  /* The whole purchase decision cannot fit on a 390x844 phone: the header
     alone is 217px, and twelve colour boxes are 824px on their own. Name,
     price, stock and the photograph all fit; the choices do not.

     The word naming the first choice is worth carrying to the edge, because a
     reader who cannot see that the colours exist does not know to look for
     them, so the white space between the thumbnail rail and the first question
     is spent on it: the gallery's own gaps, the card's top padding and the
     block's top margin. Nothing here is a target or a photograph.

     Measured, not claimed: on the twelve colour cane the legend now reads
     818..841 against a fold of 844, so the whole row is on screen. It depends
     on the product name wrapping to two lines, and a three line name puts it
     back over the edge. The guarantee is the sticky bar, which is fixed, 73px
     tall, and carries the name, the price and "Choose options" the moment the
     page moves. */
  .avs-pdp .avs-gal-img{ height:clamp(190px, 27vh, 240px); }
  .avs-pdp .avs-gal{ gap:8px; }
  .avs-pdp-hero > .avs-gal{ margin:12px 0 2px; }
  .avs-pdp .avs-buy-main:has(*){ padding-top:12px; }
  .avs-pdp .avs-buy-main > .avs-var{ margin-top:0; }
  .avs-pdp-hero .avs-buy-top{ margin:10px 0 0; }
  .avs-pdp .avs-p65{ margin:14px 0 0; padding:12px 16px; }
  /* "Call to order" and the number are two lines here by design, so the number
     is never the thing that breaks. */
  .avs-pdp .avs-buy-call{ padding:14px 18px; }
  .avs-pdp .avs-buy-call span{ text-align:center; }
  .avs-pdp .avs-buy-call b{ display:block; }
  /* The five section headings sit directly beneath as an accordion, so the
     pill row would only repeat them. */
  .avs-jump{ display:none; }
  /* One scrolling line rather than three stacked 44px rows above the photo. */
  .avs-pdp-crumbs .woocommerce-breadcrumb{
    flex-wrap:nowrap; overflow-x:auto; white-space:nowrap;
    scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  .avs-pdp-crumbs .woocommerce-breadcrumb::-webkit-scrollbar{ display:none; }
  /* Two short tiles a row: six facts in three rows, not one tall column. */
  .avs-hl-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; }
  .avs-hl-grid li{ padding:12px 12px; gap:8px; }
  .avs-hl-t small{ font-size:.9375rem; }
  .avs-hl-t b{ font-size:1.0625rem; }
  .avs-facts{ padding:18px; margin-top:22px; }
  /* Label over value on a phone: no two narrow columns fighting for 350px. */
  .avs-pdp .avs-spec-table tr{ display:block; padding:12px 16px; border-bottom:1px solid var(--line); }
  .avs-pdp .avs-spec-table tr:last-child{ border-bottom:0; }
  .avs-pdp .avs-spec-table th,
  .avs-pdp .avs-spec-table td{ display:block; width:auto!important; padding:0; border:0; background:none; }
  .avs-pdp .avs-spec-table th{ font-size:.9375rem; margin-bottom:3px; }
  .avs-gal-thumb{ width:68px; height:68px; }
  /* The strip is swiped rather than driven by buttons here, so it keeps the
     gutter the arrows would have used. */
  .avs-gal-arw{ display:none; }
  .avs-gal-railwrap.has-arw{ padding-inline:0; }
  /* The breadcrumb scrolls sideways here rather than stacking three 48px rows
     above the product. The fade is the cue that there is more of it. */
  .avs-pdp-crumbs .woocommerce-breadcrumb{
    -webkit-mask-image:linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
    mask-image:linear-gradient(to right, #000 calc(100% - 28px), transparent 100%);
  }
  .avs-pdp .avs-doc-list{ grid-template-columns:minmax(0,1fr); }
  .avs-pdp .single_add_to_cart_button{ flex:1 1 100%; }
  .avs-pdp .quantity .qty{ width:84px; }
  .avs-stick-img{ display:none; }
  .avs-stick-go{ padding:12px 20px; }
  .avs-pdp .related.products ul.products,
  .avs-pdp .up-sells ul.products{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
  .avs-pdp ul.products li.product{ padding:14px; }
}

@media (max-width:420px){
  /* Three codes will not sit side by side on a narrow phone without the
     numbers breaking mid-digit, so give each one its own line. */
  .avs-pdp .avs-ids .avs-ident{ gap:4px 20px; }
  .avs-stick-t b{ font-size:1.0625rem; }
}

/* ---------------------------------------------------------------
   16. FOCUS
   Astra zeroes the outline on `.button:focus`, which out-ranks the
   theme's own `button:focus-visible` ring, so every Woo control on
   this page would lose its focus indicator. Restate the one ring.
   --------------------------------------------------------------- */
.avs-pdp a:focus-visible,
.avs-pdp button:focus-visible,
.avs-pdp input:focus-visible,
.avs-pdp select:focus-visible,
.avs-pdp textarea:focus-visible,
.avs-pdp [tabindex]:focus-visible,
.avs-pdp-crumbs a:focus-visible,
.avs-stick a:focus-visible,
.avs-stick button:focus-visible{
  outline:var(--focus); outline-offset:2px; border-radius:6px;
}
.avs-pdp .avs-gal-open:focus-visible{ outline-offset:-4px; border-radius:var(--radius); }
/* The quantity box is the one control whose ring the theme's own focus rule
   still removed (keyboard check, 22 September 2026). */
.avs-pdp .quantity .qty:focus-visible{ outline:var(--focus)!important; outline-offset:2px; border-color:var(--violet-500); }
.avs-pdp .single_add_to_cart_button:focus-visible,
.avs-pdp .avs-buy-call:focus-visible,
.avs-stick .avs-stick-go:focus-visible{ border-radius:var(--pill); }

/* ---------------------------------------------------------------
   17. MOTION
   --------------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  .avs-pdp *,
  .avs-stick,
  .avs-lb,
  .avs-lb *{ transition:none!important; animation:none!important; }
  .avs-gal-open:hover .avs-gal-img{ transform:none; }
  .avs-pdp .single_add_to_cart_button:hover,
  .avs-pdp ul.products li.product:hover,
  .avs-pdp .avs-doc-list a:hover,
  .avs-gal-thumb:hover{ transform:none; }
}

/* ---------------------------------------------------------------
   18. THE THEME'S SCROLL TO TOP CONTROL

   Astra parks a 32x32 button in the bottom right corner, which is
   the corner this page gives to the sticky purchase bar. Measured at
   1440 and at 390, elementFromPoint at the control's own centre
   returns the bar every time: it can never be pressed, and it is
   16px under the touch target floor besides. A control that cannot
   be pressed is worse than no control, and the bar's own button
   already carries the reader back to the buy box.
   --------------------------------------------------------------- */
body.single-product #ast-scroll-top{ display:none!important; }


/* ---------------------------------------------------------------
   THE QUANTITY BLOCK, ON THE TWO COLUMN PAGE

   The word "Quantity" sat on its own line above the stepper and the
   block came to 82px. The row it shares with Add to cart is
   align-items:stretch, so that figure became the height of the most
   important control on the page: the button asked for 60px and was
   given 80. The word moves beside the stepper instead, which costs
   nothing and hands 22px back.

   The button's basis comes down with it. At 240px the wider inline
   row pushed the button onto a line of its own at 1440, which cost
   more than the change saved; at 200px it stays beside the stepper
   in both columns and still renders about 250px wide. Below 1024px
   the button already takes a full row of its own, so none of this
   reaches a phone.
   --------------------------------------------------------------- */
@media (min-width:1024px){
  .avs-pdp .quantity{ flex-direction:row; align-items:center; gap:10px; }
  .avs-pdp .quantity .qty{ width:80px; }
  /* The waiting label ("Choose options first") is the longest thing the
     button ever says. It stays on one line: the row is a few pixels short of
     it at 1440 with the stock padding, which broke the label in two. */
  body.woocommerce-js .avs-pdp.product form.cart .button.single_add_to_cart_button,
  body.single-product .avs-pdp button.single_add_to_cart_button,
  body.single-product .avs-pdp .single_add_to_cart_button{
    flex:1 1 200px; white-space:nowrap; padding-left:16px!important; padding-right:16px!important;
  }
}

/* ---------------------------------------------------------------
   A SHORT SCREEN

   A 1366x768 laptop has 561px of page under a 143px header, and the
   whole purchase decision has to fit in it, in the state the reader
   is actually in when they want the button: options chosen, not
   untouched. Nothing here drops below a floor: the button keeps a
   48px target and 19px type, the options keep theirs, the type stays
   at 17px. What goes is padding, and only on a short screen.

   The two things that have to fit are the photograph in the left
   column and the button in the right, and they are one budget only
   in that both are measured from the same 255px starting line. So
   neither is paid for out of the other: the picture is fitted to the
   screen instead of being cropped by it, and the column is fitted by
   not growing when a choice is made.

   Where the pixels come from is the whole point, because an earlier
   pass paid for the button out of the two products it happened to
   test. Driving a real click through every group on the twenty six
   hardest products found three more that still lost the button:
   Silver Sport 2 at 714..795, Trunk Support at 717..797 and the EZ
   Adjust crutches at 810..890, whose title alone runs three lines.
   None of that came out of the photograph or a target. It came from
   four places that were spending screen on nothing:

   the letterboxing, which is the big one and is paid by the gallery
   without costing it a pixel (see the hero rule below); an 82px
   quantity block whose label sat on its own line and stretched the
   button to 80px through align-items:stretch; a lavender card round
   the fixed attributes, which are not one of the five things the
   first screen owes the reader; and the per group "not made with"
   note, which keeps every word and loses its air.

   The selectors are long because two other sheets are longer:
   WooCommerce's grid sheet owns the padding from a five class
   selector, and the waiting state above pins its own height with
   !important. Both figures are given here so the button cannot
   change size at the moment a choice is made, which would be the
   very shift this round was asked to remove.
   --------------------------------------------------------------- */
@media (min-width:1024px) and (max-height:820px){
  body.woocommerce-js .avs-pdp.product form.cart .button.single_add_to_cart_button,
  body.single-product .avs-pdp button.single_add_to_cart_button,
  body.single-product .avs-pdp button.single_add_to_cart_button.disabled,
  body.single-product .avs-pdp button.single_add_to_cart_button.wc-variation-selection-needed,
  body.single-product .avs-pdp button.single_add_to_cart_button[aria-disabled="true"]{
    min-height:48px!important; padding:9px 28px!important;
  }
  .avs-pdp .avs-var{ margin-bottom:6px; padding-bottom:6px; }
  .avs-pdp .avs-buy{ margin-top:4px; padding-top:8px; }
  .avs-pdp .avs-sum-head .product_title{ margin-bottom:2px; }
  .avs-pdp-crumbs{ margin-bottom:4px; }
  /* Between the price line and the first question, and between one question
     and the next. Four pixels each, taken from white space, not from targets:
     every option box is still 48px and every legend still reads at 17px. */
  .avs-pdp .avs-var-g{ margin-bottom:8px; }
  .avs-pdp .avs-var-lg{ margin-bottom:2px; }

  /* THE NAME

     One more step down than the 2.25rem the wide page settled on, because
     a 509px screen is 132px shorter than a 641px one and the name is the
     block with the most give in it. 33.6px is still twice the body size
     and still the largest thing in the column. Only the ceiling moves. */
  .avs-pdp h1.product_title{ font-size:clamp(1.75rem, 1.1rem + 1.2vw, 2.1rem); }

  /* QUANTITY

     The word is already beside the stepper by here. On a short screen the
     controls come down to the 48px floor as well, which takes the row from
     56px to 48px and the button with it. Nothing goes under the floor and
     the figure is still 20px. */
  .avs-pdp .quantity .qty{ min-height:48px; width:76px; }
  .avs-pdp .avs-qty-b{ width:48px; min-width:48px; min-height:48px; }

  /* THE PHOTOGRAPH

     The stage takes its height from the column's width and a 1:1 ratio, which
     at 1366 is 573px against 509px of screen: the bottom 62px of every
     product, casters and all, was cut off by the fold. Fit the picture to the
     screen rather than crop it. The image is already object-fit:contain, so
     dropping the fixed ratio letterboxes the sides instead of trimming the
     product, and clicking it still opens the full size shot. */
  .avs-pdp .avs-gal-img{
    aspect-ratio:auto;
    height:calc(100vh - 272px);
    max-height:none;
  }
  /* The 251 products with nothing photographed yet get the same treatment. A
     573px plate that says "photograph coming" and then runs off the bottom of
     the screen is worse than a short one that fits and can be read. */
  .avs-pdp .avs-gal-stage.avs-gal-plate{
    aspect-ratio:auto; height:calc(100vh - 272px);
  }
}

/* ---------------------------------------------------------------
   THE LETTERBOX

   Fitting the picture to a short screen left the gallery column
   holding width it cannot use. Every one of the 397 product
   photographs is square, checked, not assumed, so a picture capped
   at 496px tall paints 496px wide and the column's remaining 75px
   at 1366 is blank white either side of it.

   Give the gallery exactly the width its own height cap allows and
   the rest goes to the column that is short of it. The photograph
   is the same 496x496 before and after, on every product, so this
   is the one saving in the block that is not a trade at all: it is
   width nobody was using. What it buys is real, because the boxes
   and the title stop wrapping: EZ Adjust drops from three title
   lines to two, and Silver Sport's footrest names fit their boxes.

   Below 1100 the theme's navigation wraps to a second row, the
   content starts 60px lower and no arrangement of this column
   fits the fold, so the transfer is not made there: the two
   columns are too narrow for it to pay and the old behaviour is
   left alone.
   --------------------------------------------------------------- */
@media (min-width:1100px) and (max-height:820px){
  .avs-pdp .avs-pdp-hero{
    grid-template-columns:minmax(0, calc(100vh - 270px)) minmax(0, 1fr);
  }
}

/* ==========================================================================
   VERTICAL RHYTHM, 22 September 2026
   The page read as line after line with nothing between them. Every value
   below is VERTICAL ONLY: row-gap, margin-top, margin-bottom. Nothing here
   touches a width, a horizontal padding, a font size or a control height,
   because the column widths were right as they were.
   ========================================================================== */

/* "Who it's for" and "Why this one" sat 5px apart and read as one block. */
.avs-intro{ row-gap:12px; }

/* Free shipping / 30-day returns / Expert help: 6px apart. */
.avs-assure{ row-gap:14px; }

/* "Item number" and "Brand" were 4px apart, the tightest pair on the page.
   Carries the full selector because .avs-pdp .avs-ids .avs-ident sets the gap
   shorthand; row-gap alone leaves the 26px column gap between codes intact. */
.avs-pdp .avs-ids .avs-ident{ row-gap:12px; }
/* "Brand" is a sibling paragraph, not part of that row, and sat 4px under it. */
.avs-pdp .avs-ids .avs-ids-brand{ margin-top:12px; }

/* The at a glance tiles, and the label above each value inside them. */
.avs-hl-grid{ row-gap:16px; }
.avs-hl-t{ row-gap:5px; }

/* Eleven feature bullets 8px apart is a wall of text. Same selector the 8px
   came from, so it covers every bullet list in the description sections. */
.avs-sec-b ul:not(.avs-doc-list):not(.avs-spec-multi) li{ margin-bottom:12px; }
.avs-sec-b ul:not(.avs-doc-list):not(.avs-spec-multi) li:last-child{ margin-bottom:0; }

@media (max-width:1023px){
  /* On one column the gallery ended 4px above the options, so the photo
     caption and "Choose options" collided at 360px. */
  .avs-pdp-hero > .avs-gal{ margin-bottom:20px; }
}

/* The breadcrumb row sat 10px below the nav and 8px above both the title and
   the photo, so it read as attached to both. */
.avs-pdp-crumbs{ margin-top:14px; margin-bottom:22px; }

/* Title to "Who it's for". */
.avs-intro{ margin-top:22px; }

/* The intro ran straight into the buy box. The card is nearly the same white
   as the page, so the separation has to come from the gap, not from its edge. */
.avs-buy{ margin-top:34px; }

/* Inside the box the price, the Color question and the Quantity row were all
   12px apart, which is why they read as one block. The extra specificity is
   needed because variants.css sets these on the bare class. */
.avs-pdp .avs-var{ margin-top:20px; margin-bottom:20px; padding-bottom:20px; }
.avs-pdp .avs-var-lg{ margin-bottom:10px; }

/* The zoom control is a <button>, and it only cleared its background in the
   resting state, so Astra painted its own blue on hover and on focus. The image
   carries 36px of transparent padding, so that blue showed as a thick frame
   around the photo. The image already lifts and softens its shadow on hover,
   which is all the feedback it needs. */
.avs-pdp .avs-gal-open:hover,
.avs-pdp .avs-gal-open:focus,
.avs-pdp .avs-gal-open:active{ background:none; box-shadow:none; }

/* The amber halo behind the buy card used to start 26px ABOVE it and blur
   another 28px upward, so it washed straight over the gap between the intro and
   the card: the gap was there in the box model but the eye could not see it.
   Held inside the card top now, so it still warms the sides and the bottom.
   (inset and the gradient origin are set on .avs-buy::after above.)

   On a phone .avs-buy is display:contents, so its margin does nothing and the
   price row is what follows the intro. It needs the gap instead. */
@media (max-width:1023px){
  .avs-pdp .avs-pdp-hero .avs-buy-top{ margin-top:26px; }
  .avs-pdp .avs-pdp-hero .avs-p65{ margin-top:16px; }
}

/* Specification rows whose manufacturer documents disagree (Ask Avante storefront audit). */
.avs-pdp .avs-spec-flag{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#fff4e0;color:#5c3500;font-size:.9375rem;line-height:1.45}
.avs-pdp .avs-hl-flag{color:#8a4b00;font-size:.9375rem;font-weight:700}
.avs-pdp .avs-hl-flag-link{font-size:.875rem;color:#2e1a5e;text-decoration:underline}
.avs-pdp .avs-spec-flag--option{background:#eef0fb;color:#2e1a5e}
.avs-pdp .avs-spec-disputed{display:inline-block;font-weight:700;color:#8a4b00}
