/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/

/* Local Montserrat Variable Font */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/montserrat-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 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: 100 900;
    font-display: swap;
    src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 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;
}
/* Child theme CSS
--------------------------------------------------------------- */

/* Arrows-only quantity input */
.nm-quantity-wrap .quantity input.qty {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    caret-color: transparent;
}
.nm-quantity-wrap .quantity input.qty::-webkit-outer-spin-button,
.nm-quantity-wrap .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Banner light text readability & mobile logo */
.nm-banner.text-color-light .nm-banner-title,
.nm-banner.text-color-light .nm-banner-subtitle,
.nm-banner.text-color-light .nm-banner-link {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.nm-banner.text-color-dark .nm-banner-subtitle {
    color: #282828;
}
.nm-banner.text-color-dark .nm-banner-link.type-txt {
    color: #282828;
    border-bottom-color: rgba(40, 40, 40, 0.45);
}

@media all and (max-width: 768px) {
    .nm-banner .nm-banner-content-inner {
        padding: 0 14px;
    }
    .nm-banner.has-alt-image .nm-banner-content-inner.v_center {
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding-top: 22px;
    }
    .nm-banner .nm-banner-text {
        max-width: 58% !important;
    }
    .nm-banner .nm-banner-text.large .nm-banner-title {
        font-size: 17px;
        line-height: 1.18;
        margin-bottom: 4px;
    }
    .nm-banner .nm-banner-text .nm-banner-subtitle {
        font-size: 11px;
        line-height: 1.25;
        margin-bottom: 6px;
    }
    .nm-banner.content-boxed .nm-banner-content {
        padding-left: 0;
        padding-right: 0;
    }
    .nm-banner .nm-banner-text .nm-banner-subtitle {
        margin-bottom: 0;
    }
    .nm-banner .nm-banner-text .nm-banner-link.type-txt {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        font-size: 0;
        line-height: 0;
        color: transparent;
        border: 0;
        padding: 0;
        margin: 0;
        text-shadow: none;
        background: transparent;
    }
    .nm-banner-slider.pagination-mobile-inside .flickity-page-dots {
        bottom: 6px;
        padding: 0 14px;
    }
}
@media all and (max-width: 400px) {
    .nm-header-logo img.nm-logo {
        max-width: 170px;
        height: auto;
        max-height: 30px;
    }
}

/* Uniform 2:3 catalog product cards */
.nm-shop-loop-thumbnail > a {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}
.nm-shop-loop-thumbnail > a img {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
}

/* Uniform 2:3 single product gallery */
.woocommerce-product-gallery__image > a {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}
.woocommerce-product-gallery__image > a > img {
    width: 100%;
    height: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
}
.woocommerce-product-gallery .flex-control-thumbs li img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
}

/* Hero video banner */
.nm-banner .nm-banner-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1376 / 680;
    max-height: 678px;
    object-fit: cover;
    object-position: center 62%;
    background-color: #111111;
}
@media all and (max-width: 768px) {
    .nm-banner .nm-banner-video {
        aspect-ratio: 1 / 1;
        max-height: none;
        object-position: center center;
    }
}