/* vickerey item pages, desktop: Product Attributes under the photos. 2026-10-20. ASCII only.
   Load in <head> (Cssjs-head-common), after vk-cls-20261020.css. Pairs with vk-attr-layout-20261020.js
   (end of Cssjs-last-common), which only handles very long attribute lists (see below).

   Today: .itemPagePixWrapper is position:absolute (542px), the caption column has margin-left:542px,
   and .itemPageBottom (Additional Info, Option Descriptions, Product Attributes, You May Also Like,
   reviews, brand story) starts below the caption, full width. The caption (price, options, Add to Bag,
   Pairs well with, Description, Sizechart) is usually 300-600px taller than the photos, so that area
   under the photos is empty.

   New (only body.desktop and viewport >= 1025px; phones get body.mobile, tablets <= 1024px keep the
   380px layout): the caption floats right, the photo column floats left, and Additional Info,
   Option Descriptions and Product Attributes clear only the left float. Each is its own block
   formatting context (display:flow-root), so while it is beside the caption it is narrowed to the
   photo column width (537px); if the caption has already ended above it, it is full width as today.
   Everything else in .itemPageBottom clears both columns, so You May Also Like etc. start below
   whichever column is longer. DOM order, markup and the accordion script are unchanged.

   Long lists: a Product Attributes list with 24+ rows in one group (Moleskine notebooks: 25-35; the longest
   apparel lists have about 21) stays full width below the caption, exactly as today, decided by CSS
   (:has) so it is right at first paint. For other boxes that would hang far below the caption (more of
   it below the caption than beside it), the JS adds .vkAttrFull, but only while the box is still below
   the visible part of the window, so nothing the visitor can see moves. Browsers without :has (Chrome
   <105, Safari <15.4, Firefox <121) fall back to the JS rule only. */
@media only screen and (min-width: 1025px) {
  body.desktop .SKU_ProductPage > .itemPageTop::after { content: none; display: none; }
  body.desktop .SKU_ProductPage > .itemPageTop > .itemPageCaptionWrapper { float: right; width: calc(100% - 542px); margin-left: 0; }
  body.desktop .SKU_ProductPage > .itemPageTop > .itemPagePixWrapper { float: left; position: relative; top: auto; left: auto; }
  body.desktop .SKU_ProductPage > .itemPageBottom > * { clear: both; }
  body.desktop .SKU_ProductPage > .itemPageBottom > #AdditionInfoAccordion,
  body.desktop .SKU_ProductPage > .itemPageBottom > #OptionsAccordion,
  body.desktop .SKU_ProductPage > .itemPageBottom > #accordionAttributes { clear: left; display: flow-root; }
  body.desktop .SKU_ProductPage > .itemPageBottom > #AdditionInfoAccordion.vkAttrFull,
  body.desktop .SKU_ProductPage > .itemPageBottom > #OptionsAccordion.vkAttrFull,
  body.desktop .SKU_ProductPage > .itemPageBottom > #accordionAttributes.vkAttrFull,
  body.desktop .SKU_ProductPage > .itemPageBottom > .vkAttrFull ~ #OptionsAccordion,
  body.desktop .SKU_ProductPage > .itemPageBottom > .vkAttrFull ~ #accordionAttributes,
  body.desktop .SKU_ProductPage > .itemPageBottom > #accordionAttributes:has(> .SKUexpandableContent > ul.AG > li:nth-child(24)) { clear: both; }
  /* attribute rows: name and value side by side even when the column is narrow (a long value wraps
     inside its cell instead of dropping under the name). Same widths/paddings as css-shared-site. */
  body.desktop #accordionAttributes ul.AG ul.AGList { display: flex; }
  body.desktop #accordionAttributes ul.AG li.AGName { flex: 0 0 auto; }
  body.desktop #accordionAttributes ul.AG li.AGvalue { flex: 1 1 0%; min-width: 0; overflow-wrap: break-word; }
}
