/* ==========================================================================
   Tema "moderno" da loja
   Carregado depois do CSS do layout clássico: o shell (header, rodapé, home,
   vitrine e produto) usa classes próprias "tm-*"; as páginas internas herdam
   tipografia, cores e componentes por meio das sobrescritas no fim do arquivo.
   ========================================================================== */

:root {
    --tm-primary: #2f54eb;
    --tm-primary-600: color-mix(in srgb, var(--tm-primary) 85%, #000);
    --tm-primary-50: color-mix(in srgb, var(--tm-primary) 8%, #fff);
    --tm-primary-100: color-mix(in srgb, var(--tm-primary) 16%, #fff);

    --tm-ink: #0f172a;
    --tm-text: #334155;
    --tm-muted: #64748b;
    --tm-line: #e2e8f0;
    --tm-surface: #ffffff;
    --tm-bg: #ffffff;
    --tm-bg-alt: #f6f7fb;
    --tm-dark: #0b1220;
    --tm-danger: #dc2626;
    --tm-success: #16a34a;

    --tm-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --tm-font-display: "Plus Jakarta Sans", var(--tm-font);

    --tm-radius-sm: 8px;
    --tm-radius: 14px;
    --tm-radius-lg: 22px;
    --tm-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --tm-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --tm-shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .35);

    --tm-container: 1240px;
    --tm-gutter: clamp(16px, 4vw, 32px);
    --tm-header-h: 76px;
    --tm-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

/* o util.css clássico fixa body/html em height:100%; isso limita o header "sticky"
   à primeira tela de rolagem. No tema a altura acompanha o conteúdo. */
html:has(body.tm-body),
body.tm-body {
    height: auto;
    min-height: 100%;
}

body.tm-body {
    font-family: var(--tm-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--tm-text);
    background: var(--tm-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.tm-body h1,
.tm-body h2,
.tm-body h3,
.tm-body h4,
.tm-body h5 {
    font-family: var(--tm-font-display);
    color: var(--tm-ink);
    letter-spacing: -.01em;
}

.tm-body a {
    color: inherit;
    transition: color .2s;
}

.tm-body img {
    max-width: 100%;
}

.tm-body :focus-visible {
    outline: 3px solid color-mix(in srgb, var(--tm-primary) 45%, transparent);
    outline-offset: 2px;
}

body.tm-lock,
body.tm-lock-show-header-cart,
body.tm-lock-show-modal1 {
    overflow: hidden;
}

.tm-container {
    width: 100%;
    max-width: var(--tm-container);
    margin-inline: auto;
    padding-inline: var(--tm-gutter);
}

.tm-main {
    min-height: 50vh;
}

.tm-skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 3000;
    background: var(--tm-ink);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: var(--tm-radius-sm);
    transition: top .2s;
}

.tm-skip:focus {
    top: 12px;
}

[hidden] {
    display: none !important;
}

/* SweetAlert acima de tudo (igual ao layout clássico) */
.swal-overlay {
    z-index: 999999 !important;
}

.swal-modal {
    z-index: 1000000 !important;
    border-radius: var(--tm-radius) !important;
    font-family: var(--tm-font);
}

.swal-button {
    position: relative;
    z-index: 1000001 !important;
    background-color: var(--tm-primary) !important;
    border-radius: 10px !important;
}

body.swal-open-digisac-lock iframe[src*="digisac"],
body.swal-open-digisac-lock [id*="digisac"],
body.swal-open-digisac-lock [class*="digisac"] {
    pointer-events: none !important;
}

/* ---------- Botões ---------- */
.tm-btn {
    --_bg: var(--tm-ink);
    --_fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--_bg);
    color: var(--_fg) !important;
    font-family: var(--tm-font);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}

.tm-btn:hover {
    transform: translateY(-1px);
}

.tm-btn:active {
    transform: translateY(0);
}

.tm-btn:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.tm-btn--primary {
    --_bg: var(--tm-primary);
    box-shadow: 0 8px 20px -10px var(--tm-primary);
}

.tm-btn--primary:hover {
    --_bg: var(--tm-primary-600);
}

.tm-btn--ghost {
    --_bg: transparent;
    --_fg: var(--tm-ink);
    border-color: var(--tm-line);
}

.tm-btn--ghost:hover {
    border-color: var(--tm-ink);
}

.tm-btn--light {
    --_bg: #fff;
    --_fg: var(--tm-ink);
}

.tm-btn--link {
    --_bg: transparent;
    --_fg: var(--tm-muted);
    min-height: 36px;
    padding: 0 8px;
}

.tm-btn--danger {
    --_fg: var(--tm-danger);
}

.tm-btn--lg {
    min-height: 52px;
    padding: 0 26px;
    font-size: 16px;
}

.tm-btn--block {
    width: 100%;
}

.tm-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--tm-ink);
    font-size: 18px;
    cursor: pointer;
    transition: background-color .2s, color .2s, opacity .2s;
}

.tm-icon-btn:hover {
    background: var(--tm-bg-alt);
    color: var(--tm-primary);
}

.tm-icon-btn--outline {
    border: 1px solid var(--tm-line);
    background: #fff;
    font-size: 14px;
}

.tm-icon-btn:disabled {
    opacity: .35;
    cursor: default;
    background: #fff;
    color: var(--tm-ink);
}

/* ---------- Topbar ---------- */
.tm-topbar {
    background: var(--tm-dark);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.tm-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.tm-topbar__contato,
.tm-topbar__conta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.tm-topbar__contato i {
    margin-right: 6px;
    opacity: .7;
}

.tm-topbar__conta a {
    color: #fff;
    font-weight: 500;
}

.tm-topbar__conta a:hover {
    color: color-mix(in srgb, var(--tm-primary) 40%, #fff);
}

.tm-topbar__ola {
    opacity: .75;
}

/* ---------- Header ---------- */
.tm-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}

.tm-header.is-scrolled {
    border-bottom-color: var(--tm-line);
    box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .5);
}

.tm-header__inner {
    max-width: 1440px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--tm-header-h);
}

