/* ==========================================================================
   TIT Multivendor — frontend manager
   Everything is scoped under .titmv-scope so it cannot leak into the theme.
   Light and dark are two token sets on the same scope.
   ========================================================================== */

.titmv-scope{
  --titmv-accent:#0C7C4B;
  --titmv-accent-alt:#F5B301;

  --titmv-bg:#FBFAF7;
  --titmv-surface:#FFFFFF;
  --titmv-surface-2:#F1F3EE;
  --titmv-text:#10150F;
  --titmv-muted:rgba(16,21,15,.6);
  --titmv-line:rgba(16,21,15,.14);
  --titmv-shadow:0 1px 2px rgba(16,21,15,.06),0 8px 24px rgba(16,21,15,.05);

  --titmv-ok:#0C7C4B;
  --titmv-warn:#C77700;
  --titmv-error:#C0392B;

  --titmv-radius:10px;
  --titmv-font:inherit;
  --titmv-mono:ui-monospace,SFMono-Regular,"DM Mono",Menlo,monospace;

  color:var(--titmv-text);
  font-family:var(--titmv-font);
  line-height:1.6;
}

.titmv-scope[data-mode="dark"]{
  --titmv-bg:#0E1310;
  --titmv-surface:#161C18;
  --titmv-surface-2:#1E2621;
  --titmv-text:#EDF1EA;
  --titmv-muted:rgba(237,241,234,.62);
  --titmv-line:rgba(237,241,234,.16);
  --titmv-shadow:0 1px 2px rgba(0,0,0,.5),0 10px 30px rgba(0,0,0,.35);
  --titmv-warn:#E8A33D;
  --titmv-error:#E8695C;
}

@media (prefers-color-scheme:dark){
  .titmv-scope[data-mode="auto"]{
    --titmv-bg:#0E1310;
    --titmv-surface:#161C18;
    --titmv-surface-2:#1E2621;
    --titmv-text:#EDF1EA;
    --titmv-muted:rgba(237,241,234,.62);
    --titmv-line:rgba(237,241,234,.16);
    --titmv-shadow:0 1px 2px rgba(0,0,0,.5),0 10px 30px rgba(0,0,0,.35);
    --titmv-warn:#E8A33D;
    --titmv-error:#E8695C;
  }
}

.titmv-scope *,.titmv-scope *::before,.titmv-scope *::after{box-sizing:border-box}

/* ---------- shell ---------- */
.titmv-shell{
  display:grid;grid-template-columns:238px 1fr;gap:1.25rem;
  background:var(--titmv-bg);padding:1.25rem;border-radius:16px;border:1px solid var(--titmv-line);
}
.titmv-shell--narrow{display:block;max-width:820px;margin-inline:auto}
.titmv-shell__head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem}

.titmv-side{
  background:var(--titmv-surface);border:1px solid var(--titmv-line);border-radius:var(--titmv-radius);
  padding:1rem;display:flex;flex-direction:column;gap:1rem;align-self:start;position:sticky;top:1rem;
}
.titmv-side__brand{display:flex;gap:.65rem;align-items:center}
.titmv-side__brand strong{display:block;font-size:.95rem;line-height:1.2}
.titmv-side__brand em{font-style:normal;font-size:.75rem;color:var(--titmv-muted);word-break:break-all}
.titmv-avatar{
  width:38px;height:38px;flex:none;border-radius:10px;display:grid;place-items:center;
  background:var(--titmv-accent);color:#fff;font-weight:700;
}
.titmv-nav{display:flex;flex-direction:column;gap:2px}
.titmv-nav__item{
  padding:.55rem .7rem;border-radius:8px;text-decoration:none;color:var(--titmv-muted);
  font-size:.92rem;font-weight:500;border-left:3px solid transparent;
}
.titmv-nav__item:hover{background:var(--titmv-surface-2);color:var(--titmv-text)}
.titmv-nav__item.is-active{background:var(--titmv-surface-2);color:var(--titmv-text);border-left-color:var(--titmv-accent-alt)}

.titmv-main{
  background:var(--titmv-surface);border:1px solid var(--titmv-line);
  border-radius:var(--titmv-radius);padding:1.4rem;min-height:340px;
}

/* ---------- typography ---------- */
.titmv-scope .titmv-h2{font-size:1.4rem;margin:0 0 .9rem;line-height:1.2}
.titmv-scope .titmv-h3{font-size:1.05rem;margin:1.75rem 0 .75rem}
.titmv-eyebrow{
  margin:0 0 .3rem;font-family:var(--titmv-mono);font-size:.68rem;
  letter-spacing:.15em;text-transform:uppercase;color:var(--titmv-accent);
}
.titmv-muted{color:var(--titmv-muted)}
.titmv-small{font-size:.82rem}
.titmv-req{color:var(--titmv-error);margin-left:2px}
.titmv-link{color:var(--titmv-accent);font-weight:600}

/* ---------- mode toggle ---------- */
.titmv-modetoggle{
  width:42px;height:42px;flex:none;border-radius:10px;cursor:pointer;
  border:1px solid var(--titmv-line);background:var(--titmv-surface);color:var(--titmv-text);
  font-size:1.05rem;line-height:1;display:grid;place-items:center;
}
.titmv-modetoggle::before{content:"☾"}
.titmv-scope[data-mode="dark"] .titmv-modetoggle::before{content:"☀"}
.titmv-modetoggle--block{width:100%;height:38px}
.titmv-modetoggle:hover{border-color:var(--titmv-accent)}

/* ---------- buttons ---------- */
.titmv-scope .titmv-btn{
  display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;
  padding:.7rem 1.1rem;border-radius:8px;font-size:.92rem;font-weight:600;
  text-decoration:none;border:1.5px solid var(--titmv-line);
  background:var(--titmv-surface-2);color:var(--titmv-text);
  transition:transform .14s ease,background .14s ease;
}
.titmv-scope .titmv-btn:hover{transform:translateY(-1px)}
.titmv-scope .titmv-btn--primary{background:var(--titmv-accent);border-color:var(--titmv-accent);color:#fff}
.titmv-scope a:focus-visible,.titmv-scope button:focus-visible,
.titmv-scope input:focus-visible,.titmv-scope select:focus-visible,.titmv-scope textarea:focus-visible{
  outline:3px solid var(--titmv-accent-alt);outline-offset:2px;
}

/* ---------- forms ---------- */
.titmv-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-bottom:1.1rem}
.titmv-field--wide{grid-column:1/-1}
.titmv-field label,.titmv-label{
  display:block;font-size:.82rem;font-weight:600;margin-bottom:.35rem;color:var(--titmv-text);
}
.titmv-scope input[type=text],.titmv-scope input[type=email],.titmv-scope input[type=tel],
.titmv-scope input[type=url],.titmv-scope input[type=number],.titmv-scope input[type=file],
.titmv-scope input[type=password],.titmv-scope input[type=search],.titmv-scope input[type=date],
.titmv-scope select,.titmv-scope textarea{
  width:100%;padding:.65rem .75rem;border-radius:8px;font-size:.95rem;font-family:inherit;line-height:1.4;
  border:1.5px solid var(--titmv-line);background:var(--titmv-bg);color:var(--titmv-text);
}
.titmv-scope textarea{resize:vertical}
.titmv-inline{display:flex;gap:.5rem;flex-wrap:wrap}
.titmv-inline input{flex:1 1 180px}
.titmv-check{font-weight:400;font-size:.9rem}
.titmv-hp{position:absolute;left:-9999px;height:0;overflow:hidden}

