@font-face {
    font-family: "Nouvapouch Display";
    src: url("../motion/anton.ttf") format("truetype");
    font-display: swap;
}

body.np-coffee-store {
    --store-paper: #f6eada;
    --store-ink: #281c19;
    --store-muted: #6a5042;
    --store-line: #281c1938;
    --store-surface: #fff6e9;
    --store-display: "Nouvapouch Display", Impact, sans-serif;
    --theme-palette-color-1: var(--store-ink);
    --theme-palette-color-2: #784c30;
    --theme-text-color: var(--store-ink);
    --theme-heading-color: var(--store-ink);
    --theme-background-color: var(--store-paper);
    --theme-link-initial-color: var(--store-ink);
    --theme-link-hover-color: #784c30;
    --theme-button-background-initial-color: var(--store-ink);
    --theme-button-background-hover-color: #563a30;
    --theme-button-text-initial-color: var(--store-surface);
    --theme-button-text-hover-color: var(--store-surface);
    --theme-button-border-radius: 2px;
    background: var(--store-paper);
    color: var(--store-ink);
}

.np-coffee-store :is(a, button, input, summary, select):focus-visible {
    outline-color: #2c78a0;
    outline-offset: 4px;
}

.np-coffee-store :is(#header, .np-mobile-menu nav) {
    background: var(--store-paper);
}

.np-coffee-store .np-header {
    min-height: 76px;
    border-color: var(--store-ink);
}

