.entry-title,
.page-title,
.wp-block-post-title {
  display: none;
}

.bto-page {
  box-sizing: border-box;
  width: auto;
  max-width: min(1200px, 100vw);
  margin: 0 auto;
  padding: 18px 20px 36px;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.bto-page * {
  box-sizing: border-box;
  min-width: 0;
}

.bto-page :where(h1, h2, h3, p) {
  letter-spacing: 0;
}

.bto-hero {
  padding: 10px 0 14px;
}

.bto-hero h1 {
  max-width: 820px;
  margin: 0 0 6px;
  font-size: 2.55rem;
  line-height: 1.08;
  font-weight: 850;
  overflow-wrap: break-word;
}

.bto-hero p {
  max-width: 700px;
  margin: 0 0 7px;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.bto-updated {
  color: #64748b;
  font-size: 0.9rem;
}

.bto-search {
  margin: 12px 0 14px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.bto-search-form label {
  display: block;
  margin: 0 0 8px;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 850;
}

.bto-search-row {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.bto-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 17px;
  height: 17px;
  border: 2px solid #6b7280;
  border-radius: 999px;
  transform: translateY(-55%);
  pointer-events: none;
}

.bto-search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #6b7280;
  content: "";
  transform: rotate(45deg);
}

.bto-search-input {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px 13px 45px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 1.02rem;
}

.bto-search-input::placeholder {
  color: #6b7280;
}

.bto-search-input:focus-visible,
.bto-search-clear:focus-visible,
.bto-category-chip:focus-visible,
.bto-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.26);
  outline-offset: 2px;
}

.bto-search-clear {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.bto-search-empty {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #fee2e2;
  border-radius: 8px;
  background: #fff7f7;
  color: #7f1d1d;
}

.bto-search-empty p {
  margin: 0 0 4px;
}

.bto-search-empty p:last-child {
  margin-bottom: 0;
}

.bto-disclosure,
.bto-how,
.bto-empty {
  margin: 14px 0;
  padding: 13px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.bto-disclosure p,
.bto-how p,
.bto-empty p {
  margin: 0 0 5px;
  color: #4b5563;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.bto-disclosure p:last-child,
.bto-how p:last-child,
.bto-empty p:last-child {
  margin-bottom: 0;
}

.bto-tiktok {
  margin: 14px 0 20px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.035);
}

.bto-tiktok-head,
.bto-section-head {
  margin-bottom: 12px;
}

.bto-tiktok h2,
.bto-section h2,
.bto-how h2,
.bto-empty h2 {
  margin: 0 0 6px;
  font-size: 1.32rem;
  line-height: 1.22;
  font-weight: 850;
}

.bto-tiktok h2 .bto-fire,
.bto-tiktok h2 .bto-fire img.emoji,
.bto-tiktok h2 img.emoji {
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  max-height: 1em !important;
  margin: 0 6px 0 0 !important;
  vertical-align: -0.12em !important;
  font-size: 1em !important;
  line-height: 1 !important;
}

.bto-tiktok p,
.bto-section-head p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bto-tiktok-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.bto-tiktok-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
}

.bto-tiktok-item:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.26);
  outline-offset: 2px;
}

.bto-tiktok-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 850;
}

.bto-tiktok-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bto-tiktok-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.bto-tiktok-copy strong {
  overflow: hidden;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bto-tiktok-copy em {
  color: #166534;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.bto-category-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 18px 0;
  padding: 2px 0 6px;
}

.bto-category-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.bto-category-chip.is-active {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.bto-section {
  margin: 18px 0 22px;
}

.bto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 720px) {
  .bto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .bto-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1160px) {
  .bto-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .bto-tiktok-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bto-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 11px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.bto-card[hidden] {
  display: none !important;
}

.bto-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 800;
}

.bto-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bto-card-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding-top: 10px;
}

.bto-card-topline {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-height: 26px;
}

.bto-card h3 {
  margin: 8px 0 5px;
  color: #111827;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 850;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.bto-badge,
.bto-store,
.bto-tiktok-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.1;
}

.bto-store {
  border: 1px solid #d1d5db;
  color: #374151;
  background: #ffffff;
}

.bto-tiktok-badge {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.bto-badge-excelente {
  background: #fee2e2;
  color: #991b1b;
}

.bto-badge-bom {
  background: #dcfce7;
  color: #166534;
}

.bto-badge-razoavel {
  background: #fef3c7;
  color: #92400e;
}

.bto-short,
.bto-ideal {
  margin: 0 0 7px;
  color: #4b5563;
  font-size: 0.82rem;
  line-height: 1.34;
  overflow-wrap: normal;
  word-break: normal;
}

.bto-starting-price {
  margin: 7px 0 3px;
  padding-top: 8px;
  border-top: 1px solid #eef2f7;
}

.bto-starting-price span {
  display: block;
  margin-bottom: 1px;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bto-starting-price strong {
  display: inline-block;
  color: #111827;
  font-size: 1.38rem;
  line-height: 1.05;
  white-space: nowrap;
}

.bto-starting-price em {
  display: inline-block;
  margin-left: 5px;
  color: #166534;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.bto-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin: 4px 0 0;
}

.bto-price {
  color: #111827;
  font-size: 0.9rem;
  line-height: 1.1;
  white-space: nowrap;
}

.bto-price-condition {
  color: #166534;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.bto-old-price {
  color: #6b7280;
  font-size: 0.82rem;
  text-decoration: line-through;
  white-space: nowrap;
}

.bto-store-offers {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.bto-store-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fbfdff;
}

.bto-store-line {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.bto-store-name {
  color: #111827;
  font-size: 0.82rem;
  line-height: 1.2;
}

.bto-deal-label {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
}

.bto-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.bto-btn-primary {
  background: #0b72ff;
  color: #ffffff;
}

.bto-btn-secondary {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
}

.bto-btn-disabled {
  background: #e5e7eb;
  color: #6b7280;
}

.bto-how {
  margin-top: 24px;
}

@media (max-width: 719px) {
  .bto-page {
    padding: 14px 12px 30px;
  }

  .bto-hero h1 {
    max-width: 100%;
    font-size: 1.34rem;
    line-height: 1.16;
    overflow-wrap: anywhere;
  }

  .bto-hero p {
    font-size: 0.98rem;
  }

  .bto-tiktok,
  .bto-search,
  .bto-disclosure,
  .bto-how,
  .bto-empty {
    padding: 12px;
  }

  .bto-tiktok-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .bto-tiktok-item {
    flex: 0 0 min(245px, 78vw);
    scroll-snap-align: start;
  }

  .bto-search-row {
    flex-direction: column;
  }

  .bto-search-clear {
    width: 100%;
  }

  .bto-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 11px;
  }

  .bto-image {
    height: 118px;
  }

  .bto-card-body {
    padding-top: 0;
  }

  .bto-card h3 {
    margin-top: 7px;
    font-size: 0.94rem;
  }

  .bto-starting-price strong {
    font-size: 1.25rem;
  }

  .bto-store-offer {
    grid-template-columns: 1fr;
  }

  .bto-store-offer .bto-actions {
    width: 100%;
  }

  .bto-btn {
    width: 100%;
    min-height: 32px;
  }
}

@media (max-width: 380px) {
  .bto-starting-price strong {
    font-size: 1.18rem;
  }

  .bto-card h3 {
    font-size: 0.9rem;
  }

  .bto-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
