/* =========================================================
   WEBARTY TEMPLATES — FEATURED THEMES
   Premium 4-column product carousel
   Version: 2026-08-26 21:37
   ========================================================= */

.wa-tpl-featured,
.wa-tpl-featured *,
.wa-tpl-featured *::before,
.wa-tpl-featured *::after {
    box-sizing: border-box;
}

.wa-tpl-featured h2,
.wa-tpl-featured h3,
.wa-tpl-featured p {
    margin: 0;
    padding: 0;
}

.wa-tpl-featured a,
.wa-tpl-featured a:hover,
.wa-tpl-featured a:focus,
.wa-tpl-featured a:visited {
    text-decoration: none !important;
}

.wa-tpl-featured {
    --wa-ft-navy: #283550;
    --wa-ft-text: #637187;
    --wa-ft-muted: #8d98a6;
    --wa-ft-teal: #00a78e;
    --wa-ft-teal-dark: #008f7a;
    --wa-ft-green: #36c88a;
    --wa-ft-border: #dbe4e8;

    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 96px 0 102px;
    overflow: hidden;
    color: var(--wa-ft-navy);
    background: linear-gradient(180deg, #f4f8f9 0%, #eaf0f3 100%);
    font-family: var(--e-global-typography-text-font-family, "Roboto"), Arial, sans-serif;
}

.wa-tpl-featured__decor {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.wa-tpl-featured__decor--one {
    top: 58px;
    right: -280px;
    width: 570px;
    height: 570px;
    border: 1px solid rgba(0, 167, 142, 0.065);
}

.wa-tpl-featured__decor--two {
    bottom: -300px;
    left: -230px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(54, 200, 138, 0.065);
}

.wa-tpl-featured__container {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 128px), 1420px);
    max-width: 1420px;
    margin: 0 auto;
}

.wa-tpl-featured__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 38px;
}

.wa-tpl-featured__header-copy {
    width: min(100%, 790px);
}

.wa-tpl-featured__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
    color: var(--wa-ft-teal);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.wa-tpl-featured__eyebrow-line {
    display: block;
    flex: 0 0 33px;
    width: 33px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wa-ft-teal), var(--wa-ft-green));
}

.wa-tpl-featured__title {
    margin: 0 !important;
    color: var(--wa-ft-navy) !important;
    font-family: inherit !important;
    font-size: clamp(39px, 3.35vw, 52px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.043em !important;
}

.wa-tpl-featured__intro {
    width: min(100%, 690px);
    margin: 15px 0 0 !important;
    color: var(--wa-ft-text) !important;
    font-size: 16px;
    line-height: 1.65;
}

.wa-tpl-featured__controls {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding-bottom: 3px;
}

.wa-tpl-featured__arrow,
.wa-tpl-featured__arrow:hover,
.wa-tpl-featured__arrow:focus,
.wa-tpl-featured__arrow:focus-visible,
.wa-tpl-featured__arrow:active {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ccd7dd !important;
    border-radius: 50% !important;
    color: #526076 !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: none !important;
    cursor: pointer;
    appearance: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.wa-tpl-featured__arrow:hover,
.wa-tpl-featured__arrow:focus-visible {
    border-color: var(--wa-ft-teal) !important;
    color: #ffffff !important;
    background: var(--wa-ft-teal) !important;
}

.wa-tpl-featured__arrow svg {
    width: 20px;
    height: 20px;
}

.wa-tpl-featured__carousel {
    width: 100%;
}

.wa-tpl-featured__track {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 72px) / 4) !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 4px 0 22px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.wa-tpl-featured__track::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   PRODUCT CARD
   ========================================================= */

.wa-tpl-featured .wa-theme-product-card {
    display: flex;
    min-width: 0;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d8e2e7;
    border-radius: 21px;
    background-color: #ffffff;
    box-shadow: 0 1px 0 rgba(40, 53, 80, 0.025);
    scroll-snap-align: start;
    transform: none !important;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.wa-tpl-featured .wa-theme-product-card:hover,
.wa-tpl-featured .wa-theme-product-card:focus-within {
    border-color: rgba(0, 167, 142, 0.24);
    background-color: #f4faf8;
    box-shadow: 0 10px 26px rgba(31, 51, 75, 0.04);
    transform: none !important;
}

.wa-tpl-featured .wa-theme-product-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid #e5ebef;
    color: inherit;
    background: #eef3f5;
}

.wa-tpl-featured .wa-theme-product-card__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
    transition: none !important;
}

