.byno-woo-products-wrap ul.products {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.byno-woo-products-wrap ul.products::before,
.byno-woo-products-wrap ul.products::after {
    display: none;
}

.byno-woo-products-wrap ul.products li.product.byno-product-card {
    float: none;
    margin: 0;
    width: 100%;
}

.byno-home-specials-swiper ul.products.swiper-wrapper {
    display: flex;
    gap: 0;
    grid-template-columns: none;
}

.byno-home-specials-swiper ul.products.swiper-wrapper li.product.byno-product-card.swiper-slide {
    width: auto;
}

.single-product .related .products,
.single-product .up-sells .products {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-cart .cross-sells .products {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-product .related .products::before,
.single-product .related .products::after,
.single-product .up-sells .products::before,
.single-product .up-sells .products::after,
.woocommerce-cart .cross-sells .products::before,
.woocommerce-cart .cross-sells .products::after {
    display: none;
}

.single-product .related .products li.product.byno-product-card,
.single-product .up-sells .products li.product.byno-product-card,
.woocommerce-cart .cross-sells .products li.product.byno-product-card {
    float: none;
    margin: 0;
    width: 100%;
}

.byno-product-card-inner {
    background: #fff;
    border: 1px solid #e7ecf3;
    border-radius: 14px;
    box-shadow: 0 14px 28px -24px rgba(22, 34, 56, 0.42);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    transition: 0.2s all ease-in-out;
    container-type: inline-size;
}

.byno-product-card-inner:hover {
    box-shadow: 0 14px 38px -20px rgb(22 34 56 / 43%);
    transform: translateY(-1px);
}

.byno-product-card-top-actions {
    inset: 15px 15px auto auto;
    position: absolute;
    z-index: 3;
}

.byno-product-card-inner .byno-wishlist-btn {
    height: 40px;
    width: 40px;
    border: 1px solid #ebedf2;
    border-radius: 999px;
    gap: 0;
    line-height: 1;
    min-height: 35px;
}

.byno-product-card-rating-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #ebedf2;
    border-radius: 999px;
    color: #f58a0d;
    display: inline-flex;
    gap: 0;
    inset: 15px auto auto 15px;
    line-height: 1;
    min-height: 28px;
    padding: 5px 8px;
    position: absolute;
    z-index: 3;
}

.byno-product-card-rating-badge .byno-summary-meta-rating {
    align-items: center;
    display: inline-flex;
    gap: 4px;
}

.byno-product-card-rating-badge .byno-summary-meta-star {
    align-items: center;
    display: inline-flex;
    height: 14px;
    justify-content: center;
    width: 14px;
}

.byno-product-card-rating-badge .byno-summary-meta-star svg {
    display: block;
    height: 100%;
    width: 100%;
    fill: #f8b400;
}

.byno-product-card-rating-badge .byno-summary-meta-rating-value {
    color: var(--byno-var-color-light-dark-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.byno-product-card-top-actions .byno-wishlist-btn {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.75);
}

body.dark-mode .byno-product-card-top-actions .byno-wishlist-btn {
    background: rgba(20, 27, 35, 0.92);
}

.byno-product-thumb-link {
    display: block;
    position: relative;
}

.byno-product-thumb {
    aspect-ratio: 1 / 1;
    background: #fff;
    margin: 0;
    padding: 10px;
    overflow: hidden;
}

.byno-product-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: none;
    width: 100%;
    border-radius: 10px !important;
}

.byno-product-card .onsale {
    display: none;
}

.byno-product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 8px 12px 12px;
}

.byno-product-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.75;
    margin: 0;
}

.byno-product-card-title a {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--byno-var-color-light-dark-text);
    display: -webkit-box;
    font-size: inherit !important;
    line-clamp: 2;
    line-height: inherit;
    overflow: hidden;
}


.byno-product-card-brand {
    align-items: center;
    align-self: flex-start;
    background: #f6f8fb;
    border: 1px solid #e7ecf3;
    border-radius: 999px;
    color: #858b9a;
    display: inline-flex;
    flex-wrap: nowrap;
    font-size: 12px;
    gap: 4px;
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
    padding: 4px 9px;
}

