/* Meds on Tap v3.13 — slider, ticker, wishlist, quick view, tab bar, order steps. Navy + pharmacy blue. */

:root {
  --mot-highlight: #8FB0F5;
  --mot-tint: #E9EEF8;
  --mot-x-tab-h: 64px;
  --mot-x-rings: radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255,255,255,.07) 34% 35%, transparent 35% 52%, rgba(255,255,255,.07) 52% 53%, transparent 53% 70%, rgba(255,255,255,.05) 70% 71%, transparent 71%);
}
::selection { background: color-mix(in srgb, var(--mot-primary) 22%, #fff); color: var(--mot-ink); }

/* Header wishlist link ------------------------------------------------------ */
.mot-x-wish-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; color: var(--mot-ink); }
.mot-x-wish-link:hover { background: var(--mot-bg); color: var(--mot-primary); }
.mot-x-wish-link .mot-icon { width: 24px; height: 24px; }
.mot-x-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--mot-primary); color: #fff; font: 700 11px/18px var(--mot-font-body); text-align: center; font-variant-numeric: tabular-nums; }
.mot-x-count[hidden] { display: none; }

/* Hero: slider + side tiles ------------------------------------------------- */
.mot-x-hero { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 20px; padding-block: 24px 8px; }
.mot-x-slider { position: relative; display: grid; min-height: 440px; border-radius: 20px; overflow: hidden; isolation: isolate; }
.mot-x-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: clamp(28px, 4vw, 56px); padding-bottom: 88px; opacity: 0; visibility: hidden; transition: opacity .6s var(--mot-ease), visibility .6s; }
.mot-x-slide.is-on { opacity: 1; visibility: visible; }
.mot-x-slide--blue { background: var(--mot-primary); color: #fff; }
.mot-x-slide--navy { background: var(--mot-ink); color: #fff; }
.mot-x-slide--sky { background: var(--mot-tint); color: var(--mot-ink); }
.mot-x-slide--blue .mot-x-slide__media::before, .mot-x-slide--navy .mot-x-slide__media::before { content: ""; position: absolute; inset: -30% -40%; background: var(--mot-x-rings); pointer-events: none; }
.mot-x-slide--sky .mot-x-slide__media::before { content: ""; position: absolute; inset: 6% 10%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 28px rgba(30,75,184,.06), 0 0 0 56px rgba(30,75,184,.04); }
.mot-x-slide__media img { position: relative; }
.mot-x-slide__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.mot-x-pill { margin: 0; padding: 6px 12px; border-radius: 99px; background: var(--mot-highlight); color: var(--mot-ink); font: 700 13px/1 var(--mot-font-body); letter-spacing: .06em; text-transform: uppercase; }
.mot-x-slide--sky .mot-x-pill { background: var(--mot-ink); color: #fff; }
.mot-x-slide__h { margin: 0; color: inherit; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; font-weight: 700; }
.mot-x-slide__p { margin: 0; max-width: 46ch; font-size: 18px; color: inherit; opacity: .92; }
.mot-x-slide__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mot-x-slide__chips li { padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font: 600 15px/1 var(--mot-font-body); }
.mot-x-slide--sky .mot-x-slide__chips li { background: #fff; box-shadow: inset 0 0 0 1px #C9D1DC; color: var(--mot-ink); }
.mot-x-slide__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.mot-x-slide__from { margin: 0; font-size: 16px; color: inherit; opacity: .9; }
.mot-x-slide__from strong, .mot-x-slide__from .amount { color: inherit; }
.button.mot-x-btn-light { background: #fff; color: var(--mot-ink); }
.button.mot-x-btn-light:hover { background: var(--mot-highlight); color: var(--mot-ink); }
.mot-x-slide__media { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 0; }
.mot-x-slide__media img { width: 100%; max-height: 320px; object-fit: contain; border-radius: 16px; filter: drop-shadow(0 18px 30px rgba(16,28,43,.25)); }
.mot-x-slider__ui { position: absolute; left: clamp(28px, 4vw, 56px); right: clamp(20px, 3vw, 32px); bottom: 24px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.mot-x-slider__ui > * { pointer-events: auto; }
.mot-x-slider__dots { display: flex; gap: 8px; }
.mot-x-slider__dots button { width: 28px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: currentColor; opacity: .35; cursor: pointer; transition: width .3s var(--mot-ease), opacity .3s; }
.mot-x-slider__dots button[aria-selected="true"] { width: 44px; opacity: 1; }
.mot-x-slider__ui { color: #fff; }
.mot-x-slider[data-theme="sky"] .mot-x-slider__ui { color: var(--mot-ink); }
.mot-x-slider__arrows { display: flex; gap: 8px; }
.mot-x-round { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--mot-ink); cursor: pointer; box-shadow: 0 2px 10px rgba(16,28,43,.12); transition: background .2s, color .2s; }
.mot-x-round:hover { background: var(--mot-primary); color: #fff; }
.mot-x-round .mot-icon { width: 20px; height: 20px; }

.mot-x-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.mot-x-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px; border-radius: 20px; text-decoration: none; min-height: 200px; }
.mot-x-tile { position: relative; overflow: hidden; isolation: isolate; }
.mot-x-tile--navy { background: var(--mot-ink); color: #fff; transition: transform .3s var(--mot-ease), box-shadow .3s; }
.mot-x-tile--navy::before { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; top: -150px; right: -130px; background: var(--mot-x-rings); }
.mot-x-tile--navy::after { content: ""; position: absolute; z-index: -1; width: 56px; height: 56px; top: 26px; right: 26px; border-radius: 50%; border: 2px solid var(--mot-highlight); box-shadow: inset 0 0 0 10px var(--mot-ink), inset 0 0 0 28px #fff; }
.mot-x-tile--navy:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16,28,43,.22); }
.mot-x-tile--sky { justify-content: flex-start; background: var(--mot-tint); color: var(--mot-ink); }
.mot-x-tile--sky .mot-icon { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #fff; color: var(--mot-primary); box-sizing: content-box; }
.mot-x-tile__big { margin: 0; font: 700 26px/1.1 var(--mot-font-heading); letter-spacing: -.02em; color: inherit; }
.mot-x-tile__big .amount { color: inherit; }
.mot-x-tile__small { margin: 0; font-size: 16px; line-height: 1.5; color: inherit; }
.mot-x-tile--sky .mot-x-tile__small { color: var(--mot-text); }
.mot-x-tile--navy .mot-x-tile__small { color: #B9C2CF; }
.mot-x-tile__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--mot-highlight); }
.mot-x-tile__link .mot-icon { width: 18px; height: 18px; transition: transform .3s var(--mot-ease); }
.mot-x-tile--navy:hover .mot-x-tile__link .mot-icon { transform: translateX(4px); }

@media (max-width: 1080px) {
  .mot-x-hero { grid-template-columns: minmax(0, 1fr); }
  .mot-x-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .mot-x-tile { min-height: 0; }
}
@media (max-width: 760px) {
  .mot-x-hero { padding-top: 12px; gap: 12px; }
  .mot-x-slider { min-height: 0; border-radius: 16px; }
  .mot-x-slide { grid-template-columns: minmax(0, 1fr); padding: 24px 22px 80px; gap: 16px; }
  .mot-x-slide__media { order: -1; }
  .mot-x-slide__media img { max-height: 170px; }
  .mot-x-slider__ui { left: 22px; right: 16px; bottom: 18px; }
  .mot-x-hero__side { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mot-x-tile { padding: 22px; border-radius: 16px; }
  .mot-x-tile__big { font-size: 22px; }
}

/* Trust ticker --------------------------------------------------------------- */
.mot-x-ticker { margin-block: 24px 8px; overflow: hidden; background: var(--mot-ink); color: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mot-x-ticker__track { display: flex; width: max-content; margin: 0; padding: 16px 0; list-style: none; animation: mot-x-tick 38s linear infinite; }
.mot-x-ticker:hover .mot-x-ticker__track { animation-play-state: paused; }
.mot-x-ticker li { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font: 600 16px/1 var(--mot-font-body); }
.mot-x-ticker li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--mot-highlight); }
@keyframes mot-x-tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mot-x-ticker { -webkit-mask-image: none; mask-image: none; }
  .mot-x-ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 16px; row-gap: 12px; }
  .mot-x-ticker li[aria-hidden="true"] { display: none; }
}

/* Product card tools ---------------------------------------------------------- */
ul.products li.product { position: relative; }
.mot-x-tools { position: absolute; top: 14px; right: 14px; z-index: 4; display: flex; flex-direction: column; gap: 8px; }
.mot-x-tool { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--mot-ink); cursor: pointer; box-shadow: 0 2px 8px rgba(16,28,43,.14); transition: background .2s, color .2s, transform .2s; }
.mot-x-tool:hover { color: var(--mot-primary); transform: scale(1.06); }
.mot-x-tool .mot-icon { width: 20px; height: 20px; }
.mot-x-tool[data-mot-qv] { opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
ul.products li.product:hover .mot-x-tool[data-mot-qv], .mot-x-tool[data-mot-qv]:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .mot-x-tool[data-mot-qv] { opacity: 1; transform: none; } }
.mot-x-tool[aria-pressed="true"] { color: var(--mot-primary); }
.mot-x-tool[aria-pressed="true"] .mot-icon path { fill: currentColor; }
.mot-x-tool.is-pop { animation: mot-x-pop .35s var(--mot-ease); }
@keyframes mot-x-pop { 50% { transform: scale(1.25); } }
ul.products li.product:has(.mot-x-tools) .onsale { right: auto; left: 14px; top: 50px; }

/* Wishlist page ----------------------------------------------------------- */
.mot-x-wishlist { min-height: 160px; }
.mot-x-wishlist__note { padding: 40px 24px; border: 1.5px dashed var(--mot-line); border-radius: var(--mot-card-radius); background: #fff; text-align: center; color: var(--mot-muted); font-size: 18px; }
.mot-x-wishlist__note a { font-weight: 700; }

/* Quick view modal ------------------------------------------------------------- */
.mot-x-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mot-x-modal[hidden] { display: none; }
.mot-x-modal__scrim { position: absolute; inset: 0; background: rgba(16,28,43,.55); animation: mot-x-fade .25s both; }
.mot-x-modal__box { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(16,28,43,.3); animation: mot-x-up .35s var(--mot-ease) both; }
.mot-x-modal__x { position: absolute; top: 14px; right: 14px; z-index: 2; }
.mot-x-modal__body.is-loading { min-height: 320px; display: flex; align-items: center; justify-content: center; }
.mot-x-modal__body.is-loading::after { content: ""; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--mot-line); border-top-color: var(--mot-primary); animation: mot-x-spin .8s linear infinite; }
@keyframes mot-x-fade { from { opacity: 0; } }
@keyframes mot-x-up { from { opacity: 0; transform: translateY(20px) scale(.98); } }
@keyframes mot-x-spin { to { transform: rotate(360deg); } }
.mot-x-qv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.mot-x-qv__img { display: flex; align-items: center; justify-content: center; padding: 28px; background: color-mix(in srgb, var(--band, var(--mot-primary)) 8%, #fff); }
.mot-x-qv__img img { width: 100%; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.mot-x-qv__body { display: flex; flex-direction: column; gap: 14px; padding: 36px 32px 32px; }
.mot-x-qv__cat { margin: 0; font: 600 14px/1.2 var(--mot-font-body); color: var(--band, var(--mot-primary)); letter-spacing: .04em; text-transform: uppercase; }
.mot-x-qv__title { margin: 0; padding-right: 40px; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.mot-x-qv__stock { margin: 0; font-size: 15px; color: var(--mot-muted); }
.mot-x-qv__stock.is-ok { color: var(--mot-success); font-weight: 600; }
.mot-x-qv__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--mot-line); border-radius: 10px; overflow: hidden; background: var(--mot-line); }
.mot-x-qv__facts div { padding: 10px 12px; background: #fff; }
.mot-x-qv__facts dt { font-size: 12px; color: var(--mot-muted); text-transform: uppercase; letter-spacing: .06em; }
.mot-x-qv__facts dd { margin: 2px 0 0; font-weight: 700; color: var(--mot-ink); font-size: 15px; }
.mot-x-qv__buy { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.mot-x-qv__label { font-weight: 700; font-size: 15px; color: var(--mot-ink); }
.mot-x-qv__price { margin: 0; font: 700 28px/1 var(--mot-font-heading); color: var(--mot-ink); }
.mot-x-select { position: relative; display: block; }
.mot-x-select select { width: 100%; min-height: 54px; padding: 0 44px 0 14px; border: 1.5px solid #CDD1CB; border-radius: 10px; background: #fff; color: var(--mot-ink); font-size: 16px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.mot-x-select select:focus { border-color: var(--mot-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mot-primary) 20%, #fff); }
.mot-x-select .mot-icon { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--mot-muted); }
.mot-x-qv__buy .button { width: 100%; }
.mot-x-qv__buy .button.is-busy { opacity: .7; pointer-events: none; }
.mot-x-qv__more { font-size: 15px; font-weight: 600; }
@media (max-width: 760px) {
  .mot-x-modal { align-items: flex-end; padding: 0; }
  .mot-x-modal__box { max-height: 92vh; border-radius: 20px 20px 0 0; }
  .mot-x-qv { grid-template-columns: minmax(0, 1fr); }
  .mot-x-qv__img { padding: 20px; }
  .mot-x-qv__img img { max-height: 200px; }
  .mot-x-qv__body { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); }
}

/* Toast --------------------------------------------------------------------- */
.mot-x-toast { position: fixed; left: 50%; bottom: 24px; z-index: 1100; padding: 12px 18px; border-radius: 10px; background: var(--mot-ink); color: #fff; font: 600 15px/1.3 var(--mot-font-body); box-shadow: 0 10px 30px rgba(16,28,43,.25); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--mot-ease); }
.mot-x-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.mot-x-has-tabbar .mot-x-toast { bottom: calc(var(--mot-x-tab-h) + 16px + env(safe-area-inset-bottom)); }
@media (min-width: 761px) { .mot-x-has-tabbar .mot-x-toast { bottom: 24px; } }

/* Phone tab bar --------------------------------------------------------------- */
.mot-x-tabbar { display: none; }
@media (max-width: 760px) {
  .mot-x-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); height: calc(var(--mot-x-tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--mot-line); box-shadow: 0 -4px 20px rgba(16,28,43,.06); }
  .mot-x-tabbar > a, .mot-x-tabbar > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--mot-muted); font: 600 12px/1 var(--mot-font-body); text-decoration: none; cursor: pointer; }
  .mot-x-tabbar .mot-icon { width: 24px; height: 24px; }
  .mot-x-tabbar [aria-current="page"] { color: var(--mot-primary); }
  .mot-x-tabbar [aria-current="page"] .mot-icon { stroke-width: 2.2; }
  .mot-x-tabbar__ic { position: relative; display: inline-flex; }
  .mot-x-tabbar .mot-x-count, .mot-x-tabbar .mot-cart-count { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--mot-primary); color: #fff; font: 700 11px/18px var(--mot-font-body); }
  body.mot-x-has-tabbar { padding-bottom: calc(var(--mot-x-tab-h) + env(safe-area-inset-bottom)); }
  body.mot-x-has-tabbar .mot-satc { bottom: calc(var(--mot-x-tab-h) + env(safe-area-inset-bottom)); }
}

/* Order status steps (My account > order) ------------------------------------- */
.mot-x-status { margin: 0 0 32px; padding: 24px 24px 20px; border: 1px solid var(--mot-line); border-radius: var(--mot-card-radius); background: #fff; }
.mot-x-status__h { margin: 0 0 18px; font-size: 22px; }
.mot-x-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.mot-x-step { display: flex; flex-direction: column; gap: 8px; color: var(--mot-muted); font-size: 15px; }
.mot-x-step__bar { height: 6px; border-radius: 99px; background: var(--mot-line); }
.mot-x-step.is-done { color: var(--mot-ink); }
.mot-x-step.is-done .mot-x-step__bar { background: var(--mot-primary); }
.mot-x-step.is-current .mot-x-step__bar { background: linear-gradient(90deg, var(--mot-highlight) 45%, var(--mot-line) 45%); }
.mot-x-step.is-current { color: var(--mot-ink); }
.mot-x-step__label { font-weight: 700; }
.mot-x-step__date { font-size: 13px; color: var(--mot-muted); }
.mot-x-status__line { margin: 16px 0 0; font-size: 16px; color: var(--mot-text); }
@media (max-width: 600px) {
  .mot-x-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mot-x-step { display: grid; grid-template-columns: 6px 1fr; column-gap: 12px; }
  .mot-x-step__bar { grid-row: span 2; width: 6px; height: auto; min-height: 36px; }
  .mot-x-step.is-current .mot-x-step__bar { background: linear-gradient(180deg, var(--mot-highlight) 45%, var(--mot-line) 45%); }
}

/* Phone + tablet polish (v3.13.4) =========================================================
   Header never wider than the screen, slider sized for phones, chat bubble clears the tab bar. */
html, body { overflow-x: clip; max-width: 100%; }
.mot-header__brand { min-width: 0; flex-shrink: 1; }
.mot-header__brand .custom-logo-link { display: block; min-width: 0; }
.mot-header__brand .custom-logo-link img { max-width: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 860px) {
  .mot-header__inner { gap: 2px; }
  .mot-header__brand .custom-logo-link img { max-height: 38px; max-width: 170px; }
  .mot-header__actions { gap: 0; }
  .mot-x-wish-link, .mot-account, .mot-icon-btn { width: 44px; height: 44px; }
  .mot-cart-btn { gap: 6px; padding: 0 10px; }
  .mot-cart-count { min-width: 22px; padding: 4px 6px; font-size: 12px; }
}
@media (max-width: 760px) {
  /* The bottom tab bar already has Search and Saved: keep the top bar to menu, logo, account, cart. */
  body.mot-x-has-tabbar .mot-header .mot-x-wish-link, body.mot-x-has-tabbar .mot-header .mot-search-toggle { display: none; }
  .mot-header__brand .custom-logo-link img { max-height: 34px; max-width: 150px; }
  .mot-utility__inner { justify-content: center; text-align: center; }
  .mot-utility__item { white-space: normal; overflow: visible; line-height: 1.35; padding-block: 7px; }

  /* Slider */
  .mot-x-hero { padding-top: 14px; gap: 12px; }
  .mot-x-slide { padding: 20px 20px 56px; gap: 14px; align-content: start; }
  .mot-x-slide--blue, .mot-x-slide--navy { background-image: var(--mot-x-rings); background-repeat: no-repeat; background-size: 150% auto; background-position: 50% -60px; }
  .mot-x-slide--blue .mot-x-slide__media::before, .mot-x-slide--navy .mot-x-slide__media::before, .mot-x-slide--sky .mot-x-slide__media::before { display: none; }
  .mot-x-slide__media { justify-content: center; }
  .mot-x-slide__media img { width: auto; max-width: 62%; max-height: 150px; border-radius: 14px; filter: none; box-shadow: 0 12px 28px -12px rgba(16,28,43,.45); }
  .mot-x-slide__text { gap: 12px; }
  .mot-x-pill { padding: 6px 11px; font-size: 12px; }
  .mot-x-slide__h { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
  .mot-x-slide__p { font-size: 16px; line-height: 1.5; }
  .mot-x-slide__chips { gap: 6px; }
  .mot-x-slide__chips li { padding: 7px 10px; font-size: 14px; }
  .mot-x-slide__chips li:nth-child(n+5) { display: none; }
  .mot-x-slide__cta { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; margin-top: 4px; }
  .mot-x-slide__cta .button { width: 100%; min-height: 52px; font-size: 17px; }
  .mot-x-slide__from { font-size: 15px; text-align: center; }
  .mot-x-slider__ui { left: 0; right: 0; bottom: 18px; justify-content: center; }
  .mot-x-slider__arrows { display: none; }
  .mot-x-slider__dots button { width: 22px; height: 5px; }
  .mot-x-slider__dots button[aria-selected="true"] { width: 36px; }

  /* Side tiles */
  .mot-x-tile { padding: 20px; gap: 8px; }
  .mot-x-tile--navy::after { width: 44px; height: 44px; top: 18px; right: 18px; box-shadow: inset 0 0 0 8px var(--mot-ink), inset 0 0 0 22px #fff; }
  .mot-x-tile--navy .mot-x-tile__big { padding-right: 56px; }
  .mot-x-tile__big { font-size: 21px; line-height: 1.15; }
  .mot-x-tile__small { font-size: 15px; }
  .mot-x-tile--sky { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .mot-x-tile--sky .mot-icon { width: 28px; height: 28px; padding: 8px; }
  .mot-x-tile--sky .mot-x-tile__big { flex: 1 1 0; min-width: 0; }
  .mot-x-tile--sky .mot-x-tile__small { flex-basis: 100%; }

  /* Ticker */
  .mot-x-ticker__track { padding: 13px 0; }
  .mot-x-ticker li { gap: 20px; padding-right: 20px; font-size: 14px; }

  /* Product cards on phones */
  .mot-x-tools { top: 8px; right: 8px; gap: 6px; }
  .mot-x-tool { width: 36px; height: 36px; }
  .mot-x-tool .mot-icon { width: 18px; height: 18px; }

  /* Third-party chat bubbles (Tidio, Tawk, Crisp, Intercom, LiveChat, WhatsApp buttons) sit above the tab bar. */
  body.mot-x-has-tabbar #tidio-chat-iframe,
  body.mot-x-has-tabbar #tidio-chat iframe,
  body.mot-x-has-tabbar .crisp-client .cc-1brb6 .cc-1yy0g,
  body.mot-x-has-tabbar .intercom-launcher, body.mot-x-has-tabbar .intercom-lightweight-app-launcher,
  body.mot-x-has-tabbar #chat-widget-container,
  body.mot-x-has-tabbar .wa__btn_popup, body.mot-x-has-tabbar .joinchat__button, body.mot-x-has-tabbar .joinchat {
    bottom: calc(var(--mot-x-tab-h) + env(safe-area-inset-bottom) + 8px) !important;
  }
  body.mot-x-has-tabbar iframe[title*="chat" i]:not([src*="youtube"]) { bottom: calc(var(--mot-x-tab-h) + env(safe-area-inset-bottom)) !important; }
  body.mot-x-has-tabbar.mot-satc-on #tidio-chat-iframe { bottom: calc(var(--mot-x-tab-h) + 76px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 380px) {
  .mot-header__brand .custom-logo-link img { max-width: 128px; max-height: 30px; }
  .mot-x-slide { padding-inline: 16px; }
  .mot-x-slide__h { font-size: 25px; }
}

/* Tablet (761–1080) */
@media (min-width: 761px) and (max-width: 1080px) {
  .mot-x-slider { min-height: 380px; }
  .mot-x-slide { padding: 36px 36px 80px; gap: 28px; }
  .mot-x-slide__h { font-size: clamp(32px, 4.4vw, 42px); line-height: 1.06; }
  .mot-x-slide__media img { max-height: 260px; }
  .mot-x-tile { padding: 24px; }
  .mot-x-tile__big { font-size: 23px; }
  .mot-section__head h2 { font-size: clamp(30px, 4.2vw, 40px); }
  ul.products li.product .woocommerce-loop-product__title { font-size: 19px; }
}