.tm-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.tm-logo img {
    max-height: 52px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
}

.tm-logo--sm img {
    max-height: 40px;
    max-width: 150px;
}

.tm-nav {
    flex: 1;
    min-width: 0;
    margin-left: clamp(4px, 1.2vw, 16px);
}

/* menu sempre começa à esquerda, logo após o logo (com poucos itens não fica "solto" no meio) */
.tm-nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-nav__item {
    position: relative;
}

.tm-nav__link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 11px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--tm-ink);
    font-family: var(--tm-font);
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.tm-nav__link:hover,
.tm-nav__item.is-open>.tm-nav__link {
    background: var(--tm-bg-alt);
    color: var(--tm-primary);
}

.tm-nav__item.is-active>.tm-nav__link {
    color: var(--tm-primary);
    background: var(--tm-primary-50);
    font-weight: 600;
}

.tm-sub-caret {
    font-size: 10px;
    transition: transform .2s;
}

.tm-nav .tm-sub {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    min-width: 230px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 10;
}

.tm-nav .tm-sub::before {
    content: "";
    position: absolute;
    inset: -10px 0 auto 0;
    height: 10px;
}

.tm-nav__item.has-sub:hover>.tm-sub,
.tm-nav__item.has-sub:focus-within>.tm-sub,
.tm-nav__item.is-open>.tm-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.tm-nav__item.has-sub:hover .tm-sub-caret,
.tm-nav__item.is-open .tm-sub-caret {
    transform: rotate(180deg);
}

.tm-sub a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--tm-radius-sm);
    color: var(--tm-text);
    font-size: 14px;
    cursor: pointer;
}

.tm-sub a:hover {
    background: var(--tm-bg-alt);
    color: var(--tm-primary);
}

.tm-ext {
    font-size: 11px;
    opacity: .5;
}

.tm-header__acoes {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.tm-conta-btn__txt {
    display: none;
    font-size: 14px;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tm-badge {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--tm-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

.tm-badge.is-empty {
    background: var(--tm-muted);
}

.tm-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.tm-burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

/* Busca do topo */
.tm-busca {
    border-top: 1px solid var(--tm-line);
    background: #fff;
    animation: tmFadeDown .25s var(--tm-ease);
}

.tm-busca__form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 14px;
}

.tm-busca__form i {
    color: var(--tm-muted);
}

.tm-busca__form input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 17px;
    color: var(--tm-ink);
}

@keyframes tmFadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Drawer (menu mobile) ---------- */
.tm-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    visibility: hidden;
    pointer-events: none;
}

.tm-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .55);
    opacity: 0;
    transition: opacity .3s;
}

.tm-drawer__panel {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: min(360px, 88vw);
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    transition: transform .35s var(--tm-ease);
    box-shadow: var(--tm-shadow-lg);
}

.tm-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.tm-drawer.is-open .tm-drawer__overlay {
    opacity: 1;
}

.tm-drawer.is-open .tm-drawer__panel {
    transform: none;
}

.tm-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid var(--tm-line);
}

.tm-drawer__conta {
    padding: 18px 20px;
    background: var(--tm-bg-alt);
    border-bottom: 1px solid var(--tm-line);
}

.tm-drawer__ola {
    margin: 0 0 12px;
    font-weight: 600;
    color: var(--tm-ink);
}

.tm-drawer__conta-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tm-drawer__atalhos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-drawer__atalhos a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--tm-radius-sm);
    background: #fff;
    border: 1px solid var(--tm-line);
    font-size: 14px;
    font-weight: 500;
}

.tm-drawer__atalhos i {
    color: var(--tm-primary);
    width: 16px;
}

.tm-drawer__list {
    margin: 0;
    padding: 10px 12px 30px;
    list-style: none;
}

.tm-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 12px;
    border: 0;
    border-radius: var(--tm-radius-sm);
    background: transparent;
    color: var(--tm-ink);
    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.tm-drawer__link:hover,
.tm-drawer__item.is-active>.tm-drawer__link {
    background: var(--tm-primary-50);
    color: var(--tm-primary);
}

