/* ==========================================================================
   itDealSg — Homepage (Nov 2026 design)
   Loaded on the front page and wherever an itDealSg Elementor widget is used.
   Every rule is scoped to .itd-hm* classes, so other pages are not affected.
   ========================================================================== */

.itd-hm { --itd-hm-card-bg: #F4F5F7; --itd-hm-gap: 16px; }
.itd-sec.itd-hm { padding-top: 56px; }
.itd-sec.itd-hm.itd-sec--tight { padding-top: 40px; }
.itd-sec.itd-hm-hero { padding-top: 24px; }
.itd-hm-mob { display: none; }

/* ---------- Section heading ---------- */
.itd-hm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.itd-hm-head__main { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-width: 0; }
.itd-hm-head__side { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.itd-hm-title { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--itd-ink); }
.itd-hm-head__sub { color: var(--itd-muted); font-size: 14px; }
.itd-body a.itd-hm-link { font-size: 14px; font-weight: 600; color: var(--itd-ink); white-space: nowrap; }
.itd-body a.itd-hm-link:hover { color: var(--itd-red); }
.itd-hm-arrows { display: inline-flex; gap: 12px; }
.itd-hm-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--itd-line-2); background: #fff; color: var(--itd-ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: border-color .15s, opacity .15s; }
.itd-hm-arrow:hover { border-color: var(--itd-ink); }
.itd-hm-arrow[disabled] { opacity: .35; cursor: default; border-color: var(--itd-line-2); }
.itd-hm-ico { display: block; flex: 0 0 auto; }

