/* Owner refinement17.11.2026: reduce only canonical Molisani mobile solution H1.
   Same 11 solution IDs/canonical gate; body type, media, CTA and desktop stay current. */
@layer molisan-package-columns {
  @media (max-width:767px) {
    html:has(> head > link[rel~="canonical"][href^="https://molisani.ge/"]:is([href$="/solutions/skin-wound-care.html"],[href$="/solutions/elixir.html"],[href$="/solutions/lotion.html"],[href$="/solutions/detox.html"],[href$="/solutions/antiseptic.html"],[href$="/solutions/pirveli.html"],[href$="/solutions/gold_water.html"],[href$="/solutions/aloevera.html"],[href$="/solutions/bethlehem.html"],[href$="/solutions/classic.html"],[href$="/solutions/therapeutic-solution.html"])) body.product-page[data-product-reading] #main .product-detail.full-product:is([data-order-product="skin-wound-care"],[data-order-product="elixir"],[data-order-product="lotion"],[data-order-product="detox"],[data-order-product="antiseptic"],[data-order-product="pirveli"],[data-order-product="luxury-gold-water"],[data-order-product="aloevera"],[data-order-product="bethlehem"],[data-order-product="classic"],[data-order-product="therapeutic-solution"]):has(> .product-summary > #purchase) > .product-summary > h1 { font-size:28px!important; }
  }
  @media (max-width:650px) {
    html:has(> head > link[rel~="canonical"][href^="https://molisani.ge/"]:is([href$="/solutions/skin-wound-care.html"],[href$="/solutions/elixir.html"],[href$="/solutions/lotion.html"],[href$="/solutions/detox.html"],[href$="/solutions/antiseptic.html"],[href$="/solutions/pirveli.html"],[href$="/solutions/gold_water.html"],[href$="/solutions/aloevera.html"],[href$="/solutions/bethlehem.html"],[href$="/solutions/classic.html"],[href$="/solutions/therapeutic-solution.html"])) body.product-page[data-product-reading] #main .product-detail.full-product:is([data-order-product="skin-wound-care"],[data-order-product="elixir"],[data-order-product="lotion"],[data-order-product="detox"],[data-order-product="antiseptic"],[data-order-product="pirveli"],[data-order-product="luxury-gold-water"],[data-order-product="aloevera"],[data-order-product="bethlehem"],[data-order-product="classic"],[data-order-product="therapeutic-solution"]):has(> .product-summary > #purchase) > .product-summary > h1 { font-size:27px!important; }
  }
  @media (max-width:370px) {
    html:has(> head > link[rel~="canonical"][href^="https://molisani.ge/"]:is([href$="/solutions/skin-wound-care.html"],[href$="/solutions/elixir.html"],[href$="/solutions/lotion.html"],[href$="/solutions/detox.html"],[href$="/solutions/antiseptic.html"],[href$="/solutions/pirveli.html"],[href$="/solutions/gold_water.html"],[href$="/solutions/aloevera.html"],[href$="/solutions/bethlehem.html"],[href$="/solutions/classic.html"],[href$="/solutions/therapeutic-solution.html"])) body.product-page[data-product-reading] #main .product-detail.full-product:is([data-order-product="skin-wound-care"],[data-order-product="elixir"],[data-order-product="lotion"],[data-order-product="detox"],[data-order-product="antiseptic"],[data-order-product="pirveli"],[data-order-product="luxury-gold-water"],[data-order-product="aloevera"],[data-order-product="bethlehem"],[data-order-product="classic"],[data-order-product="therapeutic-solution"]):has(> .product-summary > #purchase) > .product-summary > h1 { font-size:24.5px!important; }
  }
}

/* Preserve the native category-label type while retaining public-link colour, weight and focus. */
@layer molisan-link-standard {
  html body #main :is(.category-label,.visual-label) > a.mol-category-link:any-link {
    font-size:inherit!important;
    line-height:inherit!important;
  }
}

/* Living Water native PDP cleanup: exact Molisani canonical routes and owner only.
   Native heading, current purpose, media, package/price data, Doctor and full body are retained. */
