/* Joint Theme Core - Store Specials */

/* Store Specials */
.jtc-special-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.jtc-special-card__background,
.jtc-special-card__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.jtc-special-card__background {
    overflow: hidden;
}

.jtc-special-card__background .jtc-special-card__background-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.jtc-special-card__overlay {
    opacity: 1;
    transition: background-color 0.25s ease, background-image 0.25s ease, opacity 0.25s ease;
}

.jtc-special-card--background {
    display: flex;
    justify-content: flex-end;
    transition: background-color 0.25s ease, background-image 0.25s ease;
}


/* Elementor editor/preview can override anchor display; force specials cards to flex */
.elementor-editor-active .jtc-special-card,
.elementor-preview .jtc-special-card {
    display: flex !important;
    width: 100%;
}

.elementor-editor-active .jtc-special-card--background,
.elementor-preview .jtc-special-card--background {
    display: flex !important;
}

.jtc-special-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.jtc-special-card--background .jtc-special-card__content {
    margin-top: auto;
}

.jtc-special-card__image {
    overflow: hidden;
}

.jtc-special-card__image img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.jtc-special-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jtc-special-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    line-height: 1.4;
}

.jtc-special-card__title {
    margin: 0;
}

.jtc-special-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jtc-special-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: auto;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.jtc-specials-grid {
    display: grid;
    gap: 16px;
}

.jtc-specials-grid__sentinel {
    width: 100%;
    height: 1px;
}


.jtc-specials-swiper .swiper-wrapper {
    align-items: stretch;
}



.jtc-specials-empty {
    margin: 0;
}