/* ---------- notices ---------- */
.titmv-notice{border-radius:10px;padding:.85rem 1rem;margin:0 0 1rem;border-left:4px solid var(--titmv-line);background:var(--titmv-surface-2)}
.titmv-notice p{margin:0}
.titmv-notice--ok{border-left-color:var(--titmv-ok)}
.titmv-notice--warn{border-left-color:var(--titmv-warn)}
.titmv-notice--error{border-left-color:var(--titmv-error)}
.titmv-notice--info{border-left-color:var(--titmv-accent-alt)}

.titmv-empty{
  border:1.5px dashed var(--titmv-line);border-radius:10px;padding:1.5rem;
  text-align:center;color:var(--titmv-muted);
}

/* ---------- stats ---------- */
.titmv-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem;margin-bottom:1.25rem}
.titmv-stat{background:var(--titmv-surface-2);border:1px solid var(--titmv-line);border-radius:10px;padding:.9rem}
.titmv-stat span{display:block;font-family:var(--titmv-mono);font-size:.63rem;letter-spacing:.13em;text-transform:uppercase;color:var(--titmv-muted);margin-bottom:.3rem}
.titmv-stat strong{font-size:1.3rem;line-height:1}

/* ---------- orders ---------- */
.titmv-orders{display:grid;gap:.9rem}
.titmv-order,.titmv-job,.titmv-panel{
  background:var(--titmv-surface-2);border:1px solid var(--titmv-line);
  border-radius:12px;padding:1.1rem;box-shadow:var(--titmv-shadow);
}
.titmv-order__head,.titmv-job__head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.75rem}
.titmv-order__body{display:grid;grid-template-columns:1.2fr 1fr;gap:1rem}
.titmv-lines{list-style:none;margin:0;padding:0;font-size:.9rem}
.titmv-lines li{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;border-bottom:1px solid var(--titmv-line)}
.titmv-order__meta p{margin:0 0 .5rem;font-size:.9rem}
.titmv-order__actions{margin-top:1rem;padding-top:1rem;border-top:1.5px dashed var(--titmv-line)}

.titmv-choice{display:grid;gap:.5rem;margin-bottom:.9rem}
.titmv-choice label{
  display:flex;gap:.7rem;align-items:flex-start;padding:.8rem;cursor:pointer;
  border:1.5px solid var(--titmv-line);border-radius:10px;background:var(--titmv-surface);
}
.titmv-choice label:hover{border-color:var(--titmv-accent)}
.titmv-choice strong{display:block;font-size:.92rem}
.titmv-choice em{font-style:normal;font-size:.82rem;color:var(--titmv-muted)}
.titmv-choice input{margin-top:.25rem}