.byno-product-card-brand__label {
    color: #858b9a;
    flex: 0 0 auto;
}

.byno-product-card-brand__name {
    color: #343a67;
    display: block;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.byno-product-card-brand__name:hover,
a.byno-product-card-brand__name:focus {
    color: var(--byno-var-main-color, #0076ca);
}

.byno-product-card-bottom {
    align-items: flex-end;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    flex-wrap: wrap;
    row-gap: 10px;
}

.byno-product-card-bottom > .byno-product-card-price-block {
    flex: 1 1 auto;
    min-width: min(100%, max-content);
    max-width: 100%;
}

.byno-product-card-bottom > .byno-product-card-actions {
    display: flex;
    flex: 0 0 112px;
    justify-content: flex-start;
    min-width: 96px;
    max-width: 124px;
}

.product-type-variable .byno-product-card-meta.byno-product-card-meta--price {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1;
    align-items: end;
}

.product-type-variable .byno-product-card-meta.byno-product-card-meta--price span[aria-hidden="true"]:not(.woocommerce-Price-amount.amount) {
    align-self: center;
}

.byno-product-card .byno-product-card-meta--price .price {
    display: inline-flex !important;
}

.byno-product-card-bottom > .byno-product-card-actions .byno-product-card-cart-control,
.byno-product-card-bottom > .byno-product-card-actions .variations_form,
.byno-product-card-bottom > .byno-product-card-actions .button.alt.byno-variable-popup-trigger,
.byno-product-card-bottom > .byno-product-card-actions .button.alt.byno-standard-add-to-cart-link {
    width: 100%;
}

.byno-product-card .byno-universal-cart-control .byno-mobile-purchase-counter {
    min-width: 100px;
    width: 100%;
}

.byno-product-card .byno-universal-cart-control .byno-mobile-purchase-btn, .byno-product-card .button.alt.byno-variable-popup-trigger, .byno-product-card .button.alt.byno-standard-add-to-cart-link, .byno-product-card .button.alt.byno-contact-purchase-btn, .byno-product-card .button.alt.byno-var-confirm, .byno-product-card .single_add_to_cart_button.byno-contact-purchase-btn, .byno-product-card .byno-contact-purchase-btn {
    align-items: center;
    appearance: none;
    -webkit-appearance: none;
    background: var(--byno-var-main-color) !important;
    background-color: var(--byno-var-main-color) !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 600 !important;
    height: fit-content !important;
    justify-content: center;
    line-height: 1;
    padding: 8px 14px !important;
    text-decoration: none;
    transition: filter 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    flex-wrap: nowrap;
    gap: 6px;
    min-height: 40px;
}

.byno-product-card .byno-mobile-purchase-btn .byno-mobile-purchase-btn-icon,
.byno-product-card .button.alt.byno-variable-popup-trigger .byno-mobile-purchase-btn-icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
}

.byno-product-card .byno-mobile-purchase-btn .byno-mobile-purchase-btn-icon svg,
.byno-product-card .button.alt.byno-variable-popup-trigger .byno-mobile-purchase-btn-icon svg {
    display: block;
    height: 24px;
    width: 24px;
}

.byno-product-card-price-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: flex-start;
    min-width: 0;
}

.byno-product-card-meta--price .price {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
    margin-top: 0;
    min-width: 0;
    width: 100%;
}

.byno-product-card-meta .star-rating {
    float: none;
    margin: 0 0 4px;
}

.byno-product-card-meta .price {
    color: #1f2254;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
}

.woocommerce div.product form.cart {
    margin-bottom: 0 !important;
}

.byno-product-card-meta .price bdi,
.byno-product-card-meta--price > bdi {
    align-items: center;
    color: #1f2254;
    display: flex;
    font-size: 20px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.4;
    padding: 2px 0 6px;
}

