/* Only JBM cards inserted by the child-theme archive adapter. */
.products .jbm-archive-product {
    display: flex;
    min-inline-size: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.products .jbm-archive-product > .jbm-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    inline-size: 100%;
    max-inline-size: none;
    margin: 0;
}

.products .jbm-archive-product .jbm-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-inline-size: 0;
}

.products .jbm-archive-product .jbm-card__price {
    margin-block-start: auto;
}

.products .jbm-archive-product .jbm-card__action {
    margin-block-start: 10px;
}

.products .jbm-archive-product .jbm-card__buy {
    display: flex;
    align-items: center;
    justify-content: center;
    inline-size: 100%;
    min-block-size: 40px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--jbm-accent, #2b53a0);
    border-radius: 8px;
    background: var(--jbm-accent, #2b53a0);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    white-space: normal;
    text-decoration: none;
    box-shadow: none;
}

.products .jbm-archive-product .jbm-card__buy:hover {
    background: #214382;
    border-color: #214382;
    color: #fff;
}

.products .jbm-archive-product .jbm-card__buy:focus-visible {
    outline: 2px solid var(--jbm-accent, #2b53a0);
    outline-offset: 3px;
}

.products .jbm-archive-product .jbm-card__buy.loading {
    opacity: .7;
    pointer-events: none;
}
@media (max-width: 767px) {
    /* ستون محتوا و کانتینر نگهدارنده محصولات */
    .elementor-8557 .elementor-element.elementor-element-c994bf1,
    .elementor-8557 .elementor-element.elementor-element-1f38429 {
        display: block !important;
        height: auto !important;
        max-height: none !important;
    }

    /* خود ویجت آرشیو و محفظه داخلی آن */
    .elementor-8557 .elementor-element.elementor-element-34d2d1e,
    .elementor-8557 .elementor-element.elementor-element-34d2d1e
    > .elementor-widget-container {
        height: auto !important;
        max-height: none !important;
    }
    .elementor-8557 .elementor-element.elementor-element-1f38429 {
        margin-bottom: 20px;
    }
}