/* The storefront and campaign pages use the same two typefaces. */
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("fonts/inter/cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("fonts/inter/latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("fonts/montserrat/cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("fonts/montserrat/latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: #2d282b;
}
[hidden], .dn { display: none !important; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.catalog__groups:not([hidden]) ~ [role="tabpanel"] {
    scroll-margin-block-start: 4rem;
}
:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}

.accordion-list {
    display: grid;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #2d282b;
}
.accordion-list > li {
    min-width: 0;
    background: white;
    border: 1px solid #e8e3e6;
    border-radius: 3px;
}
.accordion-list h3 { margin: 0; }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    color: inherit;
    font: 500 1.0625rem/1.4 Inter, Arial, sans-serif;
    text-align: left;
    cursor: pointer;
}
.faq-question::after {
    content: "";
    width: 16px;
    height: 16px;
    flex: none;
    color: var(--accent, #990a9e);
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
                linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.faq-question[aria-expanded="true"]::after { background-size: 100% 2px, 0 0; }
.faq-question:focus-visible { outline-offset: -4px; }
.accordion-list .answer {
    padding: 0 16px 16px;
    font: 400 .9375rem/1.6 Inter, Arial, sans-serif;
}
.accordion-list .answer p { margin: 0; }
.accordion-list .answer p + p { margin-top: 8px; }
.accordion-list .answer a { color: var(--accent, #831181); }

.product-preview {
    width: fit-content;
    max-width: calc(100% - 24px);
    max-height: calc(100% - 24px);
    padding: 0;
    margin: auto;
    border: 0;
    border-radius: 6px;
    background: white;
    color: #272027;
    overscroll-behavior: contain;
}
.product-preview::backdrop { background: rgb(19 14 20 / 78%); }
.product-preview img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(90vh - 44px);
    max-height: calc(90dvh - 44px);
    object-fit: contain;
    margin: auto;
}
.product-preview__close {
    display: grid;
    place-items: center;
    margin: 0 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    font: 400 28px/1 Arial, sans-serif;
    cursor: pointer;
}
.product-preview__close:focus-visible { outline-offset: -4px; }
html:has(dialog[open]) { overflow: hidden; }
@media (hover: hover) {
    .faq-question:hover, .product-preview__close:hover { color: var(--accent, #831181); }
}
