/* TLE Inventory 2026: everything is scoped to #tle-inv26 so the theme and
   every other page are untouched. Fonts: Montserrat, the site's own. */
#tle-inv26 {
  --gold: #C9A13B; --gold-hi: #F2D47E; --gold-lo: #A67C1E; --gold-text: #B8902E;
  --ink: #1C1C1E; --mute: #6E6E73; --line: #CFCFD4; --black: #0B0B0C;
  font-family: 'Montserrat', system-ui, sans-serif; color: var(--ink); background: #F4F4F6;
}
#tle-inv26 *, #tle-inv26 *::before, #tle-inv26 *::after { box-sizing: border-box; }
/* Divi gives p / h1-h3 their own padding and sizes: reset them here only. */
#tle-inv26 p, #tle-inv26 h1, #tle-inv26 h2, #tle-inv26 h3 { padding: 0; font-family: inherit; }
#tle-inv26 img { display: block; max-width: 100%; }
#tle-inv26 a { text-decoration: none; }
#tle-inv26 button { font: inherit; color: inherit; cursor: pointer; }
#tle-inv26 .inv-chev { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 6px; }
#tle-inv26 .inv-hatch { height: 8px; background: repeating-linear-gradient(-45deg, #d6d6da 0 2px, transparent 2px 7px); }

#tle-inv26 .inv-btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-width: 158px; padding: 7px 24px;
  border: 0; border-radius: 999px; background: linear-gradient(180deg, #D8B24A, #A77F1F); color: #1A1406;
  font-size: 15px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.18); transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
#tle-inv26 .inv-btn-gold b { font-weight: 800; }
#tle-inv26 .inv-btn-gold:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 5px 12px rgba(0,0,0,.22); }
#tle-inv26 .inv-btn-gold:disabled { opacity: .6; cursor: default; }

/* hero */
#tle-inv26 .inv-hero { position: relative; background: #111; overflow: hidden; }
#tle-inv26 .inv-hero__bg img { width: 100%; height: auto; aspect-ratio: 1920 / 781; object-fit: cover; }
#tle-inv26 .inv-hero__text { position: absolute; top: 22%; right: 5%; width: 46%; text-align: center; color: #fff; text-transform: uppercase; }
/* Text sizes and colours as the live /stocks/ page (measured 21 Nov 2026). */
#tle-inv26 .inv-hero__title { margin: 0 0 .3em; font-weight: 400; font-size: 60px; line-height: 1.1; color: #DAC585; }
#tle-inv26 .inv-hero__lead { margin: 0 auto .7em; max-width: 34em; font-weight: 700; font-size: 18px; line-height: 1.3; color: #E6E6E8; }
#tle-inv26 .inv-hero__body { margin: 0 auto; max-width: 34em; font-weight: 400; font-size: 18px; line-height: 1.3; color: #98989A; }

/* toolbar */
#tle-inv26 .inv-bar { background: linear-gradient(180deg, #F3F3F5, #E6E6E9); border-bottom: 1px solid #DADADF; }
#tle-inv26 .inv-bar__inner { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
#tle-inv26 .inv-brand { position: relative; justify-self: start; }
#tle-inv26 .inv-brand__btn, #tle-inv26 .inv-sort { font-size: 14px; font-weight: 700; text-transform: uppercase; }
#tle-inv26 .inv-brand__btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: #808184; }
#tle-inv26 .inv-i-watch { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
#tle-inv26 .inv-brand__menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 290px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); padding: 10px; }
#tle-inv26 .inv-brand__menu[hidden] { display: none; }
#tle-inv26 .inv-brand__menu input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: 500 13px 'Montserrat', sans-serif; outline: none; }
#tle-inv26 .inv-brand__menu input:focus { border-color: var(--gold); }
#tle-inv26 .inv-brand__list { max-height: 320px; overflow-y: auto; margin-top: 8px; }
#tle-inv26 .inv-brand__list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; color: var(--ink); }
#tle-inv26 .inv-brand__list a:hover, #tle-inv26 .inv-brand__list a[aria-current] { background: #F4F1E8; }
/* Typing a brand hides the others (the rows above are display:flex, which beat the hidden attribute). */
#tle-inv26 .inv-brand__list a[hidden], #tle-inv26 .inv-brand__list [hidden] { display: none !important; }
#tle-inv26 .inv-brand__list a span:last-child { color: var(--mute); font-weight: 500; }

#tle-inv26 .inv-tabs { display: inline-flex; padding: 3px; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: inset 0 1px 2px rgba(0,0,0,.06); }
#tle-inv26 .inv-tabs a { display: flex; align-items: center; justify-content: center; white-space: nowrap; min-width: 132px; padding: 5px 18px; border-radius: 999px; text-align: center; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--ink); transition: background .2s ease, color .2s ease; }
#tle-inv26 .inv-tabs a:hover { background: #F2F2F4; }
#tle-inv26 .inv-tabs a[aria-current] { color: #fff; background: linear-gradient(180deg, #5A5A5E, #2B2B2E); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 3px rgba(0,0,0,.25); }