.tm-drawer .tm-sub {
    display: none;
    margin: 0 0 6px 12px;
    padding: 0 0 0 10px;
    list-style: none;
    border-left: 2px solid var(--tm-line);
}

.tm-drawer__item.is-open>.tm-sub {
    display: block;
}

.tm-drawer__item.is-open .tm-sub-caret {
    transform: rotate(180deg);
}

/* ---------- Carrinho lateral ---------- */
.tm-cart.js-panel-cart {
    position: fixed;
    inset: 0;
    z-index: 1300;
    width: auto;
    height: auto;
    visibility: hidden;
    background: transparent;
    transition: visibility .35s;
}

.tm-cart__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .55);
    opacity: 0;
    transition: opacity .3s;
}

.tm-cart__panel {
    position: absolute;
    inset: 0 0 0 auto;
    display: flex;
    flex-direction: column;
    width: min(420px, 100vw);
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s var(--tm-ease);
    box-shadow: var(--tm-shadow-lg);
}

.tm-cart.show-header-cart {
    visibility: visible;
    background: transparent;
}

.tm-cart.show-header-cart .tm-cart__overlay {
    opacity: 1;
}

.tm-cart.show-header-cart .tm-cart__panel {
    transform: none;
}

.tm-cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px 18px 24px;
    border-bottom: 1px solid var(--tm-line);
}

.tm-cart__head h3 {
    margin: 0;
    font-size: 19px;
}

.tm-cart__head h3 i {
    color: var(--tm-primary);
    margin-right: 6px;
}

.tm-cart__head small {
    font-family: var(--tm-font);
    font-weight: 500;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-cart__lista {
    flex: 1;
    margin: 0;
    padding: 8px 24px;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.tm-cart__item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--tm-line);
}

.tm-cart__item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--tm-radius-sm);
    background: var(--tm-bg-alt);
}

.tm-cart__nome {
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    color: var(--tm-ink);
}

.tm-cart__meta {
    margin: 0;
    font-size: 13px;
    color: var(--tm-muted);
}

.tm-cart__subtotal {
    margin: 4px 0 0;
    font-weight: 700;
    color: var(--tm-ink);
}

.tm-cart__remover {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--tm-muted);
    cursor: pointer;
}

.tm-cart__remover:hover {
    background: #fef2f2;
    color: var(--tm-danger);
}

.tm-cart__rodape {
    display: grid;
    gap: 8px;
    padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--tm-line);
    background: var(--tm-bg-alt);
}

.tm-cart__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
    color: var(--tm-muted);
}

.tm-cart__total strong {
    font-family: var(--tm-font-display);
    font-size: 22px;
    color: var(--tm-ink);
}

.tm-cart__vazio {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 24px;
    text-align: center;
    color: var(--tm-muted);
}

.tm-cart__vazio i {
    font-size: 44px;
    color: var(--tm-line);
}

/* ---------- Seções ---------- */
.tm-section {
    padding-block: clamp(48px, 7vw, 88px);
}

/* dois blocos seguidos (mesmo fundo branco): o espaço entre eles não dobra */
.tm-main>.tm-section+.tm-section {
    padding-top: 0;
}

.tm-section--alt {
    background: var(--tm-bg-alt);
}

.tm-section--compacta {
    padding-block: clamp(24px, 4vw, 40px);
}

.tm-section--topo-curto {
    padding-top: 16px;
}

.tm-section__head {
    max-width: 720px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    text-align: center;
}

.tm-section__head--left {
    margin-left: 0;
    text-align: left;
}

.tm-section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: none;
    text-align: left;
}

.tm-section__titulo {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    line-height: 1.15;
}

.tm-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--tm-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Texto rico vindo do painel (TinyMCE) */
.tm-rich {
    color: var(--tm-text);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.tm-rich img,
.tm-rich iframe,
.tm-rich video {
    max-width: 100%;
    height: auto;
    border-radius: var(--tm-radius-sm);
}

.tm-rich p {
    margin-bottom: 1em;
}

.tm-rich a {
    color: var(--tm-primary);
    text-decoration: underline;
}

/* ---------- Hero ---------- */
.tm-hero {
    position: relative;
    background: var(--tm-dark);
}

.tm-hero__slides {
    margin: 0;
}

.tm-hero__slide {
    position: relative;
    display: block !important;
    height: clamp(260px, 52vw, 620px);
    overflow: hidden;
}

/* antes do slick iniciar, mostra só o primeiro */
.tm-hero__slides:not(.slick-initialized) .tm-hero__slide+.tm-hero__slide {
    display: none !important;
}

.tm-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 7s linear;
}

.slick-current .tm-hero__bg,
.tm-hero__slides:not(.slick-initialized) .tm-hero__bg {
    transform: scale(1);
}

.tm-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, .72) 0%, rgba(2, 6, 23, .35) 50%, rgba(2, 6, 23, 0) 100%);
}

.tm-hero__conteudo {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    color: #fff;
}

