@font-face {
    font-family: "Cormorant Garamond";
    src: url("../../fonts/cormorant-garamond/CormorantGaramond-wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

.winter-theme :is(.yukka_home_storefront, .yukka_collection_models) {
    --winter-card-surface: linear-gradient(155deg, rgb(255 255 255 / 95%), rgb(238 246 252 / 90%));
    --winter-card-edge: #aac2d3;
    --winter-card-shadow: 0 7px 22px rgb(39 76 102 / 12%);
}
.winter-theme .yukka_collection_models .yukka_product_card {
    border: 1px solid transparent;
    border-radius: 12px;
}
.winter-theme :is(.yukka_home_storefront, .yukka_collection_models) .yukka_product_card:is(:hover, :focus-within) {
    border-color: var(--winter-card-edge);
    box-shadow: var(--winter-card-shadow);
}
.winter-theme .yukka_collection_models .yukka_product_card:is(:hover, :focus-within) {
    background: var(--winter-card-surface);
}
:root[data-yukka-theme="dark"] .winter-theme .yukka_collection_models {
    --winter-card-surface: linear-gradient(155deg, #292f34, #21292f);
    --winter-card-edge: #60798b;
    --winter-card-shadow: 0 7px 22px rgb(0 0 0 / 32%);
}

body.winter-theme .yukka_home_calc {
    --calc-tint: transparent;
    scroll-margin-block-start: 76px;
    background: linear-gradient(var(--calc-tint), var(--calc-tint)), #eff4f8;
}
:root[data-yukka-theme="dark"] body.winter-theme .yukka_home_calc { --calc-tint: rgb(12 27 42 / 90%); }
@media (min-width: 1200px) {
    body.winter-theme .yukka_home_calc {
        position: relative;
        isolation: isolate;
        padding-right: clamp(206px, 18vw, 258px);
    }
    .winter-theme .yukka_home_calc::before {
        content: "";
        position: absolute;
        inset: auto 0 0;
        z-index: -1;
        aspect-ratio: 3 / 1;
        max-height: 100%;
        border-radius: inherit;
        pointer-events: none;
        background: linear-gradient(var(--calc-tint), var(--calc-tint)),
            url("../images/calc-spruce.webp") right bottom / 100% auto no-repeat;
        mask-image: linear-gradient(transparent, black 12%);
    }
}
@media (max-width: 1199px) {
    body.winter-theme .yukka_home_calc {
        --ornament-height: clamp(125px, 16vw, 158px);
        padding-bottom: calc(var(--ornament-height) + 16px);
        background: linear-gradient(var(--calc-tint), var(--calc-tint)),
            linear-gradient(to bottom, #eff4f8 calc(100% - var(--ornament-height)), transparent calc(100% - var(--ornament-height) * .73)),
            linear-gradient(to right, #eff4f8 calc(100% - var(--ornament-height) * 1.32), transparent calc(100% - var(--ornament-height))),
            #eff4f8 url("../images/calc-spruce-detail.webp") right bottom / auto var(--ornament-height) no-repeat;
    }
}

body.winter-theme .footer.container-footer {
    --footer-snow: url("../images/footer-first-snow.webp");
    --footer-glints: url("../images/footer-glints.webp");
    --footer-ink: #233e4c;
    --footer-copy: #344d57;
    --footer-rule: rgb(56 88 99 / 23%);
    --footer-accent: #355c4d;
    color-scheme: light;
    color: var(--footer-copy);
    background:
        var(--footer-snow) center bottom / 100% auto no-repeat,
        var(--footer-glints) center top / cover no-repeat,
        linear-gradient(125deg, #c4d7e6, #e6eeef 52%, #cdddec);
    background-blend-mode: normal, screen, normal;
}
body.winter-theme .footer > .grid-child {
    display: block;
    width: min(1696px, 88%);
    max-width: none;
    margin-inline: auto;
    padding: clamp(40px, 3.7vw, 72px) 0 clamp(80px, 6.8vw, 132px);
}
body.winter-theme .yukka_footer {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, .65fr) minmax(0, .43fr) minmax(0, 1.11fr);
    grid-template-areas:
        "brand      doors    products info"
        "newsletter doors    products info"
        "newsletter contacts contacts info";
    align-items: start;
    gap: 20px clamp(24px, 3vw, 58px);
    padding: 0;
}
body.winter-theme .yukka_footer_top { display: contents; }
body.winter-theme .yukka_footer_col { min-width: 0; align-items: flex-start; }
body.winter-theme .yukka_footer_col_doors { grid-area: doors; }
body.winter-theme .yukka_footer_col_products { grid-area: products; }
body.winter-theme .yukka_footer_col_contacts {
    grid-area: contacts;
    flex-flow: row wrap;
    align-items: baseline;
    gap: 6px 20px;
    border-top: 1px solid var(--footer-rule);
    padding-top: 16px;
}
body.winter-theme .yukka_footer_col_info {
    grid-area: info;
    align-self: stretch;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    grid-template-rows: auto repeat(5, auto);
    grid-auto-flow: column;
    align-content: start;
    align-items: start;
    justify-items: start;
    gap: 11px clamp(14px, 1.4vw, 28px);
    border-left: 1px solid var(--footer-rule);
    padding-left: clamp(20px, 1.9vw, 37px);
}
body.winter-theme .yukka_footer_col_newsletter {
    grid-area: newsletter;
    border-top: 1px solid var(--footer-rule);
    padding: 18px 14px 14px;
    background: linear-gradient(100deg, rgb(247 250 248 / 60%), rgb(247 250 248 / 18%));
}
body.winter-theme .footer .yukka_footer_bottom {
    grid-area: brand;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    border: 0;
    color: var(--footer-copy);
    font-size: 14px;
    line-height: 1.55;
}
body.winter-theme .yukka_footer_bottom > span { max-width: 300px; }
body.winter-theme .footer .yukka_footer_logo {
    width: min(212px, 100%);
    height: auto;
    filter: none;
}
body.winter-theme .footer .yukka_footer_heading {
    margin: 0 0 16px;
    color: var(--footer-ink) !important;
    font: 600 clamp(24px, 1.65vw, 31px)/1.06 var(--yukka-font-display);
    text-transform: none;
    letter-spacing: -.02em;
}
body.winter-theme .yukka_footer_col_info .yukka_footer_heading {
    grid-column: 1 / -1;
    margin-bottom: 5px;
}
body.winter-theme .yukka_footer_col_contacts .yukka_footer_heading {
    flex-basis: 100%;
    margin-bottom: 2px;
}
body.winter-theme .footer .yukka_footer_col a {
    color: var(--footer-copy);
    font-size: clamp(14px, .91vw, 17px);
    line-height: 1.4;
    margin: 0;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 1px;
    transition: background-size .2s ease, color .2s ease;
}
body.winter-theme .footer :is(.yukka_footer_col_doors, .yukka_footer_col_products) > a + a { margin-top: 11px; }
body.winter-theme .footer .yukka_footer_col a:is(:hover, :focus-visible) {
    color: var(--footer-accent);
    background-size: 100% 1px;
}
body.winter-theme .footer .yukka_footer_col_contacts .yukka_footer_phone {
    color: var(--footer-ink) !important;
    font-size: clamp(17px, 1.05vw, 21px);
    font-weight: 600;
    white-space: nowrap;
}
body.winter-theme .footer .yukka_footer_subscribe_form {
    width: 100%;
    gap: 4px;
    align-items: center;
    border: 1px solid #aebfc1;
    border-radius: 5px;
    padding: 3px;
    margin-bottom: 8px;
    background: #fff;
}
body.winter-theme .footer .yukka_footer_subscribe_input {
    min-width: 0;
    height: 37px;
    padding-inline: 9px;
    border: 0;
    color: var(--footer-ink);
    background: transparent;
}
body.winter-theme .footer .yukka_footer_subscribe_input::placeholder { color: #50616b; }
body.winter-theme .footer .yukka_footer_subscribe_btn {
    height: 37px;
    padding-inline: 13px;
    font-weight: 600;
    background: var(--footer-accent);
    color: white;
    border-radius: 3px;
}
body.winter-theme .footer .yukka_footer_subscribe_btn:hover { background: #284a3e; }
body.winter-theme .footer .yukka_footer_subscribe_hint,
body.winter-theme .footer .yukka_footer_subscribe_hint a {
    color: var(--footer-copy);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}
body.winter-theme .footer .yukka_footer_subscribe_hint a { border-bottom: 1px dotted currentColor; }
body.winter-theme .footer :focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    body.winter-theme .footer .yukka_footer_col a { transition: none; }
}
@media (max-width: 1199px) {
    body.winter-theme .yukka_footer {
        grid-template-columns: minmax(0, 1fr) minmax(0, .72fr) minmax(0, 1.55fr);
        grid-template-areas:
            "brand    brand    newsletter"
            "doors    products info"
            "contacts contacts info";
        gap: 28px 24px;
    }
}
@media (max-width: 860px) {
    body.winter-theme .footer.container-footer {
        --footer-glints: url("../images/footer-glints-mobile.webp");
    }
    body.winter-theme .footer > .grid-child { width: 91%; }
}
@media (max-width: 700px) {
    body.winter-theme .footer > .grid-child { width: auto; margin-inline: 22px; }
    body.winter-theme .yukka_footer {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
        grid-template-areas:
            "brand brand"
            "newsletter newsletter"
            "doors products"
            "contacts contacts"
            "info info";
        gap: 24px 18px;
    }
    body.winter-theme .yukka_footer_col_info {
        border: 0;
        border-top: 1px solid var(--footer-rule);
        padding: 18px 0 0;
    }
    body.winter-theme .yukka_footer_col_newsletter { max-width: 490px; }
}
@media (max-width: 600px) {
    body.winter-theme .footer.container-footer {
        --footer-snow: url("../images/footer-first-snow-mobile.webp");
    }
    body.winter-theme .footer > .grid-child { padding-bottom: calc(22vw + 14px); }
}
