#s23-gallery-v28-preview-notice{position:fixed;z-index:9999;inset:auto 16px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border:1px solid #b99caa;border-radius:18px;background:#fffaf6;color:#33242b;box-shadow:0 8px 32px #261b2533;font:16px/1.5 system-ui,sans-serif}#s23-gallery-v28-preview-notice p{margin:0}#s23-gallery-v28-preview-notice button{flex-shrink:0;border:1px solid #775466;border-radius:999px;padding:12px 18px;background:#33242b;color:#fffaf6;font:inherit;cursor:pointer}#s23-gallery-v28-preview-notice button:focus-visible{outline:3px solid #b2864d;outline-offset:3px}@media(max-width:600px){#s23-gallery-v28-preview-notice{inset:auto 10px 10px;display:block;padding:14px}#s23-gallery-v28-preview-notice button{margin-top:10px}}
/* Product photographs stay inside their responsive frame, including tall bottles. */
#im-product-container #swiper-container-gallery.container-gallery-top{width:var(--studio-photo-width,100%)!important;height:var(--studio-photo-height,auto)!important;margin-inline:auto!important;background:transparent!important;min-width:0;min-height:0;max-width:100%;box-sizing:border-box}
#im-product-container #swiper-container-gallery .swiper-wrapper,#im-product-container #swiper-container-gallery .swiper-slide{height:100%!important;min-width:0!important;min-height:0!important;box-sizing:border-box}
#im-product-container #swiper-container-gallery .swiper-slide{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden}
#im-product-container #swiper-container-gallery img.swiper-slide-image{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;box-sizing:border-box}
#im-product-container .container-gallery-thumbs img{object-fit:contain!important;object-position:center!important;transform:none!important;min-width:0!important;min-height:0!important}
/* Preserve the catalog's existing natural-height card layout. */
#im-products [id^="product_"][id$="_card"] img.im-cc-products-image,#im-product-container [id^="product_"][id$="_card"] img.im-cc-products-image{object-fit:contain!important;object-position:center!important;min-height:0!important;transform:none!important}
/* The native viewer owns sizing, keyboard, arrows, touch and zoom. */
#imShowBoxWrapper[data-studio-product-viewer] #imShowBox img{object-fit:contain!important;object-position:center!important;min-width:0!important;min-height:0!important}
#imShowBoxWrapper[data-studio-product-viewer] #imShowBoxThumbs img{object-fit:contain!important;object-position:center!important}

