html {
    scroll-padding-top: 90px;
}

body {
    overflow-wrap: break-word;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #b98561;
    outline-offset: 3px;
}

.product-gallery-slider-item:not(:first-child) img {
    content-visibility: auto;
}

.nps-newsletter-unavailable {
    margin: 0;
    color: #ffffff;
}

.nps-product-category-header {
    max-width: 820px;
    margin: 22px auto 12px;
    text-align: center;
}

.nps-product-category-eyebrow {
    margin: 0 0 8px;
    color: #b98561;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nps-product-category-title {
    margin: 0;
    color: #212121;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    text-wrap: balance;
}

.nps-storefront-category .term-description {
    max-width: 820px;
    margin: 0 auto 46px;
    color: #5f5a56;
    font-size: 18px;
    line-height: 1.65;
    text-align: center;
}

.nps-storefront-category .term-description > :last-child {
    margin-bottom: 0;
}

.nps-storefront-category .portfolio-show-filters-button {
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid #e3d3c7;
    background: #f7f0e8;
    color: #212121;
    font-weight: 600;
}

.nps-storefront-category .widget-title {
    color: #7a4a2d;
}

.single-product .thegem-te-product-title .product-title {
    margin: 0;
    color: #212121 !important;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 600 !important;
    line-height: 1.08;
    text-wrap: balance;
}

.single-product .nikki-product-accroche {
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
    color: #5f5a56;
    line-height: 1.6;
    text-align: center;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    color: #393531;
}

.nps-commerce-header {
    margin: 0 0 34px;
    text-align: center;
}

.nps-commerce-eyebrow {
    margin: 0 0 8px;
    color: #b98561;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nps-commerce-title {
    margin: 0;
    color: #212121;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    text-wrap: balance;
}

.woocommerce-cart :where(.button, button, input[type="submit"]),
.woocommerce-checkout :where(.button, button, input[type="submit"]) {
    min-height: 46px;
    touch-action: manipulation;
}

.woocommerce-checkout :where(input.input-text, select, textarea) {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
}