#tle-inv26 .inv-sort { justify-self: end; display: flex; align-items: center; gap: 6px; margin: 0; }
#tle-inv26 .inv-sort label b { color: #B58C0B; font-weight: 700; }
#tle-inv26 .inv-sort__select { position: relative; display: inline-flex; align-items: center; color: var(--ink); }
#tle-inv26 .inv-sort select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
#tle-inv26 .inv-sort__select:focus-within { outline: 2px solid rgba(201,161,59,.5); outline-offset: 3px; border-radius: 4px; }

/* body */
#tle-inv26 .inv-body {
  padding: 30px 24px 56px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cg fill='none' stroke='%23d9d9de' stroke-width='60' opacity='.35'%3E%3Cpath d='M-80 470 230 160 540 470 230 780z'/%3E%3Cpath d='M900 380 1210 70 1520 380 1210 690z'/%3E%3C/g%3E%3C/svg%3E") center 40px / 1400px auto no-repeat,
    linear-gradient(180deg, #FAFAFB 0%, #ECECEF 60%, #E4E4E8 100%);
}
#tle-inv26 .inv-cards { max-width: 1192px; margin: 4px auto 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
#tle-inv26 .inv-card { position: relative; border-radius: 16px; padding: 28px 44px 54px; text-align: center; background: linear-gradient(180deg, #FFFFFF, #F1F1F3); box-shadow: 0 1px 0 #fff inset, 0 12px 26px -16px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.04); }
#tle-inv26 .inv-card::after { content: ''; position: absolute; right: 18px; bottom: 16px; width: 62%; height: 46px; opacity: .55; background: radial-gradient(circle, #C9C9CE 1.2px, transparent 1.6px) 0 0 / 22px 22px; -webkit-mask: linear-gradient(90deg, transparent, #000 40%); mask: linear-gradient(90deg, transparent, #000 40%); }
#tle-inv26 .inv-card__head { display: block; width: 100%; background: none; border: 0; padding: 0; cursor: default; }
#tle-inv26 .inv-card__icon { display: block; width: 62px; height: 62px; margin: 0 auto 10px; }
#tle-inv26 .inv-card__icon img { width: 100%; height: 100%; }
#tle-inv26 .inv-card__title { margin: 0 0 14px; font-weight: 700; font-size: 24px; letter-spacing: .06em; text-transform: uppercase; color: #121212; line-height: 1.2; }
#tle-inv26 .inv-card__text { margin: 0; text-align: left; font-size: 15px; line-height: 1.5; font-weight: 500; color: #231F20; }
#tle-inv26 .inv-card__toggle { display: none; }

#tle-inv26 .inv-count { text-align: center; margin: 0 0 22px; }
#tle-inv26 .inv-count > span { display: inline-block; padding: 5px 36px; border-radius: 15px; background: #E6E7E8; font-size: 15px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: #000; }
#tle-inv26 .inv-count b { font-weight: 800; }
#tle-inv26 .inv-active { text-align: center; margin: -10px 0 18px; font-size: 12.5px; color: var(--mute); }
#tle-inv26 .inv-active a, #tle-inv26 .inv-empty a { color: var(--gold-text); font-weight: 700; text-decoration: underline; margin-left: 6px; }
#tle-inv26 .inv-empty { text-align: center; color: var(--mute); }

#tle-inv26 .inv-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1192px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
#tle-inv26 .inv-item { position: relative; list-style: none; padding: 0; }
#tle-inv26 .inv-item > a { display: block; color: inherit; }
#tle-inv26 .inv-item__img { position: relative; aspect-ratio: 1; background: var(--black); border-left: 3px solid var(--gold-lo); overflow: hidden; }
#tle-inv26 .inv-item__img .inv-item__photo { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
#tle-inv26 .inv-item > a:hover .inv-item__photo { transform: scale(1.04); }
#tle-inv26 .inv-badge { position: absolute; bottom: 9px; width: 56px; height: 56px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
#tle-inv26 .inv-badge--left { left: 10px; } #tle-inv26 .inv-badge--right { right: 10px; }
#tle-inv26 .inv-item__brand { margin: 14px 0 2px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: #B58C0B; line-height: 1.3; }
#tle-inv26 .inv-item__brand span { display: block; }
#tle-inv26 .inv-item__name { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.2; color: #231F20; text-transform: none; }
#tle-inv26 .inv-item__price { margin: 8px 0 0; font-size: 18px; font-weight: 700; line-height: 1.2; color: #808184; }
#tle-inv26 .inv-item__price.is-ask { text-transform: uppercase; }
#tle-inv26 .inv-more { text-align: center; margin-top: 34px; }
/* "Add to Wishlist" (signed-in customers) as on the old /stocks/ cards:
   14px bold, near-black, on its own line under the price. */
