/* One visual stage per product, with no absolute art crossing into copy. */
body .pagoto-editorial-v12 .pe-v12-mini-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:30px 20px;align-items:stretch}
body .pagoto-editorial-v12 .pe-v12-flavour-grid{align-items:stretch;gap:42px 25px}
body .pagoto-editorial-v12 .pe-v12-flavour{display:flex;flex-direction:column;min-width:0;padding-top:0}
body .pagoto-editorial-v12 .pe-v12-flavour[hidden]{display:none}
body .pagoto-editorial-v12 .pe-v12-flavour-art{height:340px;isolation:isolate;overflow:hidden;border-radius:18px;background:var(--pe-tone);display:flex;align-items:center;justify-content:center;padding:20px 14px 30px}
body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-art{height:225px;padding:16px 8px 28px}
body .pagoto-editorial-v12 .pe-v12-flavour-art.pe-v12-composition--with-pack>.pe-v12-pack-wrap[data-pagoto-pack-wrap][data-pack-blend],
body .pagoto-editorial-v12 .pe-v12-artstage.pe-v12-composition--with-pack>.pe-v12-pack-wrap[data-pagoto-pack-wrap][data-pack-blend]{position:relative;inset:auto;width:100%;height:100%;max-width:none;transform:none;mix-blend-mode:normal;display:flex;align-items:center;justify-content:center;z-index:2}
body .pagoto-editorial-v12 .pe-v12-original-pack[data-pagoto-pack]{position:static;display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;transform:scale(var(--pack-scale,1));filter:drop-shadow(0 10px 9px #50352a18);padding:0;transition:transform .2s ease}
body .pagoto-editorial-v12 .pe-v12-flavour-art:hover .pe-v12-original-pack{transform:translateY(-4px) scale(var(--pack-scale,1))}
body .pagoto-editorial-v12 .pe-v12-flavour-halo{display:none}
body .pagoto-editorial-v12 .pe-v12-flavour-copy{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;align-items:start;min-height:88px;padding:17px 0 13px;border-bottom:1px solid #59382d33;margin-top:auto}
body .pagoto-editorial-v12 .pe-v12-flavour-copy .pe-v12-number{display:none}
body .pagoto-editorial-v12 .pe-v12-flavour-copy h3{margin:0;font-size:20px;line-height:1.35;min-width:0;overflow-wrap:break-word}
body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-copy{min-height:85px}
body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-copy h3{font-size:18px}
body .pagoto-editorial-v12 .pe-v12-select{margin:0;width:44px;min-width:44px;height:44px;padding:0;border:1px solid #56372a35;border-radius:50%;align-items:center;justify-content:center;background:#ffffff60}
body .pagoto-editorial-v12 .pe-v12-select[aria-pressed=true]{background:var(--pe-ink);color:var(--pe-tone)}
body .pagoto-editorial-v12 .pe-v12-select-label{display:none}
body .pagoto-editorial-v12 .pe-v12-pack-caption{position:absolute;bottom:6px;left:8px;width:calc(100% - 16px);font-size:11px;line-height:1.4;opacity:1;color:var(--pe-ink);margin:0;z-index:3;pointer-events:none}
body .pagoto-editorial-v12 .pe-v12-spotlight{gap:36px;align-items:center;min-height:450px}
body .pagoto-editorial-v12 .pe-v12-spotlight .pe-v12-artstage{position:relative;inset:auto;width:100%;height:460px;margin:0;padding:22px 28px 35px;overflow:hidden;isolation:isolate}
body .pagoto-editorial-v12 .pe-v12-artword{opacity:.08;pointer-events:none}
body .pagoto-editorial-v12--product .pe-v12-artstage{height:440px}
body .official-product[data-official-world="K-Beauty"] .official-product-image{background:#f0f0e9!important;border:1px solid #dcdcd2!important;border-radius:16px!important;aspect-ratio:4/5;overflow:hidden;display:block}
body .official-product[data-official-world="K-Beauty"] .official-product-image>a{height:100%;width:100%;display:flex;align-items:center;justify-content:center;padding:25px 20px 45px}
body .official-product[data-official-world="K-Beauty"] .official-product-views{height:100%;width:100%;display:block}
body .official-product[data-official-world="K-Beauty"] .official-product-primary{width:100%;height:100%;object-fit:contain;object-position:center;transform:none;border-radius:0;mix-blend-mode:multiply;padding:0}
body .official-product[data-official-world="K-Beauty"] .official-product-image .official-art-caption{font-size:11px;left:12px;right:12px;bottom:11px;margin:0;background:transparent;padding:0;max-width:calc(100% - 24px);text-align:center}
body .official-product[data-official-world="K-Beauty"] .official-product-copy{display:flex;flex-direction:column;flex:1}
body .official-product[data-official-world="K-Beauty"]{display:flex;flex-direction:column}
body .official-product[data-official-world="K-Beauty"] .official-product-actions{margin-top:auto}
body .official-product[data-official-world="K-Beauty"] .official-product-brand{min-height:39px;display:flex;align-items:flex-start}
body .official-product[data-official-world="K-Beauty"] h3{min-height:80px}
.beauty-product-identity{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:24px;padding:24px;background:#e7e3ed;width:100%;min-height:100%;color:#442f4d;overflow:hidden}
.beauty-product-identity[data-beauty-identity="1"]{background:#ede2db;color:#573c30}
.beauty-product-identity[data-beauty-identity="2"]{background:#e0e9e1;color:#284b3d}
.beauty-product-identity[data-beauty-identity="3"]{background:#e5e5ef;color:#3f3b5d}
.beauty-product-identity>span{font-size:12px;font-weight:700;letter-spacing:.08em;border-bottom:1px solid currentColor;padding-bottom:10px;width:100%}
.beauty-product-identity>strong{font-size:clamp(18px,2vw,27px);line-height:1.25;letter-spacing:-.035em;overflow-wrap:anywhere}
.beauty-product-identity>small{font-size:12px;line-height:1.5;padding-top:14px}
body .atelier-product[data-product-world="beauty"] .catalogue-detail-art>img{height:490px;width:100%;object-fit:contain;padding:25px;mix-blend-mode:multiply}
body .atelier-product[data-product-world="beauty"] .catalogue-gallery-stage{background:transparent}
body .atelier-product[data-product-world="beauty"] .catalogue-gallery-stage>img{height:490px;width:100%;max-width:100%;object-fit:contain;padding:25px;mix-blend-mode:multiply}
body .atelier-product[data-product-world="beauty"] .beauty-product-identity{min-height:440px;border-radius:12px}
body .official-product[data-official-world="Pagoto"] .official-product-image{aspect-ratio:4/5;position:relative;overflow:hidden;border-radius:16px!important;background:#f0e4dc!important;border:1px solid #dacfc8!important}
body .official-product[data-official-world="Pagoto"] .official-product-image>a{height:100%;display:block;padding:20px 16px 38px}
body .official-product[data-official-world="Pagoto"] .official-product-primary{height:100%;width:100%;object-fit:contain;transform:scale(var(--pack-scale,1));mix-blend-mode:normal}
body .official-product[data-official-world="Pagoto"] .official-art-caption{background:transparent;font-size:11px;text-align:center}
@media(min-width:1600px){body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-art{height:270px}}
@media(max-width:1150px){body .pagoto-editorial-v12 .pe-v12-mini-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px}body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-art{height:240px}body .pagoto-editorial-v12 .pe-v12-spotlight .pe-v12-artstage{height:400px}body .pagoto-editorial-v12 .pe-v12-flavour-art{height:280px}}
@media(max-width:760px){body .pagoto-editorial-v12 .pe-v12-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 14px}body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-art{height:200px;padding:14px 7px 30px}body .pagoto-editorial-v12 .pe-v12-flavour-art{height:260px}body .pagoto-editorial-v12 .pe-v12-flavour-copy{min-height:86px}body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-copy h3{font-size:17px}body .pagoto-editorial-v12 .pe-v12-spotlight{grid-template-columns:1fr 1fr;gap:18px;min-height:0}body .pagoto-editorial-v12 .pe-v12-spotlight .pe-v12-artstage{height:320px;padding:12px 8px 30px}body .official-product[data-official-world="K-Beauty"] .official-product-image>a{padding:18px 12px 42px}body .official-product[data-official-world="K-Beauty"] h3{min-height:85px}body .atelier-product[data-product-world="beauty"] .catalogue-gallery-stage>img{height:390px}}
@media(max-width:560px){body .pagoto-editorial-v12 .pe-v12-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-art{height:230px}body .pagoto-editorial-v12 .pe-v12-spotlight{display:grid;grid-template-columns:1fr;gap:18px;padding:32px 6%}body .pagoto-editorial-v12 .pe-v12-spotlight .pe-v12-title{width:auto;min-height:0;max-width:100%;font-size:40px}body .pagoto-editorial-v12 .pe-v12-spotlight .pe-v12-artstage{position:relative;inset:auto;width:100%;height:340px}body .pagoto-editorial-v12 .pe-v12-flavour-art{height:235px}body .pagoto-editorial-v12 .pe-v12-flavour-copy h3{font-size:18px}body .pagoto-editorial-v12 .pe-v12-pack-caption{font-size:10px}body .official-product[data-official-world="K-Beauty"] h3{min-height:96px}.beauty-product-identity{padding:16px;gap:16px}.beauty-product-identity>strong{font-size:18px}}
@media(max-width:380px){body .pagoto-editorial-v12 .pe-v12-flavour--mini .pe-v12-flavour-art{height:195px}body .pagoto-editorial-v12 .pe-v12-flavour-art{height:205px}body .pagoto-editorial-v12 .pe-v12-flavour-copy{grid-template-columns:minmax(0,1fr) 36px;gap:5px}body .pagoto-editorial-v12 .pe-v12-flavour-copy h3{font-size:16px}body .pagoto-editorial-v12 .pe-v12-select{width:36px;min-width:36px;height:44px}}
@media(prefers-reduced-motion:reduce){body .pagoto-editorial-v12 .pe-v12-original-pack[data-pagoto-pack]{transition:none}body .pagoto-editorial-v12 .pe-v12-flavour-art:hover .pe-v12-original-pack{transform:none}}

/* Override former staggered flavour rows at every breakpoint. */
body .pagoto-editorial-v12 .pe-v12-flavour-grid>.pe-v12-flavour:nth-child(n),body .pagoto-editorial-v12 .pe-v12-mini-grid>.pe-v12-flavour:nth-child(n){padding-top:0}

/* V28: visible alpha bounds share Biscof's height, centre and bottom baseline.
   cqmin uses the stage's smaller dimension; the raster aspect ratio stays intact. */
body [data-pagoto-geometry-stage]{container-type:size}
body .pagoto-geometry-stage{display:block;position:relative;width:100%;height:100%;min-width:0;min-height:0;container-type:size}
body .official-product-views[data-pagoto-geometry-stage]{position:relative;display:block;width:100%;height:100%}
body .pagoto-editorial-v12 .pe-v12-original-pack[data-pagoto-pack][data-pagoto-geometry],
body .official-product .official-product-views[data-pagoto-geometry-stage]>.official-product-primary[data-pagoto-geometry],
body .product[data-brand="Pagoto"] .product-picture>a[data-pagoto-geometry-stage]>img[data-pagoto-geometry],
body .hero-v4.hero-universe #heroStage[data-pagoto-geometry-stage] #heroPack[data-pagoto-geometry],
body .pagoto-geometry-stage>img[data-pagoto-geometry]{
 position:absolute;display:block;inset:auto;
 left:calc(50% + var(--pg-x) * 100cqmin - var(--pg-width) * 50cqmin);
 top:calc(50% + var(--pg-y) * 100cqmin - var(--pg-height) * 50cqmin);
 width:calc(var(--pg-width) * 100cqmin);height:calc(var(--pg-height) * 100cqmin);
 min-width:0;min-height:0;max-width:none;max-height:none;
 object-fit:contain;object-position:center;padding:0;margin:0;border:0;border-radius:0;
 transform:none!important;mix-blend-mode:normal;transition:filter .2s ease;
}
body .product[data-brand="Pagoto"] .product-picture>a[data-pagoto-geometry-stage]{padding:0;position:relative}
body .hero-product-card>.pagoto-geometry-thumb{width:112px;height:135px;align-self:center;justify-self:center}
body .official-category-card .official-category-geometry{height:calc(100% - 38px);width:100%;margin:0}
body .bundle-slot-art>.pagoto-geometry-stage,
body .bundle-saved-image>.pagoto-geometry-stage{height:100%;width:100%}
body .bundle-hero-art-pagoto{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px}
body .bundle-hero-art-pagoto .bundle-hero-product{position:relative;inset:auto;width:100%;height:100%;transform:none;margin:0;display:flex;flex-direction:column;justify-content:flex-end}
body .bundle-hero-art-pagoto .bundle-hero-product>.pagoto-geometry-stage{flex:1;min-height:0;width:100%;height:calc(100% - 58px)}
body .bundle-hero-art-pagoto .bundle-hero-product>figcaption{position:relative;inset:auto;transform:none;min-height:58px;display:block;margin:0;text-align:center;line-height:1.45;padding:8px 3px}
body .bundle-theme-scoop .bundle-world-art{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:260px;gap:8px;padding:12px}
body .bundle-theme-scoop .bundle-world-product{position:relative;inset:auto;width:100%;height:100%;transform:none;display:flex;flex-direction:column;justify-content:flex-end}
body .bundle-theme-scoop .bundle-world-product>.pagoto-geometry-stage{height:calc(100% - 38px);width:100%;flex:1}
body .bundle-theme-scoop .bundle-world-product>small{position:relative;inset:auto;min-height:38px;display:block;margin:0;text-align:center;padding:5px 2px;line-height:1.4}
@media(max-width:760px){body .hero-product-card>.pagoto-geometry-thumb{width:100%;height:126px}body .bundle-hero-art-pagoto{gap:8px}body .bundle-theme-scoop .bundle-world-art{height:235px}}
@media(prefers-reduced-motion:reduce){body [data-pagoto-geometry]{transition:none!important}}

/* v37 keeps every printed packaging mark: crop only the source background. */
body img[data-pagoto-geometry]{clip-path:var(--pg-clip,none);mix-blend-mode:normal}

/* Exact brochure/owner packs also share the cart and routine presentation. */
body .v37-pagoto-thumb{overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#fff9ed,#ead8c3);border:0;border-radius:0}
body .v31-bag-row>.v37-pagoto-thumb{width:85px;height:110px}
body .v31-daily-item>.v37-pagoto-thumb{width:120px;height:150px}
body .v31-routine-card .v37-pagoto-thumb{width:100%;height:220px}
@media(max-width:800px){body .v31-routine-card .v37-pagoto-thumb{height:190px}}
@media(max-width:480px){body .v31-daily-item>.v37-pagoto-thumb{width:75px;height:105px}body .v31-routine-card .v37-pagoto-thumb{height:155px}}

body .cafe-v29 .cf-idea-art.pagoto-geometry-stage{height:auto;aspect-ratio:1/1;container-type:size;background:radial-gradient(ellipse at 50% 30%,#fff7e8,#e8d6c1)}
body .cafe-v29 .cf-idea-art.pagoto-geometry-stage>img[data-pagoto-geometry]{position:absolute;inset:auto;left:calc(50% + var(--pg-x)*100cqmin - var(--pg-width)*50cqmin);top:calc(50% + var(--pg-y)*100cqmin - var(--pg-height)*50cqmin);width:calc(var(--pg-width)*100cqmin);height:calc(var(--pg-height)*100cqmin);max-width:none;aspect-ratio:auto;object-fit:contain;transform:none!important}

body .product .product-picture>a.pagoto-geometry-stage[data-pagoto-geometry-stage]{padding:0;position:relative}
body .bag-row>.legacy-original-thumb{width:65px;height:80px;overflow:hidden;background:#f4e8d5}

body .pp-v29 :is(.pp-v29-product-stage,.pp-v29-recipe-art)[data-pagoto-geometry-stage]{container-type:size;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#fff9e8,#efd7b5)}
body .pp-v29 .pp-v29-recipe-art[data-pagoto-geometry-stage]{height:230px;padding:0}
body .pp-v29 [data-pagoto-geometry-stage]>img[data-pagoto-geometry]{position:absolute;inset:auto;left:calc(50% + var(--pg-x)*100cqmin - var(--pg-width)*50cqmin);top:calc(50% + var(--pg-y)*100cqmin - var(--pg-height)*50cqmin);width:calc(var(--pg-width)*100cqmin);height:calc(var(--pg-height)*100cqmin);max-width:none;max-height:none;object-fit:contain;mix-blend-mode:normal;padding:0;transform:none!important}
body .pp-v29 [data-pagoto-geometry-stage]>span{z-index:2}