.tm-hero__titulo {
    max-width: 680px;
    font-family: var(--tm-font-display);
    font-size: clamp(26px, 4.6vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
}

.tm-hero__descricao {
    max-width: 580px;
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
}

/* o conteúdo vem do painel: mantém as cores/destaques definidos lá, só zera margens */
.tm-hero__titulo :is(p, h1, h2, h3, h4),
.tm-hero__descricao :is(p, h1, h2, h3, h4) {
    margin: 0;
    font: inherit;
    color: inherit;
}

/* trechos com "marca-texto" definido no painel: texto escuro para manter a leitura */
.tm-hero__titulo [style*="background-color"],
.tm-hero__descricao [style*="background-color"] {
    color: var(--tm-ink);
    padding: .05em .25em;
    border-radius: 4px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.tm-hero__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.tm-hero .tm-btn {
    position: relative;
    z-index: 3;
}

.tm-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background-color .2s;
}

.tm-hero__arrow:hover {
    background: rgba(255, 255, 255, .35);
}

.tm-hero__arrow--prev {
    left: 20px;
}

.tm-hero__arrow--next {
    right: 20px;
}

.tm-hero__dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-hero__dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    font-size: 0;
    cursor: pointer;
    transition: width .3s, background-color .3s;
}

.tm-hero__dots .slick-active button {
    width: 28px;
    background: #fff;
}

/* ---------- Carrossel (destaques) ---------- */
.tm-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    padding: 4px 2px 12px;
    scrollbar-width: none;
}

.tm-carousel::-webkit-scrollbar {
    display: none;
}

.tm-carousel__item {
    scroll-snap-align: start;
    min-width: 0;
}

.tm-carousel__nav {
    display: flex;
    gap: 8px;
}

/* ---------- Grid + cards de produto ---------- */
.tm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(14px, 2vw, 24px);
    transition: opacity .2s;
}

.tm-grid.is-loading {
    pointer-events: none;
}

.tm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--tm-surface);
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}

.tm-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--tm-shadow);
}

.tm-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-bottom: 1px solid var(--tm-line);
    overflow: hidden;
}

.tm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s var(--tm-ease);
}

.tm-card:hover .tm-card__media img {
    transform: scale(1.05);
}

.tm-card__figura {
    position: relative;
}

.tm-card__quick {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--tm-ink);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--tm-shadow-sm);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s, background-color .2s, color .2s;
}

.tm-card:hover .tm-card__quick,
.tm-card__quick:focus-visible {
    opacity: 1;
    transform: none;
}

.tm-card__quick:hover {
    background: var(--tm-primary);
    color: #fff;
}

.tm-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 18px;
}

.tm-card__nome {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    color: var(--tm-ink) !important;
}

.tm-card__nome:hover {
    color: var(--tm-primary) !important;
}

.tm-card__sku {
    font-size: 12px;
    color: var(--tm-muted);
}

.tm-card__preco {
    margin-top: 6px;
    font-family: var(--tm-font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--tm-ink);
}

.tm-vazio {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    color: var(--tm-muted);
    border: 1px dashed var(--tm-line);
    border-radius: var(--tm-radius);
}

.tm-vazio i {
    display: block;
    margin-bottom: 10px;
    font-size: 36px;
    color: var(--tm-line);
}

/* ---------- Vitrine ---------- */
.tm-vitrine__toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.tm-searchbox {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 640px;
    padding: 6px 6px 6px 18px;
    background: #fff;
    border: 1px solid var(--tm-line);
    border-radius: 999px;
    transition: border-color .2s, box-shadow .2s;
}

.tm-searchbox:focus-within {
    border-color: var(--tm-primary);
    box-shadow: 0 0 0 4px var(--tm-primary-100);
}

.tm-searchbox>i {
    color: var(--tm-muted);
}

.tm-searchbox input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    color: var(--tm-ink);
}

.tm-searchbox input::-webkit-search-cancel-button {
    display: none;
}

.tm-searchbox__limpar {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: var(--tm-bg-alt);
    color: var(--tm-muted);
    cursor: pointer;
}

.tm-searchbox .tm-btn {
    min-height: 40px;
}

.tm-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tm-chips::-webkit-scrollbar {
    display: none;
}

.tm-chip {
    flex-shrink: 0;
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--tm-line);
    border-radius: 999px;
    background: #fff;
    color: var(--tm-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

.tm-chip:hover {
    border-color: var(--tm-ink);
    color: var(--tm-ink);
}

.tm-chip.is-active {
    background: var(--tm-ink);
    border-color: var(--tm-ink);
    color: #fff;
}

.tm-vitrine__layout {
    display: block;
}

.tm-vitrine--sidebar .tm-vitrine__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.tm-vitrine__conteudo {
    min-width: 0;
}

.tm-vitrine__status {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-vitrine__mais {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.tm-filtros-btn {
    display: none;
}

.tm-filtros {
    position: sticky;
    top: calc(var(--tm-header-h) + 16px);
    padding: 12px;
    background: #fff;
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    max-height: calc(100vh - var(--tm-header-h) - 40px);
    overflow-y: auto;
}

.tm-filtros__todos,
.tm-filtros button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--tm-radius-sm);
    background: transparent;
    color: var(--tm-text);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.tm-filtros__todos {
    font-weight: 700;
    color: var(--tm-ink);
}

.tm-filtros button:hover,
.tm-filtros button.is-active {
    background: var(--tm-primary-50);
    color: var(--tm-primary);
}

.tm-filtros__grupo summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--tm-radius-sm);
    font-weight: 600;
    font-size: 14px;
    color: var(--tm-ink);
    cursor: pointer;
    list-style: none;
}