@layer molisan-package-columns {
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-visual > .visual-label,
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-summary > p.eyebrow:has(> a.product-category-link) { display:none!important; }
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-summary > #purchase > .order-box > p.field-label:has(+ :is(.variant-row[role="group"],.mol-pdp-options[data-mol-pack-choice][role="group"])) { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important; }
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) { padding-block-start:0!important; }
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-visual { padding-block:0!important; }
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-summary { padding-block:0!important;row-gap:12px!important; }
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-summary > h1 { margin-block:0!important; }
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-summary > p.product-intro { margin-block:0!important; }
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-summary > #purchase { margin-block-start:0!important;padding-block-start:0!important;border-block-start:0!important; }
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) > .product-summary > #purchase > .order-box { margin-block-start:0!important;padding-block-start:0!important;border-block-start:0!important; }
  @media (max-width:767px) {
html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/water.html"],[href="https://molisani.ge/en/water.html"],[href="https://molisani.ge/ge/water.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="living-water"]:has(> .product-summary > #purchase) { row-gap:12px!important; }
  }
}

/* Current native purpose copy: related paragraphs and existing fallback paragraphs only. */
@layer molisan-package-columns {
  html body :is(main,#main) :is(#purpose-related,[data-purpose-related]) .product-card[data-card-id] .card-info > p.card-description[data-storefront-purpose-summary="v1"],
  html body :is(main,#main) .product-card[data-card-id] .card-info > p.storefront-card-summary[data-storefront-purpose-summary="v1"] {
    text-align:center!important;
  }
  @media (max-width:767px) {
    html:has(> head > link[rel~="canonical"]:is([href="https://molisani.ge/ru/solutions/skin-wound-care.html"],[href="https://molisani.ge/en/solutions/skin-wound-care.html"],[href="https://molisani.ge/ge/solutions/skin-wound-care.html"])) body.product-page[data-product-reading] #main .product-detail.full-product[data-order-product="skin-wound-care"] > .product-summary > p.product-intro[data-storefront-current-purpose-intro="v1"] {
      display:block!important;
    }
  }
}
/* Native Molisan purpose layout only. Existing typography, images, package actions and writers stay current.
   Ordinary native product tiles use their existing flex-column info container.
   Native compact related keeps its existing heading/info-column alignment. */