/* Added photographs use their own proportions; the surrounding grid remains unchanged. */
.s23-site-photos-zone{color:var(--studio-photo-text,#33242b)!important}
.s23-site-photos-grid{align-items:start}
.s23-site-photos-frame{aspect-ratio:auto!important;height:auto!important;min-height:0!important;background:transparent!important}
.s23-site-photos-frame img{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important}
.s23-site-photos-grid figcaption,.s23-site-photos-zone>h2,.s23-site-photos-zone>p{color:var(--studio-photo-text,#33242b)!important;background:var(--studio-photo-caption-surface,#fffaf6);border-radius:8px}
.s23-site-photos-grid figcaption{padding:14px 10px!important}

/* The original editorial photo slots keep native proportions and shrink with viewport limits. */
#main > section:nth-of-type(3) > div:nth-of-type(2) > a:nth-of-type(1) > div:nth-of-type(1) > img:nth-of-type(1),
#main > section:nth-of-type(5) > div:nth-of-type(2) > figure:nth-of-type(1) > img:nth-of-type(1),
#main > section:nth-of-type(5) > div:nth-of-type(2) > figure:nth-of-type(2) > img:nth-of-type(1),
#main > section:nth-of-type(5) > div:nth-of-type(2) > figure:nth-of-type(3) > img:nth-of-type(1),
#main > section:nth-of-type(6) > div:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-about > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-about > section:nth-of-type(6) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-about > section:nth-of-type(6) > div:nth-of-type(1) > article:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(2) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(3) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-peels > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-peels > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(3) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(2) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(3) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(4) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(5) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(6) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(7) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(8) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(2) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-makeup > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-makeup > section:nth-of-type(5) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(1) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(2) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(3) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(4) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(5) > figure:nth-of-type(1) > img:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(6) > figure:nth-of-type(1) > img:nth-of-type(1){display:block!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:min(80vh,680px)!important;max-height:min(80svh,680px)!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin-inline:auto!important;background:transparent!important}
#main > section:nth-of-type(3) > div:nth-of-type(2) > a:nth-of-type(1) > div:nth-of-type(1):has(> img:only-child),
#main > section:nth-of-type(5) > div:nth-of-type(2) > figure:nth-of-type(1),
#main > section:nth-of-type(5) > div:nth-of-type(2) > figure:nth-of-type(2),
#main > section:nth-of-type(5) > div:nth-of-type(2) > figure:nth-of-type(3),
#main > section:nth-of-type(6) > div:nth-of-type(1):has(> img:only-child),
#s23-v12-about > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > figure:nth-of-type(1),
#s23-v12-about > section:nth-of-type(6) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v12-about > section:nth-of-type(6) > div:nth-of-type(1) > article:nth-of-type(1) > figure:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(1) > figure:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(2) > figure:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(3) > figure:nth-of-type(1),
#s23-facials-v11 > section:nth-of-type(5) > div:nth-of-type(1) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v12-peels > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v12-peels > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(3) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(1) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(2) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(3) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(4) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(5) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(6) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(7) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(8) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(1) > figure:nth-of-type(1),
#s23-v12-lashes > section:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(2) > figure:nth-of-type(1),
#s23-v12-makeup > section:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v12-makeup > section:nth-of-type(5) > figure:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(1) > figure:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(2) > figure:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(3) > figure:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(4) > figure:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(5) > figure:nth-of-type(1),
#s23-v12-waxing > section:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > article:nth-of-type(6) > figure:nth-of-type(1){width:fit-content!important;max-width:100%!important;height:auto!important;min-height:0!important;margin-inline:auto!important;background:transparent!important}

/* Only source- and route-verified editorial photographs receive natural sizing. */
img[data-studio-gallery-photo="content"]{display:block!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:min(80vh,680px)!important;max-height:min(80svh,680px)!important;object-fit:contain!important;object-position:center!important;margin-inline:auto!important;background:transparent!important}

[data-studio-photo-caption]{color:var(--studio-photo-text,#33242b)!important;background:var(--studio-photo-caption-surface,#fffaf6)!important;border-radius:8px}

/* Existing editorial photo figures follow their image, while text cards keep their columns. */
#s23-v13-quiz > header:nth-of-type(1) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v13-book-facials > header:nth-of-type(1) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v13-book-lashes > header:nth-of-type(1) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v13-book-waxing > header:nth-of-type(1) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-v13-book-pmu > header:nth-of-type(1) > div:nth-of-type(1) > figure:nth-of-type(1),
#s23-journal-v13-000000004-reading > figure:nth-of-type(1),
#s23-journal-v13-000000005-reading > figure:nth-of-type(1),
#s23-journal-v13-000000006-reading > figure:nth-of-type(1),
#s23-journal-v13-000000007-reading > figure:nth-of-type(1),
#s23-journal-v13-000000008-reading > figure:nth-of-type(1),
#s23-journal-v13-000000009-reading > figure:nth-of-type(1),
#s23-journal-v13-00000000A-reading > figure:nth-of-type(1),
#s23-journal-v13-00000000B-reading > figure:nth-of-type(1),
#s23-journal-v13-00000000C-reading > figure:nth-of-type(1){width:fit-content!important;max-width:100%!important;height:auto!important;min-height:0!important;margin-inline:auto!important;background:transparent!important;box-sizing:border-box}