.tm-filtros__grupo summary::-webkit-details-marker {
    display: none;
}

.tm-filtros__grupo summary:hover {
    background: var(--tm-bg-alt);
}

.tm-filtros__grupo summary i {
    font-size: 11px;
    transition: transform .2s;
}

.tm-filtros__grupo[open] summary i {
    transform: rotate(180deg);
}

.tm-filtros__grupo ul {
    margin: 0 0 6px 12px;
    padding: 0 0 0 8px;
    list-style: none;
    border-left: 2px solid var(--tm-line);
}

/* ---------- Posts / depoimentos ---------- */
.tm-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tm-post {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--tm-line);
    border-radius: var(--tm-radius);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}

.tm-post:hover {
    transform: translateY(-3px);
    box-shadow: var(--tm-shadow);
}

.tm-post__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tm-bg-alt);
}

.tm-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-post__body {
    padding: 20px 22px 24px;
}

.tm-post__titulo {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.3;
}

.tm-post__titulo a:hover {
    color: var(--tm-primary);
}

.tm-post__texto {
    font-size: 15px;
    color: var(--tm-muted);
}

/* ---------- Blocos de texto da home ---------- */
.tm-blocos {
    display: grid;
    gap: clamp(40px, 6vw, 80px);
}

.tm-bloco {
    display: grid;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.tm-bloco--com-imagem {
    grid-template-columns: 1.3fr 1fr;
}

.tm-bloco--invertido.tm-bloco--com-imagem {
    grid-template-columns: 1fr 1.3fr;
}

.tm-bloco--invertido .tm-bloco__imagem {
    order: -1;
}

.tm-bloco__titulo {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
}

.tm-bloco__imagem {
    margin: 0;
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
    box-shadow: var(--tm-shadow);
}

.tm-bloco__imagem img {
    width: 100%;
    display: block;
}

.tm-banner-central {
    position: relative;
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
}

.tm-banner-central img {
    width: 100%;
    display: block;
}

.tm-banner-central__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: clamp(20px, 4vw, 48px);
    background: linear-gradient(0deg, rgba(2, 6, 23, .7), rgba(2, 6, 23, 0) 60%);
}

.tm-banner-central__overlay h2 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(22px, 3.4vw, 40px);
    color: #fff;
}

/* ---------- Produto ---------- */
.tm-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-breadcrumb i {
    font-size: 9px;
    opacity: .6;
}

.tm-breadcrumb a:hover {
    color: var(--tm-primary);
}

.tm-breadcrumb span {
    color: var(--tm-ink);
    font-weight: 500;
}

.tm-produto {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: start;
}

.tm-produto__info {
    position: sticky;
    top: calc(var(--tm-header-h) + 20px);
}

.tm-produto__nome {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
}

.tm-qv__nome {
    margin: 0 0 6px;
    padding-right: 40px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.2;
}

.tm-produto__sku {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-dot {
    margin: 0 6px;
}

.tm-produto__preco {
    margin: 0 0 22px;
    font-family: var(--tm-font-display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    color: var(--tm-ink);
}

/* bloco de preço: total em destaque + unitário quando há mais de 1 unidade */
.tm-preco {
    margin: 0 0 22px;
}

.tm-preco .tm-produto__preco {
    margin: 0;
    transition: color .2s;
}

.tm-preco__unit {
    margin: 4px 0 0;
    color: var(--tm-muted);
    font-size: 14px;
}

.tm-qtde button:disabled {
    opacity: .35;
    cursor: not-allowed;
    background: transparent;
}

.tm-field {
    margin-bottom: 18px;
}

.tm-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-ink);
}

/* select2 dentro do tema */
.tm-select {
    border: 1px solid var(--tm-line) !important;
    border-radius: 12px !important;
    background: #fff;
    width: 100% !important;
}

.tm-select .select2-container .select2-selection--single {
    height: 48px !important;
}

.tm-select .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 16px !important;
    color: var(--tm-ink) !important;
    font-size: 15px;
}

.tm-compra {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.tm-compra .tm-btn {
    flex: 1;
    min-width: 200px;
}

.tm-qtde.wrap-num-product {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 52px;
    margin: 0;
    border: 1px solid var(--tm-line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.tm-qtde button {
    width: 46px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--tm-ink);
    font-size: 13px;
    cursor: pointer;
}

.tm-qtde button:hover {
    background: var(--tm-bg-alt);
    color: var(--tm-primary);
}

.tm-qtde input.num-product {
    width: 52px;
    height: 100%;
    border: 0;
    background: transparent;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: var(--tm-ink);
    -moz-appearance: textfield;
}

.tm-qtde input::-webkit-outer-spin-button,
.tm-qtde input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tm-garantias {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--tm-muted);
}

.tm-garantias i {
    margin-right: 6px;
    color: var(--tm-success);
}

.tm-specs {
    padding: 18px 20px;
    background: var(--tm-bg-alt);
    border-radius: var(--tm-radius);
}

.tm-specs__titulo {
    margin: 0 0 10px;
    font-size: 15px;
}

.tm-specs dl {
    margin: 0;
}

.tm-specs dl>div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-top: 1px solid var(--tm-line);
    font-size: 14px;
}

