/* thetiesite theme: layout, header, categories menu, footer.
   Converted from the purchased Ecomus template's look (header style 4, the "Browse categories" list, the classic
   footer): its measurements and colours, re-written for this theme's own markup. No template CSS file is loaded.
   Colours come from the theme settings as --tt-* (layout/theme.liquid). The shared commerce snippets are styled
   through their mbs- classes and --mbs-* properties, never replaced. */

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.tt-body {
  margin: 0;
  font-family: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: var(--tt-main);
  background: var(--tt-bg);
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--tt-accent); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--tt-main); outline-offset: 2px; }

:root { --tt-gutter: 15px; }
@media (min-width: 1150px) { :root { --tt-gutter: 40px; } }
.tt-container { width: 100%; max-width: var(--tt-page-width); margin: 0 auto; padding: 0 var(--tt-gutter); }

/* Boxed page (the "page_boxed" setting; thetiesite's grey grain, as on its old store): the top bar and the logo row
   run the full width; the menu row, the page and the footer sit in one white box of the page width, with the
   backdrop colour and its tiled picture beside it. Below the page width the box is the whole screen. */
body.tt-boxed,
.tt-boxed .tt-header { background: var(--tt-backdrop) var(--tt-backdrop-img, none) repeat fixed; }
.tt-boxed .tt-header__bottom,
.tt-boxed .tt-main,
.tt-boxed .tt-footer { max-width: var(--tt-page-width); margin-left: auto; margin-right: auto; background: var(--tt-bg); }
.tt-boxed .tt-main { display: flow-root; padding-bottom: 60px; }   /* flow-root: the first section's top margin stays inside the box */
.tt-boxed .tt-footer { margin-top: 0; }

.tt-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tt-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--tt-bg); padding: 8px 14px; }
.tt-skip:focus { left: 8px; }

.tt-icon { width: 20px; height: 20px; flex: none; }
.tt-icon--sm { width: 12px; height: 12px; }
.tt-icon--lg { width: 34px; height: 34px; }

.tt-h1 { font-size: 32px; line-height: 1.2; font-weight: 500; }
.tt-h2 { font-size: 26px; line-height: 1.25; font-weight: 500; }
@media (min-width: 768px) { .tt-h1 { font-size: 42px; } .tt-h2 { font-size: 32px; } }

.tt-wordmark { font-size: 24px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--tt-main); }
.tt-wordmark--sm { font-size: 18px; }

.tt-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 0; background: none; border-radius: 50%;
}
.tt-iconbtn:hover { color: var(--tt-accent); }

.tt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px; border: 1px solid var(--tt-main); border-radius: 3px;
  font-size: 14px; font-weight: 600; line-height: 1; background: var(--tt-bg); color: var(--tt-main);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tt-btn--fill { background: var(--tt-main); color: #fff; }
.tt-btn--fill:hover { background: var(--tt-accent); border-color: var(--tt-accent); color: #fff; }

.tt-input {
  width: 100%; height: 48px; padding: 0 18px; font: inherit; font-size: 14px; color: var(--tt-main);
  background: var(--tt-bg); border: 1px solid var(--tt-line); border-radius: 3px; outline: 0;
}
.tt-input::placeholder { color: #909090; }
.tt-input:focus { border-color: var(--tt-main); }

/* ---- top bar --------------------------------------------------------------- */
.tt-topbar { background: var(--tt-soft); border-bottom: 1px solid var(--tt-line); }
.tt-topbar__row { padding-top: 10px; padding-bottom: 10px; text-align: center; }
.tt-topbar__text { font-size: 14px; line-height: 20px; color: var(--tt-main); }
/* dark: tiled from the bar's foot, so the tiles carry on into the header's dark row below */
.tt-topbar--dark { background: #1c1c1c var(--tt-dark-img, none) repeat left bottom; border-bottom-color: #1c1c1c; }
.tt-topbar--dark .tt-topbar__text, .tt-topbar--dark .tt-topbar__link { color: #fff; }
.tt-topbar--dark .tt-topbar__link:hover { color: #ff6b6e; }
/* desktop: the dark bar and the dark header row read as one band, so the bar keeps no padding under its words
   and the search box sits as far below them as it does above the band's foot */
@media (min-width: 1150px) {
  .tt-topbar--dark { border-bottom: 0; }
  .tt-topbar--dark .tt-topbar__row { padding-bottom: 0; }
  /* Alex: 5px less above the search box than below it (about 26px above, 30px below) */
  .tt-header--dark .tt-header__row { min-height: 99px; padding-bottom: 5px; }
}
.tt-topbar__short { display: none; }
@media (max-width: 767px) { .tt-topbar__long { display: none; } .tt-topbar__short { display: inline; } }
.tt-topbar__link { margin-left: 8px; color: var(--tt-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---- header: row 1 ----------------------------------------------------------- */
.tt-header { position: relative; z-index: 50; background: var(--tt-bg); }
.tt-header__main { border-bottom: 1px solid var(--tt-line); }
.tt-header__row {
  display: grid; align-items: center; gap: 12px;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "burger logo icons" "search search search";
  min-height: 64px;
}
.tt-header__burger { grid-area: burger; justify-self: start; }
.tt-header__logo { grid-area: logo; display: flex; justify-content: center; }
.tt-header__logo img { width: 136px; }
.tt-search { grid-area: search; position: relative; display: none; padding-bottom: 12px; }
.tt-header.is-search-open .tt-search { display: block; }
.tt-nav-icon { grid-area: icons; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }

/* the search box: a pill with a dark round button inside (the template's .tf-form-search) */
.tt-search__form { position: relative; }
.tt-search__input {
  width: 100%; height: 46px; padding: 0 100px 0 20px; font: inherit; font-size: 16px; color: var(--tt-main);
  background: var(--tt-bg); border: 1px solid var(--tt-line); border-radius: 60px; outline: 0;
  -webkit-appearance: none; appearance: none;
}
.tt-search__input:focus { border-color: var(--tt-main); }
.tt-search__input::-webkit-search-cancel-button { display: none; }
.tt-search__submit {
  position: absolute; top: 50%; right: 5px; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 81px; height: 36px; border: 0; border-radius: 60px; background: var(--tt-main); color: #fff;
  transition: background-color .2s ease;
}
.tt-search__submit:hover { background: var(--tt-accent); }
.tt-search__submit .tt-icon { width: 18px; height: 18px; }

/* search suggestions panel */
.tt-suggest {
  position: absolute; z-index: 60; top: calc(100% + 5px); left: 0; right: 0;
  background: var(--tt-bg); color: var(--tt-main);   /* its own colour: in a dark header row the words had inherited white */
  border-radius: 10px; box-shadow: 0 1px 5px 2px #ebebeb;
  max-height: calc(95vh - 183px); overflow: auto; padding: 16px 20px;
}
.tt-suggest[hidden] { display: none; }
.tt-suggest__list li:not(:last-child) .tt-suggest__item { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--tt-line); }
.tt-suggest__item { display: flex; gap: 15px; align-items: center; }
.tt-suggest__item.is-active, .tt-suggest__item:hover { color: var(--tt-accent); }
.tt-suggest__img { width: 60px; height: 60px; flex: none; background: var(--tt-soft); border-radius: 3px; overflow: hidden; }
.tt-suggest__img img { width: 100%; height: 100%; object-fit: cover; }
.tt-suggest__title { display: block; font-size: 14px; line-height: 20px; }
.tt-suggest__meta { display: block; margin-top: 2px; font-weight: 600; color: var(--tt-main); }
.tt-suggest__meta span { font-weight: 400; color: var(--tt-text); margin-left: 6px; }
.tt-suggest__all { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--tt-line); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tt-suggest__empty { color: var(--tt-text); }

/* account / saved / cart */
.tt-nav-icon li { display: inline-flex; }
.tt-nav-icon__account, .tt-nav-icon__wish { display: none !important; }
.tt-nav-icon__item { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.tt-nav-icon__item .tt-icon { width: 22px; height: 22px; }
.tt-nav-icon__text { font-size: 16px; line-height: 25.6px; font-weight: 500; }
.tt-count {
  position: absolute; top: -8px; right: -10px; z-index: 2;
  min-width: 18px; height: 18px; padding: 0 3px; border-radius: 9999px;
  font-size: 10px; line-height: 18px; font-weight: 500; text-align: center; white-space: nowrap;
  color: #fff; background: var(--tt-accent);
}

/* ---- header: row 2 (desktop) ------------------------------------------------- */
.tt-header__bottom { display: none; border-bottom: 1px solid var(--tt-line); }
.tt-header__row2 { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }

/* "Browse categories": a red button with the category list dropping below it */
.tt-cats { position: relative; flex: none; }
.tt-cats__title {
  display: inline-flex; align-items: center; gap: 10px; min-width: 226px; height: 40px; padding: 0 14px;
  border: 0; border-radius: 5px; background: var(--tt-accent); color: #fff; font-size: 16px; font-weight: 700;
}
.tt-cats__title span { flex: 1; text-align: left; }
.tt-cats__title .tt-icon--sm { transition: transform .3s ease; }
.tt-cats__panel {
  position: absolute; z-index: 3; top: 100%; left: 0; margin-top: 10px; min-width: 367px;
  background: var(--tt-bg); color: var(--tt-main); border: 1px solid var(--tt-line); border-radius: 10px;
  box-shadow: rgba(37, 61, 78, .08) 0 4px 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
  /* closing waits .25s (the pointer may cross the gap or slip off for a moment); opening is immediate */
  transition: opacity .25s ease .25s, transform .25s ease .25s, visibility 0s linear .5s;
  max-height: calc(100vh - 220px); overflow: auto;
}
/* the hover bridge over the gap under the button: on the wrapper, which never moves (the panel slides in) */
.tt-cats::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; }   /* under the panel (z-index 3) */
.tt-cats:hover .tt-cats__panel, .tt-cats.is-open .tt-cats__panel, .tt-cats:focus-within .tt-cats__panel {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}
.tt-cats.is-open .tt-cats__title .tt-icon--sm { transform: rotate(180deg); }
.tt-cats__panel .tt-catlist { padding: 14px 20px 10px 21px; }

/* the category list (desktop panel and phone drawer) */
.tt-catlist__item { position: relative; }
.tt-catlist__item + .tt-catlist__item { border-top: 1px solid rgba(0, 0, 0, .08); }
.tt-catlist__row { display: flex; align-items: center; min-height: 50px; }
.tt-catlist__link { flex: 1; padding: 6px 0; font-size: 16px; font-weight: 500; line-height: 22px; }
.tt-catlist__link.is-current, .tt-catlist__sublink.is-current { color: var(--tt-accent); }
.tt-catlist__toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 0; border-left: 1px solid var(--tt-line); background: none;
}
.tt-catlist__toggle .tt-icon { transition: transform .3s ease; }
.tt-catlist__toggle[aria-expanded="true"] .tt-icon { transform: rotate(45deg); }
.tt-catlist__sub { padding: 0 0 10px 15px; }
.tt-catlist__sub[hidden] { display: none; }
.tt-catlist__sublink { display: block; padding: 5px 0; font-size: 14px; line-height: 20px; color: var(--tt-text); }
.tt-catlist__sublink:hover { color: var(--tt-accent); }

/* the nav row */
.tt-nav { flex: 1; }
.tt-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; }
.tt-nav__link { position: relative; display: inline-flex; padding: 4px 0; font-size: 16px; font-weight: 500; }
.tt-nav__link::before {
  content: ""; position: absolute; top: 99%; right: 0; width: 0; height: 1px; background: var(--tt-main);
  transition: width .4s cubic-bezier(.25, .8, .25, 1);
}
.tt-nav__link:hover { color: var(--tt-main); }
.tt-nav__link:hover::before, .tt-nav__link.is-current::before { width: 100%; left: 0; right: auto; }

/* the phone line */
.tt-header__help { display: flex; align-items: center; gap: 18px; flex: none; }
.tt-header__helptext { display: grid; }
.tt-header__phone { font-size: 28px; line-height: 28px; font-weight: 700; color: var(--tt-main); }
.tt-header__phone:hover { color: var(--tt-accent); }
.tt-header__helplabel { font-weight: 500; color: var(--tt-main); }

@media (min-width: 768px) {
  .tt-header__logo img { width: 160px; }
}
@media (min-width: 1150px) {
  .tt-header__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo search icons";
    min-height: 103px; gap: 40px;
  }
  .tt-header__burger, .tt-nav-icon__search { display: none !important; }
  .tt-header__logo { justify-content: flex-start; }
  .tt-search { display: block; padding: 0; max-width: 640px; width: 100%; justify-self: center; }
  .tt-nav-icon { gap: 24px; }
  .tt-nav-icon__account, .tt-nav-icon__wish { display: inline-flex !important; }
  .tt-nav-icon__cart { padding-left: 22px; border-left: 1px solid var(--tt-line); }
  .tt-nav-icon__cart .tt-icon { width: 26px; height: 26px; }
  .tt-header__bottom { display: block; }
}

/* ---- phone drawer ------------------------------------------------------------ */
/* closing: the panel slides out and the shade fades first; only then is the drawer hidden (the template's drawers) */
.tt-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; transition: visibility 0s linear .3s; }
.tt-drawer.is-open { visibility: visible; transition: visibility 0s linear 0s; }
.tt-drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s ease; }
.tt-drawer.is-open .tt-drawer__scrim { opacity: 1; }
.tt-drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw);
  display: flex; flex-direction: column; background: var(--tt-bg);
  transform: translateX(-100%); transition: transform .3s ease;
}
.tt-drawer.is-open .tt-drawer__panel { transform: none; }
.tt-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 15px 14px 20px; border-bottom: 1px solid var(--tt-line); }
.tt-drawer__body { flex: 1; overflow: auto; padding: 16px 20px 24px; }
.tt-drawer__heading { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tt-text); }
.tt-drawer__links { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--tt-line); }
.tt-drawer__links a { display: block; padding: 9px 0; font-size: 16px; font-weight: 500; }
.tt-drawer__foot { display: grid; gap: 4px; padding: 14px 20px 18px; background: var(--tt-soft); }
.tt-drawer__account { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 500; }
/* a drawer locks the page: the scrollbar goes, and tt.js puts its width back as padding (the template's way), so
   nothing on the page moves sideways */
