@media (max-width: 1180px) {
  .tf-header-main__inner { grid-template-columns: 176px minmax(260px,1fr) auto; gap: 22px; }
  .tf-brand--header img { width: 154px; }
  .tf-primary-menu > li > a { padding-inline: 16px; }
  .tf-trust-strip__inner { grid-template-columns: repeat(3,1fr); padding-block: 12px; }
  .tf-trust-strip__inner > div:nth-child(3n) { border-right: 0; }
  .tf-footer__grid { gap: 40px; }
}

@media (max-width: 960px) {
  .tf-container, .col-full { width: min(calc(100% - 32px), var(--tf-container)); }
  .tf-topbar__inner { grid-template-columns: repeat(2,1fr); padding-block: 8px; }
  .tf-header-main__inner { min-height: 88px; grid-template-columns: 44px 150px 1fr auto; gap: 15px; }
  .tf-mobile-toggle { display: grid; place-items: center; }
  .tf-brand--header img { width: 145px; }
  .tf-product-search { height: 44px; }
  .tf-account-link span { display: none; }
  .tf-cart-summary { display: none; }
  .tf-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px,88vw); padding-top: 24px; overflow-y: auto; transform: translateX(-102%); transition: transform .22s ease; box-shadow: var(--tf-shadow); }
  .tf-nav.is-open { transform: translateX(0); }
  .tf-nav__inner { width: 100%; display: block; }
  .tf-all-categories { width: 100%; }
  .tf-all-categories__button { min-height: 56px; }
  .tf-all-categories__dropdown { position: static; width: 100%; border-left: 0; border-right: 0; box-shadow: none; }
  .tf-primary-menu { display: block; }
  .tf-primary-menu > li { display: block; }
  .tf-primary-menu > li > a { min-height: 52px; padding: 0 20px; border-bottom: 1px solid rgba(166,157,106,.13); }
  .tf-primary-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding-left: 20px; }
  .tf-hero__inner { grid-template-columns: 1fr 230px; gap: 30px; padding-block: 46px; }
  .tf-category-grid { grid-template-columns: repeat(3,1fr); }
  .tf-shop-layout { grid-template-columns: 220px minmax(0,1fr); gap: 22px; }
  .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tf-footer__grid { grid-template-columns: repeat(2,1fr); }
  .tf-whatsapp-float { width:56px; height:56px; }
}