.tm-specs dt {
    font-weight: 500;
    color: var(--tm-muted);
}

.tm-specs dd {
    margin: 0;
    text-align: right;
    color: var(--tm-ink);
}

.tm-descricao {
    margin-top: clamp(32px, 5vw, 56px);
    padding-top: clamp(24px, 4vw, 40px);
    border-top: 1px solid var(--tm-line);
    max-width: 860px;
}

.tm-descricao__titulo {
    margin: 0 0 16px;
    font-size: 22px;
}

/* Galeria (slick3 do main.js) — imagem grande + miniaturas abaixo */
.tm-gallery .wrap-slick3 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.tm-gallery .slick3 {
    order: 1;
    width: 100%;
    border-radius: var(--tm-radius-lg);
    overflow: hidden;
    background: var(--tm-bg-alt);
}

.tm-gallery .wrap-slick3-dots {
    order: 2;
    width: 100%;
}

.tm-gallery .wrap-slick3-arrows {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    top: 0;
    z-index: 5;
    pointer-events: none;
}

.tm-gallery .item-slick3 .wrap-pic-w {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    height: auto !important;
    background: var(--tm-bg-alt);
}

.tm-gallery .item-slick3 .wrap-pic-w img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tm-gallery .how-pos1 {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    min-width: 0 !important;
    height: 42px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .92) !important;
    color: var(--tm-ink) !important;
    font-size: 15px;
    box-shadow: var(--tm-shadow-sm);
}

.tm-gallery .how-pos1:hover {
    background: var(--tm-primary) !important;
    color: #fff !important;
}

.tm-gallery .arrow-slick3 {
    pointer-events: auto;
    top: 0;
    width: 42px;
    height: 42px;
    margin-top: calc(50% - 21px);
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--tm-ink);
    font-size: 20px;
    box-shadow: var(--tm-shadow-sm);
}

.tm-gallery .prev-slick3 {
    left: 14px;
}

.tm-gallery .next-slick3 {
    right: 14px;
}

.tm-gallery .arrow-slick3:hover {
    background: var(--tm-primary);
    color: #fff;
}

.tm-gallery .slick3-dots {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tm-gallery .slick3-dots li,
.js-modal1 .tm-gallery .slick3-dots li {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    display: block !important;
    cursor: pointer;
}

.tm-gallery .slick3-dots li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-gallery .slick3-dot-overlay {
    border-radius: 10px;
}

.tm-gallery .slick3-dots .slick-active .slick3-dot-overlay {
    border-color: var(--tm-primary);
}

/* ---------- Modal de visualização rápida ---------- */
.tm-qv.wrap-modal1 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(12px, 4vh, 48px) 12px;
    z-index: 9000;
}

.tm-qv .overlay-modal1 {
    background: rgba(2, 6, 23, .6);
    opacity: 1;
}

.tm-qv__dialog {
    position: relative;
    width: min(1040px, 100%);
    margin: auto 0;
    padding: clamp(18px, 3vw, 36px);
    background: #fff;
    border-radius: var(--tm-radius-lg);
    box-shadow: var(--tm-shadow-lg);
    transform: translateY(16px) scale(.98);
    transition: transform .3s var(--tm-ease);
}

.tm-qv.show-modal1 .tm-qv__dialog {
    transform: none;
}

.tm-qv__fechar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    background: var(--tm-bg-alt);
}

.tm-qv__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 44px);
}

.js-modal1 .tm-gallery .slick3 .wrap-pic-w {
    height: auto;
}

.tm-qv__descricao {
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid var(--tm-line);
}

.tm-qv__descricao h4 {
    margin: 0 0 8px;
    font-size: 15px;
}

.tm-qv__descricao .tm-rich {
    max-height: 220px;
    overflow-y: auto;
    font-size: 15px;
}

/* ---------- Rodapé ---------- */
.tm-footer {
    margin-top: clamp(40px, 6vw, 80px);
    padding-top: clamp(48px, 6vw, 72px);
    background: var(--tm-dark);
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
}

.tm-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 40px;
    padding-bottom: 48px;
}

.tm-footer__logo {
    display: inline-flex;
    padding: 12px 16px;
    background: #fff;
    border-radius: var(--tm-radius);
}

.tm-footer__logo img {
    max-height: 48px;
    max-width: 170px;
    object-fit: contain;
}

.tm-footer__nome {
    margin: 16px 0 18px;
    color: #fff;
    font-weight: 600;
}

