.fxd-ico {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
/* Banner */
.fxd-hero {
    position: relative;
    overflow: hidden;
}
.fxd-hero > .elementor-container {
    position: relative;
    z-index: 2;
}
.fxd-badge {
    margin-bottom: 18px !important;
}
.fxd-badge .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700 !important;
    letter-spacing: 2px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 0;
}
.fxd-h1 .elementor-heading-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #fff !important;
}
/* Filter bar */
.fxd-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 6px;
}
.fxd-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px 4px 14px;
    margin: -6px -4px -14px;
}
.fxd-tabs::-webkit-scrollbar {
    display: none;
}
.fxd .fxd-tab {
    flex: none;
    border: 0;
    cursor: pointer;
    background: #f1f4f8;
    color: #5a6070;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0;
    padding: 11px 24px;
    border-radius: 50px;
    box-shadow: none;
    transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.24, 1),
        box-shadow 0.35s, background 0.3s, color 0.3s;
}
.fxd .fxd-tab:hover {
    transform: translateY(-4px);
    color: #186bb2;
    background: #fff;
    box-shadow: 0 12px 22px rgba(24, 107, 178, 0.2);
}
.fxd .fxd-tab.on,
.fxd .fxd-tab.on:hover {
    background: #186bb2;
    color: #fff;
}
.fxd-arrows {
    display: flex;
    gap: 10px;
    flex: none;
}
.fxd .fxd-arr {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e4eaf0;
    color: #186bb2;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(30, 34, 48, 0.08);
    transition: background 0.3s, color 0.3s, border-color 0.3s,
        transform 0.35s cubic-bezier(0.22, 0.8, 0.24, 1), opacity 0.3s;
}
.fxd .fxd-arr:hover:not(:disabled) {
    background: #c13c8d;
    border-color: #c13c8d;
    color: #fff;
    transform: scale(1.1);
}
.fxd .fxd-arr:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Deal cards */
.fxd-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 28px 6px 44px;
    margin: 0 -6px;
}
.fxd-track::-webkit-scrollbar {
    display: none;
}
.fxd-deal {
    --a: #1a3a8f;
    --b: #5b2c8f;
    --c: #186bb2;
    --pc: #8a2a63;
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e4eaf0;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(30, 34, 48, 0.08);
    transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.24, 1),
        box-shadow 0.45s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.fxd-deal[hidden] {
    display: none;
}
.fxd-d2 {
    --a: #8a2a63;
    --b: #c13c8d;
    --c: #0f4c81;
    --pc: #0c447c;
}
.fxd-d3 {
    --a: #0f6e56;
    --b: #2c9485;
    --c: #186bb2;
    --pc: #0f6e56;
}
.fxd-d4 {
    --a: #8a6d14;
    --b: #c9971c;
    --c: #8a2a63;
    --pc: #8a6d14;
}
.fxd-deal:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 54px rgba(30, 34, 48, 0.2);
}
.fxd-poster {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 20px;
    min-height: 330px;
    color: #fff;
    background: linear-gradient(160deg, var(--a), var(--b), var(--c));
}
.fxd-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.22) 1.6px,
        transparent 1.6px
    );
    background-size: 22px 22px;
    opacity: 0.5;
    transition: opacity 0.5s;
}
.fxd-poster::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 45%;
    left: -70%;
    background: linear-gradient(
        100deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-20deg);
}
.fxd-poster > * {
    position: relative;
    z-index: 1;
}
.fxd-deal:hover .fxd-poster::after {
    left: 130%;
    transition: left 0.9s ease;
}
.fxd-deal:hover .fxd-poster::before {
    opacity: 0.9;
}
.fxd-poster .l1 {
    margin-top: 22px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}
.fxd-poster .l2 {
    font-size: 26px;
    font-weight: 800;
    font-style: italic;
    color: #f0b64f;
    line-height: 1.2;
}
.fxd-d4 .l2 {
    color: #fff;
}
.fxd-pill {
    display: inline-block;
    background: #fff;
    color: var(--pc);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}
