.woocommerce ul.products li.product .anaiz-shop-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 14px;
}

.woocommerce ul.products li.product .anaiz-shop-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
    padding: 11px 10px !important;
    border: 2px solid #8d174b !important;
    border-radius: 6px !important;
    background: #8d174b !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: normal;
    cursor: pointer;
}

.woocommerce ul.products li.product .anaiz-shop-actions .anaiz-learn-more {
    background: #fff !important;
    color: #8d174b !important;
}

.woocommerce ul.products li.product .anaiz-shop-actions .button:hover {
    border-color: #6f103a !important;
    background: #6f103a !important;
    color: #fff !important;
}

.woocommerce ul.products li.product .anaiz-shop-actions .anaiz-learn-more:hover {
    background: #fceef5 !important;
    color: #6f103a !important;
}

.woocommerce ul.products li.product .anaiz-shop-actions .button:focus-visible,
.woocommerce ul.products li.product .anaiz-shop-actions .added_to_cart:focus-visible {
    outline: 3px solid #087b8d;
    outline-offset: 3px;
}

.woocommerce ul.products li.product .anaiz-shop-actions .anaiz-cart-unavailable,
.woocommerce ul.products li.product .anaiz-shop-actions .anaiz-cart-unavailable:hover {
    border-color: #c7c7c7 !important;
    background: #e9e9e9 !important;
    color: #545454 !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

.woocommerce ul.products li.product .anaiz-shop-availability {
    flex: 0 0 auto;
    color: #545454;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.woocommerce ul.products li.product .anaiz-shop-actions .added_to_cart {
    flex: 0 0 auto;
    color: #8d174b;
    font-weight: 700;
    line-height: 1.4;
}

.wc-block-grid__product .anaiz-shop-block-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 14px;
}

.wc-block-grid__product .anaiz-shop-block-actions .wp-block-button {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    margin: 0;
}

.wc-block-grid__product .anaiz-shop-block-actions .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px !important;
    border: 2px solid #8d174b !important;
    border-radius: 6px !important;
    background: #8d174b !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: normal;
}

.wc-block-grid__product .anaiz-shop-block-actions .anaiz-shop-block-learn .wp-block-button__link {
    background: #fff !important;
    color: #8d174b !important;
}

.wc-block-grid__product .anaiz-shop-block-actions .wp-block-button__link:hover {
    border-color: #6f103a !important;
    background: #6f103a !important;
    color: #fff !important;
}

.wc-block-grid__product .anaiz-shop-block-actions .anaiz-shop-block-learn .wp-block-button__link:hover {
    background: #fceef5 !important;
    color: #6f103a !important;
}

.wc-block-grid__product .anaiz-shop-block-actions .wp-block-button__link:focus-visible {
    outline: 3px solid #087b8d;
    outline-offset: 3px;
}

.wc-block-grid__product .anaiz-shop-block-actions .anaiz-cart-unavailable,
.wc-block-grid__product .anaiz-shop-block-actions .anaiz-cart-unavailable:hover {
    border-color: #c7c7c7 !important;
    background: #e9e9e9 !important;
    color: #545454 !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

.wc-block-grid__product .anaiz-shop-block-actions .anaiz-shop-availability {
    flex: 0 0 auto;
    color: #545454;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

body.woocommerce .anaiz-shop-header-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

body.woocommerce .anaiz-shop-header-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 9px 15px;
    border: 2px solid #8d174b;
    border-radius: 6px;
    background: #fff;
    color: #8d174b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

body.woocommerce .anaiz-shop-header-links .anaiz-shop-header-cart {
    background: #8d174b;
    color: #fff;
}

body.woocommerce .anaiz-shop-header-links .anaiz-shop-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 24px;
    height: 24px;
    margin-left: 8px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    color: #8d174b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

body.woocommerce .anaiz-shop-header-links a:hover {
    border-color: #6f103a;
    background: #fceef5;
    color: #6f103a;
}

body.woocommerce .anaiz-shop-header-links .anaiz-shop-header-cart:hover {
    background: #6f103a;
    color: #fff;
}

body.woocommerce .anaiz-shop-header-links .anaiz-shop-header-cart:hover .anaiz-shop-cart-count {
    color: #6f103a;
}

body.woocommerce .anaiz-shop-header-links a:focus-visible {
    outline: 3px solid #087b8d;
    outline-offset: 3px;
}

body.woocommerce .page-header__content.anaiz-shop-header-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 16px;
}

body.woocommerce .anaiz-shop-header-content .page-header__title {
    min-width: 0;
    margin: 0;
}

body.woocommerce .anaiz-shop-header-content .anaiz-shop-header-links {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}

body.woocommerce .anaiz-shop-header-content .breadcrumbs {
    grid-column: 1 / -1;
}

@media (max-width: 700px) {
    body.woocommerce .page-header__content.anaiz-shop-header-content {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce .anaiz-shop-header-content .anaiz-shop-header-links {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-start;
    }

    body.woocommerce .anaiz-shop-header-content .breadcrumbs {
        grid-column: 1;
        grid-row: 3;
    }
}