html.tt-locked body { overflow: hidden; }

/* ---- phone bottom toolbar (the template's .tf-toolbar-bottom) ---------------- */
.tt-toolbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; padding: 0 5px; padding-bottom: env(safe-area-inset-bottom);
  background: var(--tt-bg); box-shadow: 0 -4px 10px 0 rgba(0, 0, 0, .08);
}
.tt-toolbar__item {
  flex: 1 0 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  height: 67px; padding: 0 6px; border: 0; background: none; font-size: 12px; font-weight: 600; line-height: 12px;
  color: var(--tt-main); white-space: nowrap;
}
.tt-toolbar__item .tt-icon { width: 20px; height: 20px; }
.tt-toolbar__icon { position: relative; display: inline-flex; }
.tt-toolbar__icon .tt-count { top: -6px; right: -12px; }
body.tt-body { padding-bottom: 67px; }
@media (min-width: 1150px) {
  .tt-toolbar { display: none; }
  body.tt-body { padding-bottom: 0; }
}

/* ---- footer (the template's classic four columns) ---------------------------- */
.tt-footer { margin-top: 60px; border-top: 1px solid var(--tt-line); background: var(--tt-bg); }
.tt-footer__body { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 40px; padding-bottom: 40px; }
.tt-footer__logo { display: inline-block; margin-bottom: 30px; }
.tt-footer__logo img { width: 160px; }
.tt-footer__contact li { line-height: 30px; color: var(--tt-text); }
.tt-footer__contact a { color: var(--tt-text); font-weight: 700; }
.tt-footer__contact a:hover { color: var(--tt-accent); }
.tt-footer__address { line-height: 24px !important; margin-bottom: 6px; }
.tt-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tt-social__link {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid var(--tt-main); border-radius: 50%; transition: background-color .2s ease, color .2s ease;
}
.tt-social__link:hover { background: var(--tt-main); color: #fff; }
.tt-social__link .tt-icon { width: 14px; height: 14px; }

.tt-footer__heading { margin: 0; }
.tt-footer__fold {
  display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 0; border: 0; background: none;
  font-size: 18px; line-height: 18px; font-weight: 500; text-align: left; cursor: default; color: var(--tt-main);
}
.tt-footer__fold .tt-icon { display: none; transition: transform .3s ease; }
.tt-footer__links { margin-top: 25px; }
.tt-footer__links li a, .tt-footer__links > p { line-height: 30px; color: var(--tt-text); }
.tt-footer__links li a:hover { color: var(--tt-accent); }
.tt-footer__text { line-height: 24px !important; }

.tt-newsletter { position: relative; margin-top: 22px; }
.tt-newsletter .tt-input { height: 55px; padding-right: 143px; }
.tt-newsletter .tt-btn { position: absolute; top: 7px; right: 8px; height: 41px; }

.tt-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding-top: 21px; padding-bottom: 20px; border-top: 1px solid var(--tt-line); color: var(--tt-text);
}
.tt-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tt-footer__legal a { color: var(--tt-text); }
.tt-footer__legal a:hover { color: var(--tt-accent); }