.fxd-pill.top {
    margin-top: 16px;
}
.fxd-badge2 {
    width: 84px;
    height: 84px;
    margin: 16px 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.24, 1), background 0.3s,
        color 0.3s;
}
.fxd-deal:hover .fxd-badge2 {
    transform: rotate(-12deg) scale(1.15);
    background: #fff;
    color: var(--b);
}
.fxd-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    text-align: center;
    padding: 22px 22px 24px;
}
.fxd .fxd-info h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #186bb2;
    line-height: 1.3;
    transition: color 0.3s;
}
.fxd-deal:hover .fxd-info h3 {
    color: var(--b);
}
.fxd .fxd-know {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    background: #3d2a5c;
    font-size: 14px;
    font-weight: 800 !important;
    letter-spacing: 1px;
    padding: 13px;
    border-radius: 14px;
    transition: box-shadow 0.35s;
}
.fxd-know::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #c13c8d;
    transform: translateX(-101%);
    transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.fxd-know > * {
    position: relative;
}
.fxd-know .fxd-ico {
    font-size: 17px;
    transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.fxd .fxd-know:hover {
    color: #fff;
    font-size: 14px;
    font-weight: 800 !important;
    box-shadow: 0 12px 24px rgba(193, 60, 141, 0.4);
}
.fxd-know:hover::before {
    transform: none !important;
}
.fxd-know:hover .fxd-ico {
    transform: translateX(6px);
}

/* Dots + empty state */
.fxd-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-bottom: 90px;
    min-height: 14px;
}
.fxd .fxd-dot {
    width: 10px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #d6dee8;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.22, 0.8, 0.24, 1), background 0.3s;
}
.fxd .fxd-dot:hover {
    background: #4cb8aa;
}
.fxd .fxd-dot.on {
    width: 34px;
    background: #186bb2;
}
.fxd-none {
    display: none;
    text-align: center;
    color: #5a6070;
    font-weight: 500;
    padding: 40px 0 70px;
    margin: 0;
}
.fxd-none.show {
    display: block;
}
/* poster: show the featured image */
.fxd-poster {
    display: block;
    padding: 0;
    min-height: 0;
    height: 350px;
}
.fxd-poster::before {
    display: none;
}
.fxd .fxd-poster .fxd-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.fxd-deal:hover .fxd-poster .fxd-img {
    transform: scale(1.08);
}

/* KNOW MORE is now a <button>: reset the theme's button look, keep the design */
.fxd button.fxd-know {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    text-transform: none;
}

