.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy {
    --yblkrest-button-buy-control-width: 92px;
    --yblkrest-button-buy-control-height: 45px;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--yblkrest-button-buy-control-width);
    min-width: var(--yblkrest-button-buy-control-width);
    height: var(--yblkrest-button-buy-control-height);
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #f2f0e3;
    box-shadow: none;
    text-decoration: none;
    color: #1f1f1f;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control[hidden],
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy button.wc-block-components-product-button__button[hidden],
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy button.wp-block-button__link[hidden],
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link[hidden],
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity[hidden] {
    display: none !important;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control:hover,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control:focus,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button:hover,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button:focus,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link:hover,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link:focus {
    background: #e8e2d0;
    box-shadow: 0 0 0 2px rgba(40, 36, 30, 0.12);
    transform: translateY(-1px);
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control:focus-visible,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button:focus-visible,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link:focus-visible {
    outline: 2px solid #2d2a26;
    outline-offset: 2px;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control.loading,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control.added,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button.loading,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button.added,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link.loading,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link.added {
    background: #e5decc;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control::before,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button::before,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d2a26' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10V8a4 4 0 1 1 8 0v2'/%3E%3Cpath d='M6 10h12l-1.1 9.5a1 1 0 0 1-1 .9H8.1a1 1 0 0 1-1-.9L6 10Z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__label,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control > span,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button > span,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .added_to_cart.wc-forward {
    display: none !important;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy span[data-wp-bind--hidden="!state.displayViewCart"] {
    display: none !important;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: var(--yblkrest-button-buy-control-width);
    min-width: var(--yblkrest-button-buy-control-width);
    max-width: var(--yblkrest-button-buy-control-width);
    flex: 0 1 auto;
    gap: 12px;
    height: var(--yblkrest-button-buy-control-height);
    min-height: var(--yblkrest-button-buy-control-height);
    padding: 0 12px;
    border-radius: 999px;
    background-color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(45, 42, 38, 0.08);
    box-sizing: border-box;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity:not([hidden]) {
    display: inline-flex;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity[hidden] {
    display: none !important;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1f1f1f;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

/* Render quantity icons with matching strokes, independent of the loaded font. */
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button.yblkrest-button-buy__quantity-button--minus,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button.yblkrest-button-buy__quantity-button--plus {
    position: relative;
    font-size: 0;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button--minus::after,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button--plus::after,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button--plus::before {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 999px;
    background: currentColor;
    content: '';
    transform: translate(-50%, -50%);
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button--minus::after,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button--plus::after {
    width: 10px;
    height: 2px;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button--plus::before {
    width: 2px;
    height: 10px;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-value {
    min-width: 12px;
    color: #1f1f1f;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

@supports (width: 1cqw) {
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity {
        width: var(--yblkrest-button-buy-control-width);
        gap: clamp(4px, 2cqw, 12px);
        height: clamp(40px, 11cqw, var(--yblkrest-button-buy-control-height));
        min-height: clamp(40px, 11cqw, var(--yblkrest-button-buy-control-height));
        padding: 0 clamp(10px, 3cqw, 12px);
    }

    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button {
        width: clamp(14px, 3cqw, 18px);
        height: clamp(14px, 3cqw, 18px);
        font-size: clamp(11px, 3cqw, 14px);
    }

    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-value {
        font-size: clamp(14px, 4cqw, 22px);
    }
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy.is-yblkrest-button-buy--has-quantity .wc-block-components-product-button__button,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy.is-yblkrest-button-buy--has-quantity .wp-block-button__link {
    display: none !important;
}

.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy.is-style-outline .wc-block-components-product-button__button,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy.is-style-outline .wp-block-button__link,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wc-block-components-product-button__button,
.wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link {
    background-color: #f2f0e3 !important;
    background-image: none !important;
    border: 0 !important;
    color: #1f1f1f !important;
}

@media (max-width: 1024px) {
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy {
        --yblkrest-button-buy-control-height: 32px;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        align-self: stretch;
        justify-content: stretch;
        margin-top: 12px;
    }

    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control:not([hidden]),
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy button.wc-block-components-product-button__button:not([hidden]),
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy button.wp-block-button__link:not([hidden]),
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link:not([hidden]),
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity:not([hidden]) {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: var(--yblkrest-button-buy-control-height) !important;
        min-height: var(--yblkrest-button-buy-control-height) !important;
        max-height: var(--yblkrest-button-buy-control-height) !important;
        line-height: var(--yblkrest-button-buy-control-height) !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
        overflow: hidden !important;
        appearance: none !important;
    }

    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__control::before,
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy button.wc-block-components-product-button__button::before,
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy button.wp-block-button__link::before,
    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .wp-block-button__link::before {
        width: 14px;
        height: 14px;
    }

    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity:not([hidden]) {
        gap: 6px;
        padding: 0 8px !important;
    }

    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-button {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }

    .wp-block-button.wc-block-components-product-button.is-yblkrest-button-buy .yblkrest-button-buy__quantity-value {
        min-width: 8px;
        font-size: 14px;
    }
}