/* dark (the footer's "dark" setting; thetiesite: the header's textured black, Alex's mockup B) */
body .tt-footer.tt-footer--dark { background: #1c1c1c var(--tt-dark-img, none) repeat; color: #fff; border-top: 0; }
.tt-footer--dark .tt-footer__fold, .tt-footer--dark .tt-wordmark { color: #fff; }
.tt-footer--dark .tt-footer__links li a, .tt-footer--dark .tt-footer__links > p,
.tt-footer--dark .tt-footer__contact li { color: #c4c4c4; }
.tt-footer--dark .tt-footer__contact a { color: #fff; }
.tt-footer--dark a:hover, .tt-footer--dark .tt-footer__links li a:hover, .tt-footer--dark .tt-footer__contact a:hover,
.tt-footer--dark .tt-footer__legal a:hover { color: #ff6b6e; }
.tt-footer--dark .tt-footer__bottom { border-top-color: rgba(255, 255, 255, .14); color: #9c9c9c; }
.tt-footer--dark .tt-footer__legal a { color: #9c9c9c; }
.tt-footer--dark .tt-newsletter .tt-input { border-color: #fff; }
.tt-footer--dark .tt-newsletter .tt-btn { background: var(--tt-accent); border-color: var(--tt-accent); color: #fff; }
.tt-footer--dark .tt-newsletter .tt-btn:hover { background: #fff; border-color: #fff; color: var(--tt-main); }
.tt-footer--dark .tt-social__link { border-color: #fff; color: #fff; }
.tt-footer--dark .tt-social__link:hover { background: #fff; color: var(--tt-main); }
.tt-footer--dark :focus-visible { outline-color: #fff; }
/* full width: on a boxed page the footer runs the whole screen, like the header band at the top */
.tt-boxed .tt-footer--full { max-width: none; }

@media (max-width: 767px) {
  .tt-footer__fold-col { border-top: 1px solid var(--tt-line); padding: 18px 0; }
  .tt-footer--dark .tt-footer__fold-col { border-top-color: rgba(255, 255, 255, .14); }
  .tt-footer__infor { padding-bottom: 28px; }
  html.tt-js .tt-footer__fold { cursor: pointer; }
  html.tt-js .tt-footer__fold .tt-icon { display: inline-block; }
  html.tt-js .tt-footer__fold-col .tt-footer__links { display: none; margin-top: 18px; }
  html.tt-js .tt-footer__fold-col.is-open .tt-footer__links { display: block; }
  html.tt-js .tt-footer__fold-col.is-open .tt-footer__fold .tt-icon { transform: rotate(45deg); }
  .tt-footer__bottom { justify-content: center; text-align: center; }
  .tt-footer__legal { justify-content: center; }
}
@media (min-width: 768px) {
  .tt-footer__body { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
}
@media (min-width: 1150px) {
  .tt-footer__body { grid-template-columns: 1.15fr .8fr .8fr 1.35fr; gap: 30px; }
  .tt-footer__newsletter { padding-left: 20px; }
}

/* ---- simple pages (CMS page, 404, today's home) ------------------------------ */
.tt-page-title { padding: 50px 0 40px; background: var(--tt-soft); text-align: center; }
.tt-content { padding-top: 40px; }
.tt-rte { max-width: 860px; margin: 0 auto; color: var(--tt-text); font-size: 16px; line-height: 1.65; }
.tt-rte h2, .tt-rte h3 { color: var(--tt-main); font-weight: 500; margin: 1.4em 0 .5em; }
.tt-rte p, .tt-rte ul, .tt-rte ol { margin: 0 0 1em; }
.tt-rte ul { list-style: disc; padding-left: 1.4em; }
.tt-rte ol { padding-left: 1.4em; }
.tt-rte a { color: var(--tt-main); text-decoration: underline; text-underline-offset: 3px; }
.tt-rte a:hover { color: var(--tt-accent); }

/* help center (main-page's topics): the topics beside the text on desktop, a "Help topics" fold above it on phones */
.tt-help { display: grid; gap: 30px; padding-bottom: 20px; }
.tt-help__side { display: grid; gap: 20px; align-content: start; }
.tt-help__fold { border: 1px solid var(--tt-line); border-radius: 10px; }
.tt-help__summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.tt-help__summary::-webkit-details-marker { display: none; }
.tt-help__summary .tt-icon { width: 12px; height: 12px; transition: transform .3s ease; }
.tt-help__fold[open] .tt-help__summary .tt-icon { transform: rotate(180deg); }
.tt-help__nav { padding: 4px 18px 18px; }
.tt-help__hub { display: block; padding: 6px 0 12px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--tt-line); }
.tt-help__heading { margin: 18px 0 6px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tt-text); }
.tt-help__link { position: relative; display: block; padding: 5px 0 5px 14px; font-size: 15px; line-height: 22px; color: var(--tt-main); }
.tt-help__link::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: transparent; transition: background-color .2s ease; }
.tt-help__link:hover { color: var(--tt-accent); }
.tt-help__link.is-current, .tt-help__hub.is-current { color: var(--tt-accent); }
.tt-help__link.is-current::before { background: var(--tt-accent); }
.tt-help__call { padding: 18px; border-radius: 10px; background: var(--tt-soft); }
@media (max-width: 991px) { .tt-help__call { display: none; } }
/* "dark band" look (Alex's option B): the help center's name on the dark texture, red markers on the group headings */
.tt-help--band .tt-help__fold { border: 0; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); overflow: hidden; }
.tt-help--band .tt-help__heading { display: flex; align-items: center; gap: 8px; color: var(--tt-main); font-size: 13px; font-weight: 700; }
.tt-help--band .tt-help__heading::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--tt-accent); }
.tt-help--band .tt-help__summary { background: #1c1c1c var(--tt-dark-img, none) repeat; color: #fff; }
.tt-help__hub-sub { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; font-weight: 400; color: #c4c4c4; }
@media (max-width: 991px) { .tt-help__hub-sub { display: none; } }
@media (min-width: 992px) {
  .tt-help--band .tt-help__nav { padding-top: 0; }
  .tt-help--band .tt-help__hub, .tt-help--band .tt-help__hub.is-current, .tt-help--band .tt-help__hub:hover {
    margin: 0 -22px 6px; padding: 18px 22px; border: 0; color: #fff; font-size: 18px; background: #1c1c1c var(--tt-dark-img, none) repeat;
  }
  .tt-help--band .tt-help__hub:hover .tt-help__hub-sub { color: #fff; }
}   /* phones: the number is in the top band; the text comes first */
.tt-help__call-title { font-size: 14px; color: var(--tt-text); }
.tt-help__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 20px; line-height: 28px; font-weight: 700; }
.tt-help__phone .tt-icon { width: 20px; height: 20px; color: var(--tt-accent); }
.tt-help__hours { margin-top: 2px; font-size: 13px; color: var(--tt-text); }
.tt-help__main { max-width: 820px; margin: 0; min-width: 0; }
.tt-help__main h2 { margin: 1.6em 0 .5em; font-size: 22px; line-height: 1.3; font-weight: 600; }
.tt-help__main h3 { margin: 1.3em 0 .3em; font-size: 17px; line-height: 1.35; font-weight: 600; }
.tt-help__main > .sp-block:first-of-type > h2:first-child, .tt-help__main .sp-block:first-of-type > :first-child { margin-top: 0; }
@media (min-width: 992px) {
  .tt-help { grid-template-columns: 270px minmax(0, 1fr); gap: 50px; }
  .tt-help__side { position: sticky; top: 20px; align-self: start; }
  .tt-help__summary { display: none; }
  .tt-help__nav { padding: 18px 22px 20px; }
}

/* the platform's contact blocks on a page (its store-pages.css lays them out; these give them the theme's look) */
.tt-rte .sp-contact-details { margin: 24px 0; padding: 22px 24px; border-radius: 10px; background: var(--tt-soft); }
.tt-rte .sp-contact-details > * + .sp-cd-label { margin-top: 18px; }
/* wide: the address and the phone side by side (the platform gives one flat list: label, value, label, value, hours) */
@media (min-width: 768px) {
  .tt-rte .sp-contact-details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-items: start; }
  .tt-rte .sp-contact-details > * + .sp-cd-label { margin-top: 0; }
  .tt-rte .sp-cd-label:has(+ .sp-cd-address), .tt-rte .sp-cd-address { grid-column: 1; }
  .tt-rte .sp-cd-label:has(+ .sp-cd-phone), .tt-rte .sp-cd-phone, .tt-rte .sp-cd-hours { grid-column: 2; }
  .tt-rte .sp-cd-label:has(+ .sp-cd-address), .tt-rte .sp-cd-label:has(+ .sp-cd-phone) { grid-row: 1; }
  .tt-rte .sp-cd-address, .tt-rte .sp-cd-phone { grid-row: 2; }
  .tt-rte .sp-cd-hours { grid-row: 3; }
}
.tt-rte .sp-cd-label { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tt-text); }
.tt-rte .sp-cd-address, .tt-rte .sp-cd-phone, .tt-rte .sp-cd-hours { margin: 0; color: var(--tt-main); }
.tt-rte .sp-cd-phone a { font-size: 20px; font-weight: 700; text-decoration: none; }
.tt-rte .sp-cd-hours { font-size: 14px; color: var(--tt-text); }
.tt-rte .sp-contact-form { margin-top: 10px; }
.tt-rte .sp-contact-intro { margin-bottom: 14px; }
.tt-rte .sp-contact input[type="text"], .tt-rte .sp-contact input[type="email"], .tt-rte .sp-contact textarea {
  width: 100%; padding: 12px 16px; font: inherit; font-size: 15px; color: var(--tt-main);
  background: var(--tt-bg); border: 1px solid var(--tt-line); border-radius: 3px; outline: 0;
}
.tt-rte .sp-contact input:focus, .tt-rte .sp-contact textarea:focus { border-color: var(--tt-main); }
.tt-rte .sp-contact .sp-submit { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 32px; border: 0; border-radius: 3px; background: var(--tt-main); color: #fff; font-weight: 600; }
.tt-rte .sp-contact .sp-submit:hover { background: var(--tt-accent); }
.tt-rte .sp-contact-status { padding: 14px 18px; border-radius: 6px; background: var(--tt-soft); color: var(--tt-main); }
.tt-rte .sp-contact-sent { background: #edf7ee; }
.tt-rte .sp-contact-error { background: #fdecec; }

.tt-404 { padding-top: 80px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.tt-404__code { font-size: 96px; line-height: 1; font-weight: 800; color: var(--tt-line); }
.tt-404__text { color: var(--tt-text); font-size: 16px; margin-bottom: 10px; }

.tt-catlinks { padding-top: 50px; }
.tt-catlinks__heading { margin-bottom: 26px; text-align: center; }
.tt-catlinks__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .tt-catlinks__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1150px) { .tt-catlinks__grid { grid-template-columns: repeat(4, 1fr); gap: 30px; } }
.tt-catlinks__tile {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 90px; padding: 20px 24px;
  background: var(--tt-soft); border-radius: 10px; font-size: 18px; font-weight: 600; transition: background-color .2s ease;
}
.tt-catlinks__tile:hover { background: var(--tt-line); color: var(--tt-main); }

/* ---- slide-in cart (the template's mini-cart drawer, from the right) ---------- */
.tt-drawer--right .tt-drawer__panel { left: auto; right: 0; width: min(477px, 100vw); transform: translateX(100%); }
.tt-drawer--right.is-open .tt-drawer__panel { transform: none; }
.tt-cartdrawer__title { font-size: 20px; line-height: 1.2; font-weight: 500; }
.tt-cartdrawer__nudge:not(:empty) { padding: 10px 20px; background: var(--tt-soft); }
.tt-cartdrawer__nudge .mbs-cart-nudge:empty { display: none; }
.tt-cartdrawer__nudge .mbs-cart-nudge { margin: 0; font-size: 13px; color: var(--tt-main); }
.tt-cartdrawer__lines { padding: 6px 20px; }
.tt-cartline { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--tt-line); }
.tt-cartline__img { width: 80px; height: 80px; border-radius: 3px; overflow: hidden; background: var(--tt-soft); }
.tt-cartline__img img { width: 100%; height: 100%; object-fit: cover; }
.tt-cartline__title { display: block; font-size: 15px; line-height: 20px; font-weight: 500; }
.tt-cartline__variant { margin-top: 2px; font-size: 13px; color: var(--tt-text); }
.tt-cartline__price { margin-top: 4px; }
.tt-cartline__price .mbs-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.tt-cartline__price .mbs-line__unit { font-weight: 600; }
.tt-cartline__price .mbs-line__tag, .tt-cartline__price .mbs-line__special { font-size: 12px; color: var(--tt-text); }
.tt-cartline__price .mbs-line__tag del { color: var(--tt-text); }
.tt-cartline__price .mbs-line__nudge { flex-basis: 100%; font-size: 12px; color: var(--tt-accent); }
.tt-cartline__price .mbs-line__nudge:empty, .tt-cartline__price .mbs-line__tag:empty { display: none; }
.tt-cartline__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.tt-cartline__total { font-weight: 600; text-align: right; white-space: nowrap; }
.tt-cartline__remove .mbs-line__remove {
  border: 0; background: none; padding: 0; font-size: 13px; color: var(--tt-text); text-decoration: underline; text-underline-offset: 3px;
}
.tt-cartline__remove .mbs-line__remove:hover { color: var(--tt-accent); }

/* the shared quantity box, in the template's style (a bordered pill with - and +) */
.mbs-qty { display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--tt-line); border-radius: 3px; background: var(--tt-soft); }
.mbs-qty .mbs-qty__step { width: 36px; height: 100%; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--tt-main); }
.mbs-qty .mbs-qty__step:hover { color: var(--tt-accent); }
.mbs-qty .mbs-qty__input {
  width: 46px; height: 100%; border: 0; background: none; text-align: center; font: inherit; font-weight: 600; color: var(--tt-main);
  -moz-appearance: textfield; appearance: textfield;
}
.mbs-qty .mbs-qty__input::-webkit-outer-spin-button, .mbs-qty .mbs-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mbs-qty .mbs-qty__words { padding-right: 10px; font-size: 12px; color: var(--tt-text); }
.mbs-qty__case-note { font-size: 12px; color: var(--tt-text); }

.tt-cartdrawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--tt-line); box-shadow: 0 -4px 10px rgba(0, 0, 0, .04); }
.tt-cartdrawer__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; font-weight: 600; }
.tt-cartdrawer__note { margin-top: 6px; font-size: 13px; color: var(--tt-text); }
.tt-cartdrawer__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.tt-cartdrawer__buttons .tt-btn { height: 47px; }
.tt-cartdrawer__empty { display: grid; justify-items: center; align-content: center; gap: 18px; text-align: center; font-size: 16px; }

/* ---- sign-in pop-up (the template's log-in modal) ----------------------------- */
.tt-modal {
  width: min(500px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 10px;
  color: var(--tt-main); background: var(--tt-bg); box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}
.tt-modal::backdrop { background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s ease; }
/* fades and rises in, and back out on close (tt.js adds .is-shown after showModal and removes it before close) */
.tt-modal { opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease; }
.tt-modal.is-shown { opacity: 1; transform: none; }
.tt-modal.is-shown::backdrop { opacity: 1; }
.tt-modal__inner { position: relative; padding: 36px 34px 30px; }
.tt-modal__close { position: absolute; top: 12px; right: 12px; }
.tt-modal__title { margin-bottom: 26px; font-size: 28px; line-height: 1.2; font-weight: 500; }
.tt-modal__text { margin: -12px 0 22px; color: var(--tt-text); }
.tt-modal__switch { margin-top: 20px; color: var(--tt-text); }
.tt-modal__pane[hidden] { display: none; }

.tt-form { display: grid; gap: 15px; }
.tt-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.tt-form__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tt-form__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* a field with its label floating on the border (the template's .tf-field) */
.tt-field { position: relative; }
.tt-field .tt-input { height: 50px; padding-top: 6px; }
.tt-field label {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); padding: 0 4px; background: var(--tt-bg);
  color: #909090; font-size: 14px; pointer-events: none; transition: top .2s ease, font-size .2s ease, color .2s ease;
}
.tt-field .tt-input:focus + label, .tt-field .tt-input:not(:placeholder-shown) + label { top: 0; font-size: 12px; color: var(--tt-text); }
.tt-check { display: inline-flex; align-items: center; gap: 8px; color: var(--tt-text); cursor: pointer; }
.tt-check input { width: 16px; height: 16px; accent-color: var(--tt-main); }
.tt-link { padding: 0; border: 0; background: none; color: var(--tt-main); text-decoration: underline; text-underline-offset: 3px; }
.tt-link:hover { color: var(--tt-accent); }
.tt-btn--wide { width: 100%; height: 50px; }
@media (max-width: 480px) {
  .tt-modal__inner { padding: 30px 20px 24px; }
  .tt-form__pair { grid-template-columns: 1fr; }
}
/* the cart-wide hint strip only while it has words; the remove control as a comfortable tap target */
.tt-cartdrawer__nudge:has(.mbs-cart-nudge:empty) { display: none; }
.tt-cartline__remove .mbs-line__remove {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  font-size: 22px; line-height: 1; text-decoration: none; border-radius: 50%;
}
.tt-cartline__remove .mbs-line__remove:hover { background: var(--tt-soft); }

/* ---- colour swatches (snippets/tt-swatch) ------------------------------------- */
.tt-swatch {
  position: relative; display: inline-block; flex: none; width: 34px; height: 34px; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--tt-bg), 0 0 0 4px var(--tt-line);
}
.tt-swatch--light { box-shadow: inset 0 0 0 1px #d6d6d6, 0 0 0 3px var(--tt-bg), 0 0 0 4px var(--tt-line); }
.tt-swatch--sm { width: 16px; height: 16px; box-shadow: none; }
.tt-swatch--sm.tt-swatch--light { box-shadow: inset 0 0 0 1px #cfcfcf; }
.tt-swatch--lg { width: 44px; height: 44px; }
.tt-swatch--xl { width: 96px; height: 96px; }

/* "Browse by color": swatch + name rows (the template's grocery category list) */
.tt-colorlist { padding: 14px 20px 8px 21px; }
.tt-colorlist li + li .tt-colorlist__link::after { content: ""; position: absolute; top: 0; left: 53px; right: 0; height: 1px; background: rgba(0, 0, 0, .08); }
.tt-colorlist__link { position: relative; display: flex; align-items: center; gap: 16px; min-height: 50px; padding: 6px 0; font-size: 16px; font-weight: 500; }
.tt-colorlist__link.is-current { color: var(--tt-accent); }
.tt-cats__bottom { padding: 15px 26px; background: rgba(37, 61, 78, .05); border-radius: 0 0 10px 10px; }
.tt-arrowlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tt-arrowlink .tt-icon { width: 10px; height: 10px; }

/* ---- root categories with mega menus ------------------------------------------ */
.tt-header__row2 { position: relative; }
.tt-nav__item { position: static; }
.tt-nav__item--mega > .tt-nav__link { gap: 6px; align-items: center; }
/* in the desktop row, every nav item is as tall as the row, so a mega menu begins right under its trigger */
.tt-header__row2 .tt-nav { align-self: stretch; display: flex; }
.tt-header__row2 .tt-nav__list { align-self: stretch; }
.tt-header__row2 .tt-nav__item { display: flex; align-self: stretch; }
.tt-header__row2 .tt-nav__link { align-items: center; padding: 0; }
.tt-header__row2 .tt-nav__link::before { top: auto; bottom: 26px; }
.tt-nav__item--mega > .tt-nav__link .tt-icon { width: 10px; height: 10px; transition: transform .3s ease; }
.tt-nav__item--mega.is-open > .tt-nav__link .tt-icon, html:not(.tt-js) .tt-nav__item--mega:hover > .tt-nav__link .tt-icon { transform: rotate(180deg); }
.tt-mega {
  position: absolute; z-index: 4; top: 100%; left: var(--tt-gutter); right: var(--tt-gutter);
  background: var(--tt-bg); border: 1px solid var(--tt-line); border-radius: 0 0 10px 10px; box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
  transition: opacity .25s ease .25s, transform .25s ease .25s, visibility 0s linear .5s;
}
.tt-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* covers the slide-in gap */
/* open: with script, tt.js's .is-open (it keeps the menu open while the pointer travels the nav row towards it);
   without script, plain hover; with the keyboard, focus */
html:not(.tt-js) .tt-nav__item--mega:hover > .tt-mega, .tt-nav__item--mega.is-open > .tt-mega, .tt-nav__item--mega:focus-within > .tt-mega {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}
.tt-mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; padding: 30px 34px 32px; }
.tt-mega__heading { margin-bottom: 16px; font-size: 18px; font-weight: 600; }
.tt-mega__list { margin-bottom: 20px; }
.tt-mega__list--cols { columns: 3; column-gap: 40px; }
.tt-mega__list li { break-inside: avoid; }
.tt-mega__link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--tt-text); font-size: 15px; }
.tt-mega__link:hover, .tt-mega__link.is-current { color: var(--tt-accent); }
.tt-mega__promo { position: relative; display: block; width: 360px; border-radius: 10px; overflow: hidden; }
.tt-mega__promo img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s ease; }
.tt-mega__promo:hover img { transform: scale(1.04); }
.tt-mega__caption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 3px; background: var(--tt-bg); color: var(--tt-main); font-weight: 600; }
@media (min-width: 1150px) and (max-width: 1360px) {
  .tt-nav__list { gap: 8px 22px; }
  .tt-nav__link { font-size: 15px; }
  .tt-header__helplabel { display: none; }
  .tt-header__phone { font-size: 22px; line-height: 24px; }
  .tt-header__help .tt-icon--lg { display: none; }
  .tt-cats__title { min-width: 0; }
}

/* ---- phones: the menu's colour grid --------------------------------------------- */
.tt-colorgrid__link {
  display: grid; justify-items: center; gap: 7px; font-size: 12px; line-height: 14px; font-weight: 600; text-align: center;
}
.tt-colorgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; margin: 6px 0 18px; }
.tt-drawer__heading + .tt-catlist { margin-top: 2px; }

/* ---- home sections (the template's grocery home) ------------------------------- */
.tt-section { margin-top: 60px; }
.tt-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin-bottom: 30px; }
.tt-section__head .tt-h2 { font-weight: 700; letter-spacing: -.01em; }
@media (max-width: 767px) { .tt-section { margin-top: 44px; } .tt-section__head { margin-bottom: 20px; } }