.wa-tpl-featured .wa-theme-product-card:hover .wa-theme-product-card__image {
    transform: none !important;
}

.wa-tpl-featured .wa-theme-product-card__body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 19px 19px 18px;
}

.wa-tpl-featured .wa-theme-product-card__category,
.wa-tpl-featured .wa-theme-product-card__category:visited {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    margin: 0 0 11px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    color: var(--wa-ft-teal) !important;
    background: transparent;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.07em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}



.wa-tpl-featured .wa-theme-product-card__category::before {
    content: "";
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wa-ft-teal), var(--wa-ft-green));
}
.wa-tpl-featured .wa-theme-product-card__category:hover,
.wa-tpl-featured .wa-theme-product-card__category:focus-visible {
    border-color: transparent;
    color: var(--wa-ft-teal-dark) !important;
    background: transparent;
}

.wa-tpl-featured .wa-theme-product-card__title {
    display: -webkit-box;
    min-height: 34px;
    overflow: hidden;
    margin: 0 !important;
    color: var(--wa-ft-navy) !important;
    font-family: inherit !important;
    font-size: clamp(19px, 1.2vw, 21px) !important;
    font-weight: 900 !important;
    line-height: 1.32 !important;
    letter-spacing: -0.026em !important;
    -webkit-text-stroke: 0.10px currentColor;
    text-transform: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wa-tpl-featured .wa-theme-product-card__title a,
.wa-tpl-featured .wa-theme-product-card__title a:visited {
    color: var(--wa-ft-navy) !important;
}

.wa-tpl-featured .wa-theme-product-card__title a:hover,
.wa-tpl-featured .wa-theme-product-card__title a:focus-visible {
    color: var(--wa-ft-teal-dark) !important;
}

.wa-tpl-featured .wa-theme-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid #e7edf0;
    border-radius: 0;
    background: transparent;
}

.wa-tpl-featured .wa-theme-product-card__price {
    flex: 0 0 auto;
    color: var(--wa-ft-navy) !important;
    font-size: 20.5px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.wa-tpl-featured .wa-theme-product-card__price .amount {
    color: inherit !important;
}

.wa-tpl-featured .wa-theme-product-card__price del {
    margin-right: 5px;
    color: #8793a0 !important;
    opacity: .6;
}

.wa-tpl-featured .wa-theme-product-card__price ins {
    color: var(--wa-ft-navy) !important;
    text-decoration: none !important;
}

.wa-tpl-featured .wa-theme-product-card__rating {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
}

.wa-tpl-featured .wa-theme-product-card__stars {
    position: relative;
    display: inline-block;
    width: auto;
    flex: 0 0 auto;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-size: 16.5px;
    line-height: 1;
    letter-spacing: .45px;
}

.wa-tpl-featured .wa-theme-product-card__stars-base {
    display: block;
    color: #d4dce1;
}

.wa-tpl-featured .wa-theme-product-card__stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: var(--wa-rating-width, 0%);
    overflow: hidden;
    color: #f4b740;
    white-space: nowrap;
}

.wa-tpl-featured .wa-theme-product-card__rating-score {
    color: var(--wa-ft-navy);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1;
}

.wa-tpl-featured .wa-theme-product-card__review-count {
    display: none !important;
}

.wa-tpl-featured .wa-theme-product-card__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 9px;
    margin-top: 15px;
    padding-top: 0;
}

.wa-tpl-featured .wa-theme-product-card__actions--single {
    display: grid;
    grid-template-columns: 1fr;
}

