/* Reference-inspired visual treatment for the local E preview only.
   Keep content, image assets, layout geometry and interaction rules in their
   existing files. This sheet changes presentation without changing the grids. */
/* Manrope: https://github.com/google/fonts/tree/main/ofl/manrope
   Unmodified variable font, distributed with Manrope-OFL.txt. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

html[data-font-choice="E"] {
  scrollbar-gutter: stable;
  --tf-ink: #24231f;
  --tf-navy: #24231f;
  --tf-muted: #65635c;
  --tf-line: #d9d6cd;
  --tf-silver: #efeee8;
  --tf-paper: #f5f4ee;
  --tf-product-background: linear-gradient(180deg, #fdfcf9 0%, #f5f3ed 48%, #eae7df 100%);
  --tf-serif: "Manrope", Arial, sans-serif;
  --study-display: "Manrope", Arial, sans-serif;
  --study-weight: 600;
  --tf-accent-hover: #45433d;
}

html[data-font-choice="E"] body {
  color: var(--tf-ink);
  background-color: var(--tf-paper);
}

/* A classic serif signature, centered in the compact reference-style header. */
html[data-font-choice="E"] :is(.tf-wordmark, .pd-end-logo, .cl-footer > a) {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: -.045em;
  color: #3b2a22;
}

/* Keep the words and existing line breaks; emphasize the key phrase. */
html[data-font-choice="E"] .tf-promo-keyword {
  color: var(--tf-navy);
}

html[data-font-choice="E"] :is(.tf-rail-heading h2, .cl-title h1, .pd-info h1) {
  color: var(--tf-navy);
}

html[data-font-choice="E"] .tf-catalog-split > .tf-rail:first-child .tf-rail-heading h2 {
  font-size: clamp(22px, 2vw, 28px);
}

html[data-font-choice="E"] :is(.cl-title h1, .cl-category h2, .pd-info h1, .pd-enquiry h2) {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 600;
}

html[data-font-choice="E"] :is(.tf-product h3, .cl-card h2) {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 500;
}

html[data-font-choice="E"] :is(.tf-text-link, .cl-title > a, .cl-results a, .pd-secondary) {
  color: var(--tf-navy);
  font-weight: 600;
}

html[data-font-choice="E"] .tf-panel-navy h2 {
  color: #fff;
}

html[data-font-choice="E"] .tf-utility {
  background: transparent;
  color: var(--tf-muted);
}

html[data-font-choice="E"] .tf-desktop-nav a::after {
  background: var(--tf-navy);
}

html[data-font-choice="E"] :is(.tf-search, .tf-contact-form input, .tf-contact-form textarea,
  .cl-tools, .cl-tools input, .cl-tools select, .cl-pagination a, .cl-empty,
  .pd-accordion, .pd-accordion details, .pd-end, .cl-footer, .pd-dialog-close, dialog) {
  border-color: var(--tf-line);
}

html[data-font-choice="E"] :is(.cl-tools input, .cl-tools select, .pd-dialog-close, dialog) {
  color: var(--tf-ink);
  background-color: var(--tf-paper);
}

html[data-font-choice="E"] :is(a, button, input, textarea, select, summary):focus-visible {
  outline-color: var(--tf-navy);
}

html[data-font-choice="E"] .tf-panel-navy
  :is(a, button):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* Neutral, flat surfaces keep the original promotional composition intact. */
html[data-font-choice="E"] :is(.tf-promo-hero, .tf-promo-carousel, .tf-promo-slide) {
  background: #eae7df;
}

html[data-font-choice="E"] .tf-promo-slide-1 {
  background: #eeece4;
}

html[data-font-choice="E"] .tf-promo-slide-2 {
  background: #e8e1d8;
}

html[data-font-choice="E"] .tf-promo-still-life::before {
  background: #d8d4c9;
  box-shadow: none;
}

html[data-font-choice="E"] .tf-promo-pack {
  filter: none;
}

html[data-font-choice="E"] :is(.tf-promo-eyebrow, .pd-eyebrow, .pd-magnify,
  .tf-text-link .tf-icon, .tf-category-title .tf-icon, .tf-mobile-menu summary span,
  .tf-faq summary span, .tf-support-details > summary span),
html[data-font-choice="E"] .pd-accordion summary::after {
  color: var(--tf-navy);
}

html[data-font-choice="E"] .tf-promo-arrow {
  background: var(--tf-paper);
  color: var(--tf-ink);
  border-color: var(--tf-line);
  border-radius: 0;
  box-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
}