/* slideshow */
.tt-slideshow-wrap { margin-top: 30px; }
.tt-slideshow { position: relative; display: grid; border-radius: 20px; overflow: hidden; }
.tt-slideshow--large { min-height: 560px; }
.tt-slideshow--medium { min-height: 420px; }
.tt-slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center; padding: 60px 50px 80px;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease;
}
.tt-slide.is-active { opacity: 1; visibility: visible; }
.tt-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-slide__content { position: relative; max-width: 760px; }
.tt-slide--light { color: #fff; }
.tt-slide--light .tt-slide__img + .tt-slide__content { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.tt-slide--dark { color: var(--tt-main); }
.tt-slide__eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.tt-slide__heading { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.tt-slide__text { margin-top: 18px; font-size: 18px; line-height: 1.5; font-weight: 600; max-width: 560px; }
.tt-slide__btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; height: 52px; padding: 0 30px; border-radius: 60px;
  background: #fff; color: var(--tt-main); font-size: 16px; font-weight: 600; transition: background-color .2s ease, color .2s ease;
}
.tt-slide--dark .tt-slide__btn { background: var(--tt-main); color: #fff; }
.tt-slide__btn:hover { background: var(--tt-accent); color: #fff; }
.tt-slideshow__dots { position: absolute; left: 50px; bottom: 36px; display: flex; gap: 10px; z-index: 2; }
.tt-slideshow__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.tt-slideshow__dot.is-active { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); }
@media (min-width: 768px) { .tt-slide__heading { font-size: 56px; } }
@media (min-width: 1150px) { .tt-slide { padding: 80px 100px 100px; } .tt-slide__heading { font-size: 72px; } .tt-slideshow__dots { left: 100px; } }
@media (max-width: 767px) {
  .tt-slideshow-wrap { margin-top: 16px; }
  .tt-slideshow { border-radius: 12px; }
  .tt-slideshow--large, .tt-slideshow--medium { min-height: 380px; }
  .tt-slide { padding: 34px 24px 64px; align-items: flex-end; }
  .tt-slide__text { font-size: 15px; }
  .tt-slide__btn { margin-top: 22px; height: 46px; padding: 0 22px; font-size: 15px; }
  .tt-slideshow__dots { left: 24px; bottom: 24px; }
}

/* category tiles */
.tt-tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 768px) { .tt-tiles__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1150px) { .tt-tiles__grid--colors { grid-template-columns: repeat(6, 1fr); gap: 30px; } }
.tt-tile {
  display: grid; justify-items: center; align-content: start; gap: 14px; height: 100%; padding: 28px 12px 24px;
  background: #f2f2f2; border-radius: 6px; text-align: center; transition: background-color .2s ease;
}
.tt-tile:hover { background: var(--tt-line); color: var(--tt-main); }
.tt-tile__pic { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--tt-bg); }
.tt-tile__pic img { width: 100%; height: 100%; object-fit: cover; }
.tt-tile__pic--swatch { overflow: visible; background: none; }
.tt-tile__name { font-size: 18px; line-height: 1.2; font-weight: 500; }
@media (max-width: 767px) {
  .tt-tile { padding: 18px 6px 16px; gap: 10px; }
  .tt-tile__pic, .tt-tile__pic .tt-swatch--xl { width: 64px; height: 64px; }
  .tt-tile__name { font-size: 14px; }
  /* exactly four tiles (thetiesite's four styles): two by two, not three plus one left alone on its own row */
  .tt-tiles__grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
  .tt-tiles__grid:has(> :nth-child(4):last-child) .tt-tile__pic { width: 84px; height: 84px; }
}

/* promo banners */
.tt-promos { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .tt-promos { grid-template-columns: 1fr 1fr; gap: 30px; } }
.tt-promo { position: relative; display: flex; align-items: flex-end; min-height: 320px; padding: 36px; border-radius: 10px; overflow: hidden; }
@media (min-width: 1150px) { .tt-promo { min-height: 450px; padding: 46px; } }
.tt-promo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tt-promo:hover .tt-promo__img { transform: scale(1.03); }
.tt-promo__content { position: relative; }
/* account pages of the store (templates/customers/*: sign in, create an account, set a new password) */
.tt-acct { display: grid; gap: 24px; max-width: 1000px; margin: 0 auto; padding-bottom: 20px; }
@media (min-width: 900px) { .tt-acct { grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; } }
.tt-acct--single { max-width: 520px; }
@media (min-width: 900px) { .tt-acct--single { grid-template-columns: 1fr; } }
.tt-acct__card { padding: 30px; border: 1px solid var(--tt-line); border-radius: 10px; background: var(--tt-bg); }
.tt-acct__card--soft { border-color: transparent; background: var(--tt-soft); }
.tt-acct__title { margin: 0 0 18px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.tt-acct__text { margin: 0 0 16px; color: var(--tt-text); }
.tt-acct__perks { display: grid; gap: 12px; margin: 0 0 24px; }
.tt-acct__perks li { display: flex; align-items: center; gap: 12px; color: var(--tt-main); }
.tt-acct__perks .tt-icon { width: 20px; height: 20px; flex: none; color: var(--tt-accent); }
.tt-acct__forgot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--tt-line); }
.tt-acct__forgot summary { cursor: pointer; font-weight: 600; list-style: none; }
.tt-acct__forgot summary::-webkit-details-marker { display: none; }
.tt-acct__forgot[open] summary { margin-bottom: 12px; }
@media (max-width: 599px) { .tt-acct__card { padding: 22px 18px; } }
/* a product tab loading its category (product-tabs "Load when opened") */
.tt-grid.js-tt-lazy-grid[aria-busy="true"] { min-height: 240px; background: no-repeat center / 32px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%23db1215' stroke-width='4' stroke-dasharray='90 40'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E"); }
/* a product-page box about the quantity prices hides when the page lists none (a price-level customer's own price
   replaces them; the launch audit's level walk) */
body:not(:has(.mbs-qb__row)) .tt-pdp__box--breaks { display: none; }
/* a product photo beside the words (photo_asset): the right half, the words on the left */
.tt-promo--photo .tt-promo__content { max-width: 50%; }
.tt-promo__photo { position: absolute; top: 50%; right: 5%; width: 40%; aspect-ratio: 1; transform: translateY(-50%); transition: transform .6s ease; }
.tt-promo__photo img { width: 100%; height: 100%; object-fit: contain; }
/* the blend is on the photo's own box (its transform makes it a layer of its own, so a blend inside it meets nothing) */
.tt-promo__photo--blend { mix-blend-mode: multiply; }
.tt-promo__photo--circle { padding: 7%; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.tt-promo:hover .tt-promo__photo { transform: translateY(-50%) scale(1.04); }
.tt-promo--light { color: #fff; }
.tt-promo--dark { color: var(--tt-main); }
.tt-promo__eyebrow { margin-bottom: 12px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tt-promo__heading { max-width: 420px; margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; }
@media (max-width: 767px) {
  .tt-promo--photo .tt-promo__content { max-width: 60%; }
  .tt-promo__photo { right: 4%; width: 36%; }
  .tt-promo--photo .tt-promo__heading { font-size: 22px; }
  .tt-promo--photo .tt-promo__eyebrow { font-size: 12px; }
}
.tt-promo__btn {
  display: inline-flex; align-items: center; margin-top: 24px; height: 42px; padding: 0 24px; border-radius: 60px;
  background: var(--tt-main); color: #fff; font-weight: 600; transition: background-color .2s ease;
}
.tt-promo--light .tt-promo__btn { background: #fff; color: var(--tt-main); }
.tt-promo__btn:hover { background: var(--tt-accent); color: #fff; }

/* product tabs */
.tt-tabs__list { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.tt-tabs__tab { height: 36px; padding: 0 20px; border: 1px solid transparent; border-radius: 60px; background: none; font-size: 16px; color: var(--tt-text); }
.tt-tabs__tab:hover { color: var(--tt-main); }
.tt-tabs__tab.is-active { border-color: var(--tt-accent); color: var(--tt-accent); }
.tt-tabs__nojs-title { margin: 30px 0 16px; font-size: 20px; font-weight: 600; }
html.tt-js .tt-tabs__nojs-title { display: none; }
html.tt-js .tt-tabs__panel:not(.is-active) { display: none; }
.tt-tabs__all { margin-top: 26px; text-align: center; }
@media (max-width: 767px) {
  .tt-tabs__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -15px; padding: 0 15px; width: calc(100% + 30px); }
  .tt-tabs__list::-webkit-scrollbar { display: none; }
  .tt-tabs__tab { flex: none; padding: 0 14px; font-size: 15px; }
}

/* the product grid and card (the template's grocery card) */
.tt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
@media (min-width: 768px) { .tt-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
@media (min-width: 1150px) {
  .tt-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .tt-grid--5 { grid-template-columns: repeat(5, 1fr); }
}
.tt-card { display: flex; flex-direction: column; height: 100%; padding: 5px; border: 1px solid var(--tt-line); border-radius: 6px; background: var(--tt-bg); }
.tt-card__media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--tt-soft); }
.tt-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s ease, transform .6s ease; }
.tt-card__img--alt { opacity: 0; }
.tt-card:hover .tt-card__img--alt { opacity: 1; }
.tt-card:hover .tt-card__img:only-of-type, .tt-card:hover .tt-card__img:first-child:not(:only-of-type) { transform: scale(1.03); }
.tt-card__noimg { position: absolute; inset: 0; }
.tt-card__badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 3px; background: var(--tt-main); color: #fff; font-size: 12px; font-weight: 600; }
.tt-card__badge .mbs-stock { color: inherit; }
.tt-card__info { display: flex; align-items: flex-start; gap: 10px; padding: 14px 6px 8px; flex: 1; }
.tt-card__text { flex: 1; min-width: 0; }
.tt-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 20px; font-weight: 600; }
.tt-card__price { margin-top: 8px; }
.tt-card__price .mbs-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.tt-card__price .mbs-price__current { font-size: 17px; font-weight: 700; color: var(--tt-main); }
.tt-card__price .mbs-price__compare { color: var(--tt-text); font-size: 14px; }
.tt-card__price .mbs-price__from, .tt-card__price .mbs-price__label { font-size: 13px; color: var(--tt-text); }
.tt-card__price .mbs-price__as-low-as { flex-basis: 100%; font-size: 13px; color: var(--tt-accent); font-weight: 600; }
.tt-card__btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-top: 2px;
  border-radius: 50%; background: var(--tt-main); color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .08); transition: background-color .2s ease;
}
.tt-card__btn:hover { background: var(--tt-accent); color: #fff; }
@media (max-width: 767px) {
  .tt-card__info { flex-direction: column; padding: 10px 4px 6px; }
  .tt-card__title { font-size: 14px; }
  .tt-card__btn { display: none; }
}

/* icon columns */
.tt-iconcols { padding: 60px 30px; border-radius: 20px; text-align: center; }
@media (min-width: 1150px) { .tt-iconcols { padding: 100px 60px; } }
.tt-iconcols__eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tt-iconcols__heading { max-width: 820px; margin: 0 auto; font-weight: 800; }
.tt-iconcols__list { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 50px; }
@media (min-width: 768px) { .tt-iconcols__list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; } }
.tt-iconcols__icon { display: inline-flex; align-items: center; justify-content: center; width: 100px; height: 100px; border: 1px solid currentColor; border-radius: 50%; }
.tt-iconcols__icon .tt-icon { width: 42px; height: 42px; }
.tt-iconcols__title { margin: 26px 0 12px; font-size: 26px; line-height: 1.2; font-weight: 400; }
.tt-iconcols__text { max-width: 360px; margin: 0 auto; color: var(--tt-text); line-height: 1.6; }

/* ---- the semi-sticky header (the template's: hides while scrolling down, slides back in while scrolling up, the top
   bar stays behind). tt.js marks the header's section wrapper .tt-sticky and moves its `top`. */
.tt-sticky { position: sticky; top: auto; z-index: 60; transition: top .15s ease-out; }   /* auto: not sticking until tt.js pins it */
.tt-sticky.is-pinned .tt-header { box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

/* ---- category page (the template's shop-left-sidebar) ---------------------------------- */
.tt-page-title { padding: 34px 0 30px; }
.tt-breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-bottom: 10px; font-size: 14px; color: var(--tt-text); }
.tt-breadcrumb a:hover { color: var(--tt-accent); }
.tt-breadcrumb [aria-current] { color: var(--tt-main); }
.tt-shop { padding-top: 40px; }
.tt-shop__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
@media (min-width: 1150px) { .tt-shop__layout { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } }

/* the sidebar: a slide-in panel on phones and tablets, a plain column on desktop */
.tt-widget + .tt-widget, .tt-widget + .tt-facets, .tt-facets + .tt-widget, .tt-facets .tt-widget + .tt-widget { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--tt-line); }
.tt-widget__title { margin-bottom: 14px; font-size: 18px; line-height: 1.3; font-weight: 600; }
.tt-shop__sidebar .tt-catlist__row { min-height: 40px; }
.tt-shop__sidebar .tt-catlist__link { font-size: 15px; }
.tt-shop__sidebar .tt-catlist__toggle { width: 32px; height: 32px; }
.tt-catlist__sublink { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1150px) {
  .tt-drawer.tt-drawer--sidebar { position: static; visibility: visible; z-index: auto; }
  .tt-drawer--sidebar .tt-drawer__scrim, .tt-drawer--sidebar .tt-shop__sidebarhead { display: none; }
  .tt-drawer--sidebar .tt-drawer__panel { position: static; width: auto; transform: none; transition: none; }
  .tt-drawer--sidebar .tt-drawer__body { padding: 0; overflow: visible; }
  .tt-shop__filterbtn { display: none !important; }
}

