/* Original Devonshire Pharmacy collections. Real product and logo files remain separate. */
.dpx-collections{background:#f4f0e8}
.dpx-collection-slide{position:relative;display:block;min-height:640px;max-height:none;isolation:isolate;overflow:hidden}
.dpx-collection-setting{position:absolute;inset:0;z-index:-1;display:block;pointer-events:none}
.dpx-collection-setting>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.dpx-collection-slide .dpx-campaign-copy{width:48%;min-height:640px;padding:56px 4.8vw 52px;background:transparent;position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.dpx-collection-slide .dpx-campaign-copy h2{font-size:clamp(42px,4.3vw,64px);line-height:1.04;letter-spacing:-.035em;max-width:12ch;margin:0 0 24px;color:#263d30}
.dpx-collection-slide .dpx-campaign-description{font-size:14px;line-height:1.8;max-width:405px;color:#304536;margin:0}
.dpx-collection-slide .dpx-campaign-eyebrow{font-size:8px;letter-spacing:.16em;margin-bottom:24px!important;color:#314d3d}
.dpx-collection-slide .dpx-campaign-cta{margin-top:27px;padding:14px 20px;gap:25px;background:#254a39;color:#fff;min-height:48px;font-size:12px}
.dpx-collection-brands{display:flex;align-items:center;flex-wrap:wrap;gap:15px 23px;margin-top:31px;max-width:420px}
.dpx-collection-brands img{object-fit:contain;max-width:108px;max-height:30px;width:auto;height:auto;display:block}
.dpx-collection-brands span{font:500 12px/1.4 'DM Sans',Arial,sans-serif;color:#254536;letter-spacing:0}
.dpx-collection-products{position:absolute;left:50%;right:4.2%;top:24%;bottom:7%;z-index:1}
.dpx-collection-product{position:absolute;bottom:0;display:flex;align-items:center;flex-direction:column;width:30%;color:#253f30;text-decoration:none!important;min-width:0}
.dpx-collection-product-0{left:0;bottom:10%}
.dpx-collection-product-1{left:35%;bottom:20%}
.dpx-collection-product-2{right:0;bottom:1%}
.dpx-collection-product-image{width:100%;height:270px;display:flex;justify-content:center;align-items:center;filter:drop-shadow(0 12px 10px rgba(25,39,24,.12))}
.dpx-collection-product-image>img,.dpx-collection-product-image>svg{width:100%;height:100%;object-fit:contain;overflow:hidden;display:block}
.dpx-collection-product-caption{display:block;font:500 11px/1.45 'DM Sans',Arial,sans-serif;text-align:center;margin-top:15px;max-width:170px;color:#223b2b;background:rgba(255,255,255,.83);padding:9px 10px;min-height:70px}
.dpx-collection-product-caption>span{display:block;font-size:8px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:5px}
.dpx-collection-product-caption small{display:block;font-size:10px;font-weight:400;margin-top:5px}
.dpx-collection-product:focus-visible{outline:3px solid #254a39;outline-offset:7px}
.dpx-collection-product:hover .dpx-collection-product-caption{text-decoration:underline;text-underline-offset:3px}
.dpx-collection-haircare .dpx-collection-product,.dpx-collection-marvis .dpx-collection-product{width:39%}
.dpx-collection-haircare .dpx-collection-product-0,.dpx-collection-marvis .dpx-collection-product-0{left:6%;bottom:8%}
.dpx-collection-haircare .dpx-collection-product-1,.dpx-collection-marvis .dpx-collection-product-1{left:auto;right:6%;bottom:12%}
.dpx-collection-haircare .dpx-collection-product-image,.dpx-collection-marvis .dpx-collection-product-image{height:300px}
.dpx-collection-supplements .dpx-campaign-copy h2{font-size:clamp(40px,3.9vw,59px)}
.dpx-collection-supplements .dpx-collection-brands{gap:15px 20px}
.dpx-collection-supplements .dpx-collection-brands img{max-width:80px;max-height:27px}
.dpx-collections .dpx-campaign-select{gap:25px}
.dpx-collections .dpx-campaign-select button{font-size:11px;letter-spacing:0}
.dpx-product-photo{display:flex;align-items:center;justify-content:center;overflow:hidden}
.dpx-product-photo>img,.dpx-collection-brands img,.dpx-logo-grid img,.dpx-brand-directory img{mix-blend-mode:normal;filter:none}
.dpx-brand-directory a>span{font:500 17px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:0}
.dpx-product-photo>.dpx-product-source-frame{width:82%;height:82%;object-fit:contain;display:block;overflow:hidden}
.dpx-product-wordmark{font:500 22px/1.3 'DM Sans',Arial,sans-serif;color:#254b38;letter-spacing:0;padding:22px;text-align:center}
.dpx-product-pack{font:500 12px/1.55 'DM Sans',Arial,sans-serif;color:#243e2c;margin-bottom:7px!important}
.dpx-product-card[hidden]{display:none!important}
.dpx-edit-nav{display:flex;flex-wrap:wrap;gap:12px 26px;padding:19px 0;border-block:1px solid #d4ded2;margin:0 0 44px}
.dpx-edit-nav a{font-size:12px;min-height:30px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.dpx-product-category+.dpx-product-category{margin-top:64px;padding-top:54px;border-top:1px solid #d5ded3}
.dpx-product-category-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:48px;margin-bottom:30px}
.dpx-product-category-heading h3{font:400 34px/1.16 'DM Serif Display',Georgia,serif;max-width:380px}
.dpx-product-category-heading p{max-width:480px;font-size:13px;line-height:1.8}
.dpx-product-category[hidden]{display:none!important}
@media(min-width:1600px){.dpx-collection-slide,.dpx-collection-slide .dpx-campaign-copy{min-height:720px}.dpx-collection-products{left:51%;right:6%;top:26%}.dpx-collection-product-image{height:320px}}
@media(max-width:1200px){.dpx-collection-slide,.dpx-collection-slide .dpx-campaign-copy{min-height:615px}.dpx-collection-slide .dpx-campaign-copy{padding-inline:4.5vw}.dpx-collection-slide .dpx-campaign-copy h2{font-size:49px}.dpx-collection-products{left:50%;right:3.7%;top:29%;bottom:6%}.dpx-collection-product-image{height:235px}.dpx-collection-product-caption{font-size:10px;padding:8px;min-height:77px}.dpx-collection-brands{gap:12px 16px}.dpx-collection-brands img{max-width:90px;max-height:27px}.dpx-collection-haircare .dpx-collection-product-image,.dpx-collection-marvis .dpx-collection-product-image{height:270px}.dpx-collections .dpx-campaign-select{gap:20px}}
@media(max-width:900px){.dpx-collection-slide .dpx-campaign-copy h2{font-size:42px}.dpx-collection-slide .dpx-campaign-copy{width:49%;padding-inline:30px}.dpx-collection-slide .dpx-campaign-description{font-size:13px}.dpx-collection-products{left:51%;right:3%;top:30%}.dpx-collection-product-image{height:205px}.dpx-collection-product-caption{padding:7px 5px}.dpx-collection-brands img{max-width:75px;max-height:25px}.dpx-collection-brands span{font-size:11px}.dpx-collections .dpx-campaign-select{gap:15px}.dpx-collections .dpx-campaign-select button{font-size:10px}}
@media(max-width:700px){
 .dpx-collection-slide{min-height:0;display:flex;flex-direction:column;padding-bottom:18px}
 .dpx-collection-setting>img{object-position:center bottom}
 .dpx-collection-slide .dpx-campaign-copy{width:100%;min-height:0;padding:31px 23px 18px}
 .dpx-collection-slide .dpx-campaign-copy h2,.dpx-collection-supplements .dpx-campaign-copy h2{font-size:39px;line-height:1.03;max-width:13ch;margin-bottom:17px}
 .dpx-collection-slide .dpx-campaign-eyebrow{font-size:7px;letter-spacing:.13em;margin-bottom:18px!important}
 .dpx-collection-slide .dpx-campaign-description{font-size:12px;line-height:1.75;max-width:440px}
 .dpx-collection-slide .dpx-campaign-cta{font-size:11px;min-height:44px;padding:12px 17px;margin-top:20px;gap:25px}
 .dpx-collection-brands{gap:10px 18px;margin-top:23px;max-width:100%}
 .dpx-collection-brands img{max-width:91px;max-height:23px}
 .dpx-collection-brands span{font-size:11px}
 .dpx-collection-products{position:relative;left:auto;right:auto;top:auto;bottom:auto;height:300px;margin:0 19px;flex-shrink:0}
 .dpx-collection-product{width:30%;bottom:0}
 .dpx-collection-product-0{bottom:0}.dpx-collection-product-1{left:35%;bottom:8%}.dpx-collection-product-2{bottom:0}
 .dpx-collection-product-image{height:195px;filter:drop-shadow(0 8px 7px rgba(25,39,24,.12))}
 .dpx-collection-product-caption{font-size:9px;line-height:1.4;margin-top:10px;padding:6px 4px;min-height:77px;max-width:132px}
 .dpx-collection-product-caption>span{font-size:7px;letter-spacing:.05em;margin-bottom:4px}.dpx-collection-product-caption small{font-size:8px;margin-top:4px}
 .dpx-collection-haircare .dpx-collection-product,.dpx-collection-marvis .dpx-collection-product{width:42%}
 .dpx-collection-haircare .dpx-collection-product-0,.dpx-collection-marvis .dpx-collection-product-0{left:4%;bottom:0}
 .dpx-collection-haircare .dpx-collection-product-1,.dpx-collection-marvis .dpx-collection-product-1{right:4%;bottom:3%}
 .dpx-collection-haircare .dpx-collection-product-image,.dpx-collection-marvis .dpx-collection-product-image{height:210px}
 .dpx-collection-supplements .dpx-collection-brands{gap:9px 16px}.dpx-collection-supplements .dpx-collection-brands img{max-width:83px;max-height:22px}
 .dpx-collections .dpx-campaign-select{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
 .dpx-collections .dpx-campaign-select button{font-size:9px;line-height:1.4;min-height:51px;padding-inline:2px}
 .dpx-product-pack{font-size:10px;line-height:1.6}
 .dpx-product-category+.dpx-product-category{margin-top:40px;padding-top:34px}
 .dpx-product-category-heading{display:block;margin-bottom:25px}.dpx-product-category-heading h3{font-size:30px;margin-bottom:14px}.dpx-product-category-heading p{font-size:12px}
 .dpx-edit-nav{gap:7px 17px;padding-block:14px;margin-bottom:32px}.dpx-edit-nav a{font-size:11px}
 .dpx-product-wordmark{font-size:20px;padding:12px}
}
@media(max-width:360px){.dpx-collection-slide .dpx-campaign-copy h2,.dpx-collection-supplements .dpx-campaign-copy h2{font-size:35px}.dpx-collection-products{margin-inline:16px;height:287px}.dpx-collection-product-image{height:182px}.dpx-collection-brands{gap:10px 13px}.dpx-collection-brands img{max-width:80px}.dpx-collection-slide .dpx-campaign-copy{padding-inline:21px}.dpx-collections .dpx-campaign-select button{font-size:8px}}
@media(prefers-reduced-motion:reduce){.dpx-collection-product,.dpx-collection-product-caption{transition:none!important}}

/* The approved Christmas greeting appears first during the festive season. */
.dpx-collection-christmas{display:grid;grid-template-columns:46% 54%;background:#1e3d33;color:#faf6eb}
.dpx-collection-christmas .dpx-campaign-copy{width:100%;min-height:640px;padding:54px 4.8vw 58px}
.dpx-collection-christmas .dpx-campaign-copy h2{color:#faf6eb;max-width:15ch;font-size:clamp(43px,4.4vw,66px);line-height:1.06;letter-spacing:-.035em}
.dpx-collection-christmas .dpx-campaign-eyebrow{color:#dfcfa5;letter-spacing:.16em}
.dpx-collection-christmas .dpx-campaign-description{color:#e1e8df;max-width:390px}
.dpx-christmas-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px 27px;margin-top:28px}
.dpx-collection-christmas .dpx-campaign-cta{background:#f7f2e5;color:#1e3d33;margin-top:0;min-height:49px}
.dpx-christmas-visit{display:inline-flex;align-items:center;gap:17px;color:#faf6eb!important;font-size:12px;min-height:44px;text-decoration:underline;text-underline-offset:6px}
.dpx-christmas-photo{margin:0;padding:45px 4.6vw 45px 0;display:flex;flex-direction:column;justify-content:center;min-width:0}
.dpx-christmas-photo img{display:block;width:100%;height:auto;object-fit:contain;border:1px solid rgba(237,224,194,.24)}
.dpx-christmas-photo figcaption{font-size:10px;line-height:1.6;letter-spacing:.03em;color:#d8e0d5;margin-top:15px}
@media(min-width:1600px){.dpx-collection-christmas .dpx-campaign-copy{min-height:720px}}
@media(max-width:1200px){.dpx-collection-christmas .dpx-campaign-copy{min-height:615px;padding-inline:4.5vw}.dpx-collection-christmas .dpx-campaign-copy h2{font-size:49px}.dpx-christmas-actions{gap:12px 22px}.dpx-christmas-visit{font-size:11px}}
@media(max-width:900px){.dpx-collection-christmas{grid-template-columns:47% 53%}.dpx-collection-christmas .dpx-campaign-copy{padding-inline:30px}.dpx-collection-christmas .dpx-campaign-copy h2{font-size:42px}.dpx-christmas-photo{padding-right:28px}}
@media(max-width:700px){
 .dpx-collection-christmas{display:flex;flex-direction:column;padding-bottom:0}
 .dpx-collection-christmas .dpx-campaign-copy{width:100%;min-height:0;padding:33px 23px 28px}
 .dpx-collection-christmas .dpx-campaign-copy h2{font-size:43px;max-width:15ch;margin-bottom:20px}
 .dpx-collection-christmas .dpx-campaign-eyebrow{font-size:8px;line-height:1.7;margin-bottom:21px!important;letter-spacing:.12em}
 .dpx-collection-christmas .dpx-campaign-description{font-size:12px;line-height:1.8}
 .dpx-christmas-actions{margin-top:23px;gap:12px 22px}
 .dpx-collection-christmas .dpx-campaign-cta{margin-top:0;min-height:46px;font-size:11px}
 .dpx-christmas-visit{font-size:11px;min-height:44px}
 .dpx-christmas-photo{padding:0 23px 26px;display:block}
 .dpx-christmas-photo figcaption{font-size:9px;margin-top:11px}
 .dpx-collections-has-christmas .dpx-campaign-select{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 15px}
 .dpx-collections-has-christmas .dpx-campaign-select button{font-size:10px;min-height:43px}
}
@media(max-width:360px){.dpx-collection-christmas .dpx-campaign-copy h2{font-size:38px}.dpx-collection-christmas .dpx-campaign-copy{padding-inline:21px}.dpx-christmas-photo{padding-inline:21px}}

/* Devonshire Pharmacy 1.9.3: open product staging and continuous carousel motion. */
.dpx-motion-ready .dpx-campaign-track{display:grid;grid-template-columns:minmax(0,1fr);position:relative;isolation:isolate}
.dpx-motion-ready [data-dpx-slide]{grid-area:1/1;min-width:0;align-self:stretch}
.dpx-motion-ready [data-dpx-slide].is-current{z-index:2}
.dpx-motion-ready [data-dpx-slide].is-leaving{z-index:1;pointer-events:none}
.dpx-motion-ready .dpx-campaign-controls{position:relative}
.dpx-campaign-progress{position:absolute;top:0;left:0;right:0;height:2px;overflow:hidden;background:rgba(42,71,54,.08);pointer-events:none}
.dpx-campaign-progress>span{display:block;width:100%;height:100%;background:#ac9260;transform:scaleX(0);transform-origin:left center}
.dpx-collections .dpx-campaign-select button{transition:color .25s ease,border-color .25s ease}
.dpx-collections .dpx-campaign-transport button{min-width:44px;min-height:44px}

/* The genuine pack shots sit directly in the scene, with no white cards. */
.dpx-collection-products{top:21%;bottom:9%;left:49%;right:4.6%;mix-blend-mode:normal}
.dpx-collection-product,.dpx-collection-haircare .dpx-collection-product,.dpx-collection-marvis .dpx-collection-product{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;min-height:0;height:auto;mix-blend-mode:normal;transition:transform .35s ease}
.dpx-collection-product-0{bottom:5%}
.dpx-collection-product-1{bottom:13%}
.dpx-collection-product-2{bottom:0}
.dpx-collection-product-image{position:relative;height:282px;flex:none;align-items:flex-end;overflow:visible;filter:none}
.dpx-collection-product-image::after{content:"";position:absolute;left:18%;right:18%;bottom:-5px;height:8px;border-radius:50%;background:rgba(28,44,32,.15);filter:blur(7px);z-index:-1;pointer-events:none}
.dpx-collection-product-image>img,.dpx-collection-product-image>svg{width:100%;height:100%;object-fit:contain;object-position:center bottom;overflow:hidden;mix-blend-mode:normal}
.dpx-collection-product-caption{background:transparent;border:0;padding:0 2px;margin-top:19px;min-height:86px;font-size:12px;line-height:1.5;max-width:180px;color:#193b2b;text-wrap:pretty}
.dpx-collection-product-caption>span{font-size:9px;letter-spacing:.1em;margin-bottom:6px}
.dpx-collection-product-caption small{font-size:11px;line-height:1.4;margin-top:6px}
.dpx-collection-product:hover{transform:translateY(-5px)}
.dpx-collection-haircare .dpx-collection-product-image,.dpx-collection-marvis .dpx-collection-product-image{height:310px}
.dpx-collection-haircare .dpx-collection-product-0,.dpx-collection-marvis .dpx-collection-product-0{bottom:4%}
.dpx-collection-haircare .dpx-collection-product-1,.dpx-collection-marvis .dpx-collection-product-1{bottom:9%}
.dpx-collection-brands img,.dpx-logo-grid img,.dpx-brand-directory img{mix-blend-mode:multiply}
.dpx-collection-brand-obagi-medical::before{content:none}

/* Product discovery uses a shared open canvas, rather than square image tiles. */
body.dpx-site .dpx-product-photo{display:flex;align-items:flex-end;justify-content:center;background:transparent;border:0;border-radius:0;box-shadow:none;aspect-ratio:auto;height:clamp(260px,26vw,360px);padding:16px 16px 0;margin-bottom:25px;overflow:visible;mix-blend-mode:multiply}
body.dpx-site .dpx-product-photo>img,body.dpx-site .dpx-product-photo>.dpx-product-source-frame{width:88%;height:100%;max-height:100%;object-fit:contain;object-position:center bottom;overflow:hidden;mix-blend-mode:normal;filter:none;transition:transform .35s ease}
.dpx-product-card>a{padding-bottom:24px;border-bottom:1px solid #d8dfd5}
.dpx-product-card a:hover .dpx-product-photo>img,.dpx-product-card a:hover .dpx-product-photo>.dpx-product-source-frame{transform:translateY(-5px)}
.dpx-product-card h3{font-size:25px;line-height:1.2}
.dpx-product-action{margin-top:auto}
.dpx-brand-directory a{background:transparent;box-shadow:none;border:0;border-bottom:1px solid #d7ded3;border-radius:0}

@media(min-width:1600px){.dpx-collection-products{top:23%;bottom:10%}.dpx-collection-product-image{height:325px}.dpx-collection-haircare .dpx-collection-product-image,.dpx-collection-marvis .dpx-collection-product-image{height:350px}}
@media(max-width:1200px){.dpx-collection-products{top:25%;bottom:8%;right:4%}.dpx-collection-product-image{height:250px}.dpx-collection-product-caption{font-size:11px;min-height:85px}.dpx-collection-product-caption small{font-size:10px}.dpx-collection-haircare .dpx-collection-product-image,.dpx-collection-marvis .dpx-collection-product-image{height:280px}}
@media(max-width:900px){.dpx-collection-products{top:27%;left:51%;right:3%}.dpx-collection-product-image{height:215px}.dpx-collection-product-caption{font-size:10.5px;min-height:90px}.dpx-collection-product-caption>span{font-size:8px}.dpx-collection-haircare .dpx-collection-product-image,.dpx-collection-marvis .dpx-collection-product-image{height:250px}}
@media(max-width:700px){
 .dpx-brand-wall .dpx-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}
 .dpx-brand-wall .dpx-logo-grid a{min-width:0;min-height:58px;padding:10px}
 .dpx-brand-wall .dpx-logo-grid img{width:100%;max-width:128px;height:38px}
 .dpx-brand-wall .dpx-logo-grid a>span{font-size:15px}
 .dpx-collection-products{position:relative;left:auto;right:auto;top:auto;bottom:auto;height:292px;margin:8px 23px 0}
 .dpx-collection-product-image{height:182px;filter:none}
 .dpx-collection-product-caption{font-size:10px;line-height:1.45;margin-top:14px;min-height:81px;max-width:100%;padding:0 1px}
 .dpx-collection-product-caption>span{font-size:7.5px;letter-spacing:.03em;margin-bottom:5px}
 .dpx-collection-product-caption small{font-size:9px;margin-top:5px}
 .dpx-collection-product-0{bottom:0}.dpx-collection-product-1{bottom:4%}.dpx-collection-product-2{bottom:0}
 .dpx-collection-haircare .dpx-collection-product-image,.dpx-collection-marvis .dpx-collection-product-image{height:210px}
 .dpx-collection-haircare .dpx-collection-product-0,.dpx-collection-marvis .dpx-collection-product-0{bottom:0}
 .dpx-collection-haircare .dpx-collection-product-1,.dpx-collection-marvis .dpx-collection-product-1{bottom:2%}
 body.dpx-site .dpx-product-photo{height:235px;padding:12px 8px 0;margin-bottom:21px}
 .dpx-product-card h3{font-size:21px}
 .dpx-product-description{font-size:13px}
}
@media(max-width:450px){body.dpx-site .dpx-product-photo{height:205px}.dpx-product-card h3{font-size:20px}.dpx-product-grid,.dpx-page-skincare .dpx-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 19px}}
@media(max-width:360px){.dpx-collection-products{margin-inline:18px;height:278px}.dpx-collection-product-image{height:171px}.dpx-collection-product-caption{font-size:9px}.dpx-collection-product-caption>span{font-size:7px}body.dpx-site .dpx-product-photo{height:180px;padding-inline:4px}.dpx-product-card h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.dpx-campaign-progress{display:none}.dpx-collection-product,.dpx-collections .dpx-campaign-select button,body.dpx-site .dpx-product-photo>img,body.dpx-site .dpx-product-photo>.dpx-product-source-frame{transition:none!important}.dpx-collection-product:hover,.dpx-product-card a:hover .dpx-product-photo>img,.dpx-product-card a:hover .dpx-product-photo>.dpx-product-source-frame{transform:none}}