html[data-font-choice="E"] .tf-promo-arrow:hover {
  color: #fff;
  background: var(--tf-navy);
  border-color: var(--tf-navy);
}

/* One softly lit surface for product imagery throughout the catalog. */
html[data-font-choice="E"] .tf-rail-navy {
  background: var(--tf-paper);
  color: var(--tf-ink);
}

html[data-font-choice="E"] .tf-product {
  border-color: transparent;
}

html[data-font-choice="E"] :is(.cl-category, .pd-source) {
  background: var(--tf-silver);
}

html[data-font-choice="E"] :is(.tf-product-image, .tf-category .tf-category-image, .cl-picture,
  .pd-stage, .pd-thumb, .pd-lightbox-stage) {
  background: var(--tf-product-background);
  isolation: isolate;
}

html[data-font-choice="E"] :is(.tf-product-image img, .tf-category-image img,
  .cl-picture img, .pd-main, .pd-thumb img, .pd-lightbox img) {
  display: block;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  /* Lift the catalog's near-white photo backdrops before blending the surface. */
  filter: brightness(1.05);
  transform: none;
}

html[data-font-choice="E"] .tf-category-image .tf-preview-packshot {
  mix-blend-mode: multiply;
}

html[data-font-choice="E"] :is(.tf-product-image img, .tf-category-image img, .cl-picture img) {
  width: 100%;
  height: 100%;
  padding: clamp(12px, 1.25vw, 20px);
  box-sizing: border-box;
}

html[data-font-choice="E"] .pd-lightbox-stage {
  padding: 16px;
}

html[data-font-choice="E"] :is(.tf-product .tf-price, .tf-product-vendor,
  .cl-title p, .cl-results, .cl-brand, .cl-price, .cl-empty p,
  .cl-category span, .cl-footer, .pd-gallery-label, .pd-muted,
  .pd-meta dt, .pd-accordion details > div, .pd-end) {
  color: var(--tf-muted);
}

