/* Tings Market Platform v5.3.0 — Homepage Hero Slider */
.tm-home-slider {
    --tm-hero-bg: #e9f9fc;
    --tm-hero-panel: #fff0a6;
    --tm-hero-accent: #08abc2;
    --tm-hero-ink: #071327;
    --tm-hero-muted: #66778d;
    position: relative;
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 14%, rgba(255,255,255,.88), transparent 24%),
        var(--tm-hero-bg);
    isolation: isolate;
}
.tm-home-slider[data-theme="aqua"] { --tm-hero-bg:#e8f9fc; --tm-hero-panel:#dff8fb; --tm-hero-accent:#08abc2; }
.tm-home-slider[data-theme="peach"] { --tm-hero-bg:#fff1e8; --tm-hero-panel:#ffd9c6; --tm-hero-accent:#ed7c4a; }
.tm-home-slider[data-theme="mint"] { --tm-hero-bg:#edf8f2; --tm-hero-panel:#dcefe4; --tm-hero-accent:#178a69; }
.tm-home-slider[data-theme="lavender"] { --tm-hero-bg:#f4effb; --tm-hero-panel:#e8dff5; --tm-hero-accent:#7652a5; }
.tm-home-slider[data-theme="yellow"] { --tm-hero-bg:#fff9e8; --tm-hero-panel:#fff0a6; --tm-hero-accent:#a47e00; }
.tm-home-slider[data-theme="blue"] { --tm-hero-bg:#e8f8fb; --tm-hero-panel:#fff0a6; --tm-hero-accent:#078da4; }

.tm-home-slider__viewport {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}
.tm-home-slider__slide {
    /* All slides occupy the same grid cell at all times. Hidden slides remain
       part of track sizing, so the viewport is sized by the tallest slide and
       never jumps when copy length or source-image dimensions differ. */
    grid-area: 1 / 1;
    z-index: 1;
    display: grid;
    width: 100%;
    min-height: clamp(570px, 45vw, 720px);
    padding: clamp(56px, 6vw, 92px) max(28px, calc((100vw - 1580px) / 2)) clamp(92px, 8vw, 126px);
    align-items: center;
    grid-template-columns: minmax(0, .95fr) minmax(430px, .9fr);
    gap: clamp(48px, 7vw, 118px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.tm-home-slider__slide.is-active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: tm-home-slider-in .55s cubic-bezier(.2,.7,.2,1) both;
}
.tm-home-slider__copy {
    max-width: 690px;
    min-width: 0;
}
.tm-home-slider__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    margin: 0 0 32px;
    padding: 10px 20px 10px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.93);
    color: var(--tm-hero-accent);
    box-shadow: 0 12px 32px rgba(28,70,84,.12);
    font-size: clamp(13px, 1.1vw, 18px);
    font-weight: 900;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.tm-home-slider__eyebrow::before {
    content: "";
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 68% 18%, #66c15c 0 5px, transparent 6px),
        #e5f8fb;
    box-shadow: inset 0 0 0 1px rgba(7,141,164,.06);
}
.tm-home-slider__eyebrow-icon {
    position: absolute;
    margin-left: 10px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #078fa6;
    pointer-events: none;
}
.tm-home-slider__eyebrow-icon .tm-icon { font-size: 17px; }
.tm-home-slider__copy h2 {
    max-width: 690px;
    margin: 0;
    color: var(--tm-hero-ink);
    font-size: clamp(45px, 5.1vw, 78px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.055em;
    text-wrap: balance;
}
.tm-home-slider__body {
    max-width: 690px;
    margin: 30px 0 0;
    color: var(--tm-hero-muted);
    font-size: clamp(17px, 1.45vw, 23px);
    font-weight: 500;
    line-height: 1.6;
}
.tm-home-slider__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}
.tm-home-slider__button {
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.tm-home-slider__button:hover,
.tm-home-slider__button:focus-visible { transform: translateY(-2px); }
.tm-home-slider__button--primary {
    background: #ffd000;
    color: #071327 !important;
    box-shadow: 0 10px 24px rgba(255,208,0,.2);
}
.tm-home-slider__button--secondary {
    border-color: #0fb4c8;
    background: rgba(255,255,255,.82);
    color: #078da4 !important;
}
.tm-home-slider__button span:last-child {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 999px;
    font-size: 13px;
}

.tm-home-slider__visual-wrap {
    position: relative;
    min-width: 0;
    display: grid;
    place-items: center;
}
.tm-home-slider__visual {
    width: min(100%, 720px);
    aspect-ratio: 1.28 / 1;
    padding: clamp(22px, 2.7vw, 52px);
    overflow: hidden;
    border-radius: clamp(32px, 3vw, 50px);
    background: var(--tm-hero-panel);
    box-shadow: 0 24px 55px rgba(27,73,87,.10);
}
.tm-home-slider__visual-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: clamp(18px, 2vw, 32px);
    background: rgba(255,255,255,.52);
}
.tm-home-slider__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
}

.tm-home-slider__nav {
    position: absolute;
    z-index: 8;
    left: 50%;
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
}
.tm-home-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 8px 26px rgba(7,19,39,.08);
}
.tm-home-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #b8c7cd;
    cursor: pointer;
    transition: width .22s ease, background .22s ease;
}
.tm-home-slider__dot.is-active {
    width: 28px;
    background: var(--tm-hero-accent);
}
.tm-home-slider__arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(7,19,39,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #071327;
    box-shadow: 0 8px 26px rgba(7,19,39,.08);
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}
.tm-home-slider__progress {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(7,19,39,.06);
}
.tm-home-slider__progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--tm-hero-accent);
}
.tm-home-slider.is-autoplaying .tm-home-slider__progress > span {
    animation: tm-home-slider-progress var(--tm-slider-interval, 6500ms) linear forwards;
}

@keyframes tm-home-slider-in {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: none; }
}
@keyframes tm-home-slider-progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 1080px) {
    .tm-home-slider__slide {
        grid-template-columns: minmax(0,1fr) minmax(360px,.78fr);
        gap: 34px;
        padding-inline: 28px;
    }
    .tm-home-slider__copy h2 { font-size: clamp(42px, 5.6vw, 64px); }
}
@media (max-width: 820px) {
    .tm-home-slider__slide {
        min-height: 0;
        grid-template-columns: 1fr;
        padding: 46px 20px 88px;
        gap: 34px;
    }
    .tm-home-slider__copy { max-width: none; }
    .tm-home-slider__eyebrow { margin-bottom: 22px; }
    .tm-home-slider__copy h2 { max-width: 720px; font-size: clamp(39px, 9vw, 58px); }
    .tm-home-slider__body { margin-top: 20px; font-size: 17px; }
    .tm-home-slider__actions { margin-top: 26px; }
    .tm-home-slider__visual { width: min(100%, 650px); }
}
@media (max-width: 520px) {
    .tm-home-slider__slide { padding-inline: 15px; }
    .tm-home-slider__eyebrow { min-height: 46px; padding: 7px 14px 7px 8px; font-size: 11px; }
    .tm-home-slider__eyebrow::before { width: 34px; height: 34px; flex-basis: 34px; }
    .tm-home-slider__eyebrow::after { font-size: 15px; margin-left: 7px; }
    .tm-home-slider__copy h2 { font-size: clamp(36px, 10.5vw, 48px); }
    .tm-home-slider__actions { display: grid; grid-template-columns: 1fr; }
    .tm-home-slider__button { min-height: 56px; width: 100%; }
    .tm-home-slider__visual { padding: 16px; border-radius: 28px; }
    .tm-home-slider__nav { bottom: 24px; }
    .tm-home-slider__arrow { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .tm-home-slider__slide.is-active { animation: none !important; }
    .tm-home-slider__progress { display: none; }
    .tm-home-slider__button { transition: none; }
}
.tm-home-slider__eyebrow { position: relative; }

/* =========================================================
   v5.3.1 — true hero replacement + overlapping benefits bar
   ========================================================= */
.tm-home-slider__legacy-hidden,
.tm-home-slider__legacy-hidden[hidden],
[data-tmds-hero-replaced="1"],
[data-tmds-benefits-replaced="1"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.tm-home-slider {
    overflow: visible;
    background: transparent;
    isolation: auto;
}

.tm-home-slider__viewport {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 14%, rgba(255,255,255,.88), transparent 24%),
        var(--tm-hero-bg);
    isolation: isolate;
}

.tm-home-slider__slide {
    padding-bottom: clamp(145px, 10vw, 175px);
}

.tm-home-slider__nav {
    bottom: 92px;
}

.tm-home-slider__progress {
    bottom: 0;
}

.tm-home-slider__benefits {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 2.8vw, 44px);
    width: min(calc(100% - 72px), 1540px);
    margin: -72px auto 34px;
    padding: clamp(26px, 2.3vw, 38px) clamp(30px, 3vw, 52px);
    border: 1px solid rgba(7,19,39,.06);
    border-radius: 32px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 60px rgba(7,19,39,.13);
}

