/* Phytoclear: images in the ingredient section and closing texture story. */
.mask-ingredient-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(24px,4vw,56px);align-items:center;margin-top:28px;}
.mask-ingredient-layout > * {min-width:0;}
.mask-ingredient-photo,.mask-texture-story figure {margin:0;}
.mask-ingredient-photo img,.mask-texture-story img {display:block;width:100%;height:auto;}
.mask-ingredient-photo figcaption {padding-top:12px;font-size:12px;letter-spacing:.08em;color:#2F4A37;}
.mask-ingredient-layout .pd-table-wrap {margin:0;}
.mask-texture-story {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,5vw,64px);align-items:center;background:#E1EAD8;box-shadow:0 0 0 100vmax #E1EAD8;clip-path:inset(0 -100vmax);}
.mask-texture-copy {min-width:0;}
.mask-texture-copy h2 {font-size:clamp(28px,3.5vw,44px);line-height:1.25;}
.mask-texture-copy p:not(.eyebrow) {max-width:34em;}
.mask-texture-story img {aspect-ratio:1;object-fit:contain;}
@media(max-width:700px){
  .mask-ingredient-layout,.mask-texture-story {grid-template-columns:minmax(0,1fr);gap:24px;}
  .mask-ingredient-layout {margin-top:20px;}
  .mask-texture-story {padding-top:36px;padding-bottom:36px;}
}

/* Give the botanical scene more presence, trimming mostly the empty wood. */
.mask-ingredient-photo {width:100%;max-width:400px;margin-inline:auto;}
.mask-ingredient-photo img {aspect-ratio:2/3;object-fit:cover;object-position:center;}
.pd-carousel {position:relative;}
.pd-image-arrow {position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:flex;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:2px solid #2F4A37;border-radius:50%;background:#2F4A37;color:#fff;cursor:pointer;box-shadow:0 3px 12px #1e362b35;}
.pd-image-arrow:hover {background:#1e362b;border-color:#1e362b;color:white;}
.pd-image-arrow:focus-visible,.pd-gallery:focus-visible {outline:3px solid #68864F;outline-offset:3px;}
.pd-prev {left:10px;}
.pd-next {right:10px;}
.pd-image-count {position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:4px 12px;border-radius:20px;background:rgba(255,255,255,.94);color:#2F4A37;font-size:13px;z-index:2;}

/* Botanical reading section, scoped to the mask page. */
.neem-story {margin-top:48px;padding-top:32px;border-top:1px solid #b5c4a7;scroll-margin-top:150px;}
.neem-story > h3 {font-family:Lora,Georgia,serif;font-size:clamp(24px,3vw,34px);line-height:1.35;margin:10px 0 20px;color:#2F4A37;}
.neem-story p {line-height:1.85;}
.neem-compounds {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0;}
.neem-compounds section {min-width:0;background:#f3f6ee;padding:24px;border-top:3px solid #68864F;}
.neem-number {font-family:Lora,Georgia,serif;color:#68864F;font-size:28px;}
.neem-story h4 {font-size:17px;line-height:1.5;margin:12px 0;color:#2F4A37;}
.neem-compounds p {font-size:14px;margin:0;overflow-wrap:break-word;}
.neem-in-formula {padding:22px 26px;background:#E1EAD8;border-left:3px solid #2F4A37;}
.neem-in-formula h4 {margin-top:0;}
.neem-in-formula p {margin-bottom:0;}
.neem-research-note {font-size:13px;color:#58644f;margin-top:20px;}
.neem-sources {margin-top:16px;font-size:13px;line-height:1.8;}
.neem-sources summary {cursor:pointer;color:#2F4A37;font-weight:600;padding:8px 0;}
.neem-sources a {text-decoration:underline;text-underline-offset:3px;}
.neem-sources li {margin:8px 0;}
@media(max-width:800px){.neem-compounds {grid-template-columns:1fr;gap:16px;}.neem-story {margin-top:32px;}.neem-in-formula {padding:20px;}}

.mask-benefits-layout {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,54px);align-items:center;margin-top:28px;}
.mask-benefits-layout > * {min-width:0;}
.mask-benefits-photo {width:100%;max-width:330px;margin:0 auto;}
.mask-benefits-photo img {display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:2px;}
.mask-benefits-photo figcaption {font-size:12px;color:#58644f;margin-top:10px;}
.mask-benefits-copy .pd-benefits {display:grid;grid-template-columns:1fr;gap:0;margin:0;}
.mask-benefits-copy .pd-benefit {background:transparent;padding:24px 0;border:none;border-bottom:1px solid #b5c4a7;}
.mask-benefits-copy .pd-benefit:first-child {padding-top:0;}
.mask-benefits-copy .pd-benefit:last-child {border-bottom:0;padding-bottom:0;}
@media(max-width:700px){.mask-benefits-layout {grid-template-columns:minmax(0,1fr);gap:28px;}.mask-benefits-photo {max-width:280px;}.mask-ingredient-photo {max-width:400px;}}
