/* Tings Market Platform v5.6.1 — native retail homepage restoration. */
.tmds-platform-home{width:100%;min-width:0;overflow:hidden;background:#fff;color:#071327;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.tmds-platform-home *{box-sizing:border-box}
.tm-home-section{padding:clamp(46px,4.8vw,76px) 0}
.tm-home-section:nth-of-type(even){background:#fbfdfe}
.tm-home-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:0 0 24px}
.tm-home-section__head>div{max-width:850px}
.tm-home-section__eyebrow{margin:0 0 8px;color:#078da4;font-size:12px;font-weight:900;line-height:1.2;letter-spacing:.11em;text-transform:uppercase}
.tm-home-section__head h2,.tm-home-how__head h2,.tm-home-delivery-cta h2{margin:0;color:#071327;font-size:clamp(32px,3.2vw,50px);font-weight:900;line-height:1.04;letter-spacing:-.035em}
.tm-home-section__intro,.tm-home-how__head>p:last-child,.tm-home-delivery-cta__inner>div>p:last-child{max-width:760px;margin:12px 0 0;color:#66778d;font-size:clamp(16px,1.25vw,20px);font-weight:500;line-height:1.55}
.tm-home-section__link{flex:0 0 auto;min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 18px;border:2px solid #10abc0;border-radius:15px;color:#078da4!important;background:#fff;font-size:14px;font-weight:900;text-decoration:none!important;transition:transform .18s ease,background .18s ease}
.tm-home-section__link:hover{transform:translateY(-2px);background:#effbfd}

/* Departments */
.tm-home-departments{padding-top:clamp(34px,3.6vw,56px);background:#fff!important}
.tm-home-department-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;align-items:stretch}
.tm-home-department-card{min-width:0;display:flex;flex-direction:column;gap:10px;padding:8px 8px 13px;border:1px solid #c8e1e7;border-radius:19px;color:#071327!important;background:#fff;text-align:center;text-decoration:none!important;box-shadow:0 8px 24px rgba(7,19,39,.045);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.tm-home-department-card:hover{transform:translateY(-4px);border-color:#76d0dc;box-shadow:0 16px 34px rgba(7,19,39,.08)}
.tm-home-department-card__media{position:relative;aspect-ratio:3/2;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:#e9f8fb}
.tm-home-department-card--yellow .tm-home-department-card__media{background:#fff1ad}
.tm-home-department-card--mint .tm-home-department-card__media{background:#e8f6ec}
.tm-home-department-card--lavender .tm-home-department-card__media{background:#f2e7f7}
.tm-home-department-card--peach .tm-home-department-card__media{background:#fff0e6}
.tm-home-department-card--gold .tm-home-department-card__media{background:#fff4c8}
.tm-home-department-card--sage .tm-home-department-card__media{background:#e6f1e8}
.tm-home-department-card--pink .tm-home-department-card__media{background:#f8e8ef}
.tm-home-department-card--aqua .tm-home-department-card__media{background:#e3f8fb}
.tm-home-department-card__media img,.tm-home-department-card__image{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center!important;background:transparent!important;border:0!important;border-radius:0!important;transform:none!important}
.tm-home-department-card>strong{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 3px;font-size:clamp(13px,1vw,16px);font-weight:900;line-height:1.15;letter-spacing:-.02em}

/* Product rows */
.tm-home-products-section{position:relative}
.tm-home-flash-deals{background:linear-gradient(180deg,#fff9e5 0,#fff 100%)!important}
.tm-home-popular{background:#fff!important}
.tm-home-trending{background:linear-gradient(180deg,#eefbfc 0,#fff 100%)!important}
.tm-home-demand{background:linear-gradient(180deg,#f4f0ff 0,#fff 100%)!important}
.tm-home-demand .tm-home-section__eyebrow{color:#6d55b5}
.tm-home-demand .tm-home-section__link{border-color:#b8a8ef;color:#6652a8!important;background:#fff}
.tm-home-demand .tm-home-section__link:hover{background:#f7f4ff}
.tm-home-new-arrivals{background:#fff!important}
.tm-home-product-grid>ul.products{grid-template-columns:repeat(var(--tm-home-columns,5),minmax(0,1fr))!important;gap:16px!important}
.tm-home-product-grid .tm-product-card__body{padding:14px 14px 15px}
.tm-home-product-grid .tm-product-card__title{font-size:14px!important}
.tm-home-product-grid .tm-product-card__price{font-size:23px}
.tm-home-product-grid .tm-product-card__express{font-size:10px}
.tm-home-product-grid a.tm-product-card__button{min-height:43px!important;font-size:11.5px!important}

/* How it works */
.tm-home-how{position:relative;padding:clamp(58px,5vw,84px) 0;background:linear-gradient(180deg,#eaf9fb 0,#f5fcfd 100%)}
.tm-home-how__head{text-align:center;margin:0 auto 30px}
.tm-home-how__head>p:last-child{margin:13px auto 0}
.tm-home-how__grid{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.tm-home-how__grid:before{content:"";position:absolute;left:8%;right:8%;top:82px;height:5px;border-radius:999px;background:#9fe5ec;z-index:0}
.tm-home-how__card{position:relative;z-index:1;min-height:330px;padding:34px 30px;border:1px solid #bfe3e8;border-radius:28px;background:#fff;box-shadow:0 14px 35px rgba(7,19,39,.06)}
.tm-home-how__card-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}
.tm-home-how__number{min-width:70px;display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;color:#fff;background:#071327;font-size:16px;font-weight:900;letter-spacing:.02em}
.tm-home-how__icon{width:76px;height:76px;display:grid;place-items:center;border:10px solid #fff;border-radius:24px;background:#e5f8fb;box-shadow:0 12px 28px rgba(7,19,39,.07);color:#078da4}
.tm-home-how__card--yellow .tm-home-how__icon{background:#fff0a5;color:#071327}
.tm-home-how__card--mint .tm-home-how__icon{background:#e5f5ea;color:#168b68}
.tm-home-how__card--lavender .tm-home-how__icon{background:#eff0ff;color:#5e65ad}
.tm-home-how__icon .tm-icon{width:32px;height:32px}
.tm-home-how__card h3{margin:0;color:#071327;font-size:clamp(26px,2vw,36px);font-weight:900;line-height:1.08;letter-spacing:-.035em}
.tm-home-how__card p{margin:20px 0 0;color:#677991;font-size:clamp(15px,1.2vw,19px);font-weight:500;line-height:1.55}

/* Bottom CTA */
.tm-home-delivery-cta{padding:clamp(46px,4.4vw,68px) 0;background:#fff}
.tm-home-delivery-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:clamp(34px,4vw,58px);border-radius:32px;background:linear-gradient(135deg,#071327 0,#0a2638 100%);box-shadow:0 22px 50px rgba(7,19,39,.12)}
.tm-home-delivery-cta .tm-home-section__eyebrow{color:#61d6e4}
.tm-home-delivery-cta h2{color:#fff}
.tm-home-delivery-cta__inner>div>p:last-child{color:#cad8e2}
.tm-home-delivery-cta__actions{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:12px}
.tm-home-delivery-cta .tm-btn{min-height:54px;display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border:2px solid transparent;border-radius:14px;font-size:14px;font-weight:900;text-decoration:none!important}
.tm-home-delivery-cta .tm-btn--yellow{color:#071327!important;background:#ffd000;border-color:#ffd000}
.tm-home-delivery-cta .tm-btn--outline{color:#fff!important;background:transparent;border-color:#37bfd0}

/* Native rendering of retained historical page data when a policy/information page has no WordPress post_content yet. */
.tm-native-legacy-content{display:grid;gap:20px}
.tm-native-legacy-content .tm-native-legacy-container{display:grid;gap:18px}
.tm-native-legacy-content h2,.tm-native-legacy-content h3,.tm-native-legacy-content h4{margin:18px 0 2px;color:#071327;line-height:1.15}
.tm-native-legacy-content p{color:#33475b;line-height:1.7}

@media(max-width:1180px){
  .tm-home-department-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .tm-home-department-card>strong{font-size:16px}
  .tm-home-product-grid>ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tm-home-how__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tm-home-how__grid:before{display:none}
}
@media(max-width:820px){
  .tm-home-section__head{align-items:flex-start;flex-direction:column;gap:18px}
  .tm-home-department-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tm-home-product-grid>ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tm-home-delivery-cta__inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:600px){
  .tm-home-section{padding:40px 0}
  .tm-home-department-grid{gap:12px}
  .tm-home-department-card{padding:8px 8px 12px;border-radius:17px}
  .tm-home-department-card__media{border-radius:12px}
  .tm-home-department-card>strong{min-height:34px;font-size:14px}
  .tm-home-products-section .tm-home-product-grid>ul.products{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(250px,82vw)!important;gap:13px!important;overflow-x:auto!important;overflow-y:visible!important;scroll-snap-type:x proximity;padding:2px 5px 15px!important;scrollbar-width:thin}
  .tm-home-products-section .tm-home-product-grid>ul.products>li{scroll-snap-align:start}
  .tm-home-how__grid{grid-template-columns:1fr}
  .tm-home-how__card{min-height:0;padding:26px 24px;border-radius:22px}
  .tm-home-how__icon{width:66px;height:66px}
  .tm-home-delivery-cta__inner{padding:30px 24px;border-radius:24px}
  .tm-home-delivery-cta__actions{width:100%;display:grid;grid-template-columns:1fr}
}


/* v5.6.1 — restored Flash Deals / scheduled-campaign merchandising */
.tm-home-flash-deals{overflow:hidden;background:radial-gradient(circle at 90% 4%,rgba(255,208,0,.22),transparent 30%),linear-gradient(180deg,#fff8dc 0,#fffdf5 56%,#fff 100%)!important}
.tm-home-deals-head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin:0 0 24px}
.tm-home-deals-head__copy{max-width:760px}
.tm-home-deals-badge{display:inline-flex;align-items:center;min-height:30px;margin:0 0 9px;padding:6px 11px;border-radius:999px;color:#071327;background:#ffd000;font-size:11px;font-weight:950;line-height:1;letter-spacing:.075em;text-transform:uppercase}
.tm-home-deals-head h2{margin:0;color:#071327;font-size:clamp(34px,3.4vw,52px);font-weight:950;line-height:1.02;letter-spacing:-.04em}
.tm-home-deals-head__copy>p{max-width:700px;margin:11px 0 0;color:#68788d;font-size:clamp(15px,1.2vw,19px);font-weight:520;line-height:1.55}
.tm-home-deals-head__actions{display:flex;align-items:center;justify-content:flex-end;gap:13px;flex-wrap:wrap}
.tm-home-deal-clock{display:flex;align-items:stretch;gap:6px;padding:8px;border:1px solid #efd36b;border-radius:16px;background:#fff;box-shadow:0 10px 25px rgba(89,67,0,.07)}
.tm-home-deal-clock__label{display:flex;align-items:center;padding:0 9px;color:#8e1534;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.tm-home-deal-clock__unit{min-width:49px;display:grid;place-items:center;padding:6px 7px;border-radius:10px;background:#071327;color:#fff;text-align:center;line-height:1}
.tm-home-deal-clock__unit strong{font-size:18px;font-weight:950;font-variant-numeric:tabular-nums}
.tm-home-deal-clock__unit small{margin-top:4px;color:#dfe7ec;font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.tm-home-deal-clock.is-ended{opacity:.72}
.tm-home-deal-grid .tm-product-card__inner{border-color:#eadca7;box-shadow:0 10px 28px rgba(89,67,0,.055)}
.tm-home-deals-empty{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px;border:1px dashed #d7b83d;border-radius:20px;background:rgba(255,255,255,.78)}
.tm-home-deals-empty__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;color:#071327;background:#ffd000;font-size:24px;font-weight:950}
.tm-home-deals-empty strong{display:block;color:#071327;font-size:18px;font-weight:900}
.tm-home-deals-empty p{margin:5px 0 0;color:#68788d;line-height:1.5}
.tm-home-deals-empty .tm-btn{white-space:nowrap;text-decoration:none!important}

.tm-home-campaign-banner{padding:18px 0 44px;background:#fff}
.tm-home-campaign-banner__inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 34px;border-radius:26px;background:linear-gradient(125deg,#071327 0,#0b283b 72%,#0e8798 100%);box-shadow:0 20px 45px rgba(7,19,39,.12)}
.tm-home-campaign-banner__copy>span{display:inline-flex;margin:0 0 8px;padding:6px 10px;border-radius:999px;color:#071327;background:#ffd000;font-size:10px;font-weight:950;letter-spacing:.07em;text-transform:uppercase}
.tm-home-campaign-banner h2{margin:0;color:#fff;font-size:clamp(28px,3vw,44px);font-weight:950;line-height:1.04;letter-spacing:-.035em}
.tm-home-campaign-banner p{margin:8px 0 0;color:#c8d8e1;font-size:16px}
.tm-home-campaign-banner__right{display:flex;align-items:center;justify-content:flex-end;gap:13px;flex-wrap:wrap}
.tm-home-campaign-banner .tm-home-deal-clock{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.08);box-shadow:none}
.tm-home-campaign-banner .tm-home-deal-clock__label{color:#fff}
.tm-home-campaign-banner .tm-home-deal-clock__unit{background:#fff;color:#071327}
.tm-home-campaign-banner .tm-home-deal-clock__unit small{color:#637489}

@media(max-width:1040px){
  .tm-home-deals-head{align-items:flex-start;flex-direction:column}
  .tm-home-deals-head__actions{justify-content:flex-start}
  .tm-home-campaign-banner__inner{align-items:flex-start;flex-direction:column}
  .tm-home-campaign-banner__right{justify-content:flex-start}
}
@media(max-width:680px){
  .tm-home-deals-head__actions{width:100%;display:grid;grid-template-columns:1fr}
  .tm-home-deals-head__actions .tm-home-section__link{width:100%}
  .tm-home-deal-clock{width:100%;justify-content:space-between;gap:4px;padding:6px}
  .tm-home-deal-clock__label{padding:0 4px;font-size:9px}
  .tm-home-deal-clock__unit{min-width:0;flex:1;padding:6px 4px}
  .tm-home-deal-clock__unit strong{font-size:16px}
  .tm-home-deals-empty{grid-template-columns:auto 1fr;padding:20px}
  .tm-home-deals-empty .tm-btn{grid-column:1/-1;width:100%}
  .tm-home-campaign-banner{padding-bottom:36px}
  .tm-home-campaign-banner__inner{padding:25px 20px;border-radius:22px}
  .tm-home-campaign-banner__right{width:100%}
  .tm-home-campaign-banner__right>.tm-btn{width:100%}
}

@media(prefers-reduced-motion:reduce){.tm-home-department-card,.tm-home-section__link{transition:none}}

/* v5.8.0 — first-party personalized merchandising */
.tm-home-personalized{position:relative;background:linear-gradient(180deg,#f9fdfe 0,#fff 100%)}
.tm-home-personalized .tm-home-section__eyebrow{display:inline-flex;align-items:center;gap:7px}
.tm-home-personalized .tm-home-section__eyebrow:before{content:"";width:8px;height:8px;border-radius:999px;background:#12b8ca;box-shadow:0 0 0 4px rgba(18,184,202,.10)}
.tm-home-personalized--search{background:linear-gradient(180deg,#fffaf0 0,#fff 100%)}
.tm-home-personalized--search .tm-home-section__eyebrow:before{background:#ffd000;box-shadow:0 0 0 4px rgba(255,208,0,.14)}
.tm-home-personalized--continue{background:linear-gradient(180deg,#f7fbff 0,#fff 100%)}
.tm-home-personalized--category{background:linear-gradient(180deg,#f8fcf9 0,#fff 100%)}
.tm-home-personalized--you-may-like{background:linear-gradient(180deg,#fbf9ff 0,#fff 100%)}


/* v5.8.4 — tighter native homepage vertical rhythm.
   Product, demand and personalized rows remain visually separate while avoiding
   the oversized double-padding gap created by adjacent full-width sections. */
.tm-home-products-section,.tm-home-personalized{padding-top:clamp(42px,4.3vw,68px);padding-bottom:clamp(42px,4.3vw,68px)}
.tm-home-products-section + .tm-home-products-section,
.tm-home-products-section + .tm-home-personalized,
.tm-home-personalized + .tm-home-personalized,
.tm-home-personalized + .tm-home-products-section{padding-top:clamp(34px,3.6vw,56px)}
@media(max-width:600px){
  .tm-home-products-section,.tm-home-personalized{padding-top:38px;padding-bottom:38px}
  .tm-home-products-section + .tm-home-products-section,
  .tm-home-products-section + .tm-home-personalized,
  .tm-home-personalized + .tm-home-personalized,
  .tm-home-personalized + .tm-home-products-section{padding-top:32px}
}