.byno-product-card-meta .price .byno-sale-price-top, .byno-product-card-meta--price > .byno-sale-price-top {
    align-items: center;
    color: #b7b9c2;
    display: inline-flex;
    flex: 1;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: end;
    line-height: 1;
    max-width: 100%;
    width: 100%;
}

.byno-product-card-meta .price .byno-price-discount-badge,
.byno-product-card-meta--price > .byno-sale-price-top .byno-price-discount-badge {
    align-items: center;
    background: #e53b3b;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    padding: 4px 8px;
}


.byno-product-card--discount-badge-corner .byno-product-card-meta .price .byno-price-discount-badge,
.byno-product-card--discount-badge-corner .byno-product-card-meta--price > .byno-sale-price-top .byno-price-discount-badge {
    inset: 15px auto auto 15px;
    min-height: 28px;
    padding: 5px 9px;
    position: absolute;
    z-index: 3;
}

.byno-product-card--discount-badge-corner.byno-product-card--has-rating-badge .byno-product-card-meta .price .byno-price-discount-badge,
.byno-product-card--discount-badge-corner.byno-product-card--has-rating-badge .byno-product-card-meta--price > .byno-sale-price-top .byno-price-discount-badge {
    top: 51px;
}

.byno-home-widget--hide-rating .byno-product-card--discount-badge-corner.byno-product-card--has-rating-badge .byno-product-card-meta .price .byno-price-discount-badge,
.byno-home-widget--hide-rating .byno-product-card--discount-badge-corner.byno-product-card--has-rating-badge .byno-product-card-meta--price > .byno-sale-price-top .byno-price-discount-badge {
    top: 15px;
}

.byno-product-card-meta .price del,
.byno-product-card-meta--price > .byno-sale-price-top del {
    color: #b7b9c2;
    font-size: 12px;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
}

.byno-product-card-meta .price del .woocommerce-Price-currencySymbol,
.byno-product-card-meta--price > .byno-sale-price-top del .woocommerce-Price-currencySymbol {
    color: #8e929f;
    display: none;
}

.byno-product-card-meta .price ins, .byno-product-card-meta--price > ins {
    color: #1f2254;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.12;
    margin-top: 2px;
    margin-right: auto;
    text-decoration: none;
}

.byno-product-card-meta .price ins .woocommerce-Price-currencySymbol,
.byno-product-card-meta--price > ins .woocommerce-Price-currencySymbol {
    color: #2f335f;
    font-size: 10px;
    font-weight: 700;
    margin-right: 2px;
}

.byno-product-card-meta .price > .amount, .byno-product-card-meta .price > .woocommerce-Price-amount, .byno-product-card-meta--price > .amount, .byno-product-card-meta--price > .woocommerce-Price-amount {
    color: #1f2254;
    font-size: 16px;
    font-weight: 700;
}

.byno-product-card-meta .price bdi .woocommerce-Price-currencySymbol {
    color: #2f335f;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: -3px;
    margin-right: 2px;
}