.tm-home-slider__benefit {
    display: grid;
    grid-template-columns: 72px minmax(0,1fr);
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.tm-home-slider__benefit-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: #e5f7fb;
    color: #0791aa;
}

.tm-home-slider__benefit--yellow .tm-home-slider__benefit-icon {
    background: #fff0a5;
    color: #071327;
}

.tm-home-slider__benefit--green .tm-home-slider__benefit-icon {
    background: #e4f8ea;
    color: #0cc962;
}

.tm-home-slider__benefit-icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tm-home-slider__benefit--yellow .tm-home-slider__benefit-icon svg path:first-child {
    fill: currentColor;
    stroke: currentColor;
}

.tm-home-slider__benefit-copy {
    min-width: 0;
}

.tm-home-slider__benefit-copy strong {
    display: block;
    margin: 0 0 7px;
    color: #071327;
    font-size: clamp(21px, 1.55vw, 30px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.tm-home-slider__benefit-copy p {
    margin: 0;
    color: #677991;
    font-size: clamp(14px, 1.05vw, 18px);
    font-weight: 500;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .tm-home-slider__benefits {
        width: min(calc(100% - 44px), 1080px);
        gap: 22px;
        padding: 26px 28px;
    }
    .tm-home-slider__benefit {
        grid-template-columns: 60px minmax(0,1fr);
        gap: 14px;
    }
    .tm-home-slider__benefit-icon {
        width: 60px;
        height: 60px;
        border-radius: 18px;
    }
    .tm-home-slider__benefit-icon svg {
        width: 30px;
        height: 30px;
    }
    .tm-home-slider__benefit-copy strong { font-size: 21px; }
    .tm-home-slider__benefit-copy p { font-size: 14px; }
}

@media (max-width: 900px) {
    .tm-home-slider__slide {
        padding-bottom: 128px;
    }
    .tm-home-slider__nav {
        bottom: 78px;
    }
    .tm-home-slider__benefits {
        grid-template-columns: repeat(2, minmax(0,1fr));
        width: min(calc(100% - 32px), 760px);
        margin-top: -56px;
        gap: 24px 30px;
        border-radius: 26px;
    }
}

@media (max-width: 600px) {
    .tm-home-slider__slide {
        padding-bottom: 112px;
    }
    .tm-home-slider__nav {
        bottom: 66px;
    }
    .tm-home-slider__benefits {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        margin-top: -42px;
        margin-bottom: 24px;
        padding: 22px 20px;
        gap: 20px;
        border-radius: 22px;
    }
    .tm-home-slider__benefit {
        grid-template-columns: 54px minmax(0,1fr);
        gap: 14px;
    }
    .tm-home-slider__benefit-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }
    .tm-home-slider__benefit-icon svg {
        width: 27px;
        height: 27px;
    }
    .tm-home-slider__benefit-copy strong { font-size: 19px; margin-bottom: 4px; }
    .tm-home-slider__benefit-copy p { font-size: 13px; }
}

/* =========================================================
   v7.3.0 — automatic live product and deal slides
   ========================================================= */
.tm-home-slider__slide--product .tm-home-slider__copy h2 {
    display: -webkit-box;
    max-width: 740px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: clamp(42px, 4.5vw, 70px);
    line-height: 1.01;
}
.tm-home-slider__product-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 22px;
}
.tm-home-slider__product-badge,
.tm-home-slider__deal-clock {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #071327;
    background: rgba(255,255,255,.9);
    box-shadow: 0 8px 22px rgba(7,19,39,.08);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.tm-home-slider__product-badge {
    color: #fff;
    background: #0797ac;
}
.tm-home-slider__slide--deal .tm-home-slider__product-badge,
.tm-home-slider__slide--deal .tm-home-slider__visual-badge {
    background: #cc0c39;
}
.tm-home-slider__product-price {
    color: #071327;
    font-size: clamp(30px, 2.8vw, 45px);
    font-weight: 950;
    line-height: 1;
}
.tm-home-slider__product-price .price,
.tm-home-slider__product-price .amount,
.tm-home-slider__product-price bdi {
    color: inherit;
    font: inherit;
}
.tm-home-slider__product-price del {
    margin-right: 8px;
    color: #6f7f8e;
    font-size: .58em;
    font-weight: 700;
    opacity: .9;
}
.tm-home-slider__product-price ins {
    color: #cc0c39;
    font-weight: 950;
    text-decoration: none;
}
.tm-home-slider__deal-clock strong {
    min-width: 74px;
    color: #cc0c39;
    font-variant-numeric: tabular-nums;
}
.tm-home-slider__deal-clock.is-expired {
    opacity: .7;
}
.tm-home-slider__slide--product .tm-home-slider__actions {
    margin-top: 28px;
}
.tm-home-slider__slide--product .tm-home-slider__visual {
    box-sizing: border-box;
    width: min(100%, 520px);
    aspect-ratio: 4 / 5;
    padding: clamp(18px, 2vw, 32px);
}
.tm-home-slider__visual-inner--product {
    position: relative;
    isolation: isolate;
    background: #edf4f6;
}
.tm-home-slider__product-backdrop {
    position: absolute;
    z-index: 0;
    inset: -5%;
    display: block;
    background-position: var(--tm-slide-image-position, center center);
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(11px) saturate(.9) brightness(1.03);
    opacity: .5;
    transform: scale(1.06);
}
.tm-home-slider__visual-inner--product::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(248,251,252,.1);
    pointer-events: none;
}
.tm-home-slider__slide--product .tm-home-slider__image {
    position: relative;
    z-index: 2;
    object-fit: var(--tm-slide-image-fit, cover);
    object-position: var(--tm-slide-image-position, center center);
    transform: scale(var(--tm-slide-image-zoom, 1));
    transform-origin: var(--tm-slide-image-position, center center);
}
.tm-home-slider__visual-badge {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    max-width: calc(100% - 36px);
    padding: 9px 13px;
    overflow: hidden;
    border-radius: 999px;
    color: #fff;
    background: #0797ac;
    box-shadow: 0 9px 24px rgba(7,19,39,.16);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 820px) {
    .tm-home-slider__slide--product .tm-home-slider__copy h2 { font-size: clamp(38px, 8.5vw, 58px); }
    .tm-home-slider__slide--product .tm-home-slider__visual { width: min(100%, 480px); }
}
@media (max-width: 520px) {
    .tm-home-slider__slide--product .tm-home-slider__copy h2 { font-size: clamp(34px, 10vw, 46px); }
    .tm-home-slider__product-summary { gap: 10px; margin-top: 18px; }
    .tm-home-slider__product-price { width: 100%; font-size: 32px; }
    .tm-home-slider__product-badge,
    .tm-home-slider__deal-clock { min-height: 34px; font-size: 10px; }
    .tm-home-slider__slide--product .tm-home-slider__visual { width: min(100%, 420px); padding: 14px; }
    .tm-home-slider__visual-badge { top: 12px; left: 12px; max-width: calc(100% - 24px); }
}

/* v7.8.2 — supplied 16:9 artwork is the entire hero, with no duplicate copy. */
.tm-home-slider--banner-only .tm-home-slider__viewport {
    overflow: hidden;
    background: #f8ebe3;
}
.tm-home-slider__slide--banner {
    display: block;
    min-height: 0;
    padding: 0;
    background: #f8ebe3;
}
.tm-home-slider__banner-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}
.tm-home-slider__banner-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
}
.tm-home-slider--banner-only .tm-home-slider__nav { bottom: 16px; }
.tm-home-slider--banner-only .tm-home-slider__arrow { width: 40px; height: 40px; }
.tm-home-slider--banner-only .tm-home-slider__dots { background: rgba(255,255,255,.9); }
@media (max-width: 600px) {
    .tm-home-slider--banner-only .tm-home-slider__nav { bottom: 9px; gap: 7px; }
    .tm-home-slider--banner-only .tm-home-slider__arrow { width: 34px; height: 34px; }
    .tm-home-slider--banner-only .tm-home-slider__dots { padding: 6px 8px; }
    .tm-home-slider--banner-only .tm-home-slider__dot { width: 8px; height: 8px; }
    .tm-home-slider--banner-only .tm-home-slider__dot.is-active { width: 22px; }
}
