.tb-header,
.tb-footer,
.tb-drawer,
.tb-chat,
.tb-search {
  --tb-header: #212123;
  --tb-orange: #d54401;
  --tb-accent: #b84f2b;
  --tb-ink: rgba(0, 0, 0, 0.75);
  --tb-page: 1260px;
  font-family: Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.tb-header *,
.tb-footer *,
.tb-drawer *,
.tb-chat *,
.tb-search * { box-sizing: border-box; }

.tb-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 1000;
}
.tb-skip:focus { top: 8px; }

.tb-header {
  background: var(--tb-header);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 40;
}
.tb-bar {
  width: min(var(--tb-page), calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tb-logo { display: flex; align-items: center; flex: 0 0 auto; }
.tb-logo img { height: 52px; width: auto; display: block; }
.tb-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.tb-item { position: relative; }
.tb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.7px;
  padding: 10px 12px;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.tb-link:hover,
.tb-link.is-current { color: #fff; }
.tb-caret {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.tb-drop {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 280px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  display: none;
  z-index: 50;
}
.tb-item:hover .tb-drop,
.tb-item:focus-within .tb-drop { display: block; }
.tb-drop a {
  display: block;
  padding: 8px 18px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 14.7px;
  text-decoration: none;
}
.tb-drop a:hover { background: #f4f4f4; color: #000; }

.tb-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.tb-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.tb-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tb-burger { display: none; }
.tb-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  padding: 1px 4px;
  border-radius: 99px;
  background: #e84f0e;
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}

.tb-search {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 16px 0 20px;
}
.tb-search.is-open { display: block; }
.tb-search form {
  display: flex;
  gap: 8px;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}
.tb-search input {
  flex: 1;
  border: 1px solid #ccc;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
}
.tb-search button {
  background: #212123;
  color: #fff;
  border: 0;
  padding: 0 18px;
  cursor: pointer;
  font-family: inherit;
}

.tb-footer {
  border-top: 1px solid #e6e6e6;
  padding: 36px 0 28px;
  color: var(--tb-ink);
  font-size: 14.7px;
  background: #fff;
}
.tb-wrap {
  width: min(var(--tb-page), 100%);
  margin: 0 auto;
  padding: 0 52px;
}
.tb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tb-footer h2 {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin: 0 0 21px;
}
.tb-footer p { margin: 0; line-height: 1.55; }
.tb-footer ul { list-style: none; margin: 0; padding: 0; }
.tb-footer li + li { margin-top: 8px; }
.tb-footer a { color: #b84f2b; font-size: 14.7px; text-decoration: none; }
.tb-footer a:hover { text-decoration: underline; }
.tb-socials { display: flex; gap: 10px; margin-top: 16px; }
.tb-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: grid;
  place-items: center;
  color: #000;
}
.tb-socials svg { width: 16px; height: 16px; fill: currentColor; }
.tb-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.tb-country { position: relative; }
.tb-country > button {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--tb-ink);
  min-width: 220px;
  text-align: left;
  font-family: inherit;
}
.tb-country-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 280px;
  overflow: auto;
  min-width: 240px;
  z-index: 5;
}
.tb-country.is-open .tb-country-menu { display: block; }
.tb-country-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: #222;
}
.tb-country-menu button:hover,
.tb-country-menu button.is-active { background: #f4f4f4; }
.tb-pay { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 520px; }
.tb-pay span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 7px;
  border: 1px solid #e4e4e4;
  border-radius: 3px;
  background: #fff;
  color: #222;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tb-legal-note { margin: 22px 0 0; font-size: 13px; }

.tb-chat-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--tb-orange);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 0;
}
.tb-chat-toggle svg { width: 26px; height: 26px; fill: #fff; }
.tb-chat {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: min(320px, calc(100vw - 32px));
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 18px 16px 16px;
  z-index: 60;
  display: none;
}
.tb-chat.is-open { display: block; }
.tb-chat h3 { font-size: 18px; font-weight: 600; color: #000; margin: 0 0 12px; }
.tb-chat-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
}
.tb-chat input,
.tb-chat textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  font-family: inherit;
}
.tb-chat textarea { resize: vertical; }
.tb-chat .send {
  width: 100%;
  background: var(--tb-orange);
  color: #fff;
  border: 0;
  padding: 10px;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
}

.tb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 70;
  display: none;
}
.tb-overlay.is-open { display: block; }
.tb-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: #fff;
  z-index: 80;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  overflow: auto;
  padding: 18px 0 40px;
}
.tb-drawer.is-open { transform: none; }
.tb-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 12px;
}
.tb-drawer-head img { height: 40px; }
.tb-drawer-close {
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.tb-drawer a,
.tb-drawer summary {
  display: block;
  padding: 12px 18px;
  color: rgba(0, 0, 0, 0.85);
  font-size: 16px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  text-decoration: none;
}
.tb-drawer details a { padding-left: 28px; font-size: 15px; background: #fafafa; }
.tb-drawer summary { list-style: none; }
.tb-drawer summary::-webkit-details-marker { display: none; }

.tb-doc {
  width: min(860px, calc(100% - 40px));
  margin: 36px auto 72px;
  color: #222;
  font-family: Helvetica, Arial, sans-serif;
}
.tb-doc h1 { margin: 0 0 16px; font-size: 34px; font-weight: 500; }
.tb-doc h2 { margin: 28px 0 10px; font-size: 22px; font-weight: 600; }
.tb-doc h3 { margin: 20px 0 8px; font-size: 17px; font-weight: 600; }
.tb-doc p,
.tb-doc li { font-size: 15.5px; line-height: 1.65; }
.tb-doc a { color: #b84f2b; }
.tb-doc .company { white-space: pre-line; }

@media (max-width: 989px) {
  .tb-nav { display: none; }
  .tb-burger { display: grid; }
  .tb-bar { justify-content: space-between; }
  .tb-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .tb-logo img { height: 42px; max-width: min(220px, 42vw); object-fit: contain; }
  .tb-tools { margin-left: 0; }
  .tb-wrap { padding: 0 20px; }
  .tb-grid,
  .tb-bottom { grid-template-columns: 1fr; flex-direction: column; }
  .tb-pay { justify-content: flex-start; }
}

@media (min-width: 990px) and (max-width: 1100px) {
  .tb-link { padding: 10px 8px; font-size: 13.5px; }
}