/* Compact product captions and fine outlined actions, matching the reference. */
html[data-font-choice="E"] :is(.tf-product, .cl-card) {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

html[data-font-choice="E"] :is(.tf-product h3, .cl-card h2) {
  margin: 0;
  min-height: 0;
  color: #3b2a22;
  font: 600 11px/1.45 "Manrope", Arial, sans-serif;
  letter-spacing: .015em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

html[data-font-choice="E"] :is(.tf-product-vendor, .cl-brand) {
  margin: 3px 0 0;
  color: #78695e;
  font: 400 9px/1.4 "Manrope", Arial, sans-serif;
  letter-spacing: .025em;
}

html[data-font-choice="E"] .cl-brand { margin: 8px 0 5px; }

html[data-font-choice="E"] :is(.tf-product .tf-price, .cl-price) {
  margin: 0 0 3px;
  color: #78695e;
  font: 400 10px/1.5 "Manrope", Arial, sans-serif;
}

html[data-font-choice="E"] .cl-price { margin-top: 5px; }

html[data-font-choice="E"] .tf-product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 6px;
  width: 100%;
  margin-top: auto;
}

html[data-font-choice="E"] .tf-product-actions > :is(.tf-text-link, .cl-card-cta, .tf-buy-button) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 8px 4px;
  border: 1px solid #9a887b;
  border-radius: 0;
  background: transparent;
  color: #3b2a22;
  font: 500 9px/1.4 "Manrope", Arial, sans-serif;
  letter-spacing: .025em;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

html[data-font-choice="E"] .tf-product-actions > :is(.tf-text-link, .cl-card-cta):hover {
  border-color: #3b2a22;
  background: #eae5dd;
  text-decoration: none;
}

html[data-font-choice="E"] .tf-product-actions > .tf-buy-button {
  border-color: #3b2a22;
  background: #3b2a22;
  color: var(--tf-paper);
}

html[data-font-choice="E"] .tf-product-actions > .tf-buy-button:disabled {
  opacity: .65;
  cursor: not-allowed;
}

@media (max-width: 749px) {
  html[data-font-choice="E"] .tf-product-actions > :is(.tf-text-link, .cl-card-cta, .tf-buy-button) {
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-font-choice="E"] .tf-product-actions > :is(.tf-text-link, .cl-card-cta, .tf-buy-button) { transition: none; }
}

html[data-font-choice="E"] :is(.tf-button, .pd-cta, .cl-tools button, .cl-empty a,
  .cl-pagination [aria-current]) {
  background: var(--tf-navy);
  border-color: var(--tf-navy);
  color: #fff;
}

html[data-font-choice="E"] :is(.tf-button:hover, .pd-cta:not(:disabled):hover,
  .cl-tools button:hover, .cl-empty a:hover) {
  background: var(--tf-accent-hover);
  border-color: var(--tf-accent-hover);
}

html[data-font-choice="E"] .tf-panel-navy {
  background: var(--tf-navy);
  color: #fff;
}

html[data-font-choice="E"] .tf-panel .tf-button-light {
  background: transparent;
  border-color: #fff;
}

html[data-font-choice="E"] .tf-panel .tf-button-light:hover {
  background: var(--tf-accent-hover);
  border-color: #fff;
}

html[data-font-choice="E"] .pd-thumb[aria-pressed="true"] {
  border-color: var(--tf-navy);
}

html[data-font-choice="E"] .pd-status {
  color: var(--tf-navy);
  background: #e8e5db;
}

html[data-font-choice="E"] .pd-rule {
  background: var(--tf-line);
}

html[data-font-choice="E"] dialog::backdrop {
  background: #20202099;
}

html[data-font-choice="E"] :is(.pd-enquiry input, .pd-enquiry textarea) {
  border-color: var(--tf-line);
  background: var(--tf-silver);
  color: var(--tf-muted);
}

/* Header is the only existing layout being rearranged in this direction. */
html[data-font-choice="E"] .tf-header {
  background: var(--tf-paper);
}

html[data-font-choice="E"] .tf-header-main {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px 24px;
  padding: 16px 32px 12px;
}

html[data-font-choice="E"] .tf-header .tf-wordmark {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  font-size: clamp(34px, 3.5vw, 48px);
}

html[data-font-choice="E"] .tf-header-navrow {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-width: 0;
}

html[data-font-choice="E"] .tf-header .tf-desktop-nav {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  gap: clamp(24px, 3vw, 44px);
  min-height: 0;
  padding: 0;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

html[data-font-choice="E"] .tf-header-controls {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

html[data-font-choice="E"] .tf-header :is(.tf-desktop-nav a, .tf-mobile-menu nav a) {
  font-weight: 700;
}

html[data-font-choice="E"] .tf-header .tf-mobile-menu nav a {
  font-size: 17px;
}

html[data-font-choice="E"] .tf-header-locale {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  min-width: 0;
}

html[data-font-choice="E"] .tf-header .tf-locale {
  align-self: flex-start;
  position: relative;
  z-index: 10;
}

html[data-font-choice="E"] .tf-header .tf-utility {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  min-height: 34px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: #3b2a22;
  color: #f5f4ee;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
  cursor: pointer;
}

.tf-locale-chevron { transition: transform 160ms ease; }
[data-locale-toggle][aria-expanded="true"] .tf-locale-chevron { transform: rotate(180deg); }
.tf-locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: auto;
  left: 0;
  width: 220px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  border: 1px solid var(--tf-line);
  border-radius: 10px;
  background: var(--tf-paper);
  box-shadow: 0 8px 24px rgb(36 35 31 / 10%);
}
.tf-locale-menu[hidden] { display: none; }
.tf-locale-menu button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--tf-ink);
  font: 12px/1.4 "Manrope", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.tf-locale-menu button > span:last-child { font-size: 10px; color: var(--tf-muted); }
.tf-locale-menu button:hover { background: var(--tf-silver); }
.tf-locale-menu button[aria-pressed="true"] { background: #3b2a22; color: #f5f4ee; }
.tf-locale-menu button[aria-pressed="true"] > span:last-child { color: inherit; }
@media (prefers-reduced-motion: reduce) { .tf-locale-chevron { transition: none; } }

/* Give longer translations room without changing the product grids. */
@media (min-width: 750px) and (max-width: 1099px) {
  html[data-font-choice="E"]:not([lang="en"]) .tf-header .tf-desktop-nav { font-size: 14px; }
}
@media (max-width: 749px) {
  html[data-font-choice="E"]:not([lang="en"]) .tf-rail-heading {
    flex-wrap: wrap;
    gap: 2px 12px;
  }
  html[data-font-choice="E"][lang="es"] .tf-promo-slide-2 h1 { font-size: clamp(26px, 8.1vw, 46px); }
  html[data-font-choice="E"][lang="kk"] .tf-promo-slide-2 h1 { font-size: clamp(23px, 7.15vw, 44px); }
}

html[data-font-choice="E"] .tf-header-actions {
  gap: 16px;
}

html[data-font-choice="E"] .tf-header .tf-search {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: min(100%, 300px);
  height: 36px;
  background: transparent;
  font-size: 12px;
}

html[data-font-choice="E"] .tf-header .tf-search input {
  padding-inline: 10px;
}

html[data-font-choice="E"] .tf-header .tf-search button {
  padding: 8px;
}

@media (min-width: 750px) and (max-width: 1199px) {
  html[data-font-choice="E"] .tf-header-navrow {
    grid-template-columns: auto minmax(0, 1fr) clamp(180px, 20vw, 240px);
    gap: 16px;
  }

  html[data-font-choice="E"] .tf-header .tf-desktop-nav {
    gap: clamp(10px, 1.5vw, 18px);
  }

}

@media (min-width: 750px) and (max-width: 999px) {
  html[data-font-choice="E"] .tf-header-navrow {
    grid-template-columns: auto minmax(0, 1fr);
  }

  html[data-font-choice="E"] .tf-header .tf-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 749px) {
  html[data-font-choice="E"] .tf-header-main {
    padding: 14px 16px 10px;
    gap: 14px 8px;
  }

  html[data-font-choice="E"] .tf-header .tf-wordmark {
    font-size: clamp(22px, calc(9vw - 5px), 32px);
  }

  html[data-font-choice="E"] .tf-header-controls {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  html[data-font-choice="E"] .tf-header .tf-locale-badge {
    padding-inline: 6px;
    gap: 4px;
    font-size: 9px;
  }

  .tf-locale-badge > svg:first-child { width: 11px; height: 11px; }
  .tf-locale-badge > .tf-locale-chevron { width: 8px; height: 8px; }

  html[data-font-choice="E"] .tf-header-actions {
    gap: 10px;
  }

  html[data-font-choice="E"] .tf-header .tf-action {
    font-size: 8px;
  }

  html[data-font-choice="E"] .tf-header-locale {
    grid-column: 1;
    grid-row: 1;
  }

  html[data-font-choice="E"] .tf-header-navrow {
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  html[data-font-choice="E"] .tf-header .tf-search {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 42px;
  }

  html[data-font-choice="E"] .tf-header .tf-mobile-menu {
    position: absolute;
    top: 20px;
    left: 16px;
    width: 56px;
    border: 0;
    z-index: 20;
  }

  html[data-font-choice="E"] .tf-header .tf-mobile-menu summary {
    min-height: 38px;
    padding: 0;
    align-items: center;
    gap: 7px;
    font-size: 10px;
  }

  html[data-font-choice="E"] .tf-header .tf-mobile-menu nav {
    position: absolute;
    top: 48px;
    left: 0;
    width: calc(100vw - 32px);
    padding: 12px 16px;
    background: var(--tf-paper);
    border: 1px solid var(--tf-line);
  }
}

/* Original brand artwork on a continuous motion strip. */
.tf-brand-marquee {
  position: relative;
  max-width: 1480px;
  margin-inline: auto;
  background: var(--tf-paper, #f5f4ee);
  color: var(--tf-ink);
  overflow: hidden;
}

.tf-brand-window {
  overflow: hidden;
  padding: 26px 0;
}

.tf-brand-track {
  display: flex;
  width: max-content;
  animation: tf-brand-drift var(--tf-brand-duration, 120s) linear infinite;
}

.tf-brand-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 64px;
  padding: 0 64px 0 0;
  margin: 0;
  list-style: none;
}

.tf-brand-group li {
  display: grid;
  place-items: center;
  flex: 0 0 136px;
  width: 136px;
  height: 46px;
}

.tf-brand-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.tf-brand-art {
  display: grid;
  place-items: center;
  width: 116px;
  height: 40px;
}

.tf-brand-link:focus-visible {
  outline: 2px solid var(--tf-ink);
  outline-offset: -2px;
}

.tf-brand-group img {
  display: block;
  max-width: 116px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
}

.tf-brand-group .tf-brand-on-dark {
  background: #24231f;
}

/* Frame transparent source padding without clipping either wordmark. */
.tf-brand-group img:is([src="/assets/brand-logo-nabota.png"], [src="/assets/brand-logo-neuramis.png"]) {
  width: 116px;
  height: 36px;
  object-fit: cover;
}

.tf-brand-group .tf-brand-on-dark img {
  max-width: calc(100% - 16px);
  max-height: calc(100% - 12px);
}

.tf-brand-window:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.tf-brand-window:is(:hover, :focus-within) .tf-brand-track {
  animation-play-state: paused;
}

.tf-brand-window:has(a:focus-visible) { overflow-x: auto; }
.tf-brand-window:has(a:focus-visible) .tf-brand-track { animation: none; transform: none; }
.tf-brand-window:has(a:focus-visible) .tf-brand-group[aria-hidden="true"] { display: none; }

@keyframes tf-brand-drift {
  to { transform: translateX(-50%); }
}

@media (max-width: 749px) {
  .tf-brand-window { padding-block: 18px; }
  .tf-brand-group { gap: 38px; padding-right: 38px; }
  .tf-brand-group li { flex-basis: 116px; width: 116px; height: 44px; }
  .tf-brand-art { width: 100px; height: 34px; }
  .tf-brand-group img { max-width: 100px; max-height: 29px; }
  .tf-brand-group img:is([src="/assets/brand-logo-nabota.png"], [src="/assets/brand-logo-neuramis.png"]) { width: 100px; height: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  .tf-brand-track { animation: none; }
  .tf-brand-window { overflow-x: auto; }
  .tf-brand-group[aria-hidden="true"] { display: none; }
}

/* Brand browsing stays in a compact panel, outside the page layout. */
dialog.tf-brand-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 32px 28px 0;
  border: 0;
  border-left: 1px solid var(--tf-line);
  background: var(--tf-paper, #f5f4ee);
  color: var(--tf-ink, #24231f);
  font: 14px/1.5 "Manrope", Arial, sans-serif;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.22,.61,.36,1);
}

html[data-font-choice="E"] dialog.tf-brand-drawer { background: #fff; }

dialog.tf-brand-drawer[open] { display: flex; flex-direction: column; }
dialog.tf-brand-drawer.is-visible { transform: translateX(0); }

html[data-font-choice="E"] dialog.tf-brand-drawer::backdrop {
  background: rgb(36 35 31 / 32%);
  opacity: 0;
  transition: opacity 280ms ease;
}

html[data-font-choice="E"] dialog.tf-brand-drawer.is-visible::backdrop { opacity: 1; }

.tf-brand-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

html[data-font-choice="E"] .tf-brand-drawer .tf-brand-drawer-eyebrow {
  margin: 0 0 8px;
  color: var(--tf-muted);
  font-size: 10px;
  letter-spacing: .16em;
}

html[data-font-choice="E"] .tf-brand-drawer h2 {
  margin: 0;
  font: 500 32px/1.15 "Manrope", Arial, sans-serif;
  letter-spacing: -.035em;
}

.tf-brand-drawer-close {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--tf-line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.tf-brand-drawer-close:hover { background: var(--tf-silver); }

.tf-brand-drawer-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--tf-line);
  border-radius: 4px;
}

.tf-brand-drawer-search > .tf-icon { width: 18px; height: 18px; flex-shrink: 0; }
.tf-brand-drawer-search:focus-within { border-color: #3b2a22; box-shadow: 0 0 0 1px #3b2a22; }

.tf-brand-drawer-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.tf-brand-drawer-search input::placeholder { color: var(--tf-muted); }
html[data-font-choice="E"] .tf-brand-drawer .tf-brand-drawer-count { margin: 18px 0 10px; color: var(--tf-muted); font-size: 11px; }
.tf-brand-drawer-head, .tf-brand-drawer-search, .tf-brand-drawer-count { flex-shrink: 0; }
.tf-brand-drawer-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 24px; }
.tf-brand-drawer-list { list-style: none; padding: 0; margin: 0; }
.tf-brand-drawer [hidden] { display: none !important; }

.tf-brand-drawer-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--tf-line);
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tf-brand-drawer-list a:hover { background: var(--tf-silver); text-decoration: none !important; }
html[data-font-choice="E"] .tf-brand-drawer .tf-brand-drawer-empty { margin: 28px 0; font-size: 16px; }
.tf-brand-drawer-empty span { display: block; margin-top: 8px; color: var(--tf-muted); font-size: 13px; }
.tf-brand-drawer :is(button, a):focus-visible { outline: 2px solid #3b2a22; outline-offset: -2px; }
html[data-font-choice="E"] .tf-brand-drawer-search input:focus-visible { outline: none; }

@media (max-width: 749px) {
  dialog.tf-brand-drawer { width: min(420px, 100%); padding: 24px 20px 0; }
  html[data-font-choice="E"] .tf-brand-drawer h2 { font-size: 28px; }
  .tf-brand-drawer-search input { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  dialog.tf-brand-drawer, html[data-font-choice="E"] dialog.tf-brand-drawer::backdrop { transition: none; }
}