@media (max-width: 720px) {
  .tf-topbar__inner { display: flex; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .tf-topbar__inner::-webkit-scrollbar { display: none; }
  .tf-topbar__inner span { flex: 0 0 auto; padding-right: 18px; }
  .tf-header-main__inner { min-height: auto; grid-template-columns: 40px 1fr 80px; padding-block: 12px; }
  .tf-header-brand { justify-content: center; }
  .tf-brand--header img { width: 122px; max-height: 60px; }
  .tf-product-search { grid-column: 1 / -1; grid-row: 2; }
  .tf-header-actions { justify-content: flex-end; gap: 14px; }
  .tf-account-link { display: none; }
  .tf-hero { min-height: auto; }
  .tf-hero::before { right:12px; width:150px; opacity:.65; }
  .tf-hero__inner { grid-template-columns: 1fr; padding-block: 46px; }
  .tf-hero h1 { font-size: clamp(34px,11vw,60px); }
  .tf-hero__description { font-size: 16px; }
  .tf-hero__features { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .tf-hero__features > div { font-size: 11px; }
  .tf-category-grid { grid-template-columns: repeat(2,1fr); }
  .tf-category-card { min-height: 170px; }
  .tf-section-head, .tf-showcase__head { align-items: flex-start; flex-wrap: wrap; }
  .tf-tabs { order: 3; width: 100%; overflow-x: auto; gap: 22px; }
  .tf-showcase__all { margin-left: auto; }
  .tf-shop-layout { display: flex; flex-direction: column; }
  .tf-shop-main, .tf-shop-sidebar { order: initial; }
  .tf-shop-sidebar { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .tf-filter-box { margin: 0; }
  .tf-filter-price { grid-column: 1/-1; }
  .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .tf-quick-view { grid-template-columns: 1fr; }
  .tf-quick-view__media { min-height: 320px; }
  .tf-quick-view__content { padding: 30px 22px; }
  .tf-trust-strip__inner { grid-template-columns: repeat(2,1fr); }
  .tf-trust-strip__inner > div:nth-child(3n) { border-right: 1px solid rgba(166,157,106,.16); }
  .tf-trust-strip__inner > div:nth-child(2n) { border-right: 0; }
  .tf-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-block: 42px; }
  .tf-footer-newsletter__fields { grid-template-columns:1fr; }
  .tf-footer-newsletter__fields button { width:100%; }
  .tf-footer__legal .tf-container { grid-template-columns: 1fr; gap: 10px; padding-block: 18px; }
  .tf-footer__bottom .tf-container { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 14px; }
  .tf-whatsapp-float { right:calc(16px + env(safe-area-inset-right, 0px)); bottom:calc(16px + env(safe-area-inset-bottom, 0px)); width:52px; height:52px; }
  .tf-whatsapp-float__tooltip { display:none; }
  .tf-post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .tf-container, .col-full { width: min(calc(100% - 24px), var(--tf-container)); }
  .tf-brand--header img { width: 106px; }
  .tf-hero::before { right:4px; width:112px; opacity:.42; }
  .tf-hero h1 { font-size: clamp(28px,9.4vw,42px); }
  .tf-hero__features { grid-template-columns: 1fr; }
  .tf-category-grid { grid-template-columns: 1fr; }
  .tf-category-card { min-height: 150px; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .tf-shop-sidebar { grid-template-columns: 1fr; }
  .tf-filter-price { grid-column: auto; }
  .tf-quick-view-button span { display: none; }
  .tf-trust-strip__inner { grid-template-columns: 1fr; }
  .tf-trust-strip__inner > div { border-right: 0!important; border-bottom: 1px solid rgba(166,157,106,.16); }
  .tf-newsletter-preview { grid-template-columns: 1fr; }
  .tf-newsletter-preview button { min-height: 46px; }
}

/* Módulo 8 — breakpoints comerciais */
@media (max-width:1180px) {
  .tf-brand--header img { width:154px; max-height:none!important; }
  .tf-header-main__inner { min-height:112px; }
  .tf-hero__inner { grid-template-columns:minmax(0,1fr) 260px; gap:40px; padding-block:48px; }
  .tf-trust-strip__inner { grid-template-columns:repeat(3,1fr)!important; }
}

@media (max-width:960px) {
  .tf-brand--header img { width:145px; max-height:none!important; }
  .tf-header-main__inner { min-height:96px; }
  .tf-hero__inner { grid-template-columns:minmax(0,1fr) 220px; gap:28px; }
}

@media (max-width:720px) {
  .tf-brand--header img { width:122px; max-height:none!important; }
  .tf-header-main__inner { min-height:auto; }
  .tf-hero__inner { grid-template-columns:1fr; gap:30px; padding-block:42px; }
  .tf-hero h1 { font-size:clamp(30px,9vw,52px)!important; }
  .tf-hero__features { grid-template-columns:1fr!important; }
  .tf-trust-strip__inner { grid-template-columns:repeat(2,1fr)!important; }
  .tf-trust-strip__item { padding-inline:12px!important; }
  .tf-footer__bottom .tf-container { align-items:flex-start; }
  .tf-payment-area { justify-content:flex-start; text-align:left; }
  .tf-payment-methods { justify-content:flex-start; }
}

@media (max-width:460px) {
  .tf-brand--header img { width:106px; max-height:none!important; }
  .tf-hero h1 { font-size:clamp(25px,8vw,36px)!important; }
  .tf-hero__actions { align-items:stretch; flex-direction:column; }
  .tf-hero__actions .tf-button { justify-content:center; }
  .tf-trust-strip__inner { grid-template-columns:1fr!important; }
  .tf-payment-methods span { font-size:9px; }
}

/* Módulo logo e categorias oficiais */
.tf-brand--header img.tatico-header-logo {
  width: 205px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.tf-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tf-category-card {
  min-height: 154px;
  background-image: linear-gradient(145deg, #171b16, #0c0f0c);
}

.tf-category-card__content {
  padding: 15px;
}

.tf-category-card strong {
  font-size: 14px;
  line-height: 1.2;
}

.tf-all-categories__dropdown {
  width: min(360px, calc(100vw - 32px));
  max-height: min(75vh, 620px);
  overflow-y: auto;
}

.tf-all-categories__group {
  padding: 4px 0 8px;
  border-bottom: 1px solid rgba(166,157,106,.12);
}

.tf-all-categories__group:last-child { border-bottom: 0; }

.tf-all-categories__dropdown .tf-all-categories__parent {
  color: var(--tf-gold-light);
  font-weight: 700;
  text-transform: uppercase;
}

.tf-all-categories__children a {
  padding: 7px 12px 7px 24px;
  border-bottom: 0;
  color: #c5c9c2;
  font-size: 12px;
}

.tf-all-categories__dropdown a:focus-visible,
.tf-primary-menu a:focus-visible,
.tf-primary-menu button:focus-visible {
  outline: 2px solid var(--tf-gold-light);
  outline-offset: -2px;
}

.tf-primary-menu > li.menu-item-has-children {
  align-items: center;
}

.tf-primary-menu > li.menu-item-has-children > .tf-submenu-toggle {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 30px;
  margin-left: -18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tf-gold-light);
}

.tf-submenu-toggle .tf-icon { transition: transform .18s ease; }
.tf-submenu-toggle[aria-expanded="true"] .tf-icon { transform: rotate(180deg); }
.tf-primary-menu li.tf-submenu-closed:focus-within > .sub-menu { display: none; }

@media (min-width: 1400px) {
  .tf-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .tf-brand--header img.tatico-header-logo { width: 170px; }
}

@media (max-width: 960px) {
  .tf-nav.is-open { transform: translateX(0) !important; }
  .tf-brand--header img.tatico-header-logo { width: 150px; }
  .tf-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tf-primary-menu > li.menu-item-has-children { display: grid; grid-template-columns: 1fr 40px; }
  .tf-primary-menu > li.menu-item-has-children > a { min-width: 0; }
  .tf-primary-menu > li.menu-item-has-children > .tf-submenu-toggle {
    width: 40px;
    height: 52px;
    margin: 0;
    border-left: 1px solid rgba(166,157,106,.13);
  }
  .tf-primary-menu .sub-menu { display: none; grid-column: 1 / -1; }
  .tf-primary-menu li.menu-item-has-children.tf-submenu-open > .sub-menu { display: block; }
}

@media (max-width: 720px) {
  .tf-brand--header img.tatico-header-logo { width: 125px; }
  .tf-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .tf-brand--header img.tatico-header-logo { width: 110px; }
  .tf-category-card { min-height: 138px; }
}

@media (max-width: 360px) {
  .tf-category-grid { grid-template-columns: 1fr; }
}