.byno-product-card-meta .price .woocommerce-Price-currencySymbol {
    font-size: 11px;
    font-weight: 700;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .amount,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .amount,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .woocommerce-Price-amount,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .woocommerce-Price-amount {
    font-size: 15px;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .price,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .price {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 0;
    width: 100%;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .price bdi,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .price bdi,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price > bdi,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price > bdi {
    align-items: center;
    color: #1f2254;
    display: flex;
    font-size: 20px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.4;
    padding: 2px 0 6px;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top {
    align-items: center;
    color: #b7b9c2;
    display: inline-flex;
    flex: 1;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    line-height: 1;
    max-width: 100%;
    width: 100%;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .byno-price-discount-badge,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price .byno-price-discount-badge {
    align-items: center;
    background: #e53b3b;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    padding: 4px 8px;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price del,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price del {
    color: #b7b9c2;
    font-size: 12px;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price del .woocommerce-Price-currencySymbol,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price del .woocommerce-Price-currencySymbol {
    color: #8e929f;
    display: none;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price ins,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price ins {
    color: #1f2254;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.12;
    margin-top: 2px;
    text-decoration: none;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price ins .woocommerce-Price-currencySymbol,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price ins .woocommerce-Price-currencySymbol {
    color: #2f335f;
    font-size: 10px;
    font-weight: 700;
    margin-right: 2px;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price bdi .woocommerce-Price-currencySymbol,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price bdi .woocommerce-Price-currencySymbol {
    color: #2f335f;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: -3px;
    margin-right: 2px;
}

.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price del > span {
    font-size: 12px !important;
}

.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-meta.byno-product-card-meta--price ins > span {
    font-size: 18px !important;
}

.woocommerce ul.products li.product.byno-product-card .button, .woocommerce-page ul.products li.product.byno-product-card .button {
    margin: 0 !important;
    display: flex;
    -webkit-font-smoothing: unset !important;
}

.byno-product-card-meta.byno-product-card-meta--price {
    text-align: left;
}

.byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price {
    align-items: flex-end;
    text-align: left;
}

.byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price {
    align-items: flex-end;
    justify-content: flex-start;
}

.byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
.byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi {
    justify-content: flex-start;
}

.byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
.byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top {
    justify-content: flex-start;
}

.byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price ins,
.byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > ins {
    margin-right: 0;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price {
    align-items: flex-end;
    justify-content: flex-start;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi {
    justify-content: flex-start;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top {
    justify-content: flex-start;
}

.byno-product-card-bottom.is-stacked {
    align-items: stretch;
}

.byno-product-card-bottom.is-stacked > .byno-product-card-price-block {
    flex: 1 0 100%;
    min-width: 0;
}

.byno-product-card-bottom.is-stacked > .byno-product-card-actions {
    flex: 1 0 100%;
    max-width: none;
    min-width: 0;
    width: 100%;
}

.byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price {
    align-items: center;
    text-align: center;
}

.byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price {
    align-items: center;
    justify-content: center;
}

.byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
.byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi {
    justify-content: center;
}

.byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
.byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top {
    justify-content: center;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price {
    align-items: center;
    justify-content: center;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi {
    justify-content: center;
}

.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom.is-stacked > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top {
    justify-content: center;
}

.byno-product-card-actions {
    direction: ltr;
    min-width: 0;
}

.byno-product-card-actions .byno-product-card-cart-control {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.byno-product-card-actions .byno-product-card-cart-control .byno-mobile-purchase-price {
    font-size: 0.9rem;
    line-height: 1.7;
}

.byno-product-card-actions .byno-product-card-cart-control .byno-mobile-purchase-btn,
.byno-product-card-actions .byno-product-card-cart-control .byno-mobile-purchase-counter {
    width: 100%;
}

.byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-actions .byno-mobile-purchase-counter,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-actions .byno-mobile-purchase-counter,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-actions .byno-mobile-purchase-counter {
    direction: rtl;
}

.byno-product-card-actions .button,
.byno-product-card-actions .byno-mobile-purchase-btn {
    background: var(--byno-var-main-color);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.byno-product-card-actions .button:hover,
.byno-product-card-actions .byno-mobile-purchase-btn:hover {
    opacity: 0.94;
}

.byno-product-card-actions .byno-mobile-purchase-btn.is-disabled {
    background: #d6dae3;
    color: #5f6776;
    cursor: not-allowed;
    display: flex;
    justify-self: center;
    align-items: center;
}

.byno-product-card-actions .button.byno-unavailable-loop-btn {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.byno-product-card-actions .button.byno-unavailable-loop-btn, .woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-actions .button.byno-unavailable-loop-btn, .woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-actions .button.byno-unavailable-loop-btn {
    align-items: center;
    background: #d6dae3;
    border: 0;
    border-radius: 12px;
    color: #5f6776;
    cursor: not-allowed;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.4;
    opacity: 0.72;
    pointer-events: none;
    padding: 0 14px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    min-height: 40px;
}

.byno-product-card-actions .button.byno-unavailable-loop-btn:hover,
.woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-actions .button.byno-unavailable-loop-btn:hover,
.woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-actions .button.byno-unavailable-loop-btn:hover {
    opacity: 0.72;
}

.byno-product-card-actions .added_to_cart {
    color: var(--byno-var-main-color);
    margin-top: 8px;
}

@media only screen and (max-width: 1200px) {
    .byno-woo-products-wrap ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .single-product .related .products,
    .single-product .up-sells .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 900px) {
    .byno-woo-products-wrap ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-product .related .products,
    .single-product .up-sells .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .byno-product-card-bottom > .byno-product-card-actions {
        flex-basis: 108px;
        min-width: 100px;
        max-width: 116px;
    }
}

@media only screen and (max-width: 640px) {
    .byno-woo-products-wrap ul.products,
    .single-product .related .products,
    .single-product .up-sells .products,
    .woocommerce-cart .cross-sells .products {
        gap: 10px;
        grid-template-columns: minmax(0, 1fr);
    }

    .byno-product-card-bottom {
        align-items: flex-end;
    }

    .byno-product-card-title {
        font-size: 16px;
    }

    .byno-product-card-actions .button,
    .byno-product-card-actions .added_to_cart {
        min-height: 40px;
    }
}

@container (max-width: 220px) {
    .byno-product-card-bottom {
        align-items: stretch;
    }

    .byno-product-card-bottom > .byno-product-card-actions {
        flex: 1 0 100%;
        max-width: none;
        min-width: 0;
        width: 100%;
    }
    .byno-product-card-actions .button, .byno-product-card-actions .added_to_cart {
        min-height: 40px;
    }

    .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price {
        align-items: center;
        text-align: center;
    }

    .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price {
        align-items: center;
        justify-content: center;
    }

    .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
    .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi {
        justify-content: center;
    }

    .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
    .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top {
        justify-content: center;
    }

    .woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price,
    .woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price {
        align-items: center;
        justify-content: center;
    }

    .woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
    .woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price bdi,
    .woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi,
    .woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > bdi {
        justify-content: center;
    }

    .woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
    .woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price .price .byno-sale-price-top,
    .woocommerce .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top,
    .woocommerce-page .byno-woo-products-wrap ul.products li.product.byno-product-card .byno-product-card-bottom > .byno-product-card-price-block .byno-product-card-meta.byno-product-card-meta--price > .byno-sale-price-top {
        justify-content: center;
    }
}

/* =========================================================
 * Ashlyshop / Buyno - compact product-card icons
 * Keeps cart behavior unchanged while removing repeated SVG
 * DOM nodes from every product card.
 * ======================================================= */
.byno-product-card .byno-universal-cart-control.is-compact-icons:not(.is-unavailable):not(.has-custom-button-icon) .byno-mobile-purchase-btn::before,
.byno-product-card .byno-product-card-compact-cart-trigger::before {
    background-color: currentColor;
    content: '';
    display: block;
    flex: 0 0 24px;
    height: 24px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 2H3.74001C4.82001 2 5.67 2.93 5.58 4L4.75 13.96C4.61 15.59 5.89999 16.99 7.53999 16.99H18.19C19.63 16.99 20.89 15.81 21 14.38L21.54 6.88C21.66 5.22 20.4 3.87 18.73 3.87H5.82001' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16.25 22C16.9404 22 17.5 21.4404 17.5 20.75C17.5 20.0596 16.9404 19.5 16.25 19.5C15.5596 19.5 15 20.0596 15 20.75C15 21.4404 15.5596 22 16.25 22Z' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8.25 22C8.94036 22 9.5 21.4404 9.5 20.75C9.5 20.0596 8.94036 19.5 8.25 19.5C7.55964 19.5 7 20.0596 7 20.75C7 21.4404 7.55964 22 8.25 22Z' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M9 8H21' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 2H3.74001C4.82001 2 5.67 2.93 5.58 4L4.75 13.96C4.61 15.59 5.89999 16.99 7.53999 16.99H18.19C19.63 16.99 20.89 15.81 21 14.38L21.54 6.88C21.66 5.22 20.4 3.87 18.73 3.87H5.82001' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16.25 22C16.9404 22 17.5 21.4404 17.5 20.75C17.5 20.0596 16.9404 19.5 16.25 19.5C15.5596 19.5 15 20.0596 15 20.75C15 21.4404 15.5596 22 16.25 22Z' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8.25 22C8.94036 22 9.5 21.4404 9.5 20.75C9.5 20.0596 8.94036 19.5 8.25 19.5C7.55964 19.5 7 20.0596 7 20.75C7 21.4404 7.55964 22 8.25 22Z' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M9 8H21' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    width: 24px;
}

.byno-product-card .byno-universal-cart-control.is-compact-icons .byno-mobile-purchase-counter-btn::before {
    background-color: currentColor;
    content: '';
    display: block;
    flex: 0 0 18px;
    height: 18px;
    width: 18px;
}

.byno-product-card .byno-universal-cart-control.is-compact-icons .byno-mobile-purchase-counter-btn.is-dec::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 12.75H6C5.59 12.75 5.25 12.41 5.25 12C5.25 11.59 5.59 11.25 6 11.25H18C18.41 11.25 18.75 11.59 18.75 12C18.75 12.41 18.41 12.75 18 12.75Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 12.75H6C5.59 12.75 5.25 12.41 5.25 12C5.25 11.59 5.59 11.25 6 11.25H18C18.41 11.25 18.75 11.59 18.75 12C18.75 12.41 18.41 12.75 18 12.75Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.byno-product-card .byno-universal-cart-control.is-compact-icons .byno-mobile-purchase-counter-btn.is-inc::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 12.75H6C5.59 12.75 5.25 12.41 5.25 12C5.25 11.59 5.59 11.25 6 11.25H18C18.41 11.25 18.75 11.59 18.75 12C18.75 12.41 18.41 12.75 18 12.75Z' fill='black'/%3E%3Cpath d='M12 18.75C11.59 18.75 11.25 18.41 11.25 18V6C11.25 5.59 11.59 5.25 12 5.25C12.41 5.25 12.75 5.59 12.75 6V18C12.75 18.41 12.41 18.75 12 18.75Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 12.75H6C5.59 12.75 5.25 12.41 5.25 12C5.25 11.59 5.59 11.25 6 11.25H18C18.41 11.25 18.75 11.59 18.75 12C18.75 12.41 18.41 12.75 18 12.75Z' fill='black'/%3E%3Cpath d='M12 18.75C11.59 18.75 11.25 18.41 11.25 18V6C11.25 5.59 11.59 5.25 12 5.25C12.41 5.25 12.75 5.59 12.75 6V18C12.75 18.41 12.41 18.75 12 18.75Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.byno-product-card .byno-universal-cart-control.is-compact-icons .byno-mobile-purchase-counter.is-trash .byno-mobile-purchase-counter-btn.is-dec::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.92 6.73C15.63 6.2 10.35 6 5.12 6.53L3.08 6.73C2.66 6.77 2.29 6.47 2.25 6.05C2.21 5.63 2.51 5.27 2.92 5.23L4.96 5.03C10.28 4.49 15.67 4.7 21.07 5.23C21.48 5.27 21.78 5.64 21.74 6.05C21.71 6.44 21.38 6.73 21 6.73H20.92Z' fill='black'/%3E%3Cpath d='M8.5 5.72C8.46 5.72 8.42 5.72 8.37 5.71C7.97 5.64 7.69 5.25 7.76 4.85L7.98 3.54C8.14 2.58 8.36 1.25 10.69 1.25H13.31C15.65 1.25 15.87 2.63 16.02 3.55L16.24 4.85C16.31 5.26 16.03 5.65 15.63 5.71C15.22 5.78 14.83 5.5 14.77 5.1L14.55 3.8C14.41 2.93 14.38 2.76 13.32 2.76H10.7C9.64 2.76 9.62 2.9 9.47 3.79L9.24 5.09C9.18 5.46 8.86 5.72 8.5 5.72Z' fill='black'/%3E%3Cpath d='M15.21 22.75H8.79C5.3 22.75 5.16 20.82 5.05 19.26L4.4 9.19C4.37 8.78 4.69 8.42 5.1 8.39C5.52 8.37 5.87 8.68 5.9 9.09L6.55 19.16C6.66 20.68 6.7 21.25 8.79 21.25H15.21C17.31 21.25 17.35 20.68 17.45 19.16L18.1 9.09C18.13 8.68 18.49 8.37 18.9 8.39C19.31 8.42 19.63 8.77 19.6 9.19L18.95 19.26C18.84 20.82 18.7 22.75 15.21 22.75Z' fill='black'/%3E%3Cpath d='M13.66 17.25H10.33C9.92 17.25 9.58 16.91 9.58 16.5C9.58 16.09 9.92 15.75 10.33 15.75H13.66C14.07 15.75 14.41 16.09 14.41 16.5C14.41 16.91 14.07 17.25 13.66 17.25Z' fill='black'/%3E%3Cpath d='M14.5 13.25H9.5C9.09 13.25 8.75 12.91 8.75 12.5C8.75 12.09 9.09 11.75 9.5 11.75H14.5C14.91 11.75 15.25 12.09 15.25 12.5C15.25 12.91 14.91 13.25 14.5 13.25Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.92 6.73C15.63 6.2 10.35 6 5.12 6.53L3.08 6.73C2.66 6.77 2.29 6.47 2.25 6.05C2.21 5.63 2.51 5.27 2.92 5.23L4.96 5.03C10.28 4.49 15.67 4.7 21.07 5.23C21.48 5.27 21.78 5.64 21.74 6.05C21.71 6.44 21.38 6.73 21 6.73H20.92Z' fill='black'/%3E%3Cpath d='M8.5 5.72C8.46 5.72 8.42 5.72 8.37 5.71C7.97 5.64 7.69 5.25 7.76 4.85L7.98 3.54C8.14 2.58 8.36 1.25 10.69 1.25H13.31C15.65 1.25 15.87 2.63 16.02 3.55L16.24 4.85C16.31 5.26 16.03 5.65 15.63 5.71C15.22 5.78 14.83 5.5 14.77 5.1L14.55 3.8C14.41 2.93 14.38 2.76 13.32 2.76H10.7C9.64 2.76 9.62 2.9 9.47 3.79L9.24 5.09C9.18 5.46 8.86 5.72 8.5 5.72Z' fill='black'/%3E%3Cpath d='M15.21 22.75H8.79C5.3 22.75 5.16 20.82 5.05 19.26L4.4 9.19C4.37 8.78 4.69 8.42 5.1 8.39C5.52 8.37 5.87 8.68 5.9 9.09L6.55 19.16C6.66 20.68 6.7 21.25 8.79 21.25H15.21C17.31 21.25 17.35 20.68 17.45 19.16L18.1 9.09C18.13 8.68 18.49 8.37 18.9 8.39C19.31 8.42 19.63 8.77 19.6 9.19L18.95 19.26C18.84 20.82 18.7 22.75 15.21 22.75Z' fill='black'/%3E%3Cpath d='M13.66 17.25H10.33C9.92 17.25 9.58 16.91 9.58 16.5C9.58 16.09 9.92 15.75 10.33 15.75H13.66C14.07 15.75 14.41 16.09 14.41 16.5C14.41 16.91 14.07 17.25 13.66 17.25Z' fill='black'/%3E%3Cpath d='M14.5 13.25H9.5C9.09 13.25 8.75 12.91 8.75 12.5C8.75 12.09 9.09 11.75 9.5 11.75H14.5C14.91 11.75 15.25 12.09 15.25 12.5C15.25 12.91 14.91 13.25 14.5 13.25Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