/* ---------- Product illustrations / photos ---------- */
.itd-hm-media { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.itd-hm-media > .itd-hm-art { width: 72%; max-width: 190px; height: auto; }
.itd-hm-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14%; box-sizing: border-box; mix-blend-mode: multiply; background: var(--itd-hm-card-bg, #F4F5F7); }
.itd-hm-art { display: block; }

/* ---------- Hero ---------- */
.itd-hm-hero__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.itd-hm-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-width: 0; }
.itd-hm-tile { position: relative; display: flex; overflow: hidden; border-radius: 20px; min-height: 192px; isolation: isolate; text-decoration: none; }
.itd-hm-tile--lg { min-height: 400px; }
.itd-hm-tile--red { background: radial-gradient(120% 120% at 70% 0%, #F23A47 0%, #DA1022 42%, #B0081A 100%); color: #fff; }
.itd-hm-tile--dark { background: #1C1F26; color: #fff; }
.itd-hm-tile--light { background: #EEEFF2; color: var(--itd-ink); }
.itd-body a.itd-hm-tile, .itd-body a.itd-hm-tile:hover { color: inherit; }
.itd-hm-tile--light, .itd-body a.itd-hm-tile--light { color: var(--itd-ink); }
.itd-hm-tile--red, .itd-hm-tile--dark, .itd-body a.itd-hm-tile--dark { color: #fff; }
.itd-hm-tile__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; max-width: 58%; }
.itd-hm-tile--lg .itd-hm-tile__body { justify-content: center; padding: 44px; max-width: 50%; gap: 14px; }
.itd-hm-tile__tag { display: inline-block; background: rgba(255,255,255,.18); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.itd-hm-tile--light .itd-hm-tile__tag { background: #fff; color: var(--itd-red); }
.itd-hm-tile__title { font-size: 22px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.itd-hm-tile--lg .itd-hm-tile__title { font-size: 60px; line-height: .98; font-weight: 800; letter-spacing: -0.04em; }
.itd-hm-tile__text { font-size: 14px; opacity: .78; }
.itd-hm-tile--lg .itd-hm-tile__text { font-size: 17px; opacity: .95; }
.itd-body .itd-hm-tile__btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; margin-top: 10px; border-radius: 999px; background: #fff; color: var(--itd-red-dark); font-weight: 700; font-size: 15px; transition: transform .15s; }
.itd-body .itd-hm-tile__btn:hover { color: var(--itd-red-dark); transform: translateY(-1px); }
.itd-hm-tile--lg .itd-hm-tile__btn::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole tile is clickable */
.itd-hm-tile__pic { position: absolute; z-index: 1; right: 18px; bottom: 10px; top: 10px; width: 46%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.itd-hm-tile--lg .itd-hm-tile__pic { right: 3%; width: 54%; top: 14%; bottom: 0; }
.itd-hm-tile__pic > svg { width: 100%; height: 100%; }
.itd-hm-tile__pic > img { max-width: 100%; max-height: 100%; object-fit: contain; }
.itd-hm-tile--dark .itd-hm-tile__pic, .itd-hm-tile--light .itd-hm-tile__pic { width: 44%; right: 6px; top: 16px; bottom: 6px; }
.itd-hm-tile--dark .itd-hm-tile__pic > svg, .itd-hm-tile--light .itd-hm-tile__pic > svg { transform: scale(1.18); transform-origin: center bottom; }
.itd-hm-tile:hover .itd-hm-tile__pic { transform: scale(1.02); transition: transform .3s ease; }
.itd-hm-dots { display: none; }
.itd-hm-circles { display: none; }

/* ---------- Pick up where you left off ---------- */
.itd-hm-head--sm { margin-bottom: 14px; }
.itd-hm-head--sm .itd-hm-title { font-size: 18px; letter-spacing: -0.01em; }
.itd-hm-clear { border: 0; background: none; color: var(--itd-muted); font-size: 14px; padding: 0; }
.itd-hm-clear:hover { color: var(--itd-ink); }
.itd-hm-recent__row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.itd-hm-recent__row::-webkit-scrollbar { display: none; }
.itd-body a.itd-hm-mini { flex: 0 0 auto; min-width: 218px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--itd-line); border-radius: 12px; background: #fff; scroll-snap-align: start; transition: border-color .15s; }
.itd-body a.itd-hm-mini:hover { border-color: var(--itd-ink); color: var(--itd-ink); }
.itd-hm-mini .itd-hm-media { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 8px; background: var(--itd-hm-card-bg); }
.itd-hm-mini .itd-hm-media > .itd-hm-art { width: 86%; }
.itd-hm-mini .itd-hm-media > img { padding: 6px; border-radius: 8px; }
.itd-hm-mini__text { display: flex; flex-direction: column; min-width: 0; }
.itd-hm-mini__name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.itd-hm-mini__price { font-size: 14px; font-weight: 700; }

/* ---------- Flash deals heading extras ---------- */
.itd-hm-ends { display: inline-flex; align-items: center; gap: 8px; color: var(--itd-muted); font-size: 15px; }
.itd-hm-timer { display: inline-flex; align-items: center; background: var(--itd-red); color: #fff; font-family: var(--itd-mono); font-size: 14px; font-weight: 600; padding: 3px 8px; border-radius: 6px; letter-spacing: .02em; }
.itd-hm-timer b { font-weight: 600; }
.itd-body a.itd-hm-remind, .itd-hm-remind { display: inline-flex; align-items: center; gap: 6px; color: var(--itd-red-dark); font-size: 14px; font-weight: 600; }
.itd-body a.itd-hm-remind:hover { color: var(--itd-red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Product row + compact card ---------- */
.itd-hm-row { position: relative; }
.itd-hm-row__track { display: flex; gap: var(--itd-hm-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 0 6px; margin: -2px 0 -6px; }
.itd-hm-row__track::-webkit-scrollbar { display: none; }
.itd-hm-card { flex: 0 0 calc((100% - 5 * var(--itd-hm-gap)) / 5.27); min-width: 0; scroll-snap-align: start; position: relative; }
.itd-hm-card__media { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; background: var(--itd-hm-card-bg); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.itd-hm-card:hover .itd-hm-card__media { box-shadow: 0 10px 28px rgba(11,13,18,.12); }
.itd-hm-card__img { display: block; width: 100%; height: 100%; }
.itd-hm-card__img .itd-hm-media > .itd-hm-art { transition: transform .3s ease; }
.itd-hm-card:hover .itd-hm-card__img .itd-hm-art { transform: scale(1.04); }
.itd-hm-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--itd-red); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; padding: 5px 7px; border-radius: 6px; pointer-events: none; }
.itd-hm-badge--rank { background: var(--itd-ink); }
.itd-hm-card__wish { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--itd-red-dark); display: inline-flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 2px 8px rgba(11,13,18,.12); opacity: 0; transform: scale(.9); transition: opacity .15s, transform .15s; }
.itd-hm-card__wish[aria-pressed="true"] { opacity: 1; transform: none; }
.itd-hm-card__wish[aria-pressed="true"] .itd-hm-ico { fill: currentColor; }
.itd-hm-card__add { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.itd-hm-card:hover .itd-hm-card__wish, .itd-hm-card:focus-within .itd-hm-card__wish,
.itd-hm-card:hover .itd-hm-card__add, .itd-hm-card:focus-within .itd-hm-card__add { opacity: 1; transform: none; }
.itd-body .itd-hm-card__btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; border: 0; border-radius: 10px; background: var(--itd-ink); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s; }
.itd-body .itd-hm-card__btn:hover { background: #262A35; color: #fff; }
.itd-hm-card__btn.is-added { background: var(--itd-green) !important; }
.itd-hm-card__name { margin: 12px 0 0; font-size: 14px; font-weight: 400; line-height: 1.4; min-height: 2.8em; }
.itd-body .itd-hm-card__name a { color: var(--itd-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.itd-body .itd-hm-card__name a:hover { color: var(--itd-red); }
.itd-hm-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is clickable */
.itd-hm-card__price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.itd-hm-card__now { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.itd-hm-card__was { font-size: 13px; color: var(--itd-faint); }

/* ---------- Shop by category ---------- */
.itd-hm-cats__row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.itd-body a.itd-hm-cat { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 16px 8px 18px; min-height: 142px; border-radius: 16px; background: var(--itd-hm-card-bg); text-align: center; color: var(--itd-ink); transition: background .15s, transform .15s; }
.itd-body a.itd-hm-cat:hover { background: #ECEEF2; color: var(--itd-ink); transform: translateY(-2px); }
.itd-hm-cat__pic { width: 76px; height: 60px; display: flex; align-items: center; justify-content: center; }
.itd-hm-cat__pic > svg, .itd-hm-cat__pic > img { width: 100%; height: 100%; object-fit: contain; }
.itd-hm-cat__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.itd-body a.itd-hm-cat--all { background: #fff; border: 1px solid var(--itd-line-2); justify-content: center; }
.itd-hm-cat--all .itd-hm-cat__pic { height: 30px; }
.itd-hm-cat--all .itd-hm-cat__pic svg { width: 24px; height: 24px; }

/* ---------- Not sure what to buy? ---------- */
.itd-hm-help__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--itd-hm-card-bg); border-radius: 24px; padding: 36px; }
.itd-hm-help__title { font-size: 30px; letter-spacing: -0.025em; }
.itd-hm-help__sub { margin: 10px 0 18px; color: var(--itd-ink-2); font-size: 16px; }
.itd-hm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.itd-body a.itd-hm-chip { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--itd-line-2); font-size: 14px; font-weight: 600; color: var(--itd-ink); transition: border-color .15s; }
.itd-body a.itd-hm-chip:hover { border-color: var(--itd-ink); color: var(--itd-ink); }
.itd-hm-help__open { display: none; }
.itd-hm-finder.itd-finder { background: #fff; border: 0; border-radius: 16px; padding: 24px; box-shadow: none; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.itd-hm-finder__eyebrow { color: var(--itd-red-dark); font-size: 13px; font-weight: 700; }
.itd-hm-finder .itd-finder__q { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; }
.itd-hm-finder .itd-finder__q strong { font-size: 19px; letter-spacing: -0.01em; }
.itd-hm-finder .itd-finder__q .itd-mono { display: none; }
.itd-hm-finder .itd-progress { display: none; }
.itd-hm-finder .itd-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.itd-hm-finder .itd-option { text-align: left; background: #fff; border: 1px solid var(--itd-line-2); border-radius: 10px; padding: 14px 16px; min-height: 0; transition: border-color .15s; }
.itd-hm-finder .itd-option:hover { border-color: var(--itd-ink); background: #fff; }
.itd-hm-finder .itd-option strong { font-size: 15px; font-weight: 600; }
.itd-hm-finder .itd-option small, .itd-hm-finder .itd-option span:not(:first-child) { display: none; }
.itd-hm-finder .itd-finder__nav { margin: 0; }
.itd-hm-finder .itd-finder__nav:empty, .itd-hm-finder .itd-finder__nav:not(:has(:not([hidden]))) { display: none; }
.itd-hm-help__builder { margin-top: 16px; }

/* ---------- Top brands strip ---------- */
.itd-hm-brands__line { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--itd-line); border-bottom: 1px solid var(--itd-line); padding: 16px 0; }
.itd-hm-brands__label { flex: 0 0 auto; font-size: 14px; font-weight: 700; padding-right: 20px; }
.itd-hm-brands__list { flex: 1 1 auto; display: flex; justify-content: space-between; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.itd-hm-brands__list::-webkit-scrollbar { display: none; }
.itd-body .itd-hm-brands__list a { color: var(--itd-ink-2); font-size: 16px; font-weight: 600; white-space: nowrap; }
.itd-body .itd-hm-brands__list a:hover { color: var(--itd-red); }

/* ---------- FAQs ---------- */
.itd-hm-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 24px 48px; }
.itd-hm-faq__title { font-size: 28px; }
.itd-hm-faq__text { margin: 12px 0 0; color: var(--itd-ink-2); font-size: 15px; max-width: 340px; }
.itd-body .itd-hm-faq__text a { color: var(--itd-ink); text-decoration: underline; text-underline-offset: 3px; }
.itd-hm-faq__list details { border-bottom: 1px solid var(--itd-line); }
.itd-hm-faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 600; cursor: pointer; }
.itd-hm-faq__list summary::-webkit-details-marker { display: none; }
.itd-hm-faq__list summary .itd-ico { flex: 0 0 auto; transition: transform .2s; }
.itd-hm-faq__list details[open] summary .itd-ico { transform: rotate(45deg); }
.itd-hm-faq__list details > p { margin: -4px 0 16px; color: var(--itd-ink-2); font-size: 15px; max-width: 720px; }
.itd-hm-faq .itd-trust { margin-top: 20px; }

/* ---------- About / SEO line ---------- */
.itd-sec.itd-hm-seo, .itd-hm-seo { padding-top: 40px; padding-bottom: 32px; }
.itd-hm-seo__box { border-top: 1px solid var(--itd-line); padding-top: 18px; }
.itd-hm-seo__box > summary { list-style: none; cursor: pointer; font-size: 14px; color: var(--itd-ink-2); font-weight: 600; }
.itd-hm-seo__box > summary::-webkit-details-marker { display: none; }
.itd-hm-seo__title { display: inline; font-size: 14px; font-weight: 600; margin: 0; color: var(--itd-ink-2); letter-spacing: 0; }
.itd-hm-seo__more { color: var(--itd-ink); text-decoration: underline; text-underline-offset: 3px; }
.itd-hm-seo__box[open] .itd-hm-seo__more { font-size: 0; }
.itd-hm-seo__box[open] .itd-hm-seo__more::after { content: attr(data-less); font-size: 14px; }
.itd-hm-seo__body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-top: 14px; color: var(--itd-ink-2); font-size: 14px; }
.itd-hm-seo__text p { margin: 0 0 10px; }
.itd-hm-seo__pop { display: flex; flex-direction: column; gap: 10px; }
.itd-hm-seo__pop .itd-hm-chip { height: 34px; font-size: 13px; font-weight: 500; }

/* ---------- Newsletter band (sits on top of the footer) ---------- */
.itd-news.itd-hm-news { background: var(--itd-ink); color: #fff; padding: 20px 0; margin-top: 24px; }
.itd-hm-news .itd-news__box { background: none; border-radius: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.itd-hm-news .itd-news__text { flex: 1 1 320px; }
.itd-hm-news .itd-news__text strong { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.itd-hm-news .itd-news__text > span { color: #A3A9B6; font-size: 13px; }
.itd-hm-news form { display: flex; gap: 16px; flex: 0 1 460px; margin: 0; }
.itd-hm-news form input[type="email"] { flex: 1 1 auto; min-width: 0; height: 44px; border: 0; border-radius: 8px; padding: 0 14px; font: inherit; font-size: 15px; background: #fff; color: var(--itd-ink); }
.itd-hm-news form .itd-btn { height: 44px; border-radius: 8px; padding: 0 22px; font-weight: 700; }
.itd-hm-news .itd-news__msg { flex-basis: 100%; text-align: right; font-size: 13px; color: var(--itd-mint); }
.itd-hm-news .itd-news__msg:empty { display: none; }
.itd-hm-news .itd-news__legal { flex-basis: 100%; text-align: right; font-size: 12px; color: #8C93A5; margin-top: -4px; }
.itd-body .itd-hm-news .itd-news__legal a { color: #C9CDD6; text-decoration: underline; }
/* No gap between the band and the footer. */
.itd-elementor-page:has(.itd-hm-news:last-child) + .itd-footer, .itd-elementor-page:has(.elementor-widget-itd-newsletter:last-child) + .itd-footer { margin-top: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .itd-hm-card { flex-basis: calc((100% - 3 * var(--itd-hm-gap)) / 3.4); }
  .itd-hm-tile--lg .itd-hm-tile__title { font-size: 46px; }
  .itd-hm-tile--lg .itd-hm-tile__body { padding: 32px; max-width: 56%; }
  .itd-hm-cats__row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .itd-hm-help__box { grid-template-columns: 1fr; }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  .itd-hm { --itd-hm-gap: 12px; }
  .itd-hm-desk { display: none !important; }
  .itd-hm-mob { display: inline; }
  .itd-sec.itd-hm { padding-top: 32px; }
  .itd-sec.itd-hm-hero { padding-top: 12px; }
  .itd-hm-title { font-size: 20px; }
  .itd-hm-head { margin-bottom: 14px; align-items: center; }
  .itd-hm-head__main { gap: 2px 10px; }
  .itd-hm-arrows { display: none; }
  .itd-body a.itd-hm-link { font-size: 14px; }

  /* Hero: swipeable slider with dots. */
  .itd-hm-hero__grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--itd-gutter)); padding: 0 var(--itd-gutter); scroll-padding: 0 var(--itd-gutter); }
  .itd-hm-hero__grid::-webkit-scrollbar { display: none; }
  .itd-hm-hero__side { display: contents; }
  .itd-hm-tile, .itd-hm-tile--lg { flex: 0 0 100%; min-height: 220px; scroll-snap-align: start; border-radius: 18px; }
  .itd-hm-tile__body, .itd-hm-tile--lg .itd-hm-tile__body { justify-content: center; padding: 20px; max-width: 60%; gap: 8px; }
  .itd-hm-tile--lg .itd-hm-tile__title { font-size: 30px; line-height: 1; }
  .itd-hm-tile__title { font-size: 22px; }
  .itd-hm-tile--lg .itd-hm-tile__text { font-size: 14px; }
  .itd-body .itd-hm-tile__btn { height: 40px; padding: 0 16px; font-size: 14px; margin-top: 6px; }
  .itd-hm-tile__tag { font-size: 12px; }
  .itd-hm-tile--lg .itd-hm-tile__pic { width: 50%; top: 12%; right: 0; }
  .itd-hm-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
  .itd-hm-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--itd-line-2); transition: width .2s, background .2s; }
  .itd-hm-dots span.is-on { width: 18px; background: var(--itd-ink); }

  /* Round category shortcuts. */
  .itd-hm-circles { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; }
  .itd-hm-circles::-webkit-scrollbar { display: none; }
  .itd-body .itd-hm-circle { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: var(--itd-ink); font-size: 13px; font-weight: 500; line-height: 1.25; text-align: center; }
  .itd-hm-circle__ico { width: 62px; height: 62px; border-radius: 50%; background: var(--itd-hm-card-bg); display: flex; align-items: center; justify-content: center; }
  .itd-hm-circle__ico > svg.itd-hm-art { width: 46px; height: auto; }
  .itd-hm-circle--all .itd-hm-circle__ico { background: #fff; border: 1px solid var(--itd-line-2); }

  /* Cards: two and a bit per screen; no hover button (tap the card). */
  .itd-hm-row { margin: 0 calc(-1 * var(--itd-gutter)); }
  .itd-hm-row__track { padding-left: var(--itd-gutter); padding-right: var(--itd-gutter); scroll-padding: 0 var(--itd-gutter); }
  .itd-hm-card { flex-basis: 148px; }
  .itd-hm-card__wish { display: none; }
  /* Quick add: small round "+" (opens the Added-to-cart sheet). */
  .itd-hm-card__add { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; width: 34px; }
  .itd-body .itd-hm-card__btn { width: 34px; height: 34px; border-radius: 50%; padding: 0; font-size: 0; box-shadow: 0 2px 8px rgba(11,13,18,.18); }
  .itd-body .itd-hm-card__btn::before { content: "+"; font-size: 22px; font-weight: 500; line-height: 1; margin-top: -2px; }
  .itd-body .itd-hm-card__btn.is-added::before { content: "✓"; font-size: 16px; margin-top: 0; }
  .itd-hm-card__name { font-size: 13px; margin-top: 8px; }
  .itd-hm-card__now { font-size: 16px; }
  .itd-hm-badge { top: 8px; left: 8px; font-size: 12px; }

  /* Pick up where you left off: picture cards. */
  .itd-hm-recent__row { margin: 0 calc(-1 * var(--itd-gutter)); padding: 0 var(--itd-gutter); scroll-padding: 0 var(--itd-gutter); }
  .itd-body a.itd-hm-mini { flex: 0 0 120px; min-width: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 0; border: 0; }
  .itd-hm-mini .itd-hm-media { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 14px; }
  .itd-hm-mini__name { white-space: normal; font-size: 13px; max-width: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .itd-hm-mini__price { font-size: 15px; }
  .itd-hm-head--sm .itd-hm-title { font-size: 20px; }

  /* Sections the phone design leaves out (category circles replace the grid). */
  .itd-hm-cats, .itd-hm-brands { display: none; }

  /* Not sure what to buy? — chips + button that opens the Finder. */
  .itd-hm-help__box { padding: 20px; gap: 16px; border-radius: 20px; }
  .itd-hm-help__title { font-size: 22px; }
  .itd-hm-help__sub { margin: 6px 0 14px; font-size: 14px; }
  .itd-hm-chips { gap: 8px; }
  .itd-body a.itd-hm-chip { height: 38px; padding: 0 13px; font-size: 13px; }
  .itd-hm-help__open { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 16px; border: 0; border-radius: 10px; background: var(--itd-ink); color: #fff; font-size: 15px; font-weight: 700; }
  .itd-hm-finder.itd-finder { display: none; padding: 18px; }
  .itd-hm-help__box.is-finder-open .itd-hm-finder { display: flex; }
  .itd-hm-help__box.is-finder-open .itd-hm-help__open { display: none; }
  .itd-hm-finder .itd-options { grid-template-columns: 1fr; }

  .itd-hm-faq__grid { grid-template-columns: 1fr; gap: 8px; }
  .itd-hm-faq__title { font-size: 20px; }
  .itd-hm-faq__list summary { font-size: 15px; }
  .itd-hm-seo__body { grid-template-columns: 1fr; gap: 16px; }

  .itd-news.itd-hm-news { padding: 20px 0 24px; }
  .itd-hm-news form { flex-basis: 100%; flex-direction: row; gap: 10px; }
  .itd-hm-news form .itd-btn { width: auto; flex: 0 0 auto; }
  .itd-hm-news .itd-news__msg, .itd-hm-news .itd-news__legal { text-align: left; }

  /* Phone order from the design: flash deals come before "Pick up where you left off". */
  .itd-elementor-page .elementor:has(> .elementor-element .elementor-widget-itd-recently-viewed),
  .itd-elementor-page .elementor:has(> .elementor-section .elementor-widget-itd-recently-viewed) { display: flex; flex-direction: column; }
  .itd-elementor-page .elementor > :has(.elementor-widget-itd-recently-viewed) { order: 2; }
  .itd-elementor-page .elementor > :has(.elementor-widget-itd-hero-mosaic) { order: 0; }
  .itd-elementor-page .elementor > :has(.elementor-widget-itd-flash-deals) { order: 1; }
  .itd-elementor-page .elementor > :not(:has(.elementor-widget-itd-hero-mosaic, .elementor-widget-itd-flash-deals, .elementor-widget-itd-recently-viewed)) { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .itd-hm-row__track { scroll-behavior: auto; }
  .itd-hm-card__media, .itd-hm-card__add, .itd-hm-card__wish, .itd-hm-tile__pic, .itd-hm-card__img .itd-hm-art { transition: none; }
}

/* Demo drawer preview (no products yet). */
.itd-hm-sheetmedia { position: relative; }
.itd-hm-sheetmedia > .itd-hm-art { width: 82%; height: auto; }
.itd-hm-sheetmedia > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }

/* Newsletter band: on phones it becomes the top of the footer (logo, title, form), as in the design. */
.itd-hm-news__logo { display: none; }
@media (max-width: 767px) {
  .itd-news.itd-hm-news { background: var(--itd-soft); color: var(--itd-ink); margin-top: 32px; padding: 28px 0 8px; }
  .itd-hm-news__logo { display: block; flex-basis: 100%; }
  .itd-hm-news .itd-news__text strong { font-size: 15px; }
  .itd-hm-news form input[type="email"] { border: 1px solid var(--itd-line-2); }
  .itd-hm-news form .itd-btn { background: var(--itd-ink); }
  .itd-hm-news .itd-news__legal { color: var(--itd-muted); }
  .itd-body .itd-hm-news .itd-news__legal a { color: var(--itd-ink-2); }
  body:has(.itd-hm-news) .itd-footer { border-top: 0; }
  body:has(.itd-hm-news) .itd-footer__brand { display: none; }
}

/* Product pictures sit straight on the grey card (no second grey layer). */
.itd-hm-media > img { background: transparent; }
@media (max-width: 767px) {
  .itd-hm-news .itd-news__text strong { color: var(--itd-ink); }
  .itd-hm-news .itd-news__box { flex-direction: column; align-items: stretch; }
  .itd-hm-news form { flex: 0 0 auto; width: 100%; max-width: 100%; }
  /* The phone design ends with "Not sure what to buy?" and the footer. */
  .itd-hm-faq, .itd-hm-seo { display: none; }
}
.itd-hm-news .itd-news__text strong span { color: inherit; font-size: inherit; }
@media (max-width: 767px) {
  .itd-hm-news .itd-news__text { flex: 0 0 auto; }
  .itd-hm-news .itd-news__box { gap: 12px; }
}