@media (max-width: 767px) {
    .page-id-631 #main {
        overflow-x: clip;
    }

    .page-id-631 .nps-home-locations > .wpb_column > .vc_column-inner {
        box-sizing: border-box;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .page-id-631 .nps-home-locations .title-h2 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(28px, 8.5vw, 34px) !important;
        font-weight: 700;
        line-height: 1.08;
        letter-spacing: 0 !important;
        overflow-wrap: anywhere;
        text-shadow: 0 1px 10px rgba(255, 255, 255, 0.65);
        white-space: normal !important;
        text-wrap: balance;
    }

    .page-id-631 .nps-home-locations .title-h2 .light {
        font-weight: inherit;
    }

    .page-id-631 .nps-home-locations .styled-subtitle {
        width: 100%;
        max-width: 100%;
        font-size: 16px !important;
        line-height: 1.45;
        overflow-wrap: break-word;
        white-space: normal !important;
        text-wrap: pretty;
    }

    .page-id-631 .nps-home-locations .styled-subtitle > span {
        padding: 4px 8px;
        color: #212121 !important;
        background: rgba(255, 255, 255, 0.78);
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

    .page-id-631 .nps-home-locations .gem-button {
        min-height: 44px;
        touch-action: manipulation;
    }

    .nps-product-category-header {
        margin-top: 12px;
    }

    .nps-product-category-title {
        font-size: clamp(34px, 11vw, 44px);
    }

    .nps-storefront-category .term-description {
        margin-bottom: 30px;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 16px;
        line-height: 1.55;
    }

    .nps-storefront-category .portfolio-show-filters-button {
        width: 100%;
        min-height: 46px;
    }

    .nps-storefront-category .portfolio-top-panel-row {
        width: 100% !important;
    }

    .nps-storefront-category .portfolio-top-panel-right {
        max-width: 100%;
        margin-left: auto;
    }

    .nps-storefront-category .portfolio-sorting-select {
        max-width: 100%;
    }

    .single-product .thegem-te-product-title .product-title {
        font-size: clamp(32px, 10vw, 42px);
    }

    .single-product .thegem-te-product-description {
        padding-right: 20px;
        padding-left: 20px;
    }

    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-cart .cart-collaterals,
    .woocommerce-checkout form.checkout,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout #order_review_heading {
        width: 100%;
        max-width: 100%;
    }

    .nps-commerce-header {
        margin-bottom: 26px;
    }

    .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
    .woocommerce-checkout #place_order {
        box-sizing: border-box;
        width: 100%;
        min-height: 50px;
        white-space: normal;
    }

    .home .gem-video-background-inner video {
        object-fit: cover;
    }

    .home .gem-video-background-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.32)) !important;
    }

    .thegem-template-header .vc_row[data-vc-full-width="true"] > .container {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding-right: max(16px, env(safe-area-inset-right)) !important;
        padding-left: max(16px, env(safe-area-inset-left)) !important;
    }

    .thegem-template-header .vc_custom_1786902865166 .wpb_wrapper {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .thegem-template-header .vc_custom_1786902865166 .thegem-te-logo {
        margin-right: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .thegem-template-header .vc_custom_1786902865166 :where(.thegem-te-account, .thegem-te-cart, .thegem-te-menu) {
        box-sizing: border-box;
        width: 44px !important;
        flex: 0 0 44px !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .thegem-template-header .thegem-te-logo .site-logo img {
        width: min(116px, 31vw) !important;
        height: auto;
    }

    .thegem-template-header :where(.account-link, .wishlist-link, .minicart-menu-link, .menu-toggle),
    .mobile-cart-header-close {
        display: inline-flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }

    .nps-storefront-shop #page-title {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
        background-position: center 28% !important;
    }

    .nps-storefront-shop #page-title .title-xlarge {
        font-size: clamp(30px, 10vw, 42px);
        line-height: 1.1;
    }

    .nps-storefront-shop .block-content {
        padding-top: 32px !important;
    }

    .nps-storefront-shop.nps-storefront-shop-empty .block-content {
        display: none;
    }

    .nps-storefront-shop.woocommerce-shop .with-filter-sidebar,
    .nps-storefront-shop.woocommerce-shop .with-filter-sidebar > .content,
    .nps-storefront-shop.woocommerce-shop .filter-sidebar,
    .nps-storefront-shop.woocommerce-shop .portfolio-set {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .nps-storefront-shop.woocommerce-shop .portfolio-top-panel-row {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nps-storefront-shop.woocommerce-shop :where(.portfolio-top-panel-left, .portfolio-top-panel-right, .portfolio-sorting-select) {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }

    .nps-storefront-shop.woocommerce-shop .portfolio-row {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .nps-storefront-shop.woocommerce-shop .portfolio-set > .portfolio-item.product {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        float: none !important;
        transform: none !important;
    }

    .nps-storefront-shop.woocommerce-shop .portfolio-item.product .image img {
        width: 100%;
        height: auto;
    }

    .single-product .thegem-template-single-product > .vc_row[data-vc-stretch-content="true"] > .wpb_column:first-child > .vc_column-inner {
        padding-top: 18px !important;
        padding-right: 16px !important;
        padding-bottom: 24px !important;
        padding-left: 16px !important;
        box-sizing: border-box;
    }

    .single-product .thegem-te-product-description .product-description {
        width: 100%;
        max-width: 100% !important;
    }

    .single-product .product-breadcrumbs ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
        padding: 0 16px;
        gap: 6px 0;
        list-style: none;
        font-size: 12px;
        line-height: 1.45;
    }

    .single-product .product-breadcrumbs li {
        display: inline-flex;
        align-items: center;
    }

    .single-product .product-breadcrumbs li:not(:last-child)::after {
        margin: 0 7px;
        color: #b98561;
        content: "/";
    }

    .single-product .thegem-template-wrapper .thegem-te-product-sku,
    .single-product .thegem-template-wrapper .thegem-te-product-categories,
    .single-product .thegem-template-wrapper .thegem-te-product-sharing {
        display: none !important;
    }

    .single-product .thegem-te-product-gallery .product-gallery,
    .single-product .thegem-te-product-gallery .product-gallery-slider-wrap,
    .single-product .thegem-te-product-gallery .product-gallery-slider-item,
    .single-product .thegem-te-product-gallery .image-inner {
        width: 100%;
        max-width: 100%;
    }

    .single-product .product-gallery-slider-item img {
        display: block;
        width: 100%;
        height: auto;
        background: #f8f5f2;
        object-fit: cover;
    }

    .single-product .thegem-te-product-add-to-cart,
    .single-product .thegem-te-product-add-to-cart form.cart,
    .single-product .thegem-te-product-add-to-cart .single_add_to_cart_button {
        width: 100% !important;
        max-width: 420px;
    }

    .single-product .thegem-te-product-add-to-cart .single_add_to_cart_button {
        min-height: 48px;
        touch-action: manipulation;
    }

    .woocommerce .woocommerce-message,
    .woocommerce .woocommerce-error,
    .woocommerce .woocommerce-info {
        margin-right: 16px;
        margin-left: 16px;
    }
}

@media (max-width: 380px) {
    .thegem-template-header .vc_custom_1786902865166 > .container > .wpb_column > .vc_column-inner {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .thegem-template-header .thegem-te-logo .site-logo img {
        width: 100px !important;
    }

    .thegem-template-header :where(.thegem-te-account, .thegem-te-wishlist, .thegem-te-cart, .thegem-te-menu) {
        padding-right: 2px !important;
        padding-left: 2px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