.tm-footer__titulo {
    margin: 0 0 18px;
    color: #fff !important;
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tm-footer__lista {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tm-footer__lista li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.5;
}

.tm-footer__lista i {
    width: 16px;
    margin-top: 4px;
    color: color-mix(in srgb, var(--tm-primary) 55%, #fff);
}

.tm-footer a:hover {
    color: #fff;
}

.tm-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tm-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background-color .2s, transform .2s;
}

.tm-social a:hover {
    background: var(--tm-primary);
    transform: translateY(-2px);
}

.tm-footer__base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

.tm-footer__base a {
    color: #fff;
    font-weight: 600;
}

/* ---------- Flutuantes ---------- */
.tm-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 950;
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--tm-ink);
    color: #fff;
    box-shadow: var(--tm-shadow);
    cursor: pointer;
}

.tm-to-top:hover {
    background: var(--tm-primary);
}

.tm-whats {
    position: fixed;
    right: 22px;
    bottom: 84px;
    z-index: 960;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    font-size: 30px;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
    transition: transform .2s;
}

.tm-whats:hover {
    transform: scale(1.06);
}

.tm-whats--alto {
    bottom: 150px;
}

/* Aviso de cookies: só aparece se ainda não foi aceito (classe definida no <head>) */
.tm-body #divCookie {
    display: none;
}

.tm-cookie-pendente .tm-body #divCookie {
    display: block;
}

.tm-body #aviso-cookies {
    left: 50%;
    bottom: 16px;
    z-index: 1100;
    width: min(760px, calc(100% - 24px));
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--tm-radius);
    background: var(--tm-ink);
    box-shadow: var(--tm-shadow-lg);
    transform: translateX(-50%);
}

.tm-body #texto-cookies,
.tm-body #texto-cookies *:not(i) {
    margin: 0;
    font-family: var(--tm-font);
    color: rgba(255, 255, 255, .85);
}

/* o msgcookies.css força a fonte em "#texto-cookies *"; o ícone precisa da fonte do Font Awesome */
.tm-body #texto-cookies i.fas {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.tm-body #texto-cookies i {
    margin-right: 6px;
    color: #fbbf24;
}

.tm-body #entendi-cookies {
    flex-shrink: 0;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--tm-ink);
    font-weight: 700;
    text-shadow: none;
}

.tm-body #entendi-cookies:hover {
    background: var(--tm-primary);
    color: #fff;
}

/* Loader */
.tm-body #loader {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(2px);
    color: var(--tm-ink);
    font-weight: 600;
}

.tm-body .spinner {
    border-color: var(--tm-line);
    border-top-color: var(--tm-primary);
}

/* ==========================================================================
   Harmonização das páginas internas (carrinho, checkout, cliente, colônias...)
   Remapeia as utilidades do layout clássico para a identidade do tema.
   ========================================================================== */
.tm-main .cl1,
.tm-main .hov-cl1:hover {
    color: var(--tm-primary) !important;
}

.tm-main .bg1 {
    background-color: var(--tm-primary);
}

.tm-main .bg3 {
    background-color: var(--tm-ink);
}

.tm-main .hov-btn1:hover,
.tm-main .hov-btn3:hover,
.tm-main .hov-bg1:hover {
    background-color: var(--tm-primary-600) !important;
    border-color: var(--tm-primary-600) !important;
    color: #fff !important;
}

.tm-main .bor1,
.tm-main .bor2 {
    border-radius: 999px;
}

.tm-main .how-active1 {
    color: var(--tm-primary);
    border-color: var(--tm-primary);
}

.tm-main .stext-101,
.tm-main .stext-102,
.tm-main .stext-104,
.tm-main .stext-106,
.tm-main .stext-107,
.tm-main .stext-108,
.tm-main .stext-109,
.tm-main .stext-110,
.tm-main .stext-111,
.tm-main .stext-113,
.tm-main .stext-114,
.tm-main .stext-115,
.tm-main .mtext-101,
.tm-main .mtext-102,
.tm-main .mtext-103,
.tm-main .mtext-104,
.tm-main .mtext-106,
.tm-main .mtext-107,
.tm-main .mtext-109,
.tm-main .mtext-110 {
    font-family: var(--tm-font);
}

.tm-main .ltext-101,
.tm-main .ltext-102,
.tm-main .ltext-103,
.tm-main .ltext-105,
.tm-main .ltext-106,
.tm-main .mtext-105,
.tm-main .mtext-108,
.tm-main .mtext-111,
.tm-main .mtext-112,
.tm-main .mtext-113 {
    font-family: var(--tm-font-display);
    font-weight: 800;
    color: var(--tm-ink);
    letter-spacing: -.01em;
}

.tm-main .bread-crumb {
    font-size: 14px;
}

.tm-main .form-control {
    min-height: 46px;
    border: 1px solid var(--tm-line);
    border-radius: 12px;
    color: var(--tm-ink);
    font-family: var(--tm-font);
    transition: border-color .2s, box-shadow .2s;
}

.tm-main textarea.form-control {
    min-height: 120px;
}

.tm-main .form-control:focus {
    border-color: var(--tm-primary);
    box-shadow: 0 0 0 4px var(--tm-primary-100);
}