@layer molisan-package-columns {
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body:not(.home-page):not([data-home-version]):not(.product-page):not(.product-description-wide):not([data-layout="product-detail"]) #main .product-collection:not(#purpose-related *):not(#purchase *) > .product-tile[data-cms-card]:not(:is([data-cms-card="CAPSULINE-GELATIN"],[data-cms-card="CAPSULINE-VEGAN"],[data-cms-card="CAPSULINE-ENTERIC"],[data-cms-card="SUPPOSITORY-MOLDS"])) > .product-info:has(> p.product-purpose) > :is(h2,h3) { order:1!important;margin-bottom:0!important;text-align:center!important;justify-content:center!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body:not(.home-page):not([data-home-version]):not(.product-page):not(.product-description-wide):not([data-layout="product-detail"]) #main .product-collection:not(#purpose-related *):not(#purchase *) > .product-tile[data-cms-card]:not(:is([data-cms-card="CAPSULINE-GELATIN"],[data-cms-card="CAPSULINE-VEGAN"],[data-cms-card="CAPSULINE-ENTERIC"],[data-cms-card="SUPPOSITORY-MOLDS"])) > .product-info:has(> p.product-purpose) > p.product-purpose { order:2!important;min-width:0!important;margin:4px 0 12px!important;text-align:center!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body:not(.home-page):not([data-home-version]):not(.product-page):not(.product-description-wide):not([data-layout="product-detail"]) #main .product-collection:not(#purpose-related *):not(#purchase *) > .product-tile[data-cms-card]:not(:is([data-cms-card="CAPSULINE-GELATIN"],[data-cms-card="CAPSULINE-VEGAN"],[data-cms-card="CAPSULINE-ENTERIC"],[data-cms-card="SUPPOSITORY-MOLDS"])) > .product-info:has(> p.product-purpose) > .product-card-price { order:3!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body:not(.home-page):not([data-home-version]):not(.product-page):not(.product-description-wide):not([data-layout="product-detail"]) #main .product-collection:not(#purpose-related *):not(#purchase *) > .product-tile[data-cms-card]:not(:is([data-cms-card="CAPSULINE-GELATIN"],[data-cms-card="CAPSULINE-VEGAN"],[data-cms-card="CAPSULINE-ENTERIC"],[data-cms-card="SUPPOSITORY-MOLDS"])) > .product-info:has(> p.product-purpose) > :is(.mol-buy-entry,.mol-card-controls) { order:4!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body #main #purpose-related > .purpose-related-grid > .purpose-related-card[data-related-product]:not(:is([data-related-product="CAPSULINE-GELATIN"],[data-related-product="CAPSULINE-VEGAN"],[data-related-product="CAPSULINE-ENTERIC"],[data-related-product="SUPPOSITORY-MOLDS"])):has(> .purpose-related-info > h3 + p.purpose-related-summary) > .purpose-related-info > p.purpose-related-summary { min-width:0!important;max-width:100%!important;margin:0 0 12px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important; }
  @media (max-width:680px) {
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body #main #purpose-related > .purpose-related-grid > .purpose-related-card[data-related-product]:not(:is([data-related-product="CAPSULINE-GELATIN"],[data-related-product="CAPSULINE-VEGAN"],[data-related-product="CAPSULINE-ENTERIC"],[data-related-product="SUPPOSITORY-MOLDS"])):has(> .purpose-related-info > h3 + p.purpose-related-summary) > .purpose-related-image { grid-row:1 / span 2!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body #main #purpose-related > .purpose-related-grid > .purpose-related-card[data-related-product]:not(:is([data-related-product="CAPSULINE-GELATIN"],[data-related-product="CAPSULINE-VEGAN"],[data-related-product="CAPSULINE-ENTERIC"],[data-related-product="SUPPOSITORY-MOLDS"])):has(> .purpose-related-info > h3 + p.purpose-related-summary) > .purpose-related-info > p.purpose-related-summary { grid-column:2!important;grid-row:2!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body #main #purpose-related > .purpose-related-grid > .purpose-related-card[data-related-product]:not(:is([data-related-product="CAPSULINE-GELATIN"],[data-related-product="CAPSULINE-VEGAN"],[data-related-product="CAPSULINE-ENTERIC"],[data-related-product="SUPPOSITORY-MOLDS"])):has(> .purpose-related-info > h3 + p.purpose-related-summary) > .purpose-related-info > .cms-package-prices { grid-row:3!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisan.ge/"]) body #main #purpose-related > .purpose-related-grid > .purpose-related-card[data-related-product]:not(:is([data-related-product="CAPSULINE-GELATIN"],[data-related-product="CAPSULINE-VEGAN"],[data-related-product="CAPSULINE-ENTERIC"],[data-related-product="SUPPOSITORY-MOLDS"])):has(> .purpose-related-info > h3 + p.purpose-related-summary) > .purpose-related-info > .purpose-related-details { grid-row:4!important; }
  }
}

/* Existing managed Molisani related purpose: keep native thumbnail/category/heading header.
   At the native compact breakpoint, the purpose is a full-width row before prices.
   Native default/owner selection, current copy, media, fonts and cart code are unchanged. */
@layer molisan-package-columns {
  @media (max-width:680px) {
html:has(> head > link[rel~="canonical"][href^="https://molisani.ge/"]) body #main #purpose-related[data-purpose-related] .product-card[data-card-id]:has(> .card-link > .card-info > p.card-description[data-storefront-purpose-summary="v1"]) > .card-link > .card-info > p.card-description[data-storefront-purpose-summary="v1"] { min-width:0!important;max-width:100%!important;margin:0 0 12px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisani.ge/"]) body #main #purpose-related[data-purpose-related] .product-card[data-card-id]:has(> .card-link > .card-info > p.card-description[data-storefront-purpose-summary="v1"]) > .card-link > .card-info > p.card-description[data-storefront-purpose-summary="v1"] { grid-column:1 / -1!important;grid-row:3!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisani.ge/"]) body #main #purpose-related[data-purpose-related] .product-card[data-card-id]:has(> .card-link > .card-info > p.card-description[data-storefront-purpose-summary="v1"]) > .card-link > .card-info > .card-prices { grid-row:4!important; }
html:has(> head > link[rel~="canonical"][href^="https://molisani.ge/"]) body #main #purpose-related[data-purpose-related] .product-card[data-card-id]:has(> .card-link > .card-info > p.card-description[data-storefront-purpose-summary="v1"]) > .card-link > .card-info > .card-details { grid-row:5!important; }
  }
}
