
/*
 * Illustrated notes directly under a product name.
 * Append to the current presentation owner; no header, gallery, sticky-bar or
 * purchase-form rules. Readiness is set only after three real photo chips exist.
 * A new semantic list avoids competing with the existing story/notes movers.
 *
 * Desktop native budget: 46 + 4 + 18 + 4/6 margins = 78px.
 * Replaces the measured 45.19px character block; 31px of native title/facts/price
 * spacing is recovered below, so the net desktop increase is about 1.81px.
 * Phone budget for the current native reviewed layout:
 * 46px image + 4px gap + 16px label + 6/8px outer margins = 80px.
 * Replaces a 41.5px character block. Native title/facts/price spacing reductions
 * recover 27px, for a net 11.5px increase with one-line labels.
 * Labels may use two lines; a two-line visual clamp prevents overflow.
 * Complete label text remains in the semantic DOM for assistive technology.
 */
@layer cx-shopping47 {
  html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .cx-notes-under-name {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    order: -27 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 4px 0 6px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    list-style: none !important;
    direction: rtl !important;
    text-align: center !important;
  }

  html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .cx-notes-under-name > .cx-notes-under-name__item {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 4px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    list-style: none !important;
    text-align: center !important;
  }

  html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .cx-notes-under-name > .cx-notes-under-name__item::before,
  html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .cx-notes-under-name > .cx-notes-under-name__item::after {
    content: none !important;
    display: none !important;
  }

  /* Keep each image's real inline background image/position/atlas size intact. */
  html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] .cx-notes-under-name__image {
    box-sizing: border-box !important;
    display: block !important;
    width: 46px !important;
    inline-size: 46px !important;
    height: 46px !important;
    block-size: 46px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background-repeat: no-repeat !important;
    mix-blend-mode: normal !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    clip-path: none !important;
    box-shadow: none !important;
  }

  html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] .cx-notes-under-name__label {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cx-catalogue-ink, #382c29) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 18px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  /* These lines are replaced only after the verified illustrated strip is ready. */
  html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > :is(.cx-catalogue-character,.cxh4-character,.cxfive-character) {
    display: none !important;
  }

  /* Hide only the compact source explicitly marked as moved by the JS owner.
     Full native fragrance pyramids and fuller stories are intentionally unmatched. */
  html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] .cx-catalogue-notes[data-cx-notes-moved="1"] {
    display: none !important;
  }

  /* Desktop native summaries only: recover whitespace without shrinking type
     or touching the cart. Bespoke title wrappers keep their zero margins. */
  @media (min-width: 761px) {
    html body.single-product.cx-catalogue-native:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > h1.product_title {
      margin-bottom: 10px !important;
    }

    html body.single-product.cx-catalogue-native:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] .cx-catalogue-he-name {
      margin-top: 6px !important;
    }

    html body.single-product.cx-catalogue-native:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .cx-product-facts {
      margin-top: 4px !important;
      margin-bottom: 8px !important;
    }

    html body.single-product.cx-catalogue-native:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .price {
      margin-bottom: 12px !important;
    }
  }

  @media (max-width: 760px) {
    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .cx-notes-under-name {
      column-gap: 8px !important;
      margin: 6px 0 8px !important;
    }

    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .cx-notes-under-name > .cx-notes-under-name__item {
      gap: 4px !important;
    }

    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] .cx-notes-under-name__image {
      width: 46px !important;
      inline-size: 46px !important;
      height: 46px !important;
      block-size: 46px !important;
      border-radius: 3px !important;
    }

    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] .cx-notes-under-name__label {
      font-size: 12px !important;
      line-height: 16px !important;
      max-height: 32px !important;
    }

    /* Direct native H1 only: bespoke title wrappers already have zero margin. */
    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > h1.product_title {
      margin-bottom: 8px !important;
    }

    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] .cx-catalogue-he-name {
      margin-top: 6px !important;
    }

    /* Small existing gaps only; preserve bespoke title scale and line heights. */
    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] :is(.cxh4-name,.cxfive-name) {
      margin-bottom: 2px !important;
    }

    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .cx-product-facts {
      margin-top: 4px !important;
      margin-bottom: 8px !important;
    }

    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] > .price {
      margin-bottom: 10px !important;
    }
  }

  @media (max-width: 359px) {
    html body.single-product:is(.cx-catalogue-native:not(.cxh4-page),.cxh4-page,.cxfive-page):is(body,#cx-palette-unified):has(#cx-store):has(#cx-search):has(.cx-canonical-global-header) #main .type-product:is(.cx-catalogue-product:not(.cxh4-product),.cxh4-product,.cxfive-product) .summary.entry-summary[data-cx-notes-under-name="1"] .cx-notes-under-name__image {
      width: 44px !important;
      inline-size: 44px !important;
      height: 44px !important;
      block-size: 44px !important;
    }
  }
}