.tt-facet__list li + li { margin-top: 4px; }
.tt-facet__value { display: flex; align-items: center; gap: 10px; padding: 4px 0; cursor: pointer; color: var(--tt-text); }
.tt-facet__value:hover { color: var(--tt-main); }
.tt-facet__value.is-empty { opacity: .45; }
.tt-facet__check { width: 18px; height: 18px; margin: 0; accent-color: var(--tt-main); }
.tt-facet__label { flex: 1; }
.tt-facet__count { font-size: 13px; }
.tt-facet__price { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.tt-facet__pricefield { position: relative; }
.tt-facet__pricefield span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--tt-text); }
.tt-facet__pricefield .tt-input { height: 42px; padding-left: 24px; }
.tt-facet__go { grid-column: 1 / -1; height: 40px; }

/* toolbar, chips, grid, pages */
.tt-shop__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 24px; }
.tt-shop__filterbtn { height: 40px; padding: 0 16px; gap: 8px; }
.tt-shop__count { color: var(--tt-text); min-width: 0; overflow-wrap: anywhere; }
.tt-sort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tt-sort__label { color: var(--tt-text); white-space: nowrap; }
.tt-sort__select {
  height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--tt-line); border-radius: 3px; background: var(--tt-bg); font: inherit; color: var(--tt-main);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px;
}
.tt-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -6px 0 22px; }
.tt-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--tt-line); border-radius: 60px; font-size: 13px; }
.tt-chip .tt-icon { width: 12px; height: 12px; }
.tt-chip:hover { border-color: var(--tt-main); color: var(--tt-main); }
.tt-chips__clear { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tt-shop__empty { display: grid; justify-items: center; gap: 16px; padding: 60px 0; text-align: center; color: var(--tt-text); font-size: 16px; overflow-wrap: anywhere; }
@media (min-width: 1150px) { .tt-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.tt-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.tt-pagination__item {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 8px;
  border: 1px solid var(--tt-line); border-radius: 3px; font-weight: 600;
}
.tt-pagination__item:hover { border-color: var(--tt-main); color: var(--tt-main); }
.tt-pagination__item.is-current { background: var(--tt-main); border-color: var(--tt-main); color: #fff; }
.tt-pagination__arrow .tt-icon { width: 12px; height: 12px; }
.tt-pagination__arrow[rel="prev"] .tt-icon { transform: rotate(180deg); }
.tt-pagination__gap { padding: 0 4px; color: var(--tt-text); }

/* the shared price-level note (mbs-level-note: "Your special price", "<level> price") */
.tt-card__price .mbs-level-note { flex-basis: 100%; font-size: 12px; font-weight: 600; color: var(--tt-main); }
.mbs-level-note--special { color: var(--tt-accent); }

/* ---- category view switch (the template's .tf-control-layout): list / 2 / 3 / 4 across ---------------- */
.tt-views { display: flex; gap: 6px; }
.tt-views__btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; background: none; color: var(--tt-main); opacity: .4; transition: opacity .3s ease; }
.tt-views__btn:hover, .tt-views__btn.is-active { opacity: 1; }
.tt-views__btn .tt-icon { width: 20px; height: 20px; }
@media (max-width: 1149px) { .tt-views__btn--4 { display: none; } }
@media (max-width: 767px) { .tt-views__btn--3 { display: none; } }
.tt-shop__toolbar .tt-views { margin-left: auto; }
.tt-shop__toolbar .tt-views + .tt-sort { margin-left: 0; }
@media (max-width: 767px) { .tt-shop__count { flex-basis: 100%; order: 3; } }

/* the shop grid follows data-tt-view (the server renders the default; tt.js applies the visitor's choice) */
.tt-shop__grid[data-tt-view="2"] { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .tt-shop__grid[data-tt-view="3"] { grid-template-columns: repeat(3, 1fr); }
  .tt-shop__grid[data-tt-view="4"] { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1150px) { .tt-shop__grid[data-tt-view="4"] { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .tt-shop__grid[data-tt-view="3"], .tt-shop__grid[data-tt-view="4"] { grid-template-columns: repeat(2, 1fr); } }

/* the description shows only in list view; in list view the card lies on its side */
.tt-card__desc { display: none; }
.tt-shop__grid[data-tt-view="list"] { grid-template-columns: 1fr; gap: 20px; }
.tt-shop__grid[data-tt-view="list"] .tt-card { flex-direction: row; gap: 24px; padding: 10px; }
.tt-shop__grid[data-tt-view="list"] .tt-card__media { flex: none; width: 240px; }
.tt-shop__grid[data-tt-view="list"] .tt-card__info { align-items: center; padding: 10px 10px 10px 0; }
.tt-shop__grid[data-tt-view="list"] .tt-card__title { font-size: 18px; line-height: 24px; -webkit-line-clamp: 3; }
.tt-shop__grid[data-tt-view="list"] .tt-card__price .mbs-price__current { font-size: 20px; }
.tt-shop__grid[data-tt-view="list"] .tt-card__desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 12px; color: var(--tt-text); line-height: 1.6;
}
@media (max-width: 767px) {
  .tt-shop__grid[data-tt-view="list"] .tt-card { gap: 14px; padding: 6px; }
  .tt-shop__grid[data-tt-view="list"] .tt-card__media { width: 120px; }
  .tt-shop__grid[data-tt-view="list"] .tt-card__info { padding: 4px 4px 4px 0; }
  .tt-shop__grid[data-tt-view="list"] .tt-card__title { font-size: 15px; line-height: 20px; }
  .tt-shop__grid[data-tt-view="list"] .tt-card__desc { -webkit-line-clamp: 2; font-size: 13px; margin-top: 8px; }
}

/* ---- search results (the category layout, with the search box in the title band) ----------------------- */
.tt-search-page__form { position: relative; max-width: 640px; margin: 22px auto 0; }
.tt-search-page__start { display: grid; justify-items: center; gap: 18px; padding: 30px 0 10px; text-align: center; color: var(--tt-text); font-size: 16px; }
.tt-search-page__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tt-search-page__cats .tt-chip { height: 40px; padding: 0 18px; font-size: 14px; font-weight: 600; color: var(--tt-main); }

/* ---- cart page (the template's view-cart: lines on the left, the totals column on the right) ------------- */
.tt-cartpage { padding-top: 50px; padding-bottom: 80px; }
.tt-notice { margin-bottom: 30px; padding: 16px 20px; border: 1px solid var(--tt-line); border-left: 3px solid var(--tt-main); border-radius: 3px; background: var(--tt-soft); }
.tt-notice p + p, .tt-notice ul + p, .tt-notice p + ul { margin-top: 6px; }
.tt-notice ul { padding-left: 20px; list-style: disc; }
.tt-notice--warn { border-left-color: var(--tt-accent); margin: 16px 0 0; }
.tt-cartpage__wrap { display: grid; gap: 40px; }
@media (min-width: 1150px) { .tt-cartpage__wrap { grid-template-columns: minmax(0, 1fr) 400px; gap: 60px; align-items: start; } }
.tt-cartpage__head, .tt-cartrow { display: grid; grid-template-columns: 120px minmax(0, 1fr) 150px 150px 110px; gap: 20px; align-items: center; }
.tt-cartpage__head { padding-bottom: 14px; border-bottom: 1px solid var(--tt-line); font-weight: 600; }
.tt-cartpage__head span:first-child { grid-column: 1 / 3; }
.tt-cartpage__head span:last-child, .tt-cartrow__total { text-align: right; }
.tt-cartrow { padding: 20px 0; border-bottom: 1px solid var(--tt-line); }
.tt-cartrow__img { display: block; width: 120px; aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--tt-soft); }
.tt-cartrow__img img { width: 100%; height: 100%; object-fit: cover; }
.tt-cartrow__title { font-size: 16px; line-height: 22px; font-weight: 500; }
.tt-cartrow__title:hover { color: var(--tt-accent); }
.tt-cartrow__variant { margin-top: 4px; font-size: 13px; color: var(--tt-text); }
.tt-cartrow__remove { margin-top: 6px; }
/* the shared "×" stays in the page (it does the removing) but out of sight: the theme's "Remove" presses it */
.tt-cartrow .mbs-line__remove { display: none; }
.tt-cartrow__rm {
  padding: 4px 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--tt-text);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.tt-cartrow__rm:hover { color: var(--tt-accent); }
.tt-cartrow__rm--phone { display: none; }
.tt-cartrow__price .mbs-line { display: flex; flex-direction: column; gap: 2px; }
.tt-cartrow__price .mbs-line__unit { font-weight: 600; }
.tt-cartrow__price .mbs-line__tag, .tt-cartrow__price .mbs-line__special { font-size: 12px; color: var(--tt-text); }
.tt-cartrow__price .mbs-line__nudge { font-size: 12px; color: var(--tt-accent); }
.tt-cartrow__price .mbs-line__nudge:empty, .tt-cartrow__price .mbs-line__tag:empty { display: none; }
.tt-cartrow__qty .mbs-qty__case-note { display: block; margin-top: 4px; }
.tt-cartrow__total { font-size: 16px; font-weight: 600; white-space: nowrap; }
.tt-cartpage__continue { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-weight: 600; }
.tt-cartpage__continue:hover { color: var(--tt-accent); }
.tt-cartpage__box { padding: 28px; border-radius: 5px; background: var(--tt-soft); }
@media (min-width: 1150px) { .tt-cartpage__side { position: sticky; top: 20px; } }
.tt-cartpage__nudge .mbs-cart-nudge { margin: 0 0 14px; font-size: 14px; color: var(--tt-accent); }
.tt-cartpage__nudge:has(.mbs-cart-nudge:empty) { display: none; }
.tt-cartpage__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; font-weight: 600; }
.tt-cartpage__row--total { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tt-line); font-size: 22px; }
.tt-cartpage__note { margin-top: 8px; font-size: 13px; color: var(--tt-text); }
.tt-cartpage__checkout { width: 100%; height: 50px; margin-top: 20px; }
.tt-cartpage__checkout[disabled] { opacity: .5; cursor: not-allowed; }
.tt-ship { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tt-line); }
.tt-ship fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tt-ship__legend { margin-bottom: 10px; padding: 0; font-size: 16px; font-weight: 600; }
.tt-ship__opt + .tt-ship__opt { margin-top: 8px; }
.tt-ship__opt { position: relative; }
.tt-ship__radio { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; margin: 0; accent-color: var(--tt-main); }
.tt-ship__label { display: flex; justify-content: space-between; gap: 12px; padding-left: 26px; cursor: pointer; }
.tt-ship__price { font-weight: 600; white-space: nowrap; }
/* the chosen option's description slides open, the others closed (Alex, 11-20: switching was abrupt) */
.tt-ship__descwrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease, opacity .3s ease; }
.tt-ship__descwrap.is-open { grid-template-rows: 1fr; opacity: 1; }
.tt-ship__desc { overflow: hidden; min-height: 0; padding-left: 26px; font-size: 13px; color: var(--tt-text); }
.tt-ship__descwrap.is-open .tt-ship__desc { padding-top: 4px; }
.tt-ship__price, .js-mbs-cart-total { transition: color .3s ease; }
.js-mbs-cart-total.is-changed { animation: tt-total .5s ease; }
@keyframes tt-total { from { opacity: .25; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.tt-cartpage__row--total .js-mbs-cart-total { display: inline-block; }
.tt-ship__update { margin-top: 12px; }
.tt-cartpage__empty { display: grid; justify-items: center; gap: 16px; padding: 40px 0; text-align: center; color: var(--tt-text); }
.tt-cartpage__empty .tt-icon { width: 56px; height: 56px; color: var(--tt-line); }
.tt-cartpage__empty .tt-h2 { color: var(--tt-main); }
@media (min-width: 768px) and (max-width: 1149px) {
  .tt-cartpage__head, .tt-cartrow { grid-template-columns: 100px minmax(0, 1fr) 120px 140px 90px; gap: 16px; }
  .tt-cartrow__img { width: 100px; }
}
@media (max-width: 767px) {
  .tt-cartpage { padding-top: 30px; padding-bottom: 60px; }
  .tt-cartpage__head { display: none; }
  .tt-cartrow { grid-template-columns: 90px minmax(0, 1fr) auto; grid-template-areas: "img info info" "img price total" "img qty qty"; gap: 8px 14px; align-items: start; }
  .tt-cartrow__img { grid-area: img; width: 90px; }
  .tt-cartrow__info { grid-area: info; }
  .tt-cartrow__price { grid-area: price; }
  .tt-cartrow__qty { grid-area: qty; display: flex; align-items: center; gap: 16px; }
  .tt-cartrow__remove { display: none; }
  .tt-cartrow__rm--phone { display: inline-block; }
  .tt-cartrow__total { grid-area: total; }
  .tt-cartrow__title { font-size: 15px; line-height: 20px; }
  .tt-cartpage__box { padding: 22px 18px; }
}

/* ---- product page (the template's volume-discount layout; the quantity-price rows kept small on desktop) ---- */
.tt-breadcrumb--left { justify-content: flex-start; margin: 0; padding: 22px 0; }
.tt-pdp { display: grid; gap: 30px; padding-bottom: 60px; }
@media (min-width: 768px) { .tt-pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
@media (min-width: 1150px) { .tt-pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; } }
.tt-gallery { display: grid; gap: 10px; }
@media (min-width: 1150px) {
  .tt-pdp__media { position: sticky; top: 20px; align-self: start; }
  .tt-gallery--thumbs { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
  .tt-gallery--thumbs .tt-gallery__thumbs { order: -1; flex-direction: column; max-height: 640px; overflow-y: auto; overflow-x: hidden; }
}
.tt-gallery__main { aspect-ratio: 1; border-radius: 5px; overflow: hidden; background: var(--tt-soft); }
.tt-gallery__img { width: 100%; height: 100%; object-fit: contain; }
.tt-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.tt-gallery__thumbs li { flex: 0 0 auto; }
.tt-gallery__thumb { display: block; width: 80px; aspect-ratio: 1; padding: 0; border: 1px solid var(--tt-line); border-radius: 3px; overflow: hidden; background: var(--tt-soft); cursor: pointer; }
@media (min-width: 1150px) { .tt-gallery__thumb { width: 88px; } }
.tt-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tt-gallery__thumb.is-active, .tt-gallery__thumb:hover { border-color: var(--tt-main); }
.tt-pdp__title { font-size: 26px; line-height: 1.25; font-weight: 500; }
@media (min-width: 1150px) { .tt-pdp__title { font-size: 30px; } }
.tt-pdp__sku { margin-top: 6px; font-size: 13px; color: var(--tt-text); }
.tt-pdp__price { margin-top: 14px; }
.tt-pdp__price .mbs-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.tt-pdp__price .mbs-price__current { font-size: 28px; font-weight: 600; text-decoration: none; color: var(--tt-main); }
.tt-pdp__price .mbs-price__compare { font-size: 18px; color: var(--tt-text); }
.tt-pdp__price .mbs-level-note { font-size: 13px; font-weight: 600; color: var(--tt-accent); }
.tt-pdp__stock .mbs-stock { margin-top: 8px; font-size: 14px; font-weight: 600; color: #2e7d32; }
.tt-pdp__stock .mbs-stock--low { color: var(--tt-accent); }
.tt-pdp__stock .mbs-stock--sold_out, .tt-pdp__stock .mbs-stock--unavailable { color: var(--tt-text); }
.tt-pdp__form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--tt-line); }
.tt-pdp__field { display: grid; justify-items: start; gap: 8px; margin-bottom: 16px; }
.tt-pdp__label { font-weight: 600; }
.tt-select { height: 44px; min-width: 220px; padding: 0 12px; border: 1px solid var(--tt-line); border-radius: 3px; background: #fff; }
.tt-pdp__field .mbs-qty { height: 46px; }
.tt-pdp__buy { display: flex; gap: 10px; }
.tt-pdp__add { flex: 1; height: 50px; font-size: 16px; }
.tt-pdp__add[disabled] { opacity: .5; cursor: not-allowed; }
.tt-pdp__wish { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 50px; height: 50px; border: 1px solid var(--tt-line); border-radius: 3px; }
.tt-pdp__wish:hover { border-color: var(--tt-main); }
.tt-pdp__wish.is-wished { color: var(--tt-accent); border-color: var(--tt-accent); }
.tt-pdp__wish.is-wished .tt-icon path { fill: currentColor; }
/* the quantity-price rows: a compact selectable list (Alex, 11-20: the template's large deal cards took too much
   room on desktop); the row the quantity box reaches is marked */
.tt-pdp__breaks .mbs-qb { margin-top: 22px; }
.tt-pdp__breaks .mbs-qb__rows { display: grid; gap: 6px; }
.tt-pdp__breaks .mbs-qb__row {
  position: relative; padding: 9px 12px 9px 36px; border: 1px solid var(--tt-line); border-radius: 3px;
  font-size: 14px; line-height: 20px; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.tt-pdp__breaks .mbs-qb__row::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border: 1px solid var(--tt-text); border-radius: 50%; background: #fff;
}
.tt-pdp__breaks .mbs-qb__row:hover { border-color: var(--tt-main); }
.tt-pdp__breaks .mbs-qb__row.is-reached { border-color: var(--tt-main); background: var(--tt-soft); font-weight: 600; }
.tt-pdp__breaks .mbs-qb__row.is-reached::before { border: 4px solid var(--tt-main); }
.tt-pdp__breaks .mbs-qb__row:focus-visible { outline: 2px solid var(--tt-main); outline-offset: 2px; }
.tt-pdp__breaks .mbs-qb__your-price { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--tt-accent); }
@media (max-width: 1149px) { .tt-pdp__breaks .mbs-qb__row { padding-top: 12px; padding-bottom: 12px; font-size: 15px; } }
.tt-pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 8px; font-size: 13px; color: var(--tt-text); }
.tt-pdp__rating { display: inline-flex; align-items: center; gap: 6px; }
.tt-pdp__rating:hover { color: var(--tt-accent); }
.tt-stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.tt-stars .tt-icon { width: 15px; height: 15px; }
.tt-stars__base { color: var(--tt-line); }
.tt-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; color: #f0a750; }
/* the help links, the information boxes and the safe-checkout marks (the template's extra links, delivery boxes,
   trust seal) */
.tt-pdp__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; }
.tt-pdp__link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--tt-main); cursor: pointer; }
.tt-pdp__link .tt-icon { width: 20px; height: 20px; }
.tt-pdp__link:hover { color: var(--tt-accent); }
.tt-pdp__boxes { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 1150px) { .tt-pdp__boxes { grid-template-columns: 1fr 1fr; } }
.tt-pdp__box { display: grid; justify-items: center; gap: 10px; padding: 20px 16px; border: 1px solid var(--tt-line); border-radius: 3px; text-align: center; font-size: 14px; line-height: 1.6; color: var(--tt-text); }
.tt-pdp__box .tt-icon { width: 30px; height: 30px; color: var(--tt-main); }
.tt-pdp__box strong { color: var(--tt-main); }
.tt-pdp__safe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; }
.tt-pdp__safe-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.tt-pdp__pays { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.tt-pay { display: block; width: 46px; height: auto; }
/* the buy bar (the template's sticky add-to-cart): slides up while the main Add to cart is out of view */
.tt-stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 190; padding: 10px 0;
  background: var(--tt-bg); box-shadow: 0 -4px 14px rgba(0, 0, 0, .1);
  transform: translateY(110%); transition: transform .3s ease, visibility 0s linear .3s; visibility: hidden;
}
.tt-stickybuy.is-shown { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
.tt-stickybuy__inner { display: flex; align-items: center; gap: 14px; }
.tt-stickybuy__img { width: 52px; height: 52px; border-radius: 3px; object-fit: cover; background: var(--tt-soft); }
.tt-stickybuy__text { flex: 1; min-width: 0; }
.tt-stickybuy__title { overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.tt-stickybuy__price { margin-top: 2px; font-size: 13px; color: var(--tt-text); }
.tt-stickybuy__add { height: 46px; padding: 0 30px; }
@media (max-width: 1149px) { .tt-stickybuy { bottom: calc(67px + env(safe-area-inset-bottom)); } }
@media (max-width: 767px) {
  .tt-stickybuy__img { display: none; }
  .tt-stickybuy__add { padding: 0 18px; }
}
/* the tabs below the product (the template's widget-tabs with a border) */
.tt-ptabs { padding-bottom: 20px; }
.tt-ptabs__box { padding: 0 24px 30px; border: 1px solid var(--tt-line); border-radius: 3px; }
.tt-ptabs__list { display: flex; flex-wrap: wrap; gap: 0 40px; margin-bottom: 26px; border-bottom: 1px solid var(--tt-line); }
.tt-ptabs__tab { position: relative; display: block; padding: 20px 0 16px; font-size: 18px; font-weight: 600; color: var(--tt-text); transition: color .3s ease-in-out; }
.tt-ptabs__tab:hover, .tt-ptabs__tab.is-active { color: var(--tt-main); }
/* the template's underline: grows from the left under the chosen tab, shrinks away under the last one */
.tt-ptabs__tab::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--tt-main); transition: all .3s ease-in-out; }
.tt-ptabs__tab.is-active::after { width: 100%; }
.tt-ptabs__panel + .tt-ptabs__panel { margin-top: 30px; }
/* the template's panels: the old one drops 30px and fades out (.2s); the new one rises into place and fades in
   (.3s, after .3s) */