.np-coffee-store .np-wordmark,
.np-coffee-store .np-footer-wordmark {
    font-family: var(--store-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.015em;
}

.np-coffee-store :is(.np-wordmark, .np-footer-wordmark) span {
    color: inherit;
}

.np-coffee-store .np-nav-list li:last-child a {
    border-radius: 2px;
    border-color: var(--store-line);
}

.np-coffee-store .np-nav-list a:hover {
    color: #784c30;
}

.np-coffee-store .np-nav-list li:last-child a:hover {
    background: var(--store-ink);
    color: var(--store-paper);
}

.np-coffee-store .hero-section .entry-header {
    --horizontal-alignment: start;
    align-items: flex-start;
    text-align: left;
}

.np-coffee-store .hero-section .page-title,
.np-coffee-store .product_title,
.np-coffee-store .related > h2,
.np-coffee-store .woocommerce-loop-product__title {
    color: var(--store-ink);
    font-family: var(--store-display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.04;
    letter-spacing: -0.015em;
}

.np-coffee-catalogue .hero-section[data-type="type-2"] {
    --container-padding: clamp(42px, 7vw, 96px) 0;
    background: var(--store-paper);
    border-block-end: 1px solid var(--store-ink);
}

.np-coffee-catalogue .hero-section .entry-header {
    width: min(calc(100% - 64px), 1320px);
    max-width: none;
    --alignment: left;
}

.np-coffee-store .hero-section .page-title {
    font-size: clamp(74px, 14vw, 178px);
}

.np-coffee-catalogue [data-vertical-spacing] {
    --content-vertical-spacing: clamp(32px, 5vw, 72px);
}

.np-coffee-catalogue .page-description {
    max-width: 40rem;
    margin: 10px 0 0;
    color: var(--store-muted);
    font-size: clamp(15px, 2vw, 19px);
}

.np-coffee-catalogue .woo-listing-top {
    min-height: 56px;
    padding-block: 10px;
    border-block: 1px solid var(--store-line);
    margin-block-end: clamp(24px, 4vw, 48px);
}

.np-coffee-store .woocommerce-ordering select {
    color: var(--store-ink);
}

.np-coffee-store ul.products {
    gap: clamp(16px, 2.8vw, 40px);
}

.np-coffee-catalogue ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.np-coffee-store ul.products li.product {
    min-width: 0;
    padding-block-end: 20px;
    border-block-end: 1px solid var(--store-ink);
}

.np-coffee-store ul.products li.product figure,
.np-coffee-product .woocommerce-product-gallery .ct-media-container {
    margin-inline: 0;
    background: radial-gradient(
        ellipse at 32% 23%,
        var(--flavour-halo, #edcb9e) 0,
        var(--flavour-color, #bd8358) 84%
    );
    border: 1px solid var(--store-line);
    border-radius: 2px;
    overflow: hidden;
}

.np-coffee-store ul.products li.product figure .ct-media-container img {
    transition: transform 220ms ease-out;
}

.np-coffee-store ul.products li.product figure .ct-media-container img,
.np-coffee-product .woocommerce-product-gallery .ct-media-container img {
    object-fit: contain;
    padding: 6%;
}

.np-coffee-store ul.products li.product figure:focus-within .ct-media-container img {
    transform: scale(1.045);
}

@media (hover: hover) and (pointer: fine) {
    .np-coffee-store ul.products li.product:hover figure .ct-media-container img {
        transform: scale(1.045) rotate(-2deg);
    }
}

.np-coffee-store ul.products .woocommerce-loop-product__title {
    margin-block-start: 9px;
    font-size: clamp(23px, 3vw, 44px);
    overflow-wrap: anywhere;
}

.np-coffee-store .price {
    color: var(--store-ink);
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.np-coffee-store .ct-woo-card-actions .button {
    min-height: 44px;
}

.np-coffee-store :is(.button, .wc-block-components-button, .wp-element-button) {
    border-radius: 2px;
}

.np-coffee-store .wc-block-components-button:not(.is-link) {
    color: var(--store-surface);
    background-color: var(--store-ink);
}

.np-coffee-store .wc-block-components-button:not(.is-link):hover {
    background-color: #563a30;
}

.np-coffee-product [data-vertical-spacing] {
    --content-vertical-spacing: clamp(30px, 5vw, 76px);
}

.np-coffee-product .product_title {
    font-size: clamp(47px, 7vw, 102px);
    max-width: 12em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.np-coffee-product .summary .price {
    font-size: clamp(20px, 3vw, 31px);
}

.np-coffee-product .woocommerce-product-details__short-description {
    color: var(--store-muted);
    font-size: clamp(16px, 1.8vw, 19px);
    max-width: 32rem;
}

.np-coffee-product .np-coffee-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 14px;
    padding-block: 11px;
    margin: 0 0 18px;
    border-block: 1px solid var(--store-line);
    font-size: 14px;
}

.np-coffee-product .np-coffee-facts dt {
    font-weight: 750;
}

.np-coffee-product .np-coffee-facts dd {
    margin: 0;
}

.np-coffee-product .wc-tabs-wrapper {
    color: var(--store-ink);
    background: var(--store-surface);
}

.np-coffee-product .shop_attributes :is(th, td) {
    border-color: var(--store-line);
}

.np-coffee-product .related > h2 {
    font-size: clamp(38px, 6vw, 78px);
}

.np-coffee-order [data-vertical-spacing] {
    --content-vertical-spacing: clamp(32px, 6vw, 80px);
}

.np-coffee-order .entry-header {
    padding-block-end: clamp(20px, 4vw, 50px);
    border-block-end: 1px solid var(--store-ink);
}

.np-coffee-order .woocommerce {
    color: var(--store-ink);
}

.np-coffee-order .wc-block-components-sidebar {
    color: var(--store-ink);
}

.np-coffee-order :is(.wc-block-components-order-summary, #order_review, .cart_totals) {
    background: var(--store-surface);
}

.np-coffee-order :is(.cart_totals, #order_review) {
    padding: clamp(16px, 3vw, 34px);
    border: 1px solid var(--store-line);
}

.np-coffee-order :is(#customer_details, .woocommerce-cart-form) {
    color: var(--store-ink);
}

.np-coffee-order :is(.woocommerce-billing-fields h3, #order_review_heading, .cart_totals h2) {
    font-family: var(--store-display);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: -0.015em;
}

.np-coffee-order .woocommerce-checkout :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
    background-color: var(--store-surface);
    color: var(--store-ink);
    border-color: var(--store-line);
}

.np-coffee-order .wc-block-components-order-summary {
    padding-inline: 16px;
}

.np-coffee-store #footer {
    background: var(--store-ink);
    color: var(--store-paper);
    padding-block-start: 28px;
}

.np-coffee-store #footer :is(.np-footer-wordmark, .np-footer-top, .np-footer-bottom, a:hover) {
    color: var(--store-paper);
}

.np-coffee-store #footer .np-footer-bottom {
    border-color: #f6eada40;
}

.np-coffee-store .np-footer-wordmark {
    font-size: clamp(45px, 13vw, 168px);
    line-height: 1.12;
}

@media (max-width: 850px) {
    .np-coffee-catalogue ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .np-coffee-store .np-mobile-menu nav {
        top: 75px;
    }

    .np-coffee-store .np-mobile-menu .np-nav-list li:last-child a {
        border: 0;
    }
}

@media (max-width: 520px) {
    .np-coffee-catalogue .hero-section .entry-header {
        width: calc(100% - 40px);
    }

    .np-coffee-catalogue ul.products,
    .np-coffee-product .related ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-coffee-store ul.products li.product figure .ct-media-container img {
        transform: none;
        transition: none;
    }
}