.tm-main .btn {
    border-radius: 999px;
    font-weight: 600;
    font-family: var(--tm-font);
}

.tm-main .btn-primary {
    background-color: var(--tm-primary);
    border-color: var(--tm-primary);
}

.tm-main .btn-primary:hover,
.tm-main .btn-primary:focus {
    background-color: var(--tm-primary-600);
    border-color: var(--tm-primary-600);
}

.tm-main .btn-outline-primary {
    color: var(--tm-primary);
    border-color: var(--tm-primary);
}

.tm-main .btn-outline-primary:hover {
    background-color: var(--tm-primary);
    color: #fff;
}

.tm-main .card {
    border-color: var(--tm-line);
    border-radius: var(--tm-radius);
}

.tm-main .table {
    color: var(--tm-text);
}

.tm-main .table thead th {
    border-bottom-width: 1px;
    color: var(--tm-ink);
    font-weight: 600;
}

.tm-main .nav-tabs .nav-link.active {
    color: var(--tm-primary);
}

.tm-main .page-item.active .page-link {
    background-color: var(--tm-primary);
    border-color: var(--tm-primary);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
/* muitos itens no menu: o tema.js reduz espaçamento/fonte (denso) e,
   só se ainda não couber, quebra em duas linhas */
.tm-header--denso .tm-nav__link {
    padding: 8px 7px;
    font-size: 13.5px;
}

.tm-header--denso .tm-logo img {
    max-width: 140px;
}

.tm-header--extra .tm-nav__link {
    padding: 7px 5px;
    font-size: 13px;
}

.tm-header--extra .tm-header__acoes .tm-icon-btn {
    min-width: 38px;
    padding: 0 6px;
}

/* último recurso no desktop: o menu quebra em duas linhas (hambúrguer só no mobile) */
.tm-header--quebra .tm-nav__list {
    flex-wrap: wrap;
    row-gap: 2px;
    padding-block: 6px;
}

@media (max-width: 1199px) {
    .tm-carousel {
        grid-auto-columns: calc((100% - 2 * 20px) / 3);
    }
}

@media (max-width: 991px) {
    :root {
        --tm-header-h: 66px;
    }

    .tm-nav {
        display: none;
    }

    .tm-burger {
        display: inline-flex;
    }

    .tm-header__inner {
        gap: 8px;
    }

    .tm-hide-md {
        display: none;
    }

    .tm-conta-btn__txt {
        display: none;
    }

    .tm-logo img {
        max-height: 44px;
        max-width: 150px;
    }

    .tm-produto,
    .tm-qv__grid {
        grid-template-columns: 1fr;
    }

    .tm-produto__info {
        position: static;
    }

    .tm-vitrine--sidebar .tm-vitrine__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tm-filtros {
        position: static;
        max-height: none;
        margin-bottom: 20px;
    }

    .tm-filtros-btn {
        display: inline-flex;
    }

    .tm-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .tm-bloco--com-imagem,
    .tm-bloco--invertido.tm-bloco--com-imagem {
        grid-template-columns: 1fr;
    }

    .tm-bloco--invertido .tm-bloco__imagem {
        order: 0;
    }

    .tm-hero__overlay {
        background: linear-gradient(0deg, rgba(2, 6, 23, .75) 0%, rgba(2, 6, 23, .25) 70%);
    }

    .tm-hero__conteudo {
        justify-content: flex-end;
        padding-bottom: 54px;
    }

    .tm-hero__arrow {
        display: none !important;
    }

    /* em telas de toque o botão "Detalhes" fica sempre visível */
    .tm-card__quick {
        opacity: 1;
        transform: none;
        left: auto;
        right: 10px;
        bottom: 10px;
        width: 40px;
        padding: 0;
    }

    .tm-card__quick span {
        display: none;
    }
}

@media (max-width: 767px) {
    .tm-topbar__contato {
        display: none;
    }

    .tm-topbar__inner {
        justify-content: center;
    }

    .tm-topbar__conta {
        justify-content: center;
        gap: 4px 14px;
        padding-block: 6px;
    }

    .tm-carousel {
        grid-auto-columns: 46%;
        gap: 14px;
    }

    .tm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tm-card__body {
        padding: 12px 12px 14px;
    }

    .tm-card__nome {
        font-size: 14px;
    }

    .tm-card__preco {
        font-size: 16px;
    }

    .tm-vitrine__toolbar {
        flex-direction: column;
    }

    .tm-searchbox {
        max-width: none;
    }

    .tm-section__head--row {
        align-items: flex-start;
    }

    .tm-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tm-body #aviso-cookies {
        flex-direction: column;
        text-align: center;
    }

    .tm-qv.wrap-modal1 {
        padding: 0;
    }

    .tm-qv__dialog {
        min-height: 100%;
        border-radius: 0;
    }
}

@media (max-width: 420px) {
    .tm-searchbox .tm-btn {
        padding: 0 14px;
        font-size: 0;
    }

    .tm-searchbox .tm-btn::before {
        content: "\f002";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 15px;
    }

    .tm-compra .tm-btn {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