.wa-tpl-featured .wa-theme-product-card__actions--single .wa-theme-product-card__button {
    width: 100%;
}

.wa-tpl-featured .wa-theme-product-card__button,
.wa-tpl-featured .wa-theme-product-card__button:visited {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 11px;
    border: 1px solid var(--wa-ft-teal);
    border-radius: 999px;
    box-shadow: none;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}

.wa-tpl-featured .wa-theme-product-card__button--primary,
.wa-tpl-featured .wa-theme-product-card__button--primary:visited {
    color: #ffffff !important;
    background: var(--wa-ft-teal);
}

.wa-tpl-featured .wa-theme-product-card__button--primary:hover,
.wa-tpl-featured .wa-theme-product-card__button--primary:focus-visible {
    border-color: var(--wa-ft-teal-dark);
    color: #ffffff !important;
    background: var(--wa-ft-teal-dark);
}

.wa-tpl-featured .wa-theme-product-card__button--secondary,
.wa-tpl-featured .wa-theme-product-card__button--secondary:visited {
    border-color: rgba(0, 167, 142, 0.28);
    color: var(--wa-ft-teal) !important;
    background: #ffffff;
}

.wa-tpl-featured .wa-theme-product-card__button--secondary:hover,
.wa-tpl-featured .wa-theme-product-card__button--secondary:focus-visible {
    border-color: rgba(0, 167, 142, 0.46);
    color: var(--wa-ft-teal-dark) !important;
    background: rgba(0, 167, 142, 0.04);
}

.wa-tpl-featured .wa-theme-product-card__button:focus-visible {
    outline: 3px solid rgba(0, 167, 142, 0.18);
    outline-offset: 3px;
}

