:root {
    --cheri-ink: #17213a;
    --cheri-muted: #667085;
    --cheri-coral: #ff6b57;
    --cheri-coral-dark: #e95240;
    --cheri-cream: #fffaf4;
    --cheri-mint: #e4f6ef;
    --cheri-line: #e9e4de;
    --cheri-white: #fff;
    --cheri-shadow: 0 16px 44px rgba(23, 33, 58, .09);
    --cheri-radius: 18px;
}

body.cherimake-storefront-layout {
    background: var(--cheri-cream);
    color: var(--cheri-ink);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.cherimake-storefront-layout .widget-area {
    display: none !important;
}

.cherimake-storefront-layout .content-area,
.cherimake-storefront-layout.right-sidebar .content-area,
.cherimake-storefront-layout.left-sidebar .content-area {
    float: none;
    width: 100%;
    margin-right: 0;
}

.cherimake-storefront-layout .col-full {
    box-sizing: border-box;
    width: min(100% - 40px, 1240px);
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

/* Navigation, cart, and checkout share one exact horizontal alignment grid. */
body.cherimake-storefront-layout .storefront-primary-navigation > .col-full,
body.cherimake-storefront-layout.woocommerce-cart .site-content > .col-full,
body.cherimake-storefront-layout.woocommerce-checkout .site-content > .col-full {
    box-sizing: border-box !important;
    width: min(100% - 40px, 1240px) !important;
    max-width: 1240px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.cherimake-storefront-layout .site-header {
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    color: var(--cheri-muted);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--cheri-line);
    box-shadow: 0 4px 24px rgba(23, 33, 58, .04);
}

.cherimake-storefront-layout .site-header .site-branding,
.cherimake-storefront-layout .site-header .site-search,
.cherimake-storefront-layout .site-header .site-header-cart {
    margin-bottom: 14px;
}

.cherimake-storefront-layout .site-branding .site-title a,
.cherimake-storefront-layout .site-header a,
.cherimake-storefront-layout .main-navigation ul.menu > li > a,
.cherimake-storefront-layout .main-navigation ul.nav-menu > li > a {
    color: var(--cheri-ink);
}

.cherimake-storefront-layout .site-branding .site-title a {
    font-weight: 800;
    letter-spacing: -.04em;
}

.cherimake-storefront-layout .site-description {
    color: var(--cheri-muted);
}

.cherimake-storefront-layout .storefront-primary-navigation {
    background: #f5efe7;
    border-top: 1px solid #eee5dc;
    border-bottom: 1px solid #e4d9ce;
    box-shadow: 0 4px 18px rgba(23, 33, 58, .04);
}

.cherimake-storefront-layout .storefront-primary-navigation > .col-full {
    display: flex;
    align-items: stretch;
}

.cherimake-storefront-layout .storefront-primary-navigation .site-branding {
    display: flex;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0 auto 0 0;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    flex: 0 1 auto;
}

.cherimake-storefront-layout .storefront-primary-navigation .site-branding .site-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.cherimake-storefront-layout .storefront-primary-navigation .site-branding .site-title a {
    display: block;
    padding: 5px 0 0;
    color: var(--cheri-ink);
}

.cherimake-storefront-layout .storefront-primary-navigation .site-description {
    display: block;
    margin: 1px 0 5px;
    font-size: 12px;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .cherimake-storefront-layout .storefront-primary-navigation .main-navigation {
        float: none;
        width: auto;
        margin-right: auto;
        flex: 1 1 auto;
    }

    .cherimake-storefront-layout .storefront-primary-navigation .site-header-cart {
        float: none;
        width: auto;
        min-width: 150px;
        margin-bottom: 0;
        margin-right: 0;
        margin-left: 6px;
        flex: 0 0 auto;
    }

    .cherimake-storefront-layout .storefront-primary-navigation .site-header-cart .widget_shopping_cart {
        right: auto;
        left: -999em;
        box-sizing: border-box;
        width: 400px;
        max-width: calc(100vw - 40px);
        background: #fff;
        border: 1px solid var(--cheri-line);
        border-radius: 0 0 14px 14px;
        box-shadow: var(--cheri-shadow);
    }

    .cherimake-storefront-layout .storefront-primary-navigation .site-header-cart:hover .widget_shopping_cart,
    .cherimake-storefront-layout .storefront-primary-navigation .site-header-cart.focus .widget_shopping_cart {
        right: 0;
        left: auto;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart .product_list_widget li {
        min-height: 78px;
        padding: 12px 18px 12px 42px;
        line-height: 1.4;
        border-bottom: 1px solid var(--cheri-line);
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart .product_list_widget li a:not(.remove) {
        display: block;
        padding-right: 68px;
        color: var(--cheri-ink);
        font-size: 14px;
        font-weight: 650;
        line-height: 1.35;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart .product_list_widget img {
        width: 56px;
        max-width: 56px;
        height: 56px;
        margin-left: 12px;
        color: transparent;
        font-size: 0;
        object-fit: cover;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart .product_list_widget li .quantity {
        display: block;
        padding-top: 4px;
        padding-right: 68px;
        line-height: 1.4;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart .product_list_widget li dl.variation {
        display: none !important;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart .product_list_widget li a.remove {
        position: absolute;
        top: 12px;
        left: 14px;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart p.total,
    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart p.buttons {
        padding: 12px 16px;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart p.buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart p.buttons a {
        margin: 0;
        text-align: center;
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart p.buttons a.checkout {
        color: #fff;
        background: var(--cheri-coral-dark);
        border-color: var(--cheri-coral-dark);
    }

    .cherimake-storefront-layout .site-header-cart .widget_shopping_cart p.buttons a.checkout:hover {
        color: #fff;
        background: var(--cheri-coral-dark);
        filter: brightness(.94);
    }
}

.cherimake-storefront-layout .storefront-primary-navigation .main-navigation ul li a,
.cherimake-storefront-layout .storefront-primary-navigation .site-header-cart a {
    color: var(--cheri-ink);
}

.cherimake-storefront-layout .main-navigation ul.menu > li > a,
.cherimake-storefront-layout .main-navigation ul.nav-menu > li > a {
    padding: 12px 14px;
    font-weight: 650;
}

.cherimake-storefront-layout .storefront-primary-navigation .site-header-cart .cart-contents {
    padding-top: 12px;
    padding-bottom: 12px;
}

.cherimake-storefront-layout .cheri-header-account {
    position: relative;
    z-index: 100000;
    flex: 0 0 auto;
    color: var(--cheri-ink);
}

.cherimake-storefront-layout .cheri-header-account summary {
    display: flex;
    min-height: 48px;
    padding: 12px 14px;
    align-items: center;
    gap: 7px;
    color: var(--cheri-ink);
    font-weight: 650;
    line-height: 24px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.cherimake-storefront-layout .cheri-header-account summary::-webkit-details-marker {
    display: none;
}

.cherimake-storefront-layout .cheri-header-account summary:hover,
.cherimake-storefront-layout .cheri-header-account[open] summary {
    background: rgba(255, 107, 87, .1);
}

.cherimake-storefront-layout .cheri-account-chevron {
    font-size: 12px;
    transition: transform .2s ease;
}

.cherimake-storefront-layout .cheri-header-account[open] .cheri-account-chevron {
    transform: rotate(180deg);
}

.cherimake-storefront-layout .cheri-account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 190px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--cheri-line);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--cheri-shadow);
}

.cherimake-storefront-layout .storefront-primary-navigation .cheri-account-dropdown a {
    display: block;
    padding: 10px 12px;
    color: var(--cheri-ink);
    font-weight: 650;
    border-radius: 8px;
}

.cherimake-storefront-layout .storefront-primary-navigation .cheri-account-dropdown a:hover {
    color: var(--cheri-coral-dark);
    background: var(--cheri-cream);
}

.cherimake-storefront-layout .menu-toggle {
    padding: 9px 12px;
}

.cherimake-storefront-layout .site-content {
    padding-top: 42px;
}

/* The shop is the front page: remove Storefront's large archive spacers. */
body.cherimake-storefront-layout.home.post-type-archive-product .site-header {
    margin-bottom: 0;
}

body.cherimake-storefront-layout.woocommerce-shop .site-content,
body.cherimake-storefront-layout.tax-product_cat .site-content {
    padding-top: 22px;
}

body.cherimake-storefront-layout.single-product .storefront-breadcrumb {
    margin-bottom: 0;
    padding: 10px 0 0;
}

body.cherimake-storefront-layout.single-product .storefront-breadcrumb .woocommerce-breadcrumb {
    margin-bottom: 0;
}

body.cherimake-storefront-layout.single-product .site-content {
    padding-top: 14px;
}

/* Checkout does not need Storefront's oversized page-title banner. */
body.cherimake-storefront-layout.woocommerce-checkout .entry-header {
    display: none;
}

body.cherimake-storefront-layout.woocommerce-checkout .storefront-breadcrumb {
    display: none;
}

body.cherimake-storefront-layout.woocommerce-checkout .site-content {
    padding-top: 12px;
}

body.cherimake-storefront-layout.woocommerce-checkout .content-area,
body.cherimake-storefront-layout.woocommerce-checkout .site-main,
body.cherimake-storefront-layout.woocommerce-checkout .hentry,
body.cherimake-storefront-layout.woocommerce-checkout .entry-content {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

body.cherimake-storefront-layout.woocommerce-checkout .site-main,
body.cherimake-storefront-layout.woocommerce-checkout .hentry {
    margin-bottom: 0;
}

/* Remove Storefront's oversized title area from the cart page as well. */
body.cherimake-storefront-layout.woocommerce-cart .entry-header,
body.cherimake-storefront-layout.woocommerce-cart .storefront-breadcrumb {
    display: none;
}

body.cherimake-storefront-layout.woocommerce-cart .site-content {
    padding-top: 12px;
}

body.cherimake-storefront-layout.woocommerce-cart .content-area,
body.cherimake-storefront-layout.woocommerce-cart .site-main,
body.cherimake-storefront-layout.woocommerce-cart .hentry,
body.cherimake-storefront-layout.woocommerce-cart .entry-content {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

body.cherimake-storefront-layout.woocommerce-cart .site-main,
body.cherimake-storefront-layout.woocommerce-cart .hentry {
    margin-bottom: 0;
}

body.cherimake-storefront-layout.woocommerce-cart .entry-content > .woocommerce,
body.cherimake-storefront-layout.woocommerce-checkout .entry-content > .woocommerce,
body.cherimake-storefront-layout.woocommerce-cart .wp-block-woocommerce-cart,
body.cherimake-storefront-layout.woocommerce-checkout .wp-block-woocommerce-checkout,
body.cherimake-storefront-layout.woocommerce-cart .wc-block-components-sidebar-layout,
body.cherimake-storefront-layout.woocommerce-checkout .wc-block-components-sidebar-layout {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

/* Cart and checkout use the same left and right grid lines as the navigation. */
@media (min-width: 768px) {
    body.cherimake-storefront-layout.woocommerce-cart .entry-content,
    body.cherimake-storefront-layout.woocommerce-checkout .entry-content {
        width: 100%;
        max-width: 100%;
        zoom: 1;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 7px;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row {
        float: none;
        width: auto;
        margin: 0;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_address_1_field,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > #billing_address_2_field,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > #shipping_address_1_field,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > #shipping_address_2_field {
        grid-column: 1 / -1;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper input,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper select,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .select2,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper input,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper select,
    body.cherimake-storefront-layout.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .select2 {
        width: 100% !important;
        max-width: 100%;
    }

    /* Block checkout keeps the left steps intact; payment is positioned below the summary. */
    body.cherimake-storefront-layout.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
        position: relative;
        align-items: flex-start;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .wc-block-checkout.cheri-payment-below-summary {
        min-height: var(--cheri-checkout-height, auto);
    }

    body.cherimake-storefront-layout.woocommerce-checkout .cheri-payment-below-summary .wc-block-checkout__payment-method,
    body.cherimake-storefront-layout.woocommerce-checkout .cheri-payment-below-summary .wc-block-checkout__terms,
    body.cherimake-storefront-layout.woocommerce-checkout .cheri-payment-below-summary .wc-block-checkout__actions {
        position: absolute;
        right: auto;
        left: var(--cheri-payment-left);
        box-sizing: border-box;
        width: var(--cheri-payment-width);
        margin-right: 0;
        margin-left: 0;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .cheri-payment-below-summary .wc-block-checkout__payment-method {
        top: var(--cheri-payment-top);
    }

    body.cherimake-storefront-layout.woocommerce-checkout .cheri-payment-below-summary .wc-block-checkout__terms {
        top: var(--cheri-terms-top);
    }

    body.cherimake-storefront-layout.woocommerce-checkout .cheri-payment-below-summary .wc-block-checkout__actions {
        top: var(--cheri-actions-top);
        padding: 0;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step {
        margin-bottom: 12px;
        padding-bottom: 0;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__heading {
        margin-bottom: 6px;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__description {
        margin-bottom: 6px;
    }

    body.cherimake-storefront-layout.woocommerce-checkout .wc-block-checkout__main .wc-block-components-address-form {
        gap: 8px;
    }
}

@media (max-width: 767px) {
    body.cherimake-storefront-layout.woocommerce-cart .entry-content,
    body.cherimake-storefront-layout.woocommerce-checkout .entry-content {
        width: 100%;
        max-width: 100%;
        zoom: 1;
    }

    body.cherimake-storefront-layout.woocommerce-cart .site-content > .col-full,
    body.cherimake-storefront-layout.woocommerce-checkout .site-content > .col-full {
        width: min(100% - 28px, 1240px);
    }
}

/* Classic checkout already renders payment inside the review; keep it directly below the table. */
body.cherimake-storefront-layout.woocommerce-checkout #order_review > .woocommerce-checkout-review-order-table {
    margin-bottom: 0;
}

body.cherimake-storefront-layout.woocommerce-checkout #order_review > #payment {
    clear: both;
    width: 100%;
    margin-top: 0;
}

body.cherimake-storefront-layout.woocommerce-shop .woocommerce-products-header,
body.cherimake-storefront-layout.tax-product_cat .woocommerce-products-header {
    display: none;
    padding: 0;
}

body.cherimake-storefront-layout.woocommerce-shop .storefront-sorting {
    margin-bottom: 20px;
}

body.cherimake-storefront-layout.woocommerce-shop .site-main,
body.cherimake-storefront-layout.woocommerce-shop .content-area,
body.cherimake-storefront-layout.tax-product_cat .site-main,
body.cherimake-storefront-layout.tax-product_cat .content-area {
    margin-bottom: 0;
}

.cherimake-storefront-layout .cheri-product-categories {
    display: flex;
    margin: 0 0 22px;
    padding: 4px;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--cheri-line);
    border-radius: 14px;
    scrollbar-width: thin;
}

.cherimake-storefront-layout .cheri-category-link {
    display: inline-flex;
    min-height: 38px;
    padding: 8px 16px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--cheri-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    white-space: nowrap;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}

.cherimake-storefront-layout .cheri-category-link:hover {
    color: var(--cheri-coral-dark);
    background: var(--cheri-cream);
}

.cherimake-storefront-layout .cheri-category-link.is-active {
    color: #fff;
    background: var(--cheri-coral);
}

.cherimake-storefront-layout .woocommerce-breadcrumb {
    margin-bottom: 28px;
    color: var(--cheri-muted);
    font-size: 14px;
}

.cherimake-storefront-layout h1,
.cherimake-storefront-layout h2,
.cherimake-storefront-layout h3,
.cherimake-storefront-layout h4 {
    color: var(--cheri-ink);
    font-weight: 750;
    letter-spacing: -.025em;
}

.cherimake-storefront-layout .page-title,
.cherimake-storefront-layout .entry-title {
    margin-bottom: 28px;
}

.cherimake-storefront-layout button,
.cherimake-storefront-layout input[type="button"],
.cherimake-storefront-layout input[type="reset"],
.cherimake-storefront-layout input[type="submit"],
.cherimake-storefront-layout .button,
.cherimake-storefront-layout .added_to_cart,
.cherimake-storefront-layout .wc-block-components-button {
    padding: .85em 1.35em;
    color: #fff;
    font-weight: 700;
    background: var(--cheri-coral);
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cherimake-storefront-layout button:hover,
.cherimake-storefront-layout input[type="submit"]:hover,
.cherimake-storefront-layout .button:hover,
.cherimake-storefront-layout .added_to_cart:hover,
.cherimake-storefront-layout .wc-block-components-button:hover {
    color: #fff;
    background: var(--cheri-coral-dark);
    box-shadow: 0 10px 22px rgba(233, 82, 64, .2);
    transform: translateY(-1px);
}

.cherimake-storefront-layout input[type="text"],
.cherimake-storefront-layout input[type="email"],
.cherimake-storefront-layout input[type="tel"],
.cherimake-storefront-layout input[type="number"],
.cherimake-storefront-layout input[type="password"],
.cherimake-storefront-layout input[type="search"],
.cherimake-storefront-layout select,
.cherimake-storefront-layout textarea {
    color: var(--cheri-ink);
    background: #fff;
    border: 1px solid var(--cheri-line);
    border-radius: 10px;
    box-shadow: none;
}

.cherimake-storefront-layout input:focus,
.cherimake-storefront-layout select:focus,
.cherimake-storefront-layout textarea:focus {
    border-color: var(--cheri-coral);
    outline: 2px solid rgba(255, 107, 87, .18);
}

.cherimake-storefront-layout ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    margin: 0 0 24px;
}

/* Keep short shop/category listings as tall as two desktop product rows so
   the footer does not jump up when a category contains only 1–4 products. */
@media (min-width: 901px) {
    .cherimake-storefront-layout.woocommerce-shop .site-main > ul.products,
    .cherimake-storefront-layout.tax-product_cat .site-main > ul.products {
        min-height: min(calc(50vw + 128px), 788px);
    }
}

.cherimake-storefront-layout ul.products::before,
.cherimake-storefront-layout ul.products::after {
    display: none;
}

.cherimake-storefront-layout ul.products li.product,
.cherimake-storefront-layout ul.products.columns-2 li.product,
.cherimake-storefront-layout ul.products.columns-3 li.product,
.cherimake-storefront-layout ul.products.columns-4 li.product,
.cherimake-storefront-layout ul.products.columns-5 li.product,
.cherimake-storefront-layout ul.products.columns-6 li.product {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    float: none;
    width: auto;
    margin: 0;
    padding: 14px 14px 18px;
    text-align: left;
    background: var(--cheri-white);
    border: 1px solid var(--cheri-line);
    border-radius: var(--cheri-radius);
    box-shadow: 0 8px 26px rgba(23, 33, 58, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Storefront applies percentage widths to 2–6 column loops. Inside CSS Grid
   those percentages are calculated again from each track and make cards tiny. */
.cherimake-storefront-layout.storefront-full-width-content .site-main ul.products.columns-2 > li.product,
.cherimake-storefront-layout.storefront-full-width-content .site-main ul.products.columns-3 > li.product,
.cherimake-storefront-layout.storefront-full-width-content .site-main ul.products.columns-4 > li.product,
.cherimake-storefront-layout.storefront-full-width-content .site-main ul.products.columns-5 > li.product,
.cherimake-storefront-layout.storefront-full-width-content .site-main ul.products.columns-6 > li.product {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

@media (min-width: 901px) {
    .cherimake-storefront-layout .site-main ul.products.columns-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cherimake-storefront-layout .site-main ul.products.columns-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cherimake-storefront-layout .site-main ul.products.columns-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cherimake-storefront-layout .site-main ul.products.columns-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.cherimake-storefront-layout ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.cherimake-storefront-layout ul.products li.product:hover {
    border-color: rgba(255, 107, 87, .45);
    box-shadow: var(--cheri-shadow);
    transform: translateY(-4px);
}

.cherimake-storefront-layout ul.products li.product img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 18px;
    object-fit: cover;
    background: #f5f3ef;
    border-radius: 12px;
}

.cherimake-storefront-layout ul.products li.product .woocommerce-loop-product__title,
.cherimake-storefront-layout ul.products li.product h2,
.cherimake-storefront-layout ul.products li.product h3 {
    display: block;
    width: auto;
    margin: 0 4px 8px;
    color: var(--cheri-ink);
    font-size: 17px;
    line-height: 1.4;
    writing-mode: horizontal-tb;
}

.cherimake-storefront-layout ul.products li.product .price {
    display: block;
    width: auto;
    margin: 0 4px 14px;
    color: var(--cheri-coral-dark);
    font-size: 17px;
    font-weight: 750;
    writing-mode: horizontal-tb;
}

.cherimake-storefront-layout ul.products li.product a:focus:not(:focus-visible),
.cherimake-storefront-layout ul.products li.product a:active {
    outline: 0;
    box-shadow: none;
}

.cherimake-storefront-layout ul.products li.product .button {
    margin: 0 4px;
}

.cherimake-storefront-layout.single-product div.product {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--cheri-line);
    border-radius: 24px;
    box-shadow: var(--cheri-shadow);
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery img {
    border-radius: 16px;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    display: none;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    cursor: zoom-in;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-viewport {
    height: var(--cheri-gallery-height, auto) !important;
    margin-bottom: 12px;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper,
.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image a {
    height: 100%;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    margin: 0;
    padding: 2px 0 4px;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::before,
.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::after {
    display: none;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    float: none;
    width: 72px;
    height: 72px;
    min-width: 72px;
    margin: 0 !important;
    padding: 0;
    flex: 0 0 72px;
    overflow: hidden;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) {
    border-color: var(--cheri-coral);
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    border-radius: 8px;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
}

.cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    box-shadow: 0 0 0 2px var(--cheri-coral);
}

.cheri-image-modal {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: flex;
    padding: 24px;
    align-items: center;
    justify-content: center;
    background: rgba(22, 25, 31, .1);
}

.cheri-image-modal[hidden] {
    display: none;
}

.cheri-image-modal__dialog {
    position: relative;
    display: flex;
    width: min(88vw, 920px);
    height: min(82vh, 720px);
    min-height: 360px;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--cheri-line);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(23, 33, 58, .3);
}

.cheri-image-modal__toolbar {
    display: flex;
    min-height: 44px;
    padding: 6px 8px 6px 14px;
    align-items: center;
    justify-content: space-between;
    color: var(--cheri-muted);
    font-size: 13px;
    border-bottom: 1px solid var(--cheri-line);
}

.cherimake-storefront-layout .cheri-image-modal button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: var(--cheri-ink);
    font-size: 26px;
    line-height: 1;
    background: #f5efe7;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    transform: none;
}

.cherimake-storefront-layout .cheri-image-modal button:hover {
    color: #fff;
    background: var(--cheri-coral);
    box-shadow: none;
    transform: none;
}

.cheri-image-modal__viewport {
    position: relative;
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f5f1;
    cursor: zoom-in;
    touch-action: none;
}

.cheri-image-modal__viewport.is-zoomed {
    cursor: grab;
}

.cheri-image-modal__viewport.is-dragging {
    cursor: grabbing;
}

.cheri-image-modal__image {
    display: block;
    max-width: calc(100% - 48px);
    max-height: calc(100% - 48px);
    object-fit: contain;
    user-select: none;
    transition: transform .12s ease-out;
    transform-origin: center center;
}

.cheri-image-modal__viewport.is-dragging .cheri-image-modal__image {
    transition: none;
}

.cheri-image-modal__previous,
.cheri-image-modal__next {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%) !important;
}

.cheri-image-modal__previous {
    left: 14px;
}

.cheri-image-modal__next {
    right: 14px;
}

@media (max-width: 568px) {
    .cheri-image-modal {
        padding: 12px;
    }

    .cheri-image-modal__dialog {
        width: 100%;
        height: min(78vh, 620px);
        min-height: 320px;
        border-radius: 14px;
    }
}

.cherimake-storefront-layout.single-product div.product .summary .price {
    margin-bottom: 10px;
    color: var(--cheri-coral-dark);
    font-size: 25px;
    font-weight: 800;
}

.cherimake-storefront-layout.single-product div.product .summary .product_title {
    margin-bottom: 4px;
    font-size: 26px;
    line-height: 1.2;
}

.cherimake-storefront-layout.single-product div.product .summary .woocommerce-product-details__short-description p {
    margin-bottom: 10px;
}

.cherimake-storefront-layout.single-product div.product .summary form.cart {
    margin-bottom: 12px;
    padding: 0;
}

.cherimake-storefront-layout.single-product div.product .summary form.cart .woocommerce-product-details__short-description {
    margin: 0;
    color: var(--cheri-muted);
    font-size: 14px;
}

.cherimake-storefront-layout.single-product div.product .summary form.cart .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

.cherimake-storefront-layout.single-product div.product .summary table.variations .value {
    margin-bottom: 8px;
}

.cherimake-storefront-layout.single-product div.product .summary table.variations select {
    margin-bottom: 0;
}

.cherimake-storefront-layout.single-product .cheri-price-variation-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 0;
    align-items: start;
    gap: 5px;
}

.cherimake-storefront-layout.single-product div.product .summary .cheri-price-variation-row > .price {
    margin: 0;
    white-space: nowrap;
}

.cherimake-storefront-layout.single-product .cheri-price-variation-row table.variations {
    width: auto;
    max-width: 100%;
    margin: 0;
    justify-self: start;
}

.cherimake-storefront-layout.single-product .cheri-price-variation-row table.variations tbody,
.cherimake-storefront-layout.single-product .cheri-price-variation-row table.variations tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: auto;
    max-width: 100%;
    align-items: center;
    gap: 8px;
}

.cherimake-storefront-layout.single-product .cheri-price-variation-row table.variations th,
.cherimake-storefront-layout.single-product .cheri-price-variation-row table.variations td {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.cherimake-storefront-layout.single-product .cheri-price-variation-row table.variations td.value {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cherimake-storefront-layout.single-product .cheri-price-variation-row table.variations th.label {
    display: none;
}

.cherimake-storefront-layout.single-product .cheri-price-variation-row table.variations select {
    min-width: 0;
    width: auto;
    max-width: 100%;
}

.cherimake-storefront-layout.single-product .cheri-price-variation-row .reset_variations {
    display: none !important;
}

.cherimake-storefront-layout.single-product div.product .summary .woocommerce-variation-price,
.cherimake-storefront-layout.single-product div.product .summary .woocommerce-variation-description {
    margin-bottom: 8px;
}

.cherimake-storefront-layout.single-product div.product .summary .single_variation .woocommerce-variation-price {
    display: none !important;
}

.cherimake-storefront-layout.single-product div.product .summary .woocommerce-variation-add-to-cart.variations_button {
    padding-top: 0;
}

.cherimake-storefront-layout.single-product div.product .summary .product_meta {
    display: none;
}

.cherimake-storefront-layout.storefront-full-width-content.single-product div.product .images,
.cherimake-storefront-layout.storefront-full-width-content.single-product div.product .summary,
.cherimake-storefront-layout.storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .cherimake-storefront-layout.storefront-full-width-content.single-product div.product .images,
    .cherimake-storefront-layout.storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
        float: left;
        width: 50%;
        margin-right: 4%;
    }

    .cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery {
        position: relative;
        padding-left: 80px;
    }

    .cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-viewport {
        margin-bottom: 0;
    }

    .cherimake-storefront-layout.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 72px;
        padding: 0;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .cherimake-storefront-layout.storefront-full-width-content.single-product div.product .summary {
        float: right;
        width: 46%;
        margin-right: 0;
    }
}

.cherimake-storefront-layout.single-product .woocommerce-tabs {
    margin-top: 22px;
    padding-top: 12px;
    padding-bottom: 10px;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs > ul.tabs {
    display: none !important;
}

.cherimake-storefront-layout.storefront-full-width-content.single-product .woocommerce-tabs > .panel,
.cherimake-storefront-layout.single-product .woocommerce-tabs > .wc-tab {
    display: block !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--cheri-line);
}

.cherimake-storefront-layout.single-product .woocommerce-tabs > .panel:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0;
    border-bottom: 0;
}

.cherimake-storefront-layout.single-product .cheri-reviews-toggle {
    display: inline-flex;
    min-width: 0;
    margin: 2px 0 16px;
    padding: 6px 12px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1.3;
    color: var(--cheri-ink);
    background: #fff;
    border: 1px solid var(--cheri-line);
    border-radius: 8px;
    box-shadow: none;
}

.cherimake-storefront-layout.single-product .cheri-reviews-toggle:hover,
.cherimake-storefront-layout.single-product .cheri-reviews-toggle:focus {
    color: #000;
    background: #fff;
    border-color: #cfc7be;
    box-shadow: none;
    transform: none;
}

.cherimake-storefront-layout.storefront-full-width-content.single-product .woocommerce-tabs .panel {
    margin-bottom: 0;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs .panel > h2:first-child {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs .panel > :last-child {
    margin-bottom: 0;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs .woocommerce-product-attributes {
    margin-bottom: 0;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs .woocommerce-product-attributes th,
.cherimake-storefront-layout.single-product .woocommerce-tabs .woocommerce-product-attributes td {
    padding: 4px 8px;
    line-height: 1.35;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs .woocommerce-product-attributes th {
    width: 110px;
    min-width: 110px;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs .woocommerce-product-attributes td,
.cherimake-storefront-layout.single-product .woocommerce-tabs .woocommerce-product-attributes td p {
    word-break: normal;
    overflow-wrap: break-word;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs .woocommerce-product-attributes p {
    margin: 0;
    padding: 0;
}

.cherimake-storefront-layout.single-product #reviews #comments,
.cherimake-storefront-layout.single-product #reviews #review_form_wrapper {
    margin: 0;
    padding-top: 0;
}

.cherimake-storefront-layout.single-product #reviews #review_form_wrapper {
    display: none !important;
}

.cherimake-storefront-layout.single-product #reviews #review_form_wrapper.is-open {
    display: block !important;
}

.cherimake-storefront-layout.single-product #reviews #comments > h2,
.cherimake-storefront-layout.single-product #reviews #reply-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

.cherimake-storefront-layout.single-product #reviews .woocommerce-noreviews {
    margin-bottom: 10px;
}

.cherimake-storefront-layout.single-product #reviews .commentlist {
    margin: 0 0 12px;
}

.cherimake-storefront-layout.single-product #reviews .commentlist li {
    margin-bottom: 12px;
}

.cherimake-storefront-layout.single-product #reviews .commentlist > li:nth-child(n + 6) {
    display: none;
}

.cherimake-storefront-layout.storefront-full-width-content.single-product #reviews .commentlist li .avatar {
    float: left;
    width: 42px;
    height: 42px;
    margin-right: 12px;
}

.cherimake-storefront-layout.storefront-full-width-content.single-product #reviews .commentlist li .comment_container .comment-text {
    float: none;
    width: auto;
    margin: 0 0 0 54px;
}

.cherimake-storefront-layout.single-product #reviews .commentlist li p.meta,
.cherimake-storefront-layout.single-product #reviews .commentlist li .description p {
    margin-bottom: 5px;
}

.cherimake-storefront-layout.single-product #reviews #respond {
    margin: 0;
    padding: 14px;
}

.cherimake-storefront-layout.single-product #reviews #respond form > p,
.cherimake-storefront-layout.single-product #reviews .comment-form-rating,
.cherimake-storefront-layout.single-product #reviews .comment-form-rating .stars {
    margin-bottom: 8px;
}

.cherimake-storefront-layout.single-product #reviews #respond label {
    margin-bottom: 3px;
    font-size: 13px;
}

.cherimake-storefront-layout.single-product #reviews #respond input,
.cherimake-storefront-layout.single-product #reviews #respond textarea {
    padding: 7px 9px;
}

.cherimake-storefront-layout.single-product #reviews #respond textarea {
    min-height: 76px;
    height: 76px;
}

.cherimake-storefront-layout.single-product #reviews #respond .form-submit {
    margin: 0;
}

.cherimake-storefront-layout.single-product .woocommerce-tabs::after,
.cherimake-storefront-layout.single-product #reviews::after,
.cherimake-storefront-layout.single-product #reviews #comments::after,
.cherimake-storefront-layout.single-product #reviews #review_form_wrapper::after {
    display: table;
    clear: both;
    content: "";
}

.cherimake-storefront-layout.single-product .related.products,
.cherimake-storefront-layout.single-product .upsells.products {
    display: block !important;
    float: none;
    clear: both;
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 20px;
    visibility: visible;
    opacity: 1;
}

@media (min-width: 901px) {
    .cherimake-storefront-layout.single-product .related.products ul.products,
    .cherimake-storefront-layout.single-product .upsells.products ul.products {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 16px;
    }

    .cherimake-storefront-layout.single-product .related.products ul.products li.product,
    .cherimake-storefront-layout.single-product .upsells.products ul.products li.product {
        padding: 10px 10px 13px;
        border-radius: 14px;
    }

    .cherimake-storefront-layout.single-product .related.products ul.products li.product img,
    .cherimake-storefront-layout.single-product .upsells.products ul.products li.product img {
        margin-bottom: 12px;
    }

    .cherimake-storefront-layout.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
    .cherimake-storefront-layout.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title,
    .cherimake-storefront-layout.single-product .related.products ul.products li.product .price,
    .cherimake-storefront-layout.single-product .upsells.products ul.products li.product .price {
        font-size: 15px;
    }
}

.cherimake-storefront-layout table.cart,
.cherimake-storefront-layout .cart_totals,
.cherimake-storefront-layout .woocommerce-checkout-review-order,
.cherimake-storefront-layout .woocommerce-form-coupon,
.cherimake-storefront-layout .woocommerce-form-login {
    background: #fff;
    border: 1px solid var(--cheri-line);
    border-radius: var(--cheri-radius);
}

.cherimake-storefront-layout .site-footer {
    margin-top: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
    color: var(--cheri-muted);
    background: #f0eae3;
    border-top: 1px solid #e1d7cc;
}

.cherimake-storefront-layout .site-footer .site-info {
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cherimake-storefront-layout .site-footer a,
.cherimake-storefront-layout .site-footer h1,
.cherimake-storefront-layout .site-footer h2,
.cherimake-storefront-layout .site-footer h3 {
    color: var(--cheri-ink);
}

@media (max-width: 900px) {
    .cherimake-storefront-layout ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cherimake-storefront-layout .site-content {
        padding-top: 28px;
    }
}

@media (max-width: 568px) {
    .cherimake-storefront-layout .cheri-header-account {
        display: none;
    }

    .cherimake-storefront-layout .col-full {
        width: min(100% - 28px, 1240px);
        margin-right: auto;
        margin-left: auto;
    }

    body.cherimake-storefront-layout .storefront-primary-navigation > .col-full,
    body.cherimake-storefront-layout.woocommerce-cart .site-content > .col-full,
    body.cherimake-storefront-layout.woocommerce-checkout .site-content > .col-full {
        width: min(100% - 28px, 1240px) !important;
    }

    .cherimake-storefront-layout .site-header {
        padding-top: 0;
    }

    .cherimake-storefront-layout ul.products {
        gap: 14px;
    }

    .cherimake-storefront-layout ul.products li.product,
    .cherimake-storefront-layout ul.products.columns-2 li.product,
    .cherimake-storefront-layout ul.products.columns-3 li.product,
    .cherimake-storefront-layout ul.products.columns-4 li.product {
        padding: 10px 10px 14px;
        border-radius: 14px;
    }

    .cherimake-storefront-layout ul.products li.product .woocommerce-loop-product__title,
    .cherimake-storefront-layout ul.products li.product h2,
    .cherimake-storefront-layout ul.products li.product h3 {
        font-size: 15px;
    }

    .cherimake-storefront-layout.single-product div.product {
        padding: 16px;
        border-radius: 16px;
    }

    .cherimake-storefront-layout.single-product div.product .summary .product_title {
        font-size: 22px;
    }
}

@media (max-width: 390px) {
    .cherimake-storefront-layout ul.products {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cherimake-storefront-layout *,
    .cherimake-storefront-layout *::before,
    .cherimake-storefront-layout *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
