.berrypath-flow-widget-wrapper {
    margin: 0 0 var(--berrypath-flow-wrapper-margin-bottom, 24px);
}

.berrypath-flow-widget {
    --berrypath-flow-background: #f7faf9;
    --berrypath-flow-border: #d8e4de;
    --berrypath-flow-text: #17231f;
    --berrypath-flow-muted: #53635d;
    --berrypath-flow-button-background: #17231f;
    --berrypath-flow-button-text: #ffffff;
    --berrypath-flow-button-background-hover: #24362f;
    --berrypath-flow-radius: 8px;
    --berrypath-flow-padding: 22px;
    --berrypath-flow-gap: 16px;
    --berrypath-flow-title-size: 20px;
    --berrypath-flow-description-size: 15px;
    --berrypath-flow-button-radius: 6px;
    --berrypath-flow-button-padding-y: 12px;
    --berrypath-flow-button-padding-x: 18px;

    align-items: flex-start;
    background: var(--berrypath-flow-background);
    border: 1px solid var(--berrypath-flow-border);
    border-radius: var(--berrypath-flow-radius);
    color: var(--berrypath-flow-text);
    display: flex;
    flex-direction: column;
    gap: var(--berrypath-flow-gap);
    justify-content: flex-start;
    padding: var(--berrypath-flow-padding);
}

.berrypath-flow-widget--category,
.berrypath-flow-widget--content {
    margin-bottom: var(--berrypath-flow-block-margin-bottom, 24px);
}

.berrypath-flow-widget--product {
    --berrypath-flow-padding: 16px;
    --berrypath-flow-title-size: 17px;
    --berrypath-flow-description-size: 14px;

    margin-top: var(--berrypath-flow-product-margin-top, 18px);
}

.berrypath-flow-widget__content {
    min-width: 0;
}

.berrypath-flow-widget__title {
    color: var(--berrypath-flow-text);
    font-size: var(--berrypath-flow-title-size);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 6px;
}

.berrypath-flow-widget__description {
    color: var(--berrypath-flow-muted);
    font-size: var(--berrypath-flow-description-size);
    line-height: 1.5;
    margin: 0;
}

.berrypath-flow-widget__actions {
    flex: 0 0 auto;
    margin-top: 2px;
}

.berrypath-flow-widget__button.button,
.berrypath-flow-widget__button {
    background: var(--berrypath-flow-button-background);
    border: 0;
    border-radius: var(--berrypath-flow-button-radius);
    color: var(--berrypath-flow-button-text);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    max-width: 100%;
    padding: var(--berrypath-flow-button-padding-y) var(--berrypath-flow-button-padding-x);
    text-align: center;
    text-decoration: none;
}

.berrypath-flow-widget__button.button:hover,
.berrypath-flow-widget__button:hover,
.berrypath-flow-widget__button.button:focus,
.berrypath-flow-widget__button:focus {
    background: var(--berrypath-flow-button-background-hover);
    color: var(--berrypath-flow-button-text);
}

.berrypath-flow-widget__embed {
    width: 100%;
}

.berrypath-flow-widget--inline {
    align-items: stretch;
    display: block;
}

.berrypath-flow-widget--inline .berrypath-flow-widget__content {
    margin-bottom: var(--berrypath-flow-gap);
}

@media (max-width: 640px) {
    .berrypath-flow-widget {
        align-items: flex-start;
    }

    .berrypath-flow-widget__actions {
        width: 100%;
    }

    .berrypath-flow-widget__button.button,
    .berrypath-flow-widget__button {
        width: auto;
    }
}