.wa-tpl-featured__footer {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

/* Bottom CTA: intentionally matches Webarty primary CTA styling */
.wa-tpl-featured .wa-tpl-featured__footer > a.wa-tpl-featured__all-button,
.wa-tpl-featured .wa-tpl-featured__footer > a.wa-tpl-featured__all-button:visited {
    display: inline-flex !important;
    min-width: 0 !important;
    min-height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 12px 24px !important;
    border: 1px solid var(--wa-ft-teal) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background: var(--wa-ft-teal) !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .035em !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease !important;
}

.wa-tpl-featured .wa-tpl-featured__footer > a.wa-tpl-featured__all-button:hover,
.wa-tpl-featured .wa-tpl-featured__footer > a.wa-tpl-featured__all-button:focus-visible {
    border-color: var(--wa-ft-teal-dark) !important;
    color: #ffffff !important;
    background: var(--wa-ft-teal-dark) !important;
    box-shadow: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.wa-tpl-featured .wa-tpl-featured__footer > a.wa-tpl-featured__all-button:focus-visible {
    outline: 3px solid rgba(0, 167, 142, .18) !important;
    outline-offset: 3px;
}

@media (max-width: 1200px) {
    .wa-tpl-featured {
        padding: 86px 0 92px;
    }

    .wa-tpl-featured__container {
        width: min(calc(100% - 56px), 1420px);
    }

    .wa-tpl-featured .wa-theme-product-card__body {
        padding: 18px 18px 17px;
    }

    .wa-tpl-featured .wa-theme-product-card__title {
        font-size: 18px !important;
    }

    .wa-tpl-featured .wa-theme-product-card__price {
        font-size: 19.5px !important;
    }

    .wa-tpl-featured .wa-theme-product-card__meta {
        gap: 10px;
        padding-top: 15px;
    }

    .wa-tpl-featured .wa-theme-product-card__rating {
        gap: 4px;
        padding: 0;
    }

    .wa-tpl-featured .wa-theme-product-card__stars {
        width: auto;
        font-size: 15.5px;
        letter-spacing: .4px;
    }

    .wa-tpl-featured .wa-theme-product-card__button,
    .wa-tpl-featured .wa-theme-product-card__button:visited {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 10px;
    }
}

@media (max-width: 1024px) {
    .wa-tpl-featured__container {
        width: min(calc(100% - 48px), 1420px);
    }

    .wa-tpl-featured__track {
        grid-auto-columns: calc((100% - 24px) / 2) !important;
    }

    .wa-tpl-featured .wa-theme-product-card__body {
        padding: 20px 19px 18px;
    }

    .wa-tpl-featured .wa-theme-product-card__title {
        font-size: 20px !important;
    }

    .wa-tpl-featured .wa-theme-product-card__price {
        font-size: 20px !important;
    }
}

@media (max-width: 767px) {
    .wa-tpl-featured {
        padding: 70px 0 76px;
    }

    .wa-tpl-featured__decor {
        display: none;
    }

    .wa-tpl-featured__container {
        width: calc(100% - 48px);
    }

    .wa-tpl-featured__header {
        align-items: center;
        gap: 14px;
        margin-bottom: 27px;
    }

    .wa-tpl-featured__eyebrow {
        gap: 10px;
        margin-bottom: 14px;
        font-size: 10.5px;
    }

    .wa-tpl-featured__eyebrow-line {
        flex-basis: 27px;
        width: 27px;
        height: 2px;
    }

    .wa-tpl-featured__title {
        font-size: clamp(31px, 8vw, 38px) !important;
    }

    .wa-tpl-featured__intro {
        margin-top: 13px !important;
        font-size: 15px;
    }

    .wa-tpl-featured__track {
        width: calc(100% + 24px) !important;
        margin-right: -24px !important;
        padding-right: 24px !important;
        grid-auto-columns: 84% !important;
        gap: 18px !important;
    }

    .wa-tpl-featured .wa-theme-product-card__body {
        padding: 20px 18px 18px;
    }

    .wa-tpl-featured .wa-theme-product-card__title {
        min-height: auto;
        font-size: 21px !important;
    }

    .wa-tpl-featured .wa-theme-product-card__meta {
        padding-top: 16px;
    }

    .wa-tpl-featured .wa-theme-product-card__actions {
        margin-top: 15px;
    }

    .wa-tpl-featured .wa-theme-product-card__actions--single .wa-theme-product-card__button {
        width: 100%;
    }

    .wa-tpl-featured__all-button,
    .wa-tpl-featured__all-button:visited {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .wa-tpl-featured__header {
        display: block;
    }

    .wa-tpl-featured__controls {
        margin-top: 18px;
    }

    .wa-tpl-featured .wa-theme-product-card__meta {
        gap: 8px;
    }

    .wa-tpl-featured .wa-theme-product-card__rating {
        gap: 4px;
        padding: 0;
    }

    .wa-tpl-featured .wa-theme-product-card__stars {
        width: auto;
        font-size: 14.6px;
        letter-spacing: .35px;
    }

    .wa-tpl-featured .wa-theme-product-card__rating-score {
        font-size: 11.5px;
    }

    .wa-tpl-featured .wa-theme-product-card__review-count {
        font-size: 10.5px;
    }
}

@media (max-width: 520px) {
    .wa-tpl-featured .wa-theme-product-card__actions--single .wa-theme-product-card__button {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .wa-tpl-featured__container {
        width: calc(100% - 40px);
    }

    .wa-tpl-featured__track {
        width: calc(100% + 20px) !important;
        margin-right: -20px !important;
        padding-right: 20px !important;
        grid-auto-columns: 87% !important;
    }

    .wa-tpl-featured .wa-theme-product-card__body {
        padding-left: 19px;
        padding-right: 19px;
    }
}

@media (min-width: 1920px) {
    .wa-tpl-featured {
        padding: 110px 0 116px;
    }

    .wa-tpl-featured__container {
        width: min(calc(100% - 160px), 1560px);
        max-width: 1560px;
    }

    .wa-tpl-featured__track {
        grid-auto-columns: calc((100% - 78px) / 4) !important;
        gap: 26px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-tpl-featured *,
    .wa-tpl-featured *::before,
    .wa-tpl-featured *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
