.popular-categories{display:grid;grid-template-areas:"heading action" "cards cards";grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:30px 16px;box-sizing:border-box;max-width:1400px;margin:24px auto;padding-inline:65px}.popular-categories__header{grid-area:heading}.popular-categories__header h2{margin:0;font-size:30px;line-height:38px;letter-spacing:normal}.popular-categories__cta{grid-area:action;justify-self:end;padding:12px 18px;border:1px solid var(--derma-ink);background:var(--derma-ink);color:#fff;font:var(--derma-bold) 15px/24px var(--derma-font-family);letter-spacing:1.4px;text-transform:uppercase;text-align:center;text-decoration:none}.popular-categories__cta:hover{color:var(--derma-ink);background:#fff}.popular-categories__body{grid-area:cards;min-width:0;position:relative}.popular-categories__track{position:relative;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.popular-categories__page{flex:0 0 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-content:start;scroll-snap-align:start}.popular-categories__page[data-count="1"]{flex-basis:calc(25% - 12px);grid-template-columns:1fr}.popular-categories__page[data-count="2"]{flex-basis:calc(50% - 8px);grid-template-columns:repeat(2,minmax(0,1fr))}.popular-categories__page[data-count="3"]{flex-basis:calc(75% - 4px);grid-template-columns:repeat(3,minmax(0,1fr))}.popular-categories__card a{display:block;color:inherit;text-decoration:none}.popular-categories__card a:focus-visible{outline-offset:-2px}.popular-categories__media{aspect-ratio:1;overflow:hidden}.popular-categories__media :is(img,svg){display:block;width:100%;height:100%;object-fit:cover}.popular-categories__card h3{margin:10px 0 0;text-align:center;font-size:16px;line-height:1.3;letter-spacing:normal}.popular-categories__card a:hover h3{text-decoration:underline}.popular-categories__arrow{position:absolute;top:calc((100% - 48px - var(--category-dots-end-padding, 24px)) / 2);transform:translateY(-50%);display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #d3d4d5;border-radius:50%;color:var(--derma-ink);background:#fff}.popular-categories__arrow[name=prev]{inset-inline-start:-15px}.popular-categories__arrow[name=next]{inset-inline-end:-15px}.popular-categories__arrow:disabled{opacity:.45}.popular-categories__arrow svg{width:18px;height:18px}.popular-categories__dots{display:flex;justify-content:center;padding-block:24px var(--category-dots-end-padding, 24px)}.popular-categories__dots button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;background:transparent}.popular-categories__dots button:before{content:"";width:8px;height:8px;border-radius:50%;background:#c8cace}.popular-categories__dots [aria-current=true]:before{background:var(--derma-ink)}@media(max-width:999px){.popular-categories{grid-template-areas:"heading" "cards" "action";grid-template-columns:minmax(0,1fr);row-gap:0}.popular-categories__header{margin-bottom:30px}.popular-categories__cta{justify-self:center}.popular-categories__page,.popular-categories__page[data-count="3"]{flex-basis:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.popular-categories__page:is([data-count="1"],[data-count="2"]){flex-basis:calc(50% - 8px);grid-template-columns:1fr}.popular-categories__arrow{display:none}}@media(max-width:749px){.popular-categories,.popular-categories__header{padding-inline:15px}}
/*# sourceMappingURL=/cdn/shop/t/44/assets/popular-categories.css.map */