#tle-inv26 .inv-item .tinvwl_add_to_wishlist_button { display: block; margin-top: 8px; font-family: 'Montserrat', system-ui, sans-serif; font-size: 14px; font-weight: 700; line-height: 16.8px; color: #231F20; text-transform: none; letter-spacing: normal; }
#tle-inv26 .inv-item .tinvwl_add_to_wishlist_button span { font: inherit; color: inherit; }

@media (max-width: 1100px) {
  #tle-inv26 .inv-grid { grid-template-columns: repeat(3, 1fr); gap: 34px 22px; }
  #tle-inv26 .inv-tabs a { min-width: 104px; padding: 5px 12px; }
  #tle-inv26 .inv-hero__title { font-size: 48px; }
  #tle-inv26 .inv-hero__lead, #tle-inv26 .inv-hero__body { font-size: 15px; }
  #tle-inv26 .inv-card { padding: 24px 28px 50px; }
}
@media (max-width: 767px) {
  #tle-inv26 .inv-hero__bg img { aspect-ratio: 992 / 1406; }
  #tle-inv26 .inv-hero__text { top: auto; bottom: 7%; left: 5%; right: 5%; width: auto; }
  #tle-inv26 .inv-hero__title { font-size: 47px; margin-bottom: .2em; }
  #tle-inv26 .inv-hero__lead { font-size: 14px; }
  #tle-inv26 .inv-hero__body { font-size: 13px; }
  #tle-inv26 .inv-bar__inner { grid-template-columns: 1fr 1fr; padding: 12px 16px; gap: 12px 10px; }
  #tle-inv26 .inv-tabs { grid-column: 1 / -1; grid-row: 1; width: 100%; }
  /* One line each, centred: "PRE-OWNED" used to wrap and stand taller than the rest. */
  #tle-inv26 .inv-tabs a { flex: 1 1 auto; min-width: 0; padding: 7px 8px; font-size: 12px; letter-spacing: 0; }
  #tle-inv26 .inv-brand, #tle-inv26 .inv-sort { grid-row: 2; }
  #tle-inv26 .inv-brand__btn, #tle-inv26 .inv-sort { font-size: 13px; }
  #tle-inv26 .inv-hide-sm { display: none; }
  #tle-inv26 .inv-brand__menu { width: min(300px, calc(100vw - 32px)); }
  #tle-inv26 .inv-body { padding: 22px 16px 44px; }
  #tle-inv26 .inv-cards { grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
  #tle-inv26 .inv-card { padding: 0; text-align: left; border-radius: 14px; }
  #tle-inv26 .inv-card::after { width: 70%; height: 30px; bottom: 10px; }
  #tle-inv26 .inv-card:not(.is-open)::after { display: none; }
  #tle-inv26 .inv-card__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; text-align: left; cursor: pointer; }
  #tle-inv26 .inv-card__icon { width: 48px; height: 48px; margin: 0; flex-shrink: 0; }
  #tle-inv26 .inv-card__title { margin: 0; font-size: 18px; line-height: 1.1; flex: 1; }
  #tle-inv26 .inv-card__toggle { display: block; width: 10px; height: 10px; border-right: 2px solid #9a9aa0; border-bottom: 2px solid #9a9aa0; transform: rotate(-45deg); transition: transform .2s ease; margin-right: 6px; }
  #tle-inv26 .inv-card.is-open .inv-card__toggle { transform: rotate(45deg); }
  #tle-inv26 .inv-card__text { display: none; padding: 0 18px 46px; font-size: 14px; }
  #tle-inv26 .inv-card.is-open .inv-card__text { display: block; }
  #tle-inv26 .inv-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  #tle-inv26 .inv-badge { width: 40px; height: 40px; bottom: 6px; }
  #tle-inv26 .inv-badge--left { left: 6px; } #tle-inv26 .inv-badge--right { right: 6px; }
  #tle-inv26 .inv-item__brand { font-size: 13px; margin-top: 10px; }
  #tle-inv26 .inv-item__name { font-size: 13px; }
  #tle-inv26 .inv-item__price { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { #tle-inv26 * { transition: none !important; } }
@media (max-width: 359px) {
  #tle-inv26 .inv-tabs a { padding: 7px 5px; font-size: 11px; }
}

/* iPhone zooms the whole page in when a text box under 16px is focused, and
   stays zoomed (the page then looks wider and slides sideways). Touch screens
   get 16px in the brand search box. */
@media (max-width: 1024px), (pointer: coarse) {
  #tle-inv26 .inv-brand__menu input { font-size: 16px; }
}
