.shortcode-title-align-right {
    text-align: right;
}

.shortcode-title-align-center {
    text-align: center;
}

.shortcode-title-align-left {
    text-align: left;
}

.shortcode-title-align-center .tp-section-title svg {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.shortcode-title-align-left .tp-section-title svg {
    left: 0;
    right: auto;
}

/* Keep section dividers inside the free space between titles and actions. */
.tp-product-offer-more-wrapper,
.tp-product-arrival-more-wrapper {
    align-items: center;
    gap: 50px;
    width: 100%;
}

.tp-product-offer-more-wrapper::before,
.tp-product-arrival-more-wrapper::before {
    background-color: var(--tp-border-secondary);
    content: '';
    flex: 1 1 auto;
    height: 2px;
    min-width: 0;
}

.tp-product-offer-more-wrapper::before {
    background-color: var(--tp-common-white);
}

.tp-product-offer-more,
.tp-product-arrival-border {
    flex: 0 0 auto;
    padding-inline: 0;
}

.tp-product-offer-more-border,
.tp-product-arrival-border::after {
    display: none;
}

@media (max-width: 767px) {
    .tp-product-offer-more-wrapper,
    .tp-product-arrival-more-wrapper {
        gap: 20px;
    }

    .tp-product-offer-more-wrapper::before,
    .tp-product-arrival-more-wrapper::before {
        display: none;
    }
}