.js-tt-tabs-on .tt-ptabs__panels { position: relative; overflow: hidden; }
.js-tt-tabs-on .tt-ptabs__panel {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1; margin-top: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(30px); transition: opacity .2s ease-in, transform .2s ease-in, visibility .2s ease-in;
}
.js-tt-tabs-on .tt-ptabs__panel.is-active {
  position: relative; z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .3s ease-out .3s, transform .3s ease-out .3s, visibility .3s ease-out .3s;
}
.tt-ptabs .tt-rte { max-width: none; margin: 0; font-size: 15px; }
@media (max-width: 767px) {
  .tt-ptabs__box { padding: 0 16px 22px; }
  .tt-ptabs__list { gap: 0 22px; overflow-x: auto; flex-wrap: nowrap; }
  .tt-ptabs__tab { padding: 16px 0 12px; font-size: 15px; white-space: nowrap; }
}
.tt-specs { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 15px; }
.tt-specs th, .tt-specs td { padding: 12px 16px; border: 1px solid var(--tt-line); text-align: left; vertical-align: top; }
.tt-specs th { width: 34%; background: var(--tt-soft); font-weight: 600; }
.tt-specs .mbs-stock { margin: 0; }
.tt-reviews { display: grid; gap: 30px; }
@media (min-width: 768px) { .tt-reviews { grid-template-columns: 280px minmax(0, 1fr); gap: 50px; } }
.tt-reviews__summary { display: grid; justify-items: start; gap: 10px; align-content: start; }
.tt-reviews__avg { font-size: 44px; font-weight: 600; line-height: 1; }
.tt-reviews__summary .tt-stars .tt-icon { width: 20px; height: 20px; }
.tt-reviews__count, .tt-reviews__note, .tt-reviews__none { color: var(--tt-text); }
.tt-reviews__summary .tt-notice { margin: 0; }
.tt-reviews__write { width: 100%; }
.tt-reviews__write summary { list-style: none; display: inline-flex; }
.tt-reviews__write summary::-webkit-details-marker { display: none; }
.tt-reviews__form { display: grid; gap: 8px; margin-top: 16px; }
.tt-reviews__form .tt-btn { margin-top: 8px; justify-self: start; }
.tt-input { width: 100%; padding: 10px 12px; border: 1px solid var(--tt-line); border-radius: 3px; font: inherit; }
.tt-review { padding: 18px 0; border-bottom: 1px solid var(--tt-line); }
.tt-review:first-child { padding-top: 0; }
.tt-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.tt-review__badge { padding: 2px 8px; border-radius: 10px; background: var(--tt-soft); font-size: 12px; }
.tt-review__date { margin-left: auto; font-size: 13px; color: var(--tt-text); }
.tt-review__title { margin-top: 10px; font-size: 16px; font-weight: 600; }
.tt-review__body { margin-top: 6px; color: var(--tt-text); line-height: 1.6; }
.tt-reviews__pages { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.tt-pdp__related { padding-bottom: 70px; }

/* the product page's pop-ups (the template's delivery_return and ask_question modals) */
.tt-modal--wide { width: min(760px, calc(100vw - 30px)); }
.tt-modal__scroll { max-height: calc(100vh - 190px); overflow-y: auto; padding-right: 6px; }
.tt-modal__subtitle { margin: 18px 0 10px; font-size: 18px; font-weight: 600; }
.tt-modal__subtitle:first-child { margin-top: 0; }
.tt-modal .tt-rte { max-width: none; margin: 0; font-size: 15px; }
.tt-modal .tt-rte h3, .tt-modal .tt-rte h4 { margin: 1.2em 0 .4em; font-size: 16px; font-weight: 600; color: var(--tt-main); }
.tt-ask { gap: 8px; }
.tt-ask .tt-pdp__label { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--tt-text); }
.tt-ask .tt-input[readonly] { background: var(--tt-soft); color: var(--tt-text); }
.tt-ask .tt-btn { margin-top: 12px; }
.tt-ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tt-ask__status { padding: 10px 12px; border-radius: 3px; background: var(--tt-soft); font-weight: 600; }
.tt-ask__status.is-error { color: var(--tt-accent); }
.tt-pdp__box:last-child:nth-child(odd) { grid-column: 1 / -1; }


