/* TrideFair full-width marketplace homepage */
/* The legacy recently-viewed strip can render supplier artwork as a full-page image. */
.tf-recently-viewed { display: none !important; }
.tf-home { background: #fff; }
.tf-page-banner--home {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    min-height: 330px !important;
    margin: 18px auto 10px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 22px !important;
    background-color: #edf4ff !important;
    background-image: linear-gradient(120deg,#e8f1ff 0%,#f8fbff 48%,#fff3e8 100%) !important;
    color: #111827 !important;
    box-shadow: 0 14px 38px rgba(24,63,128,.12);
}
.tf-page-banner--home .tf-page-banner__inner { width: 100% !important; max-width: none !important; min-height: 330px; margin: 0 !important; padding: 32px 44px !important; display: grid !important; grid-template-columns: minmax(280px,.78fr) minmax(0,1.65fr); gap: 34px; align-items: center !important; }
.tf-page-banner--home .tf-page-banner__copy { position: relative; z-index: 2; width: 100% !important; max-width: 520px !important; }
.tf-page-banner--home .tf-page-banner__eyebrow { color: #2156d9 !important; }
.tf-page-banner--home .tf-page-banner__title,
.tf-page-banner--home .tf-page-banner__description { color: #111827 !important; }
.tf-page-banner--home .tf-page-banner__title { font-size: clamp(38px,3.5vw,52px) !important; line-height: 1.02 !important; }
.tf-page-banner--home .tf-page-banner__description { max-width: 500px; color: #4b5563 !important; font-size: 16px !important; }
.tf-page-banner--home .tf-page-banner__search,
.tf-page-banner--home .tf-page-banner__actions { display: none !important; }
.tf-page-banner--home .tf-page-banner__mark,
.tf-page-banner--home .tf-page-banner__glow { display: none !important; }
.tf-page-banner--home .tf-page-banner__primary { background: #fff !important; color: #25102a !important; }
.tf-page-banner--home .tf-page-banner__secondary { border-color: rgba(255,255,255,.72) !important; color: #fff !important; }
.tf-page-banner__products { min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.tf-product-banner-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #dce3ee; border-radius: 18px; background: #fff; color: #111827; text-decoration: none; box-shadow: 0 9px 24px rgba(32,55,92,.09); transition: transform .18s ease,box-shadow .18s ease; }
.tf-product-banner-card:hover { color: #111827; text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(32,55,92,.15); }
.tf-product-banner-card__image { height: 178px; display: block; overflow: hidden; background: #f5f7fb; }
.tf-product-banner-card__image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.tf-product-banner-card__body { min-width: 0; padding: 12px 13px 14px; display: grid; gap: 4px; }
.tf-product-banner-card__body strong { min-height: 36px; display: -webkit-box; overflow: hidden; color: #111827; font-size: 13px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tf-product-banner-card__body b { color: #111827; font-size: 17px; }
.tf-product-banner-card__body small { color: #2156d9; font-size: 11px; font-weight: 800; }
.tf-product-banner-card--fallback { min-height: 244px; justify-content: center; }
.tf-product-banner-card__fallback { width: 84px; height: 84px; margin: 20px auto 4px; display: grid; place-items: center; border-radius: 50%; background: #e8f0ff; color: #2156d9; font-size: 23px; font-weight: 900; }
.tf-storefront-frame { width: 100% !important; max-width: none !important; margin-inline: 0 !important; }
.tf-product-shell { width: 100% !important; max-width: none !important; margin-inline: 0 !important; padding-inline: clamp(18px,2.5vw,48px) !important; }
.bg-blue-600 > .tf-product-shell { background: transparent !important; padding-block: 0 !important; }
.bg-blue-600.text-white { margin-top: 12px; padding-block: 22px !important; }
.tf-dashboard-section { width: 100%; padding: 24px clamp(18px,2.5vw,48px) 18px; background: #fff; }
.tf-dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.tf-dashboard-kicker { margin: 0 0 3px; color: #2563eb; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tf-dashboard-heading h2 { margin: 0; color: #111827; font-size: clamp(23px,2vw,30px); font-weight: 800; letter-spacing: -.025em; }
.tf-dashboard-heading > a { color: #1d4ed8; font-size: 14px; font-weight: 700; text-decoration: none; }
.tf-dashboard-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 10px; }
.tf-dashboard-card { min-width: 0; padding: 13px 8px 12px; border: 1px solid #e3e7ee; border-radius: 16px; background: #fff; color: #111827; text-align: center; text-decoration: none; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.tf-dashboard-card:hover { border-color: #9dbcfb; color: #111827; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.tf-dashboard-card__symbol { width: 52px; height: 52px; margin: 0 auto 9px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#eef4ff,#dce9ff); color: #1757c8; font-size: 15px; font-weight: 900; letter-spacing: .04em; }
.tf-dashboard-card:nth-child(3n+2) .tf-dashboard-card__symbol { background: linear-gradient(145deg,#fff3e8,#ffe2ca); color: #a7460b; }
.tf-dashboard-card:nth-child(3n) .tf-dashboard-card__symbol { background: linear-gradient(145deg,#f2edff,#e4d9ff); color: #6842bd; }
.tf-dashboard-card strong { display: block; overflow: hidden; font-size: 12px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.tf-dashboard-card small { display: block; margin-top: 4px; color: #697386; font-size: 10px; }
.tf-dashboard-actions { margin-top: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.tf-dashboard-actions a { min-width: 0; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 13px; background: #f5f7fb; color: #111827; text-decoration: none; }
.tf-dashboard-actions a:hover { background: #edf3ff; color: #111827; }
.tf-dashboard-actions strong { font-size: 13px; }
.tf-dashboard-actions span { color: #64748b; font-size: 11px; text-align: right; }
@media (min-width:1200px) {
    .tf-product-shell .tf-product-grid { grid-template-columns: repeat(5,minmax(0,1fr)) !important; }
}
@media (min-width:1600px) {
    .tf-product-shell .tf-product-grid { grid-template-columns: repeat(6,minmax(0,1fr)) !important; }
}
.tf-home-hero { padding-block: 26px 8px; }
.tf-hero-feature {
    position: relative;
    min-height: 370px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 22px;
    background-color: #201020;
    background-image: linear-gradient(90deg, rgba(18,7,26,.94) 0%, rgba(34,10,31,.76) 36%, rgba(34,10,31,.16) 64%, rgba(34,10,31,.02) 100%), var(--tf-hero-image);
    background-position: center;
    background-size: cover;
    color: #fff;
    box-shadow: 0 16px 42px rgba(46,15,42,.16);
}
.tf-hero-feature::before { display: none; }
.tf-hero-feature::after { content: ""; position: absolute; inset: auto 0 0; width: auto; height: 84px; border-radius: 0; background: linear-gradient(transparent, rgba(13,7,18,.22)); pointer-events: none; }
.tf-hero-copy { position: relative; z-index: 2; width: min(620px, 49%); display: flex; flex-direction: column; justify-content: center; padding: 56px 64px; }
.tf-hero-kicker { margin: 0 0 13px; color: #ffd3bd; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.tf-hero-copy h1 { margin: 0 0 14px; font-size: clamp(40px,4vw,58px); line-height: 1.01; letter-spacing: -.045em; }
.tf-hero-copy p { max-width: 520px; margin: 0 0 26px; color: #fff4ef; font-size: 17px; line-height: 1.52; }
.tf-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tf-primary-link,
.tf-secondary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; border-radius: 24px; font-weight: 800; text-decoration: none; }
.tf-primary-link { background: #fff; color: #25102a; }
.tf-primary-link:hover { background: #fff1e9; color: #25102a; }
.tf-secondary-link { border: 1px solid rgba(255,255,255,.68); color: #fff; }
.tf-secondary-link:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.tf-department-section { padding-top: 30px; }
.tf-department-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 12px; }
.tf-department-card { min-width: 0; padding: 8px; border: 1px solid transparent; border-radius: var(--tf-radius,14px); color: var(--tf-ink,#111827); text-align: center; text-decoration: none; }
.tf-department-card:hover { border-color: var(--tf-line,#d9dee7); background: var(--tf-page,#f6f7f9); }
.tf-department-image { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--tf-page,#f6f7f9); box-shadow: inset 0 0 0 1px rgba(15,23,42,.04); }
.tf-department-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tf-department-card:hover img { transform: scale(1.04); }
.tf-department-letter { position: absolute; inset: 0; display: grid; place-items: center; color: var(--tf-primary,#155eef); font-size: 34px; font-weight: 700; }
.tf-department-card strong { display: block; margin-top: 10px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tf-home-dealbar { min-height: 72px; margin-block: 10px 4px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #dbe9ff; border-radius: 15px; background: #eef5ff; }
.tf-home-dealbar strong { font-size: 16px; }
.tf-home-dealbar span { margin-left: 8px; color: var(--tf-muted,#667085); font-size: 13px; }
.tf-home-dealbar a { flex: 0 0 auto; padding: 10px 18px; border-radius: 21px; background: var(--tf-ink,#111827); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.tf-product-grid--home { grid-template-columns: repeat(5,minmax(0,1fr)); }
.tf-spotlight-section { margin-block: 6px; }
.tf-spotlight-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
.tf-spotlight-card { position: relative; min-width: 0; min-height: 238px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 18px; border-radius: 18px; color: #fff; text-decoration: none; box-shadow: 0 10px 25px rgba(15,23,42,.1); transition: transform .2s ease,box-shadow .2s ease; }
.tf-spotlight-card:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15,23,42,.16); }
.tf-spotlight-card::before { content: ""; position: absolute; width: 160px; height: 160px; right: -44px; top: -44px; border-radius: 50%; background: rgba(255,255,255,.16); }
.tf-spotlight-card--1 { background: linear-gradient(145deg,#17356c,#256fe4); }
.tf-spotlight-card--2 { background: linear-gradient(145deg,#67224b,#de4e75); }
.tf-spotlight-card--3 { background: linear-gradient(145deg,#10584e,#13a886); }
.tf-spotlight-card--4 { background: linear-gradient(145deg,#6a3315,#ee7a2b); }
.tf-spotlight-label { position: absolute; top: 16px; left: 16px; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.tf-spotlight-initial { position: absolute; top: 45px; right: 17px; color: rgba(255,255,255,.34); font-size: 86px; font-weight: 900; line-height: 1; }
.tf-spotlight-card strong { position: relative; z-index: 1; display: block; overflow: hidden; font-size: 18px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.tf-spotlight-card small { position: relative; z-index: 1; margin-top: 6px; color: rgba(255,255,255,.84); font-size: 11px; }
.tf-spotlight-action { position: relative; z-index: 1; margin-top: 13px; font-size: 12px; font-weight: 800; }
.tf-trust-item { padding: 22px; display: flex; align-items: flex-start; gap: 13px; }
.tf-trust-item .tf-trust-icon { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #edf4ff; color: var(--tf-primary,#155eef); font-size: 17px; }
.tf-seller-banner .tf-seller-kicker { margin-bottom: 8px; color: #8ebaff; font-size: 11px; font-weight: 900; letter-spacing: .13em; }
@media (max-width:1100px) {
    .tf-product-grid--home { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .tf-department-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .tf-spotlight-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .tf-dashboard-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@media (max-width:800px) {
    .tf-page-banner--home { width: calc(100% - 20px) !important; }
    .tf-storefront-frame,
    .tf-product-shell { width: 100% !important; }
    .tf-page-banner--home { min-height: 0 !important; background-image: linear-gradient(145deg,#e8f1ff 0%,#fff6ec 100%) !important; }
    .tf-page-banner--home .tf-page-banner__inner { min-height: 0; display: block !important; padding: 26px 22px !important; }
    .tf-page-banner--home .tf-page-banner__copy { width: 100% !important; max-width: none !important; }
    .tf-page-banner--home .tf-page-banner__title { font-size: clamp(31px,7vw,40px) !important; }
    .tf-page-banner--home .tf-page-banner__description { max-width: none; margin-bottom: 20px; }
    .tf-page-banner__products { gap: 9px; }
    .tf-product-banner-card__image { height: 116px; }
    .tf-product-banner-card__body { padding: 9px; }
    .tf-product-banner-card__body strong { min-height: 34px; font-size: 11px; }
    .tf-product-banner-card__body b { font-size: 14px; }
    .tf-product-grid--home { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tf-department-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .tf-dashboard-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .tf-dashboard-actions { grid-template-columns: 1fr; }
}
@media (max-width:700px) {
    .tf-hero-feature { min-height: 430px; align-items: flex-end; background-image: linear-gradient(0deg,rgba(20,7,23,.96) 0%,rgba(27,8,27,.78) 54%,rgba(27,8,27,.08) 100%),var(--tf-hero-image); background-position: 69% center; }
    .tf-hero-copy { width: 100%; padding: 34px 26px; }
    .tf-hero-copy h1 { font-size: clamp(34px,10vw,44px); }
    .tf-hero-copy p { font-size: 15px; }
    .tf-department-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .tf-spotlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .tf-spotlight-card { min-height: 210px; padding: 14px; }
    .tf-home-dealbar { align-items: flex-start; flex-direction: column; }
    .tf-home-dealbar span { display: block; margin: 5px 0 0; }
    .tf-dashboard-section { padding-top: 20px; }
    .tf-dashboard-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .tf-dashboard-card { padding-inline: 5px; }
    .tf-dashboard-heading { align-items: flex-start; }
    .tf-dashboard-heading > a { margin-top: 6px; white-space: nowrap; }
}

/* Keep the complete storefront controls on desktop computers even when the
   browser is placed in a narrow side panel. Phones continue to use the true
   mobile header through the coarse-pointer media rules. */
@media (min-width: 481px) and (max-width: 860px) and (pointer: fine) {
    .tf-market-header__top { display: block !important; }
    .tf-market-header__top-inner {
        min-height: 30px !important;
        gap: 16px;
        overflow-x: auto;
        padding-inline: 12px !important;
        scrollbar-width: none;
    }
    .tf-market-header__top-inner::-webkit-scrollbar { display: none; }
    .tf-market-header__top-left,
    .tf-market-header__top-right { display: flex !important; flex: 0 0 auto; gap: 10px !important; }
    .tf-market-header__top-left a:nth-of-type(n+3) { margin-left: 2px !important; }
    .tf-market-header__desktop-search {
        min-height: 66px !important;
        display: grid !important;
        grid-template-columns: 78px minmax(0,1fr) !important;
        gap: 8px !important;
        padding: 9px 12px !important;
    }
    .tf-market-header__desktop-search > .tf-header-logo { min-width: 0; }
    .tf-market-header__desktop-search > .tf-header-logo img { width: 76px; height: 38px; object-fit: contain; }
    .tf-market-header__desktop-search > .tf-shop-categories,
    .tf-market-header__desktop-search > .tf-advanced-search { display: none !important; }
    .tf-market-header__mobile-main { display: none !important; }
    .tf-header-search {
        min-width: 0;
        grid-template-columns: 30px minmax(80px,1fr) 32px 92px !important;
    }
    .tf-header-search::before { right: 100px !important; }
    .tf-header-search select { display: none !important; }
    .tf-header-search__icon { width: 17px; height: 17px; }
    .marketplace-header form.tf-header-search input { min-height: 42px !important; font-size: 14px; padding-inline: 8px !important; }
    .tf-header-search__submit { min-width: 92px !important; min-height: 42px; margin-left: 8px; padding-inline: 12px; }
    .tf-category-rail { min-height: 43px; padding-inline: 12px !important; }
    .tf-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    .tf-dashboard-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

/* Centered TrideFair storefront: generous white page margins and a single
   promotional hero followed immediately by marketplace products. */
.tf-page-banner {
    width: min(calc(100% - 32px), 1480px) !important;
    margin-inline: auto !important;
}
.tf-storefront-frame {
    width: min(calc(100% - 32px), 1480px) !important;
    max-width: 1480px !important;
    margin-inline: auto !important;
    background: #fff;
}
.tf-storefront-frame .tf-product-shell {
    width: 100% !important;
    max-width: 1480px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}
.tf-page-banner--home {
    min-height: 350px !important;
    margin-block: 22px 30px !important;
    border-radius: 22px !important;
    background-color: #251127 !important;
    background-image: linear-gradient(90deg,rgba(20,9,36,.95) 0%,rgba(35,13,39,.78) 40%,rgba(35,13,39,.14) 66%,rgba(35,13,39,.02) 100%),url('../images/tridefair-marketplace-hero-20260831.png') !important;
    background-position: center !important;
    background-size: cover !important;
    color: #fff !important;
    box-shadow: none;
}
.tf-page-banner--home .tf-page-banner__inner {
    min-height: 350px !important;
    padding: 44px 64px !important;
    display: flex !important;
    align-items: center !important;
}
.tf-page-banner--home .tf-page-banner__copy { width: min(560px,48%) !important; max-width: 560px !important; }
.tf-page-banner--home .tf-page-banner__eyebrow { color: #ffd7c1 !important; }
.tf-page-banner--home .tf-page-banner__title { color: #fff !important; font-size: clamp(40px,3.4vw,54px) !important; }
.tf-page-banner--home .tf-page-banner__description { max-width: 520px; color: #fff !important; font-size: 17px !important; }
.tf-page-banner--home .tf-page-banner__actions { display: flex !important; }
.tf-page-banner--home .tf-page-banner__primary { background: #fff !important; color: #17111b !important; }
.tf-page-banner--home .tf-page-banner__primary:hover { background: #f4f4f4 !important; color: #17111b !important; }
.tf-dashboard-section,
.tf-page-banner__products,
.bg-blue-600.text-white { display: none !important; }

@media (max-width: 800px) {
    .tf-page-banner,
    .tf-storefront-frame { width: calc(100% - 20px) !important; }
    .tf-page-banner--home {
        min-height: 360px !important;
        background-image: linear-gradient(0deg,rgba(20,8,28,.96) 0%,rgba(28,9,30,.78) 60%,rgba(28,9,30,.08) 100%),url('../images/tridefair-marketplace-hero-20260831.png') !important;
        background-position: 68% center !important;
    }
    .tf-page-banner--home .tf-page-banner__inner { min-height: 360px !important; padding: 28px 24px !important; align-items: flex-end !important; }
    .tf-page-banner--home .tf-page-banner__copy { width: 100% !important; max-width: none !important; }
    .tf-page-banner--home .tf-page-banner__title { font-size: clamp(32px,8vw,42px) !important; }
    .tf-page-banner--home .tf-page-banner__description { font-size: 14px !important; }
}

/* Compact marketplace product cards: keep purchase details visible without
   allowing a single listing to dominate the product grid. */
.tf-product-card {
    border-radius: 14px !important;
}
.tf-product-card > a:first-child > .relative.aspect-square {
    height: 168px !important;
    aspect-ratio: auto !important;
}
.tf-product-card > a:first-child img {
    padding: 8px !important;
    object-fit: contain !important;
}
.tf-product-card > .p-4.space-y-2 {
    padding: 11px 12px 10px !important;
}
.tf-product-card > .p-4.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 4px !important;
}
.tf-product-card h3 {
    min-height: 36px !important;
    margin-bottom: 2px !important;
    font-size: 13px !important;
    line-height: 18px !important;
}
.tf-product-card h3 + .flex {
    margin-bottom: 2px !important;
    font-size: 12px !important;
    line-height: 16px !important;
}
.tf-product-card > .p-4.space-y-2 > .mb-2,
.tf-product-card > .p-4.space-y-2 > .text-sm.text-gray-500.mb-2 {
    margin-bottom: 2px !important;
}
.tf-product-card > .p-4.space-y-2 > .text-sm.text-gray-500 {
    font-size: 12px !important;
    line-height: 16px !important;
}
.tf-product-card > .p-4.space-y-2 > .flex.items-center.gap-2 {
    min-height: 24px;
}
.tf-product-card > .p-4.space-y-2 > .flex.items-center.gap-2 .text-xl {
    font-size: 18px !important;
    line-height: 24px !important;
}
.tf-product-card .tf-true-price-card {
    min-height: 42px !important;
    padding: 6px 0 0 !important;
}
.tf-product-card .tf-true-price-card span {
    font-size: 10px !important;
    line-height: 12px !important;
}
.tf-product-card .tf-true-price-card strong {
    margin-top: 1px !important;
    font-size: 14px !important;
    line-height: 18px !important;
}
.tf-product-card .tf-true-price-card small {
    display: none !important;
}
.tf-product-card .tf-product-card__actions {
    min-height: 44px !important;
    padding: 5px 12px !important;
    gap: 8px !important;
}
.tf-product-card .tf-product-card__save,
.tf-product-card .tf-product-card__cart {
    height: 34px !important;
    min-height: 34px !important;
    padding-block: 5px !important;
    font-size: 11px !important;
}
.tf-product-card > .tf-product-compare {
    display: none !important;
}

@media (max-width: 800px) {
    .tf-product-card > a:first-child > .relative.aspect-square {
        height: 146px !important;
    }
    .tf-product-card > .p-4.space-y-2 {
        padding-inline: 10px !important;
    }
    .tf-product-card .tf-product-card__actions {
        padding-inline: 10px !important;
    }
}

/* Original TrideFair marketplace campaign carousel. */
.tf-page-banner--home.tf-hero-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    background: #111b4b !important;
}
.tf-hero-carousel__viewport {
    width: 100%;
    min-height: 350px;
    overflow: hidden;
}
.tf-hero-carousel__track {
    min-height: 350px;
    display: flex;
    transform: translate3d(0,0,0);
    transition: transform .65s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
.tf-hero-slide {
    position: relative;
    min-width: 100%;
    min-height: 350px;
    flex: 0 0 100%;
    background-color: #172554;
    background-image: linear-gradient(90deg,rgba(11,17,55,.96) 0%,rgba(20,24,58,.76) 37%,rgba(20,24,58,.16) 64%,rgba(20,24,58,.02) 100%),var(--tf-hero-slide-image);
    background-position: center;
    background-size: cover;
}
.tf-hero-slide--fashion {
    background-color: #6f1027;
    background-image: linear-gradient(90deg,rgba(86,8,29,.93) 0%,rgba(111,16,39,.66) 38%,rgba(111,16,39,.12) 63%,rgba(111,16,39,.01) 100%),var(--tf-hero-slide-image);
}
.tf-hero-slide--home {
    background-color: #07535b;
    background-image: linear-gradient(90deg,rgba(4,65,72,.94) 0%,rgba(5,85,90,.66) 39%,rgba(5,85,90,.12) 65%,rgba(5,85,90,.01) 100%),var(--tf-hero-slide-image);
}
.tf-hero-slide .tf-page-banner__inner {
    width: 100% !important;
    margin: 0 !important;
}
.tf-hero-carousel__dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 19px;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
}
.tf-hero-carousel__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 999px;
    background: rgba(18,24,45,.36);
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
    transition: width .2s ease,background .2s ease;
}
.tf-hero-carousel__dot.is-active {
    width: 25px;
    background: #fff;
}
.tf-hero-carousel__controls {
    position: absolute;
    z-index: 5;
    right: 18px;
    bottom: 14px;
    display: flex;
    gap: 7px;
}
.tf-hero-carousel__control {
    width: 36px;
    height: 36px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: #fff;
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 5px 16px rgba(0,0,0,.2);
}
.tf-hero-carousel__control:hover,
.tf-hero-carousel__control:focus-visible {
    background: #f3f6fb;
    transform: translateY(-1px);
}
.tf-hero-carousel__pause span {
    font-size: 13px;
    letter-spacing: -2px;
}

@media (max-width: 800px) {
    .tf-hero-carousel__viewport,
    .tf-hero-carousel__track,
    .tf-hero-slide {
        min-height: 360px;
    }
    .tf-hero-slide {
        background-position: 68% center;
    }
    .tf-hero-slide .tf-page-banner__inner {
        min-height: 360px !important;
    }
    .tf-hero-carousel__controls {
        right: 10px;
        bottom: 10px;
    }
    .tf-hero-carousel__control {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    .tf-hero-carousel__dots {
        left: 18px;
        bottom: 16px;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tf-hero-carousel__track,
    .tf-hero-carousel__dot,
    .tf-hero-carousel__control {
        transition: none !important;
    }
}