.titmv-badge{
  font-family:var(--titmv-mono);font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;
  padding:.3rem .55rem;border-radius:99px;background:var(--titmv-surface);border:1px solid var(--titmv-line);
}
.titmv-badge--delivered,.titmv-badge--paid,.titmv-badge--publish{color:#fff;background:var(--titmv-ok);border-color:transparent}
.titmv-badge--awaiting_vendor,.titmv-badge--due,.titmv-badge--pending{color:#fff;background:var(--titmv-warn);border-color:transparent}
.titmv-badge--failed{color:#fff;background:var(--titmv-error);border-color:transparent}

.titmv-filters{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1rem}
.titmv-chip{
  font-size:.8rem;padding:.35rem .7rem;border-radius:99px;text-decoration:none;
  border:1px solid var(--titmv-line);color:var(--titmv-muted);
}
.titmv-chip.is-active{background:var(--titmv-accent);border-color:var(--titmv-accent);color:#fff}

/* ---------- code entry ---------- */
.titmv-codeform{margin-top:.9rem}
.titmv-codeinput{
  font-family:var(--titmv-mono);font-size:1.3rem;letter-spacing:.35em;text-transform:uppercase;text-align:center;
}
.titmv-ref{font-family:var(--titmv-mono);font-size:1.2rem;letter-spacing:.14em}

/* buyer-facing code panel (checkout / my account) */
.titmv-codepanel{
  border:2px solid var(--titmv-text);border-radius:14px;padding:1.2rem;margin:1.2rem 0;
  background:var(--titmv-surface);text-align:center;
}
.titmv-codepanel__label{
  margin:0 0 .6rem;font-family:var(--titmv-mono);font-size:.66rem;
  letter-spacing:.18em;text-transform:uppercase;color:var(--titmv-muted);
}
.titmv-codepanel__row{margin-bottom:.6rem}
.titmv-codepanel__store{display:block;font-size:.8rem;color:var(--titmv-muted)}
.titmv-codepanel__code{font-family:var(--titmv-mono);font-size:2rem;letter-spacing:.28em}

/* ---------- tables ---------- */
.titmv-table{width:100%;border-collapse:collapse;font-size:.9rem}
.titmv-table th{
  text-align:left;font-family:var(--titmv-mono);font-size:.65rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--titmv-muted);padding:.5rem .4rem;border-bottom:1.5px solid var(--titmv-line);
}
.titmv-table td{padding:.65rem .4rem;border-bottom:1px solid var(--titmv-line);vertical-align:top}

/* ---------- plans ---------- */
.titmv-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.8rem;margin-bottom:1.2rem}
.titmv-plan{display:block;cursor:pointer}
.titmv-plan input{position:absolute;opacity:0}
.titmv-plan__body{
  display:block;padding:1.1rem;border-radius:12px;height:100%;
  border:1.5px solid var(--titmv-line);background:var(--titmv-surface);
}
.titmv-plan input:checked + .titmv-plan__body{border-color:var(--titmv-accent);box-shadow:0 0 0 3px rgba(12,124,75,.15)}
.titmv-plan__price{display:block;font-size:1.35rem;font-weight:700;margin:.3rem 0}
.titmv-plan__price em{font-style:normal;font-size:.75rem;font-weight:400;color:var(--titmv-muted);margin-left:.3rem}
.titmv-plan__features{display:block;margin-top:.6rem;font-size:.85rem}
.titmv-plan__features span{display:block;padding-left:1rem;position:relative;color:var(--titmv-muted)}
.titmv-plan__features span::before{content:"✓";position:absolute;left:0;color:var(--titmv-accent)}

/* ---------- responsive ---------- */
@media (max-width:860px){
  .titmv-shell{grid-template-columns:1fr;padding:.9rem}
  .titmv-side{position:static}
  .titmv-nav{flex-direction:row;flex-wrap:wrap}
  .titmv-nav__item{border-left:0;border-bottom:3px solid transparent}
  .titmv-nav__item.is-active{border-left:0;border-bottom-color:var(--titmv-accent-alt)}
  .titmv-order__body{grid-template-columns:1fr}
  .titmv-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .titmv-scope *{transition:none!important;animation:none!important}
}

/* withdrawal states */
.titmv-badge--approved{color:#fff;background:var(--titmv-accent);border-color:transparent}
.titmv-badge--rejected{color:#fff;background:var(--titmv-error);border-color:transparent}

/* Frontend product manager: quick edits, small buttons, gallery. */
.titmv-inline-form{display:inline-flex;gap:.35rem;align-items:center;flex-wrap:wrap;margin:0}
.titmv-inline-form input[type=number]{width:6.5rem;padding:.35rem .5rem}
.titmv-btn--small{padding:.35rem .6rem;font-size:.8rem}
.titmv-btn--danger{background:#b3261e;color:#fff;border-color:#b3261e}
.titmv-gallery{display:flex;gap:.75rem;flex-wrap:wrap;margin:.5rem 0}
.titmv-gallery img{display:block;border-radius:.5rem}
.titmv-table td form{margin-top:.25rem}

/* ---------- inline listing editor ---------- */
.titmv-listings{display:grid;gap:1rem;margin-top:.75rem}
.titmv-listing{
  display:flex;gap:1rem;flex-wrap:wrap;align-items:flex-start;
  background:var(--titmv-surface);border:1px solid var(--titmv-line);
  border-radius:var(--titmv-radius);box-shadow:var(--titmv-shadow);padding:1rem
}
.titmv-listing__form{display:flex;gap:1rem;flex-wrap:wrap;flex:1 1 420px;margin:0}
.titmv-listing__media{display:flex;flex-direction:column;gap:.4rem;width:150px}
.titmv-listing__media img{border-radius:var(--titmv-radius);max-width:100%;height:auto}
.titmv-listing__media input[type=file]{font-size:.75rem;max-width:100%}
.titmv-listing__fields{
  flex:1 1 320px;display:grid;gap:.6rem;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))
}
.titmv-listing__fields .titmv-field--wide{grid-column:1/-1}
.titmv-listing__actions{display:flex;gap:.75rem;align-items:center}

/* ---------- sold by ---------- */
.titmv-soldby{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap;margin:.4rem 0;font-size:.9rem}
.titmv-soldby--small{font-size:.8rem;margin:.2rem 0}
.titmv-soldby__label{color:var(--titmv-muted)}
.titmv-soldby__link{font-weight:600;color:var(--titmv-accent);text-decoration:none}
.titmv-soldby__link:hover{text-decoration:underline}
.titmv-soldby__more{margin-left:auto;font-size:.8rem;text-decoration:underline;color:var(--titmv-muted)}

/* ---------- ratings ---------- */
.titmv-stars{display:inline-flex;gap:1px;line-height:1}
.titmv-rating-badge{display:inline-flex;gap:.35rem;align-items:center}
.titmv-rating-count{font-size:.8rem;color:var(--titmv-muted)}
.titmv-rating-link{text-decoration:none}
.titmv-reviews{list-style:none;margin:0;padding:0;display:grid;gap:.85rem}
.titmv-review{border-bottom:1px solid var(--titmv-line);padding-bottom:.75rem}
.titmv-review strong{display:block}
.titmv-rating-form{margin-top:1rem;display:grid;gap:.6rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.titmv-rating-form .titmv-field--wide,.titmv-rating-form button,.titmv-rating-form p{grid-column:1/-1}

/* ---------- public store page ---------- */
.titmv-store{max-width:1100px;margin:0 auto;padding:1.5rem 1rem}
.titmv-store__head{display:flex;gap:1rem;align-items:center;margin-bottom:1.5rem}
.titmv-store__rating{display:flex;gap:.5rem;align-items:center;margin:.25rem 0}
.titmv-avatar--lg{width:64px;height:64px;font-size:1.6rem}
.titmv-store__grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.titmv-product{padding:.75rem;display:flex;flex-direction:column;gap:.4rem}
.titmv-product img{width:100%;height:auto;border-radius:var(--titmv-radius)}
.titmv-product a{text-decoration:none;color:inherit}
.titmv-product__title{font-size:.95rem;margin:.4rem 0 0}
.titmv-product__price{font-weight:600}
.titmv-store__pager{margin:1.25rem 0;display:flex;gap:.4rem;flex-wrap:wrap}
.titmv-store__reviews{margin-top:2rem}
.titmv-card{background:var(--titmv-surface);border:1px solid var(--titmv-line);border-radius:var(--titmv-radius);box-shadow:var(--titmv-shadow)}
.titmv-lead{font-size:1.05rem;color:var(--titmv-muted);margin:0 0 .75rem}

.titmv-tier{display:inline-block;padding:.1rem .5rem;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;vertical-align:middle}
.titmv-tier-note{font-size:.8rem;opacity:.8}

/* Vendor dashboard product search */
.titmv-product-search {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 14px;
}
.titmv-product-search input[type="search"] {
	flex: 1 1 260px;
	min-width: 200px;
	padding: 9px 12px;
	border: 1px solid var(--titmv-border, #d9dee5);
	border-radius: 8px;
	font: inherit;
}


/* ---------- combined dashboard + registration chooser ---------- */
.titmv-roleswitch{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 auto 14px;max-width:1080px;padding:10px 14px;border:1px solid var(--titmv-line,#e5e5e5);border-radius:12px}
.titmv-choose{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.titmv-choose__card{display:flex;flex-direction:column;gap:10px;padding:22px;text-decoration:none;border-radius:14px;transition:transform .15s ease,box-shadow .15s ease}
.titmv-choose__card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.12)}
.titmv-choose__card .titmv-plan__name{font-size:19px;font-weight:700}

/* =====================================================================
   Marketplace shopfront: category sliders, product flags, delivery
   promises, contact cards and plan-gated shop links.
   ===================================================================== */

/* --- expected delivery --------------------------------------------- */
.titmv-eta {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13px; font-weight: 600; color: #1f7a5a;
	margin: 6px 0;
}
.titmv-eta--small { font-size: 12px; font-weight: 500; }
.titmv-eta__dot {
	width: 8px; height: 8px; border-radius: 50%; background: #1f7a5a;
	box-shadow: 0 0 0 3px rgba(31, 122, 90, .15);
}

/* --- new / sale flags on the main product image --------------------- */
.titmv-media, .titmv-product__media { position: relative; display: block; overflow: hidden; border-radius: 4px; }
.titmv-flags {
	position: absolute; top: 0; left: 0; z-index: 3;
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	pointer-events: none;
}
.titmv-flag {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 8px; border-radius: 3px;
	font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.1;
	color: #fff; text-transform: uppercase;
}
.titmv-flag svg { width: 13px; height: 13px; fill: currentColor; }
.titmv-flag--new { background: #1f7a5a; margin: 8px 0 0 8px; }
.titmv-flag--tag {
	background: #4ade80; padding: 5px 9px 5px 7px;
	border-radius: 0 0 6px 0; transform: none;
}
.titmv-flag--tag .titmv-flag__word { font-size: 10px; letter-spacing: .06em; }
.titmv-flag--off {
	background: #166534; margin-left: 8px; padding: 5px 8px;
	flex-direction: column; align-items: flex-start; gap: 0; border-radius: 3px;
}
.titmv-flag--off .titmv-flag__up { font-size: 9px; opacity: .9; }
.titmv-flag--off .titmv-flag__pc { font-size: 14px; font-weight: 800; }
.titmv-flag--off .titmv-flag__off { font-size: 9px; letter-spacing: .08em; }

/* --- sliding category rows ------------------------------------------ */
.titmv-catrow { margin: 0 0 34px; position: relative; }
.titmv-catrow__head {
	display: flex; justify-content: space-between; align-items: flex-end;
	gap: 14px; flex-wrap: wrap; margin-bottom: 10px;
}
.titmv-catrow__tools { display: flex; gap: 8px; align-items: center; }
.titmv-slidebtn {
	width: 34px; height: 34px; border-radius: 50%;
	border: 1px solid var(--titmv-border, #dde3e8); background: #fff; color: inherit;
	font-size: 20px; line-height: 1; cursor: pointer;
}
.titmv-slidebtn:hover { border-color: var(--titmv-accent, #1f7a5a); }
.titmv-slidebtn[disabled] { opacity: .35; cursor: default; }
.titmv-slider {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 7px);
	gap: 14px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
	padding-bottom: 6px; scrollbar-width: thin;
}
.titmv-slider > * { scroll-snap-align: start; }

.titmv-catall { margin-top: 18px; }
.titmv-catall[hidden] { display: none; }

/* --- who may open a shop -------------------------------------------- */
.titmv-soldby__link--open { color: #1f7a5a; font-weight: 600; text-decoration: none; }
.titmv-soldby__link--open:hover { text-decoration: underline; }
.titmv-soldby__link--closed { color: #c0392b; font-weight: 600; cursor: default; }
.titmv-soldby__more--open {
	display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
	background: rgba(31, 122, 90, .12); color: #1f7a5a; font-size: 12px; text-decoration: none;
}
.titmv-access {
	display: inline-block; padding: 4px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 700;
}
.titmv-access--on { background: rgba(31, 122, 90, .12); color: #1f7a5a; }
.titmv-access--off { background: rgba(192, 57, 43, .12); color: #c0392b; }

/* --- published contact details -------------------------------------- */
.titmv-contactcard {
	border: 1px solid var(--titmv-border, #dde3e8); border-radius: 12px;
	padding: 16px 18px; margin: 0 0 22px;
}
.titmv-contactlist { list-style: none; margin: 0; padding: 0; }
.titmv-contactlist li { display: flex; gap: 10px; padding: 5px 0; font-size: 14px; }
.titmv-contactlist span { min-width: 76px; opacity: .7; }

/* --- charts inside the dashboard ------------------------------------ */
.titmv-piewrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.titmv-chart { width: 100%; height: auto; }
.titmv-chart--pie { max-width: 220px; }
.titmv-legend { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.titmv-legend li { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.titmv-legend__dot { width: 12px; height: 12px; border-radius: 3px; }


/* ---------------------------------------------------------------------
   Storefront sizing: two products per line on phones, a comfortable
   multi-column grid on desktop, and no oversized theme page heading.
   --------------------------------------------------------------------- */

/* the theme's giant page title is redundant on a store page */
body.titmv-store-page .entry-title,
body.titmv-store-page .page-title,
body.titmv-store-page .woocommerce-products-header__title,
body.titmv-store-page header.entry-header,
body.titmv-store-page .page-header { display: none !important; }

.titmv-store { max-width: 1240px; }
.titmv-store__head { align-items: center; gap: 12px; margin-bottom: 18px; }
.titmv-store__ident { min-width: 0; }
.titmv-store__name { font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.25; }
.titmv-avatar--lg { width: 46px; height: 46px; font-size: 1.15rem; flex: 0 0 auto; }

/* product tiles */
.titmv-product { padding: 12px; gap: .3rem; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.10); border: 0; }
.titmv-product__media img { padding: 6px; }
.titmv-product__media img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.titmv-scope .titmv-product__title {
	font-size: 14px; font-weight: 600; line-height: 1.3; margin: 2px 0 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}
.titmv-product__price {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
	font-size: 17px; font-weight: 700; margin-top: 2px;
}
.titmv-product__price .titmv-price__from { font-size: 12px; font-weight: 700; }
.titmv-product__price .titmv-price__now .amount { font-size: 17px; font-weight: 700; }
.titmv-product__price del.titmv-price__was {
	font-size: 13px; font-weight: 400; color: #8a9199; text-decoration: line-through;
}
.titmv-price__info {
	display: inline-flex; align-items: center; justify-content: center;
	width: 14px; height: 14px; border-radius: 50%; border: 1px solid #b6bcc3;
	font-size: 10px; font-style: italic; font-weight: 700; color: #8a9199;
}
.titmv-product__rating { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.titmv-product__star { color: #f2b705; font-size: 14px; line-height: 1; }
.titmv-product__avg { font-weight: 600; }
.titmv-product__votes { color: #8a9199; }
.titmv-product__colours { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4a5158; }
.titmv-product__wheel {
	width: 14px; height: 14px; border-radius: 50%;
	background: conic-gradient(#e94b4b, #f2b705, #4caf50, #4f9ce8, #9b59b6, #e94b4b);
}
.titmv-product__low { font-size: 13px; font-weight: 700; color: #d0021b; }
.titmv-product__actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.titmv-product__cart { flex: 1 1 auto; text-align: center; white-space: nowrap; padding: 8px 10px; font-size: 13px; }
.titmv-wishlist {
	flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
	border: 1px solid var(--titmv-border, #dde3e8); background: #fff; font-size: 16px; line-height: 1;
}
.titmv-wishlist:hover { border-color: #c0392b; color: #c0392b; }
.titmv-wishlist.is-on { border-color: #c0392b; color: #c0392b; }

/* category rows */
.titmv-catalog { max-width: 1240px; margin: 0 auto; }
.titmv-slider { gap: 14px; }
@media (min-width: 640px)  { .titmv-slider { grid-auto-columns: calc(33.333% - 10px); } .titmv-store__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px)  { .titmv-slider { grid-auto-columns: calc(25% - 11px); }    .titmv-store__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .titmv-slider { grid-auto-columns: calc(20% - 12px); }    .titmv-store__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.titmv-scope .titmv-catrow__head .titmv-h3 { font-size: 1.15rem; margin: 0; }

/* marketplace-style row: cards float on a light band, arrows sit on the edges */
.titmv-catrow__tools .titmv-slidebtn {
	position: absolute; top: 42%; z-index: 4; width: 38px; height: 38px;
	background: #cfd6dc; border: 0; color: #fff; font-size: 22px;
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.titmv-catrow__tools .titmv-slidebtn[data-titmv-slide="prev"] { left: -8px; }
.titmv-catrow__tools .titmv-slidebtn[data-titmv-slide="next"] { right: -8px; }
.titmv-catrow__tools .titmv-slidebtn:hover { background: #9aa4ad; }
.titmv-slider { padding: 4px 2px 10px; scroll-snap-type: none; }
.titmv-scope .titmv-product__title { min-height: 2.6em; font-weight: 400; }

/* ---------------------------------------------------------------------
   Desktop tile sizing fix (1.6.4)
   Cards were collapsing into narrow, tall slivers on desktop because the
   slider tracks were sized from percentages that could not resolve inside
   some theme containers. The rows are now flex based with hard minimum
   card widths, so a tile can never be squeezed.
   --------------------------------------------------------------------- */
.titmv-catalog,
.titmv-store { width: 100%; box-sizing: border-box; }

.titmv-slider {
	display: flex !important;
	flex-flow: row nowrap;
	align-items: stretch;
	width: 100%;
	grid-auto-flow: unset;
	grid-auto-columns: unset;
	grid-template-columns: none;
	overflow-x: auto;
	gap: 14px;
	scroll-snap-type: none;
}
.titmv-slider > * {
	flex: 0 0 auto;
	width: calc(50% - 7px);
	min-width: 155px;
	max-width: none;
	scroll-snap-align: none;
}
@media (min-width: 640px) {
	.titmv-slider > * { width: calc(33.333% - 10px); min-width: 185px; }
}
@media (min-width: 900px) {
	.titmv-slider > * { width: calc(25% - 11px); min-width: 200px; }
}
@media (min-width: 1200px) {
	.titmv-slider > * { width: calc(20% - 12px); min-width: 210px; }
}

/* full grids (store page + "view all") keep a real minimum tile width */
.titmv-store__grid {
	width: 100%;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 640px) { .titmv-store__grid { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); } }
@media (min-width: 900px) { .titmv-store__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

/* the tile itself */
.titmv-product {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	overflow: hidden;
}
/* Inside a slider the tile keeps the slider's widths (the rule above would
   otherwise stretch every tile to the full row). */
.titmv-slider > .titmv-product { width: calc(50% - 7px); min-width: 155px; }
@media (min-width: 640px) {
	.titmv-slider > .titmv-product { width: calc(33.333% - 10px); min-width: 185px; }
}
@media (min-width: 900px) {
	.titmv-slider > .titmv-product { width: calc(25% - 11px); min-width: 200px; }
}
@media (min-width: 1200px) {
	.titmv-slider > .titmv-product { width: calc(20% - 12px); min-width: 210px; }
}
.titmv-product__media { width: 100%; }
.titmv-product__media img,
.titmv-product img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.titmv-scope .titmv-product__title { white-space: normal; word-break: break-word; }
.titmv-product__price { white-space: nowrap; }
.titmv-product__actions { flex-wrap: nowrap; }
.titmv-product__cart { white-space: nowrap; }

/* ---------------------------------------------- shop directory & brands */
.titmv-vendorgrid,
.titmv-brandgrid {
	display: grid;
	grid-template-columns: repeat(var(--titmv-cols, 6), minmax(0, 1fr));
	gap: 18px;
	margin: 16px 0;
}
@media (max-width: 900px) {
	.titmv-vendorgrid,
	.titmv-brandgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.titmv-vendorgrid,
	.titmv-brandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.titmv-vendorcard,
.titmv-brandcard {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	text-decoration: none;
	color: inherit;
}
.titmv-vendorcard:hover .titmv-circle,
.titmv-brandcard:hover .titmv-circle {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}
.titmv-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	flex: 0 0 auto;
	transition: transform .15s ease, box-shadow .15s ease;
}
.titmv-circle img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12%;
	box-sizing: border-box;
	display: block;
}
.titmv-circle__letter,
.titmv-circle--letter {
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--titmv-accent, #333);
}
.titmv-vendorcard__name,
.titmv-brandcard__name {
	font-weight: 600;
	font-size: .92rem;
	line-height: 1.25;
}

/* ==========================================================================
   1.8 — Product locations, trolley buttons, shop links, logos & driver photos
   ========================================================================== */

/* ---------- trolley icon on every buying button ----------------------------
   Our own tiles carry an inline SVG. Theme grids, the single product button
   and block-theme product buttons get the same icon through a CSS mask, so
   vendor and admin products look identical everywhere. */
.titmv-trolley-btn{display:inline-flex !important;align-items:center;justify-content:center;gap:.45em}
.titmv-trolley-btn .titmv-trolley-icon{flex:0 0 auto}
body.titmv-trolley-on .titmv-trolley:not(.titmv-trolley-btn)::before,
body.titmv-trolley-on .add_to_cart_button:not(.titmv-trolley-btn)::before,
body.titmv-trolley-on .single_add_to_cart_button::before,
body.titmv-trolley-on .wc-block-components-product-button__button::before{
  content:"";display:inline-block;width:1.15em;height:1.15em;margin-right:.45em;vertical-align:-.2em;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3a1 1 0 0 0 0 2h1.28l2.3 9.2A2.5 2.5 0 0 0 9 16.1h8.4a2.5 2.5 0 0 0 2.42-1.88l1.53-6A1 1 0 0 0 20.38 7H6.72l-.5-2.05A2.5 2.5 0 0 0 3.8 3H3zm4.22 6h12.9l-1.24 4.73a.5.5 0 0 1-.48.37H9a.5.5 0 0 1-.48-.38L7.22 9zM9 18a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm8 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3a1 1 0 0 0 0 2h1.28l2.3 9.2A2.5 2.5 0 0 0 9 16.1h8.4a2.5 2.5 0 0 0 2.42-1.88l1.53-6A1 1 0 0 0 20.38 7H6.72l-.5-2.05A2.5 2.5 0 0 0 3.8 3H3zm4.22 6h12.9l-1.24 4.73a.5.5 0 0 1-.48.37H9a.5.5 0 0 1-.48-.38L7.22 9zM9 18a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm8 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.titmv-trolley-on .single_add_to_cart_button,
body.titmv-trolley-on .add_to_cart_button{display:inline-flex;align-items:center;justify-content:center}
.titmv-trolley-btn.loading{opacity:.65;pointer-events:none}
.titmv-trolley-btn.added .titmv-trolley-btn__text::after{content:" \2713"}

/* ---------- location line ---------- */
.titmv-loc{display:inline-flex;align-items:center;gap:.3em;font-size:.85rem;line-height:1.3;color:var(--titmv-muted,#5b6159);text-decoration:none;max-width:100%}
.titmv-loc span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.titmv-loc__pin{flex:0 0 auto;color:var(--titmv-accent,#0C7C4B)}
.titmv-loc--small{font-size:.78rem;margin:.15rem 0}
a.titmv-loc:hover span{text-decoration:underline}
.titmv-loc-wrap{margin:.2rem 0}
.titmv-loc-wrap--single{margin:.35rem 0 .6rem}
.titmv-loc-wrap--single .titmv-loc{font-size:.95rem;padding:.3rem .65rem;border-radius:999px;background:var(--titmv-surface-2,#F1F3EE);color:var(--titmv-text,#10150F)}

/* ---------- location search bar ---------- */
.titmv-locsearch{margin:0 0 1.25rem}
.titmv-locsearch__form{
  display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) minmax(0,1fr) auto;gap:.5rem;
  padding:.5rem;border-radius:14px;background:var(--titmv-surface,#fff);border:1px solid var(--titmv-line,rgba(0,0,0,.12));
  box-shadow:var(--titmv-shadow,0 8px 24px rgba(0,0,0,.05))
}
.titmv-locsearch__field{display:flex;align-items:center;gap:.4rem;padding:0 .65rem;border-radius:10px;background:var(--titmv-surface-2,#F1F3EE);color:var(--titmv-muted,#5b6159);min-width:0}
.titmv-locsearch__field input,.titmv-locsearch__field select{
  border:0 !important;background:transparent !important;box-shadow:none !important;outline:0;width:100%;min-width:0;
  padding:.7rem 0 !important;font:inherit;color:var(--titmv-text,#10150F)
}
.titmv-locsearch__field:focus-within{outline:2px solid var(--titmv-accent,#0C7C4B);outline-offset:1px}
.titmv-locsearch .titmv-btn{border-radius:10px;padding:.7rem 1.2rem}
.titmv-locsearch__active{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin:.6rem 0 0;font-size:.9rem}
.titmv-locsearch__active a{font-weight:600;color:var(--titmv-accent,#0C7C4B)}
@media (max-width:760px){
  .titmv-locsearch__form{grid-template-columns:1fr 1fr}
  .titmv-locsearch__field--grow{grid-column:1/-1}
  .titmv-locsearch .titmv-btn{grid-column:1/-1}
}

/* ---------- town chips ---------- */
.titmv-cities__list{display:flex;flex-wrap:wrap;gap:.5rem}
.titmv-citychip{
  display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .8rem;border-radius:999px;text-decoration:none;
  background:var(--titmv-surface,#fff);border:1px solid var(--titmv-line,rgba(0,0,0,.12));color:var(--titmv-text,#10150F);font-weight:600;font-size:.9rem
}
.titmv-citychip em{font-style:normal;font-weight:500;font-size:.75rem;color:var(--titmv-muted,#5b6159)}
.titmv-citychip:hover{border-color:var(--titmv-accent,#0C7C4B)}

/* ---------- logos next to trading names ---------- */
.titmv-soldby__logo{width:26px;height:26px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid rgba(0,0,0,.1);flex:0 0 auto}
.titmv-soldby--small .titmv-soldby__logo{width:20px;height:20px}
.titmv-person{display:inline-flex;align-items:center;gap:.6rem;vertical-align:middle}
.titmv-person__text{display:flex;flex-direction:column;line-height:1.2}
.titmv-person__text em{font-style:normal;font-size:.78rem;color:var(--titmv-muted,#5b6159)}
.titmv-circle--photo img{object-fit:cover;padding:0}
.titmv-side__brand .titmv-circle{border-color:var(--titmv-line)}
.titmv-collect .titmv-circle{display:inline-flex;vertical-align:middle;margin:0 .2rem}
.titmv-logopick{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.titmv-logopick > div{display:flex;flex-direction:column;gap:.35rem}

/* ---------- driver header ---------- */
.titmv-driverhead{display:flex;align-items:center;gap:.9rem}
.titmv-driverhead .titmv-h2{margin:0}
.titmv-driverprofile summary{cursor:pointer;list-style:none}
.titmv-driverprofile summary::-webkit-details-marker{display:none}
.titmv-driverprofile summary::after{content:"\25BE";float:right;color:var(--titmv-muted)}
.titmv-driverprofile[open] summary{margin-bottom:.75rem}
.titmv-drivercard__row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.6rem 0;border-bottom:1px solid var(--titmv-line)}

/* ---------- store page (shop link) ---------- */
.titmv-store__hero{
  display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:1.1rem 1.25rem;border-radius:16px;
  background:var(--titmv-surface,#fff);border:1px solid var(--titmv-line,rgba(0,0,0,.12));box-shadow:var(--titmv-shadow)
}
.titmv-store__hero .titmv-store__ident{flex:1 1 240px;min-width:0}
.titmv-store__hero .titmv-store__name{font-size:1.45rem;font-weight:800;margin:0 0 .2rem;line-height:1.2}
.titmv-store__towns{display:flex;align-items:center;gap:.35rem;margin:.25rem 0 0;font-size:.88rem;color:var(--titmv-muted)}
.titmv-store__share{display:flex;gap:.5rem;flex-wrap:wrap}
.titmv-btn--wa{background:#25D366 !important;border-color:#25D366 !important;color:#fff !important}
.titmv-store__lock{display:flex;align-items:center;gap:.4rem;margin:.75rem 0 0}
.titmv-store__lock .titmv-trolley-icon{color:var(--titmv-accent)}
.titmv-store__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:1.5rem 0 1rem}
.titmv-store__bar .titmv-h3{margin:0}
.titmv-store__search{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.titmv-store__search input[type=search],.titmv-store__search select{min-width:180px;padding:.55rem .75rem;border-radius:10px;border:1px solid var(--titmv-line);background:var(--titmv-surface);color:var(--titmv-text)}

/* ---------- vendor share box ---------- */
.titmv-sharebox{margin:1rem 0;padding:1rem;border-radius:12px;background:var(--titmv-surface-2);border:1px dashed var(--titmv-line)}
.titmv-sharebox .titmv-inline{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.titmv-sharebox input[readonly]{flex:1 1 260px;font-family:var(--titmv-mono);font-size:.85rem}
.titmv-fieldset-title{border-top:1px solid var(--titmv-line);padding-top:.9rem;margin-top:.25rem}
.titmv-fieldset-title .titmv-label{display:flex;align-items:center;gap:.35rem;margin:0}

/* ---------- floating trolley + "you're in this shop" dock ---------- */
.titmv-dock{
  position:fixed;left:0;right:0;bottom:0;z-index:9990;pointer-events:none;
  display:flex;align-items:flex-end;justify-content:flex-end;gap:.75rem;padding:0 1rem calc(1rem + env(safe-area-inset-bottom,0px));
  background:transparent !important;border:0 !important
}
.titmv-dock > *{pointer-events:auto}
.titmv-dock--shop{justify-content:space-between}
.titmv-dock__shop{
  display:flex;align-items:center;gap:.65rem;padding:.5rem .6rem .5rem .5rem;border-radius:999px;max-width:min(560px,calc(100vw - 9rem));
  background:var(--titmv-surface,#fff);color:var(--titmv-text);border:1px solid var(--titmv-line);box-shadow:0 10px 30px rgba(0,0,0,.18)
}
.titmv-dock__text{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.titmv-dock__text em{font-style:normal;font-size:.72rem;color:var(--titmv-muted)}
.titmv-dock__text a{font-weight:700;color:var(--titmv-text);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.titmv-dock__leave{margin-left:.25rem;font-size:.78rem;font-weight:600;padding:.4rem .7rem;border-radius:999px;background:var(--titmv-surface-2);color:var(--titmv-text);text-decoration:none;white-space:nowrap}
.titmv-fab{
  position:relative;display:inline-flex;align-items:center;gap:.5rem;padding:.8rem 1.1rem;border-radius:999px;text-decoration:none !important;
  background:var(--titmv-accent,#0C7C4B);color:#fff !important;font-weight:700;box-shadow:0 10px 30px rgba(0,0,0,.25);transition:transform .15s ease
}
.titmv-fab:hover{transform:translateY(-2px)}
.titmv-fab__count{
  min-width:1.45rem;height:1.45rem;padding:0 .35rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  background:var(--titmv-accent-alt,#F5B301);color:#10150F;font-size:.78rem;font-weight:800
}
.titmv-fab__count.is-empty{background:rgba(255,255,255,.25);color:#fff}
body.titmv-in-shop{padding-bottom:5rem}
@media (max-width:600px){
  .titmv-fab__label{display:none}
  .titmv-dock__leave{display:none}
  .titmv-dock__shop{max-width:calc(100vw - 7rem)}
}
@media print{.titmv-dock{display:none}}

/* ===================================================== 1.9.0 additions */

/* Storefront hero */
.titmv-sfhero{position:relative;border-radius:var(--titmv-radius,14px);overflow:hidden;margin:0 0 20px;background:var(--titmv-accent);color:#fff;background-size:cover;background-position:center;min-height:180px;display:flex;align-items:flex-end}
.titmv-sfhero.has-banner{min-height:300px}
.titmv-sfhero.has-banner::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 20%,rgba(0,0,0,.65))}
.titmv-sfhero__inner{position:relative;padding:28px;max-width:720px}
.titmv-sfhero__title{margin:0 0 6px;font-size:clamp(24px,4vw,40px);line-height:1.1;color:inherit}
.titmv-sfhero__tag{margin:0 0 14px;opacity:.92;font-size:16px}
.titmv-sfhero__actions{display:flex;gap:10px;flex-wrap:wrap}
.titmv-sfpreview{display:block;max-width:100%;height:auto;border-radius:10px;margin:6px 0}
.titmv-wafloat{position:fixed;left:18px;bottom:18px;z-index:9990;width:54px;height:54px;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.titmv-wafloat:hover{transform:translateY(-2px);color:#fff}

/* Plan perks */
.titmv-plan__perks{display:flex;flex-direction:column;gap:4px;margin:8px 0;font-size:14px}
.titmv-plan__perks span{color:var(--titmv-text)}

/* Drawer cart */
.titmv-drawer{position:fixed;inset:0;z-index:99999;pointer-events:none}
.titmv-drawer__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);opacity:0;transition:opacity .25s}
.titmv-drawer__panel{position:absolute;top:0;right:0;height:100%;width:min(420px,92vw);background:var(--titmv-surface,#fff);color:var(--titmv-text);box-shadow:none;transform:translateX(100%);transition:transform .3s ease,box-shadow .3s ease;display:flex;flex-direction:column}
.titmv-drawer.is-open{pointer-events:auto}
.titmv-drawer.is-open .titmv-drawer__backdrop{opacity:1}
/* The shadow only while open: on a closed drawer it peeks in at the right edge. */
.titmv-drawer.is-open .titmv-drawer__panel{transform:none;box-shadow:-12px 0 32px rgba(0,0,0,.2)}
.titmv-drawer__head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--titmv-line,#e5e5e5)}
.titmv-drawer__close{background:none;border:0;font-size:28px;line-height:1;cursor:pointer;color:inherit}
.titmv-drawer__body{flex:1;overflow:auto;padding:16px 18px}
.titmv-drawer__body .woocommerce-mini-cart{list-style:none;margin:0;padding:0}
.titmv-drawer__body .woocommerce-mini-cart-item{position:relative;display:flex;gap:10px;padding:10px 24px 10px 0;border-bottom:1px solid var(--titmv-line,#eee)}
.titmv-drawer__body .woocommerce-mini-cart-item img{width:56px;height:56px;object-fit:cover;border-radius:8px}
.titmv-drawer__body .remove{position:absolute;right:0;top:10px;text-decoration:none}
.titmv-drawer__body .woocommerce-mini-cart__total{display:flex;justify-content:space-between;font-weight:700;margin:16px 0}
.titmv-drawer__body .woocommerce-mini-cart__buttons{display:flex;flex-direction:column;gap:8px}
.titmv-drawer__body .woocommerce-mini-cart__buttons .button{display:block;text-align:center;padding:12px;border-radius:10px;background:var(--titmv-surface-2,#f1f3ee);color:var(--titmv-text);text-decoration:none}
.titmv-drawer__body .woocommerce-mini-cart__buttons .checkout{background:var(--titmv-accent);color:#fff}
html.titmv-drawer-lock{overflow:hidden}

/* Variant builder */
.titmv-varbuilder{margin-top:10px}
.titmv-varbuilder__attr{display:grid;grid-template-columns:1fr 2fr auto;gap:8px;margin-bottom:8px}
.titmv-varbuilder__matrix{margin-top:12px;overflow-x:auto}
.titmv-varmatrix input[type=number],.titmv-varmatrix input[type=text]{width:100%;min-width:70px}
.titmv-varpanel{margin:8px 0 16px;padding:10px 12px;border:1px dashed var(--titmv-line,#ddd);border-radius:10px}
.titmv-varpanel summary{cursor:pointer;font-weight:600}
@media (max-width:600px){.titmv-varbuilder__attr{grid-template-columns:1fr}}

/* 2.0.0 — Featured Seller badge */
.titmv-featured{display:inline-flex;align-items:center;gap:.3em;padding:.2em .6em;border-radius:999px;background:#f5b301;color:#1a1a1a;font-size:.8rem;font-weight:700;line-height:1.4;vertical-align:middle}
.titmv-featured svg{width:1em;height:1em;fill:currentColor}
.titmv-featured--small{font-size:.7rem;padding:.15em .5em}
.titmv-featured-list ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:1rem}
.titmv-featured-list li{display:flex;flex-direction:column;align-items:center;gap:.4rem;text-align:center}
.titmv-featured-list a{display:flex;flex-direction:column;align-items:center;gap:.4rem;text-decoration:none;color:inherit}
/* 2.0.0 — KYC block */
.titmv-kyc{border:1px solid currentColor;border-color:rgba(127,127,127,.3);border-radius:12px;padding:1rem 1.25rem;margin:1.25rem 0}
.titmv-kyc legend{padding:0 .4rem}
.titmv-kyc__types{display:flex;flex-wrap:wrap;gap:1rem}
.titmv-kyc__consent{margin-top:1rem}
.titmv-pager{display:flex;align-items:center;gap:1rem;justify-content:center;margin:1.5rem 0}

/* ===================================================== 2.1 near me */
.titmv-nearbtn{white-space:nowrap}
.titmv-scope .titmv-nearbtn svg{flex:none}
.titmv-scope .titmv-nearbtn.is-on{background:var(--titmv-accent-alt);border-color:var(--titmv-accent-alt);color:#10150F}
.titmv-scope .titmv-nearbtn.is-busy svg{animation:titmv-spin 1s linear infinite}
@keyframes titmv-spin{to{transform:rotate(360deg)}}
.titmv-nearmsg{flex-basis:100%;margin:.35rem 0 0;font-size:.82rem;color:var(--titmv-error,#C0392B)}
.titmv-nearmsg[hidden]{display:none}

.titmv-nearbar{
  display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;justify-content:space-between;
  margin:0 0 1.2rem;padding:.75rem 1rem;border-radius:12px;
  background:color-mix(in srgb,var(--titmv-accent) 9%,var(--titmv-surface));border:1px solid color-mix(in srgb,var(--titmv-accent) 25%,transparent);
}
.titmv-nearbar__text{margin:0;display:flex;align-items:center;gap:.55rem;font-weight:600;font-size:.92rem}
.titmv-nearbar__dot{width:10px;height:10px;border-radius:50%;background:var(--titmv-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--titmv-accent) 25%,transparent)}
.titmv-nearbar__chips{display:flex;flex-wrap:wrap;gap:.35rem}
.titmv-nearbar .titmv-chip{text-decoration:none}
.titmv-chip--off{opacity:.75}

.titmv-dist-wrap{margin:.15rem 0 .25rem}
.titmv-dist{
  display:inline-flex;align-items:center;gap:.3rem;font-size:.78rem;font-weight:650;line-height:1.2;
  color:var(--titmv-accent);background:color-mix(in srgb,var(--titmv-accent) 10%,transparent);
  padding:.18rem .5rem;border-radius:999px;
}
.titmv-dist[hidden]{display:none}
.titmv-dist--single{font-size:.88rem;padding:.3rem .7rem}

.titmv-nearblock{margin:1.5rem 0}
.titmv-nearblock__head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.titmv-nearblock__head .titmv-h3{margin:0 0 .75rem}
.titmv-nearblock__ask{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:.4rem;padding:1.6rem 1rem;
  border-radius:16px;border:1px dashed var(--titmv-line);background:var(--titmv-surface);
}
.titmv-nearblock__ask p{margin:0}
.titmv-nearblock__ask[hidden]{display:none}
.titmv-nearloading{text-align:center;padding:1rem}
.titmv-locsearch__form .titmv-nearbtn{flex:0 0 auto;width:auto;justify-self:start;align-self:center}

/* ==========================================================================
   3.2 — waybills and collection
   ========================================================================== */
.titmv-mono{font-family:var(--titmv-mono);letter-spacing:.04em}
.titmv-badge--ready,.titmv-badge--in_pool,.titmv-badge--assigned{color:#fff;background:var(--titmv-accent);border-color:transparent}
.titmv-badge--out_for_delivery{color:var(--titmv-text);background:var(--titmv-accent-alt);border-color:transparent}

.titmv-waybill{margin-top:.9rem;padding:.85rem .95rem;border:1px solid var(--titmv-line);border-radius:var(--titmv-radius);background:var(--titmv-surface)}
.titmv-waybill--todo{border:2px dashed var(--titmv-warn);background:color-mix(in srgb,var(--titmv-warn) 7%,var(--titmv-surface))}
.titmv-waybill--done{border-color:color-mix(in srgb,var(--titmv-ok) 45%,transparent);background:color-mix(in srgb,var(--titmv-ok) 6%,var(--titmv-surface))}
.titmv-waybill__head{display:flex;gap:.7rem;align-items:flex-start}
.titmv-waybill__icon{flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--titmv-surface-2);color:var(--titmv-text)}
.titmv-waybill--todo .titmv-waybill__icon{background:var(--titmv-warn);color:#fff}
.titmv-waybill--done .titmv-waybill__icon{background:var(--titmv-ok);color:#fff}
.titmv-waybill__text{min-width:0}
.titmv-waybill__text strong{display:block;font-size:.95rem}
.titmv-waybill__text > span{display:block;font-size:.85rem;color:var(--titmv-muted);line-height:1.45}
.titmv-waybill__must{color:var(--titmv-text)}
.titmv-waybill__btns{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}

.titmv-collect{margin-top:.9rem;padding-top:.85rem;border-top:1px solid var(--titmv-line)}
.titmv-waybill > .titmv-collect:first-child{margin-top:0;padding-top:0;border-top:0}
.titmv-collect .titmv-label{margin-bottom:.15rem}
.titmv-collect__scan{margin:.6rem 0}
.titmv-collect__scanbtn{display:inline-flex;align-items:center;gap:.45rem;font-size:1rem;padding:.7rem 1.1rem}
.titmv-collect__scanbtn[hidden]{display:none}
.titmv-collect__hint{margin:0;padding:.55rem .7rem;border-radius:8px;background:var(--titmv-surface-2)}
.titmv-collect__hint[hidden]{display:none}
.titmv-collect__type{flex-wrap:wrap}
.titmv-collect__type .titmv-codeinput{flex:1 1 12rem;min-width:0;font-size:1.05rem;letter-spacing:.18em}
.titmv-collect .titmv-codeinput::placeholder{letter-spacing:.08em;opacity:.5}

.titmv-scope .titmv-btn--big{padding:.95rem 1.2rem;font-size:1.05rem}
.titmv-collectpage__card{padding:1.1rem 1.2rem}
.titmv-collectpage__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem;margin:0 0 1rem}
.titmv-collectpage__facts dt{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--titmv-muted)}
.titmv-collectpage__facts dd{margin:.1rem 0 0;font-weight:600}
.titmv-collectpage__form p{margin:0 0 .7rem}
.titmv-collectpage__done{display:flex;gap:.7rem;align-items:center;margin:.2rem 0 1rem;padding:.8rem .9rem;border-radius:var(--titmv-radius);background:color-mix(in srgb,var(--titmv-ok) 10%,var(--titmv-surface));font-weight:600}
.titmv-collectpage__done span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--titmv-ok);color:#fff;font-weight:800}
.titmv-collectpage__done p{margin:0}
@media (max-width:520px){.titmv-collectpage__facts{grid-template-columns:minmax(0,1fr)}}

/* Camera scanner (built by scan.js). */
html.titmv-scanning{overflow:hidden}
.titmv-scanner{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1rem;background:rgba(6,10,8,.97);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.titmv-scanner[hidden]{display:none}
.titmv-scanner__box{position:relative;width:min(92vw,420px);aspect-ratio:3/4;border-radius:18px;overflow:hidden;background:#000}
.titmv-scanner__video{width:100%;height:100%;object-fit:cover}
.titmv-scanner__frame{position:absolute;inset:18% 12%;border:3px solid #fff;border-radius:14px;box-shadow:0 0 0 999px rgba(0,0,0,.35)}
.titmv-scanner__msg{max-width:420px;margin:0;text-align:center;font-size:.95rem;line-height:1.45}
.titmv-scanner__close{min-width:160px;background:#fff !important;color:#111 !important;border-color:#fff !important;border-radius:10px;padding:.7rem 1.1rem;font-weight:700;cursor:pointer}

/* ---------- 3.4: a shop's categories, with their pictures ---------- */
.titmv-scope .titmv-shopcats{margin:0 0 1rem}
.titmv-scope .titmv-shopcats ul{display:flex;gap:.75rem;margin:0;padding:0 0 .35rem;overflow-x:auto;list-style:none;scroll-snap-type:x proximity}
.titmv-scope .titmv-shopcats li{flex:none;margin:0;scroll-snap-align:start}
.titmv-scope .titmv-shopcats__tile{display:grid;justify-items:center;gap:.35rem;width:92px;color:var(--titmv-text);font-size:.8rem;font-weight:600;text-align:center;text-decoration:none}
.titmv-scope .titmv-shopcats__pic{display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border:2px solid transparent;border-radius:50%;background:var(--titmv-surface-2);color:var(--titmv-muted);font-size:1.3rem;font-weight:800}
.titmv-scope .titmv-shopcats__pic img{display:block;width:100%;height:100%;object-fit:cover}
.titmv-scope .titmv-shopcats__pic--all{font-size:.85rem}
.titmv-scope .titmv-shopcats__tile:hover .titmv-shopcats__pic,.titmv-scope .titmv-shopcats__tile.is-active .titmv-shopcats__pic{border-color:var(--titmv-accent)}
.titmv-scope .titmv-shopcats__name{line-height:1.2;overflow-wrap:anywhere}