/* the slide-in cart while an add is on its way (it opens on the press): its title and a spinner, never the old
   lines; the fresh lines then fade in */
.tt-drawer.is-adding .tt-cartdrawer > :not(.tt-drawer__head) { visibility: hidden; }
.tt-drawer.is-adding .tt-cartdrawer::after {
  content: ""; position: absolute; left: 50%; top: 45%; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border: 3px solid var(--tt-line); border-top-color: var(--tt-main); border-radius: 50%; animation: tt-spin .7s linear infinite;
}
@keyframes tt-spin { to { transform: rotate(360deg); } }
.tt-drawer.is-filled .tt-cartdrawer > :not(.tt-drawer__head) { animation: tt-fill .3s ease-out; }
@keyframes tt-fill { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- design pass (thetiesite, 11-20) ------------------------------------------------------------------ */
/* the logo keeps its own width setting (--tt-logo-w); on phones up to 56% of the screen, between the menu and
   the search and cart buttons */
.tt-header__logo .tt-header__logo-img { width: min(var(--tt-logo-w, 160px), 56vw); height: auto; }
/* a dark first row (the header's "dark" setting: a light logo, as thetiesite's), as the live store's header */
.tt-header--dark .tt-header__main { background: #1c1c1c var(--tt-dark-img, none) repeat; border-bottom-color: #1c1c1c; color: #fff; }
.tt-header--dark .tt-header__main .tt-nav-icon__item, .tt-header--dark .tt-header__main .tt-iconbtn,
.tt-header--dark .tt-header__main .tt-wordmark { color: #fff; }
.tt-header--dark .tt-header__main .tt-nav-icon__item:hover { color: #ff6b6e; }
.tt-header--dark .tt-header__main .tt-search__input { border-color: #fff; }
.tt-header--dark .tt-header__main .tt-search__submit { background: var(--tt-accent); }
.tt-header--dark .tt-header__main .tt-search__submit:hover { background: #000; }
@media (min-width: 1150px) { .tt-header--dark .tt-nav-icon__cart { border-left-color: #444; } }
/* picture slides: the picture carries its words, shown whole at its own shape; capped near its own width */
/* thetiesite's banners are drawn with their own rounded corners and a soft shadow on white: no frame of ours */
.tt-slideshow--picture { min-height: 0; max-width: 1100px; margin: 0 auto; aspect-ratio: 1001 / 440; border-radius: 0; background: transparent; }
.tt-slide--picture { display: block; padding: 0; }
.tt-slide__picture-link { position: absolute; inset: 0; display: block; }
.tt-slide__picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* the dots sit under the picture, dark on white, as on the live store */
.tt-slideshow--picture { overflow: visible; margin-bottom: 30px; }
.tt-slideshow--picture .tt-slideshow__dots { left: 50%; bottom: -26px; transform: translateX(-50%); }
.tt-slideshow--picture .tt-slideshow__dot { background: #c9c9c9; }
.tt-slideshow--picture .tt-slideshow__dot.is-active { background: var(--tt-main); box-shadow: 0 0 0 4px rgba(0, 0, 0, .1); }
@media (max-width: 767px) {
  .tt-slideshow--picture { min-height: 0; border-radius: 0; }
  .tt-slideshow--picture .tt-slideshow__dots { bottom: -22px; }
}
/* phones and tablets: the logo row takes the header's height and the hidden search row none (the 64px had been
   shared between them, which showed as a strip under the logo once the row was dark) */
@media (max-width: 1149px) { .tt-header__row { grid-template-rows: minmax(64px, auto) auto; min-height: 0; row-gap: 0; } }

/* ---- the newsletter's answer pop-up (#tt-nl, the check off) and the platform's check pop-up (the check on) ---- */
.tt-nl-modal { width: min(440px, calc(100vw - 30px)); text-align: center; }
.tt-nl-modal .tt-modal__title { margin-bottom: 22px; padding: 0 20px; font-size: 24px; }
.tt-nl-modal__text { margin: -8px 0 24px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.tt-nl-modal__text strong { color: var(--tt-main); }
.tt-nl-modal__ok { width: 100%; height: 48px; text-transform: uppercase; letter-spacing: .05em; }
/* newsletter-check.js builds its own pop-up (inline styles); only its button carries the old template's btn classes,
   which this theme doesn't have. Scoped to the pop-up's js- hook until the platform gives it a neutral class. */
.js-nl-check-modal .btn {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 28px;
  border: 1px solid var(--tt-accent); border-radius: 3px; background: var(--tt-accent); color: #fff;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.js-nl-check-modal .btn:hover:not(:disabled) { background: var(--tt-main); border-color: var(--tt-main); }
.js-nl-check-modal .btn:disabled { opacity: .45; cursor: default; }

/* ---- the platform's support pop-ups (mbs-support, drawn by mbs-foot: "Share your session with support" and
   "Support session ended") in this theme's type, as on ABCTies House. The shared stylesheet is structure only, at
   specificity 0, and `button { color: inherit }` above would leave the Stop sharing label dark on dark: every rule
   here is scoped under .mbs-modal / .mbs-support-banner so it wins. ---- */
.mbs-modal .mbs-modal__body {
  position: relative; max-width: 440px; max-height: calc(100vh - 30px); overflow-y: auto;
  padding: 44px 32px 30px; border-radius: 10px; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}
.mbs-modal .mbs-modal__title { margin: 0 0 12px; font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--tt-main); }
.mbs-modal .mbs-modal__body > p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: var(--tt-text); }
.mbs-modal .mbs-support__code-box { margin: 0 0 14px; padding: 14px 10px; border-radius: 8px; background: var(--tt-soft); }
.mbs-modal .mbs-support__code-label { margin-bottom: 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; }
/* text-indent offsets the trailing letter-spacing so the code sits truly centred */
.mbs-modal .mbs-support__code { font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: 4px; text-indent: 4px; white-space: nowrap; color: var(--tt-main); }
.mbs-modal .mbs-support__status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: #b58100; }
.mbs-modal .mbs-support__dot { width: 9px; height: 9px; background: #e0a800; }
.mbs-modal .mbs-support__status.is-connected { color: #1a8a4a; }
.mbs-modal .mbs-support__status.is-connected .mbs-support__dot { background: #1a8a4a; }
.mbs-modal .mbs-modal__body > p.mbs-modal__note { font-size: 12px; color: #888; }
.mbs-modal .mbs-button {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; padding: 0 20px;
  border: 1px solid var(--tt-main); border-radius: 3px; background: var(--tt-main); color: #fff;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  transition: background-color .2s ease, border-color .2s ease;
}
.mbs-modal .mbs-button:hover { background: var(--tt-accent); border-color: var(--tt-accent); }
.mbs-modal:focus { outline: none; }   /* tt.js focuses the pop-up itself on open; its buttons keep their ring */
.mbs-modal .tt-shared-close { position: absolute; top: 8px; right: 8px; color: var(--tt-main); }
.mbs-modal .tt-shared-close:hover { color: var(--tt-accent); }
.mbs-support-banner .mbs-button {
  padding: 6px 16px; border: 1px solid #fff; border-radius: 3px; background: #fff; color: var(--tt-main);
  font-size: 13px; font-weight: 600;
}
.mbs-support-banner .mbs-button:hover { background: var(--tt-accent); border-color: var(--tt-accent); color: #fff; }
@media (max-width: 480px) {
  .mbs-modal .mbs-modal__body { padding: 44px 20px 24px; }
  .mbs-modal .mbs-modal__title { font-size: 22px; }
}