/* popup */
.fxd-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(12, 18, 30, 0.72);
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
}
.fxd-modal.on {
    display: flex;
}
.fxd-modal * {
    box-sizing: border-box;
}
.fxd-mbox {
    --a: #1a3a8f;
    --b: #5b2c8f;
    --c: #186bb2;
    --pc: #8a2a63;
    position: relative;
    width: 100%;
    max-width: 940px;
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    animation: fxd-pop 0.35s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.fxd-mbox.fxd-d2 {
    --a: #8a2a63;
    --b: #c13c8d;
    --c: #0f4c81;
    --pc: #0c447c;
}
.fxd-mbox.fxd-d3 {
    --a: #0f6e56;
    --b: #2c9485;
    --c: #186bb2;
    --pc: #0f6e56;
}
.fxd-mbox.fxd-d4 {
    --a: #8a6d14;
    --b: #c9971c;
    --c: #8a2a63;
    --pc: #8a6d14;
}
@keyframes fxd-pop {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
}
.fxd-mx {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1e2230;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, color 0.3s, transform 0.35s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.fxd-mx:hover {
    background: var(--b);
    color: #fff;
    transform: rotate(90deg);
}
.fxd-mbody {
    display: flex;
    align-items: center;
}
.fxd-modal .fxd-ico {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.fxd-mimg {
    flex: 0 0 350px;
    width: 350px;
    height: auto;
    margin: 34px 34px 34px 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(30, 34, 48, 0.2);
}
.fxd-mimg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fxd-mimg:empty {
    display: none;
}
.fxd-mcontent {
    flex: 1 1 0;
    min-width: 0;
    padding: 34px;
}
.fxd-mcontent h3 {
    margin: 0 0 20px;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: var(--b) !important;
}
.fxd-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.fxd-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0;
}
.fxd-row .ri {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: color-mix(in srgb, var(--b) 13%, #fff);
    color: var(--b);
}
.fxd-row b {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8a90a0;
}
.fxd-row .v {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
    color: #1e2230;
}
.fxd-row.offer .v {
    font-size: 18px;
    font-weight: 800;
    color: var(--b);
}
.fxd-other {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 2px dashed #e4eaf0;
    font-size: 14.5px;
    line-height: 1.75;
    color: #5a6070;
}
.fxd-other > b {
    display: block;
    margin-bottom: 8px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8a90a0;
}
.fxd-other p {
    margin: 0 0 10px;
}
.fxd-other ul {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: grid;
    gap: 9px;
}
.fxd-other ul li {
    position: relative;
    margin: 0;
    padding-left: 32px;
}
.fxd-other ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    background: var(--b); /* the deal's accent colour */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8zM19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8z'/%3E%3C/svg%3E")
        center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8zM19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8z'/%3E%3C/svg%3E")
        center/contain no-repeat;
    animation: fxd-twk 2.4s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.fxd-other ul li:nth-child(2n)::before {
    animation-delay: -0.8s;
}
.fxd-other ul li:nth-child(3n)::before {
    animation-delay: -1.6s;
}
.fxd-other ul li:hover::before {
    transform: rotate(180deg) scale(1.25);
}
@keyframes fxd-twk {
    50% {
        transform: scale(1.25) rotate(14deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .fxd-other ul li::before {
        animation: none;
    }
}

@media (max-width: 620px) {
    .fxd-poster {
        height: 280px;
    }
    .fxd-modal {
        padding: 14px;
    }
    .fxd-mimg {
        height: 170px;
    }
    .fxd-mcontent {
        padding: 22px 20px 24px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .fxd-mbox {
        animation: none;
    }
}

@media (max-width: 980px) {
    .fxd-deal {
        flex-basis: calc((100% - 24px) / 2);
    }
}
@media (max-width: 620px) {
    .fxd {
        display: flex;
        flex-direction: column;
    }
    .fxd-bar {
        display: contents;
    }
    .fxd-tabs {
        order: 1;
    }
    .fxd-track {
        order: 2;
    }
    .fxd-none {
        order: 3;
    }
    .fxd-arrows {
        order: 4;
        justify-content: center;
        padding: 0 0 50px;
    }
    .fxd-dots {
        display: none;
    }

    .fxd-deal {
        flex-basis: 80%;
    }
    .fxd-poster {
        min-height: 310px;
    }
    .fxd-poster .l1 {
        margin-top: 20px;
        font-size: 22px;
    }
    .fxd-poster .l2 {
        font-size: 24px;
    }
    .fxd-badge2 {
        width: 75px;
        height: 75px;
        font-size: 30px;
    }
    .fxd .fxd-info h3 {
        font-size: 18px;
    }
}
@media (max-width: 820px) {
    .fxd-mbody {
        flex-direction: column;
        align-items: stretch;
    }
    .fxd-mimg {
        order: -1;
        flex: none;
        width: auto;
        height: 240px;
        margin: 20px 20px 0;
    }
    .fxd-mcontent {
        padding: 22px 20px 26px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .fxd-sec *,
    .fxd *,
    .fxd *::before,
    .fxd *::after {
        animation: none !important;
        transition: none !important;
    }
}
