﻿/* ══════════════════════════════════════════════════════════════

   PROFÍCIOS B2B — Design System

   Paleta: Azul escuro #0D1B2A | Ciano #00AEEF | Magenta #EC008C

           Amarelo #FFF200 | K/Cinza #E8E8E8

   Tipografia: Poppins (headings) + Inter (body)

══════════════════════════════════════════════════════════════ */



:root {

  --navy:     #0D1B2A;

  --navy-80:  #1a2d42;

  --navy-60:  #243d59;

  --cyan:     #00AEEF;

  --cyan-d:   #0090cc;

  --magenta:  #EC008C;

  --yellow:   #FFF200;

  --k-light:  #E8E8E8;

  --white:    #FFFFFF;

  --gray-100: #F8FAFC;

  --gray-200: #EEF2F7;

  --gray-400: #9CA3AF;

  --gray-600: #4B5563;

  --gray-800: #1F2937;

  --success:  #10B981;

  --mp-blue:  #009ee3;



  --font-head: 'Poppins', sans-serif;

  --font-body: 'Inter', sans-serif;



  --radius-sm: 8px;

  --radius-md: 14px;

  --radius-lg: 20px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);

  --shadow-md: 0 4px 20px rgba(0,0,0,.10);

  --shadow-lg: 0 12px 40px rgba(0,0,0,.16);

  --trans:     .18s ease;

}



/* ── Reset + Base ────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {

  font-family: var(--font-body);

  font-size: 15px;

  color: var(--gray-800);

  background: var(--gray-100);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

ul { list-style: none; }

input, textarea { font-family: var(--font-body); }



/* ── Typography helpers ──────────────────────────────────────────────── */

h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }



/* ══════════════════════════ HEADER ══════════════════════════════════ */

.site-header {

  position: sticky; top: 0; z-index: 100;

  background: #f5f5f5;

  box-shadow: 0 2px 8px rgba(0,0,0,.07);

}

.header-inner {

  max-width: 1280px; margin: 0 auto;

  padding: 1.15rem 1.5rem;

  display: flex; align-items: center; gap: 1.25rem;

}



/* Logo empilhada: bolinhas em cima, PROFÍCIOS em baixo */

.logo-link {

  display: flex; align-items: center;

  flex-shrink: 0; transition: opacity var(--trans);

}

.logo-link:hover { opacity: .82; }

.logo-block { display: flex; flex-direction: column; align-items: center; gap: .22rem; }

.logo-svg-dots { width: 66px; height: auto; display: block; }

.logo-name {

  font-family: var(--font-head); font-weight: 800;

  font-size: .78rem; letter-spacing: .13em; color: var(--navy);

  text-align: center; white-space: nowrap;

}



/* Search */

.header-search {

  flex: 1; position: relative; max-width: 460px;

  display: flex; align-items: center;

}

.header-search i {

  position: absolute; left: .9rem; color: var(--gray-400); font-size: .95rem; pointer-events: none;

}

.header-search input {

  width: 100%; padding: .65rem 1rem .65rem 2.5rem;

  border: 1.5px solid var(--gray-200);

  border-radius: var(--radius-lg);

  background: var(--gray-100);

  color: var(--gray-800); font-size: .9rem;

  transition: border-color var(--trans), background var(--trans);

}

.header-search input::placeholder { color: var(--gray-400); }

.header-search input:focus {

  outline: none;

  border-color: var(--cyan);

  background: var(--white);

}



/* Login button */

.header-actions {

  flex-shrink: 0; display: flex; align-items: center; gap: .75rem;

}

.btn-login {

  display: flex; align-items: center; gap: .6rem;

  padding: .35rem .75rem; border-radius: var(--radius-md);

  border: 1.5px solid var(--gray-200);

  color: var(--navy); font-size: .8rem; font-weight: 500;

  transition: all var(--trans);

}

.btn-login i { font-size: 1.4rem; color: var(--cyan); flex-shrink: 0; }

.btn-login:hover {

  background: rgba(0,174,239,.06);

  border-color: var(--cyan);

}

.btn-login-multi { display: flex; flex-direction: column; line-height: 1.25; }

.login-boas-vindas { font-size: .66rem; color: var(--gray-400); font-weight: 400; }

.login-acao { font-size: .77rem; color: var(--navy); font-weight: 600; }

.login-acao strong { color: var(--cyan); }



/* Cart button — inline summary */

.cart-btn {

  display: flex; align-items: center; gap: .5rem;

  padding: .45rem .9rem; border-radius: var(--radius-lg);

  background: var(--navy);

  border: 1px solid var(--navy);

  color: var(--white); font-size: 1.05rem;

  transition: background var(--trans), border-color var(--trans);

  white-space: nowrap;

}

.cart-btn:hover {

  background: var(--navy-60);

  border-color: var(--navy-60);

}

.cart-summary {

  font-family: var(--font-body); font-size: .8rem; font-weight: 500;

  color: rgba(255,255,255,.65); transition: color var(--trans);

}

.cart-summary.cart-has-items { color: var(--cyan); font-weight: 600; }



/* ══════════════════════════ SUBNAV CATEGORIAS ══════════════════════ */

.cat-nav {

  background: #071320;

  border-bottom: 1px solid rgba(0,174,239,.18);

  position: sticky; top: 70px; z-index: 90;

}

.cat-nav-inner {

  max-width: 1280px; margin: 0 auto;

  padding: 0 1.5rem;

  display: flex; align-items: center; gap: 0;

  overflow-x: auto; scrollbar-width: none;

}

.cat-nav-inner::-webkit-scrollbar { display: none; }



.cat-nav-item {

  flex-shrink: 0;

  padding: 1rem 1.2rem;

  font-size: .75rem; font-weight: 600; font-family: var(--font-body);

  color: rgba(255,255,255,.48);

  border-bottom: 2px solid transparent;

  cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;

  transition: color var(--trans), border-color var(--trans);

  white-space: nowrap; letter-spacing: .06em; text-transform: uppercase;

}

.cat-nav-item:hover { color: rgba(255,255,255,.88); }

.cat-nav-item.active {

  color: var(--cyan);

  border-bottom-color: var(--cyan);

}



/* Separador antes de OFERTA DA SEMANA */

.cat-nav-sep {

  flex-shrink: 0; width: 1px; height: 18px;

  background: rgba(255,255,255,.12); align-self: center; margin: 0 .25rem;

}



/* OFERTA DA SEMANA — amarelo CMYK (3ª bolinha da logo) */

.cat-nav-oferta {

  color: var(--yellow) !important;

  text-shadow: 0 0 18px rgba(255,242,0,.35);

  opacity: .9;

}

.cat-nav-oferta:hover {

  color: var(--yellow) !important;

  text-shadow: 0 0 22px rgba(255,242,0,.55);

  opacity: 1;

}

.cat-nav-oferta.active {

  color: var(--yellow) !important;

  border-bottom-color: var(--yellow) !important;

  text-shadow: 0 0 20px rgba(255,242,0,.5);

  opacity: 1;

}



/* ══════════════════════════ HERO ════════════════════════════════════ */

.hero {

  background: linear-gradient(135deg, var(--navy) 0%, #132338 55%, #0a2240 100%);

  padding: 3.5rem 1.5rem 2.5rem;

  text-align: center;

  position: relative; overflow: hidden;

}

.hero::before {

  content: '';

  position: absolute; inset: 0;

  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,174,239,.12) 0%, transparent 70%);

  pointer-events: none;

}

.hero-content { position: relative; max-width: 640px; margin: 0 auto; }



.hero-eyebrow {

  display: inline-flex; align-items: center; gap: .4rem;

  background: rgba(255,255,255,.06);

  border: 1px solid rgba(255,255,255,.1);

  border-radius: 50px; padding: .35rem .9rem;

  color: var(--k-light); font-size: .78rem; margin-bottom: 1.5rem;

}

.cmyk-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }



.hero-title {

  font-weight: 800; color: var(--white);

  margin-bottom: 1rem; letter-spacing: -.02em;

  text-align: center;

}

.h1-l1 {

  display: block;

  font-size: clamp(1.25rem, 2.6vw, 1.75rem);

  font-weight: 700;

  color: var(--white);

  line-height: 1.3;

  margin-bottom: .35rem;

}

.h1-l2 {

  display: block;

  font-size: clamp(1.55rem, 3.4vw, 2.4rem);

  font-weight: 800;

  color: var(--cyan);

  font-style: normal;

  letter-spacing: .04em;

  line-height: 1.15;

}



.hero-sub {

  color: rgba(255,255,255,.65); font-size: .875rem; line-height: 1.7;

}







/* ══════════════════════════ TARJA DE BENEFÍCIOS ════════════════════════ */

.benefits-bar {

  background: var(--white);

  border-top: 1px solid var(--gray-200);

  border-bottom: 3px solid var(--gray-200);

}

.benefits-inner {

  max-width: 1280px; margin: 0 auto;

  padding: 0 1.5rem;

  display: flex; align-items: stretch;

}

.benefit-item {

  flex: 1 1 0;

  display: flex; align-items: flex-start; gap: .85rem;

  padding: 1.15rem 1.25rem;

}

.benefit-sep {

  width: 1px; background: var(--gray-200);

  flex-shrink: 0; align-self: stretch;

  margin: .6rem 0;

}

.benefit-icon {

  width: 44px; height: 44px; border-radius: 50%;

  display: flex; align-items: center; justify-content: center;

  flex-shrink: 0;

  color: var(--white);

  font-size: 1.2rem;

  box-shadow: 0 2px 8px rgba(0,0,0,.13);

}

.benefit-icon--yellow {

  background: var(--yellow);

  color: var(--navy) !important;

}

.benefit-text { min-width: 0; }

.benefit-text strong {

  display: block;

  font-family: var(--font-head);

  font-size: .73rem; font-weight: 700;

  color: var(--navy); letter-spacing: .09em;

  text-transform: uppercase; margin-bottom: .25rem;

}

.benefit-text span {

  font-size: .74rem; line-height: 1.5;

  color: var(--gray-600);

}

@media (max-width: 900px) {

  .benefits-inner { flex-wrap: wrap; }

  .benefit-item   { flex: 1 1 calc(50% - 1px); }

  .benefit-sep:nth-child(4) { display: none; }

}

@media (max-width: 600px) {

  .benefits-inner { flex-direction: column; padding: 0; }

  .benefit-item   { flex: none; padding: .9rem 1.25rem; border-bottom: 1px solid var(--gray-200); }

  .benefit-item:last-child { border-bottom: none; }

  .benefit-sep    { display: none; }

}

/* ══════════════════════════ CATALOG ════════════════════════════════ */

.catalog { padding: 2.5rem 1.5rem 4rem; }

.catalog-wrap { max-width: 1280px; margin: 0 auto; }



/* ── Menu lateral / Árvore de categorias ── */

.cat-sidebar { display: none; }

.cat-sidebar-title {

  font-size: .68rem; font-weight: 700; letter-spacing: .1em;

  color: var(--gray-400); text-transform: uppercase;

  padding-bottom: .5rem; border-bottom: 1px solid var(--gray-200); margin-bottom: .6rem;

}

.cat-sidebar-root {

  width: 100%; text-align: left; padding: .45rem .5rem; border-radius: var(--radius-sm);

  background: transparent; border: none; font-size: .82rem; font-weight: 700;

  color: var(--navy); cursor: pointer; display: flex; align-items: center; gap: .4rem;

  transition: all var(--trans);

}

.cat-sidebar-root:hover { background: rgba(0,174,239,.07); color: var(--cyan-d); }

.cat-sidebar-root.active { background: rgba(0,174,239,.1); color: var(--cyan-d); }

.cat-sidebar-arrow { font-size: .7rem; transition: transform var(--trans); }

.cat-sidebar-root.active .cat-sidebar-arrow { transform: rotate(90deg); }

.cat-sidebar-tree {

  display: flex; flex-direction: column; gap: .1rem; padding-left: 1.1rem; margin-top: .2rem;

}

.cat-sidebar-leaf {

  text-align: left; padding: .3rem .5rem; border-radius: var(--radius-sm);

  background: transparent; border: none; font-size: .78rem; color: var(--gray-600);

  cursor: pointer; transition: all var(--trans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;

}

.cat-sidebar-leaf:hover { background: rgba(0,174,239,.06); color: var(--cyan-d); }

.cat-sidebar-leaf.active { color: var(--cyan-d); font-weight: 600; background: rgba(0,174,239,.1); }

.cat-main { min-width: 0; }




@media (max-width: 860px) {

  .catalog-wrap { grid-template-columns: 1fr; }

  .cat-sidebar { display: none; }

}



/* Filter bar */

.filter-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }

.filter-pills { display: flex; gap: .5rem; flex-wrap: wrap; }

.pill {

  padding: .4rem 1rem; border-radius: 50px;

  border: 1.5px solid var(--gray-200);

  background: var(--white); color: var(--gray-600);

  font-size: .82rem; font-weight: 500; font-family: var(--font-body);

  cursor: pointer; transition: all var(--trans);

}

.pill:hover { border-color: var(--cyan); color: var(--cyan-d); }

.pill.active {

  background: var(--navy); color: var(--white); border-color: var(--navy);

}

.catalog-count { margin-left: auto; font-size: .82rem; color: var(--gray-400); white-space: nowrap; }



/* Product grid */

.product-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 1.4rem;

}



/* Product card */

.product-card {

  background: var(--white);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);

  overflow: hidden;

  display: flex; flex-direction: column;

  transition: transform var(--trans), box-shadow var(--trans);

  border: 1px solid var(--gray-200);

  animation: fadeUp .3s ease both;

}

.product-card:hover {

  transform: translateY(-4px);

  box-shadow: var(--shadow-md);

}

@keyframes fadeUp {

  from { opacity: 0; transform: translateY(16px); }

  to   { opacity: 1; transform: translateY(0); }

}



.card-img-wrap {

  aspect-ratio: 1/1;

  background: var(--gray-100);

  display: flex; align-items: center; justify-content: center;

  overflow: hidden;

}

.card-img-wrap img {

  width: 100%; height: 100%; object-fit: cover;

  transition: transform .3s ease;

}

.product-card:hover .card-img-wrap img { transform: scale(1.04); }

.card-img-placeholder {

  width: 64px; height: 64px; color: var(--gray-400);

  display: flex; align-items: center; justify-content: center;

  font-size: 2.5rem;

}



.card-body {

  padding: 1rem 1rem .75rem; flex: 1; display: flex; flex-direction: column; gap: .5rem;

}

.card-sku {

  font-size: .7rem; font-weight: 600; letter-spacing: .06em;

  color: var(--cyan-d); text-transform: uppercase;

}

.card-name {

  font-family: var(--font-head); font-weight: 600; font-size: .9rem;

  color: var(--gray-800); line-height: 1.3;

  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.35em * 2);
}

.card-price-wrap { margin-top: auto; padding-top: .6rem; display: flex; flex-direction: column; gap: .15rem; }

.card-price-promo { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--navy); }

.card-price-orig  { font-size: .78rem; color: var(--gray-400); text-decoration: line-through; }

.card-stock-ok    { font-size: .72rem; color: var(--success); font-weight: 500; }

.card-stock-low   { font-size: .72rem; color: #F59E0B; font-weight: 500; }

.card-stock-out   { font-size: .72rem; color: #EF4444; font-weight: 500; }



.card-foot { padding: 0 1rem 1.25rem; }

.btn-add-cart {

  width: 100%; padding: .6rem;

  background: var(--navy); color: var(--white);

  border-radius: var(--radius-sm);

  font-family: var(--font-head); font-weight: 600; font-size: .85rem;

  transition: background var(--trans), transform .1s;

  display: flex; align-items: center; justify-content: center; gap: .4rem;

}

.btn-add-cart:hover  { background: var(--navy-60); }

.btn-add-cart:active { transform: scale(.97); }

.btn-add-cart:disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }



/* Skeleton loading */

.skeleton {

  background: var(--white); border-radius: var(--radius-md);

  overflow: hidden; border: 1px solid var(--gray-200);

  min-height: 320px;

}

.skeleton::after {

  content: '';

  display: block; height: 100%;

  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);

  background-size: 200% 100%;

  animation: shimmer 1.4s infinite;

}

@keyframes shimmer {

  0%   { background-position: 200% 0; }

  100% { background-position: -200% 0; }

}



/* Empty + load more */

.empty-state {

  text-align: center; padding: 4rem 1rem;

  color: var(--gray-400);

}

.empty-state i { font-size: 3rem; display: block; margin-bottom: .75rem; }



.pagination-wrap { display: flex; justify-content: center; align-items: center; gap: .5rem; padding: 2rem 0 1rem; flex-wrap: wrap; }



/* ══════════════════════════ BUTTONS ═════════════════════════════════ */

.btn-primary {

  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;

  padding: .75rem 1.5rem; border-radius: var(--radius-sm);

  background: var(--cyan); color: var(--navy);

  font-family: var(--font-head); font-weight: 700; font-size: .9rem;

  transition: background var(--trans), transform .1s;

  border: none; cursor: pointer;

}

.btn-primary:hover  { background: var(--cyan-d); color: var(--white); }

.btn-primary:active { transform: scale(.97); }

.btn-primary:disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }



.btn-outline {

  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;

  padding: .7rem 1.3rem; border-radius: var(--radius-sm);

  border: 1.5px solid var(--gray-200); background: var(--white);

  color: var(--gray-600); font-family: var(--font-head); font-weight: 600; font-size: .9rem;

  transition: all var(--trans); cursor: pointer;

}

.btn-outline:hover { border-color: var(--navy); color: var(--navy); }



.btn-mp {

  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;

  padding: .75rem 1.5rem; border-radius: var(--radius-sm);

  background: var(--mp-blue); color: var(--white);

  font-family: var(--font-head); font-weight: 700; font-size: .9rem;

  transition: background var(--trans); cursor: pointer; border: none;

}

.btn-mp:hover { background: #007cc2; }



.w-full { width: 100%; }

.icon-btn {

  display: flex; align-items: center; justify-content: center;

  width: 36px; height: 36px; border-radius: 50%;

  color: var(--gray-600); font-size: 1.1rem;

  transition: background var(--trans);

}

.icon-btn:hover { background: var(--gray-200); }



/* ══════════════════════════ OVERLAY ═════════════════════════════════ */

.overlay {

  position: fixed; inset: 0; z-index: 200;

  background: rgba(13,27,42,.55); backdrop-filter: blur(3px);

  opacity: 0; pointer-events: none;

  transition: opacity .25s ease;

}

.overlay.visible { opacity: 1; pointer-events: all; }



/* ══════════════════════════ CART SIDEBAR ════════════════════════════ */

.cart-sidebar {

  position: fixed; top: 0; right: 0; bottom: 0; z-index: 300;

  width: 100%; max-width: 400px;

  background: var(--white);

  box-shadow: var(--shadow-lg);

  display: flex; flex-direction: column;

  transform: translateX(100%);

  transition: transform .28s cubic-bezier(.4,0,.2,1);

}

.cart-sidebar.open { transform: translateX(0); }



.cart-head {

  display: flex; align-items: center; justify-content: space-between;

  padding: 1.25rem 1.5rem;

  border-bottom: 1px solid var(--gray-200);

}

.cart-head h2 {

  font-size: 1.05rem; font-family: var(--font-head); font-weight: 700;

  display: flex; align-items: center; gap: .5rem;

}



.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--gray-400); }

.cart-empty i { font-size: 2.5rem; display: block; margin-bottom: .5rem; }



.cart-list { display: flex; flex-direction: column; gap: .75rem; }

.cart-item {

  display: flex; gap: .75rem; align-items: flex-start;

  padding-bottom: .75rem; border-bottom: 1px solid var(--gray-200);

}

.cart-item-img {

  width: 56px; height: 56px; border-radius: var(--radius-sm);

  background: var(--gray-100); object-fit: cover; flex-shrink: 0;

  display: flex; align-items: center; justify-content: center;

  font-size: 1.5rem; color: var(--gray-400);

}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name { font-weight: 600; font-size: .85rem; color: var(--gray-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cart-item-price { font-size: .82rem; color: var(--gray-600); margin-top: .15rem; }

.cart-item-qty {

  display: flex; align-items: center; gap: .3rem; margin-top: .4rem;

}

.qty-btn {

  width: 24px; height: 24px; border-radius: 50%;

  background: var(--gray-200); color: var(--gray-800);

  font-size: .85rem; display: flex; align-items: center; justify-content: center;

  transition: background var(--trans);

}

.qty-btn:hover { background: var(--navy); color: var(--white); }

.qty-val { font-size: .85rem; font-weight: 600; min-width: 20px; text-align: center; }

.cart-item-remove {

  color: var(--gray-400); font-size: 1rem;

  transition: color var(--trans); flex-shrink: 0; padding: .2rem;

}

.cart-item-remove:hover { color: #EF4444; }



.cart-foot {

  padding: 1.25rem 1.5rem;

  border-top: 1px solid var(--gray-200);

  display: flex; flex-direction: column; gap: .75rem;

}

.cart-total-row {

  display: flex; justify-content: space-between; align-items: center;

}

.cart-total-row span { color: var(--gray-600); font-size: .9rem; }

.cart-total-row strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); }



/* ══════════════════════════ CHECKOUT MODAL ══════════════════════════ */

.modal-overlay { z-index: 400; }



.checkout-modal {

  position: fixed; z-index: 500;

  top: 50%; left: 50%;

  transform: translate(-50%, -48%);

  width: 100%; max-width: 480px;

  background: var(--white); border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);

  padding: 2rem;

  max-height: 90vh; overflow-y: auto;

  animation: modalIn .22s ease;

}

@keyframes modalIn {

  from { opacity: 0; transform: translate(-50%, -45%); }

  to   { opacity: 1; transform: translate(-50%, -48%); }

}

.modal-close-btn { position: absolute; top: 1rem; right: 1rem; }



.step-tag {

  font-size: .72rem; font-weight: 600; letter-spacing: .06em;

  color: var(--cyan-d); text-transform: uppercase; margin-bottom: .5rem;

}

.checkout-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }

.checkout-desc  { color: var(--gray-600); font-size: .9rem; margin-bottom: 1.25rem; }

.checkout-total-preview {
  background: var(--gray-100); border-radius: var(--radius-sm);
  padding: .75rem 1rem; margin-bottom: 1.25rem;
  display: flex; flex-direction: column; gap: .3rem;
}

.resumo-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-size: .87rem; color: var(--navy);
}
.resumo-row span:first-child { font-weight: 500; color: var(--gray-600); }
.resumo-row span:last-child  { font-weight: 700; }
.resumo-row.resumo-gratis span { color: var(--success); }
.resumo-sep { height: 1px; background: var(--gray-300); margin: .2rem 0; }
.resumo-row.resumo-total-row { font-size: .97rem; }
.resumo-row.resumo-total-row span:first-child { color: var(--navy); font-weight: 700; }
.resumo-row.resumo-total-row span:last-child  { font-size: 1.05rem; }



/* Field */

.field { margin-bottom: 1.25rem; }

.field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .4rem; color: var(--gray-800); }

.field input {

  width: 100%; padding: .7rem 1rem;

  border: 1.5px solid var(--gray-200);

  border-radius: var(--radius-sm);

  font-size: .95rem; color: var(--gray-800);

  transition: border-color var(--trans);

}

.field input:focus { outline: none; border-color: var(--cyan); }

.field-msg { display: block; font-size: .78rem; margin-top: .3rem; }

.field-msg.error { color: #EF4444; }

.field-msg.success { color: var(--success); }



/* Boleto options */

.payment-opts { border: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }

.payment-opt-label {

  display: flex; align-items: center; gap: .75rem;

  padding: .85rem 1rem;

  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);

  cursor: pointer; transition: all var(--trans);

}

.payment-opt-label:hover { border-color: var(--cyan); background: rgba(0,174,239,.04); }

.payment-opt-label input[type="radio"] { accent-color: var(--cyan); width: 16px; height: 16px; flex-shrink: 0; }

.payment-opt-label.selected { border-color: var(--cyan); background: rgba(0,174,239,.07); }

.opt-text { flex: 1; }

.opt-prazo { font-weight: 700; font-size: .95rem; color: var(--navy); }

.opt-desc  { font-size: .75rem; color: var(--gray-400); }



.next-tier-hint {

  display: flex; align-items: flex-start; gap: .4rem;

  background: rgba(255,242,0,.12); border: 1px solid rgba(255,242,0,.4);

  border-radius: var(--radius-sm); padding: .6rem .85rem;

  font-size: .8rem; color: var(--gray-600); margin-bottom: 1rem;

}

.next-tier-hint i { color: var(--yellow); flex-shrink: 0; margin-top: .1rem; filter: brightness(.7); }



/* MP methods */

.mp-methods { display: flex; gap: .75rem; margin-bottom: 1.25rem; }

.mp-method {

  flex: 1; text-align: center; padding: 1rem;

  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);

  color: var(--gray-600);

}

.mp-method i { font-size: 1.5rem; display: block; margin-bottom: .3rem; color: var(--mp-blue); }

.mp-method span { font-size: .8rem; font-weight: 600; }



/* Step footer actions */

.step-foot { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }

.two-cols { flex-direction: row !important; }

.two-cols .btn-outline { flex: 1; }

.two-cols .btn-primary { flex: 2; }



/* Loader */

.checkout-loader {
  align-items: center; gap: .5rem;
  justify-content: center; font-size: .85rem; color: var(--gray-600);
  padding: .5rem;
}
.checkout-loader:not([hidden]) { display: flex; }

.spinner {

  width: 16px; height: 16px; border-radius: 50%;

  border: 2px solid var(--gray-200); border-top-color: var(--cyan);

  animation: spin .7s linear infinite;

}

@keyframes spin { to { transform: rotate(360deg); } }



/* Success */

.success-icon { font-size: 3.5rem; color: var(--success); text-align: center; margin-bottom: 1rem; }



/* ══════════════════════════ FOOTER ══════════════════════════════════ */

.site-footer { background: var(--navy); color: rgba(255,255,255,.75); font-size: .88rem; }



.footer-top {

  max-width: 1280px; margin: 0 auto;

  padding: 3.5rem 1.5rem 2.5rem;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 2.5rem;

}



.brand-name-footer {

  font-family: var(--font-head); font-weight: 800; font-size: 1rem;

  letter-spacing: .1em; color: var(--white); margin-bottom: .6rem;

}

.brand-desc { font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 260px; }



.footer-col h4 {

  font-family: var(--font-head); font-size: .82rem; font-weight: 700;

  letter-spacing: .06em; text-transform: uppercase; color: var(--white);

  margin-bottom: 1rem;

}

.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }

.footer-col a {

  color: rgba(255,255,255,.55); transition: color var(--trans);

  display: flex; align-items: center; gap: .4rem; font-size: .84rem;

}

.footer-col a:hover { color: var(--cyan); }

.footer-wa { color: #25D366 !important; font-weight: 600; }

.footer-wa:hover { color: #1aad57 !important; }

.footer-hours { color: rgba(255,255,255,.45); font-size: .84rem; display: flex; align-items: center; gap: .4rem; }



.footer-bottom {

  border-top: 1px solid rgba(255,255,255,.1);

  padding: 1.25rem 1.5rem;

  text-align: center; font-size: .78rem;

  color: rgba(255,255,255,.35);

}

/* ── Selos de Segurança no Checkout Modal ───────────────────────────── */
.checkout-selos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 1.5rem -2rem -2rem;
  padding: .65rem 1rem;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.checkout-selo {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 600;
  color: #64748b;
  padding: .2rem .8rem;
  letter-spacing: .01em;
}

.checkout-selo i { color: #00AEEF; font-size: .76rem; }

.checkout-selo-div {
  width: 1px; height: .9rem;
  background: #cbd5e1; flex-shrink: 0;
}

@media (max-width: 400px) {
  .checkout-selos { margin: 1.5rem -1.25rem -1.25rem; }
  .checkout-selo-div { display: none; }
  .checkout-selo { padding: .2rem .5rem; }
}

/* ── Selos de Segurança ──────────────────────────────────────────────── */
.footer-selos {
  background: rgba(0,0,0,.18);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 1.1rem 1.5rem;
}

.footer-selos-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.selo-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 2.25rem;
}

.selo-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(0,174,239,.13);
  border: 1px solid rgba(0,174,239,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #00AEEF;
  font-size: 1rem;
}

.selo-text {
  display: flex;
  flex-direction: column;
  gap: .08rem;
}

.selo-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  letter-spacing: .03em;
}

.selo-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
}

.selo-divider {
  width: 1px;
  height: 1.75rem;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .footer-selos-inner { gap: .25rem; }
  .selo-item { padding: .4rem 1rem; }
  .selo-divider { display: none; }
}



/* ══════════════════════════ CARD LINK (catálogo → produto) ══════════ */

.card-link { display: block; color: inherit; text-decoration: none; }

.card-link:hover .card-name { color: var(--cyan-d); }



/* ══════════════════════════ BREADCRUMB ══════════════════════════════ */

.breadcrumb-bar { background: var(--gray-200); border-bottom: 1px solid #E2E8F0; }

.breadcrumb-inner {

  max-width: 1280px; margin: 0 auto; padding: .55rem 1.5rem;

  display: flex; align-items: center; gap: .35rem;

  font-size: .78rem; color: var(--gray-600);

}

.breadcrumb-inner a { color: var(--gray-600); transition: color var(--trans); }

.breadcrumb-inner a:hover { color: var(--navy); }

.bc-sep  { color: var(--gray-400); }

.bc-current { color: var(--gray-800); font-weight: 500; }



/* ══════════════════════════ PÁGINA DE PRODUTO ═══════════════════════ */

.pd-main { max-width: 1280px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }



/* Loading skeleton layout */

.pd-skel-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

.pd-skel-img  { aspect-ratio: 1/1; border-radius: var(--radius-md); }

.pd-skel-info { display: flex; flex-direction: column; gap: .5rem; padding-top: .5rem; }

.pd-skel-line { border-radius: 6px; }



/* Grid principal: galeria + info */

.pd-grid {

  display: grid; grid-template-columns: 1fr 1fr;

  gap: 3rem; align-items: start; margin-bottom: 3rem;

}



/* Galeria */

.pd-carousel-main {

  border-radius: var(--radius-md); overflow: hidden;

  background: var(--gray-100); aspect-ratio: 1/1;

  display: flex; align-items: center; justify-content: center;

}

.pd-img-main { width: 100%; height: 100%; object-fit: contain; }

.pd-img-placeholder { font-size: 5rem; color: var(--gray-400); display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1/1; }

.pd-thumbs {

  display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap;

}

.pd-thumb {

  width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden;

  border: 2px solid var(--gray-200); cursor: pointer; padding: 0;

  transition: border-color var(--trans);

}

.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-thumb.active { border-color: var(--cyan); }

.pd-thumb:hover  { border-color: var(--cyan-d); }



/* Info */

.pd-cat-badge {

  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;

  text-transform: uppercase; color: var(--cyan-d);

  background: rgba(0,174,239,.1); border-radius: 50px;

  padding: .25rem .75rem; margin-bottom: .6rem;

}

.pd-nome { font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: .4rem; }

.pd-sku  { font-size: .8rem; color: var(--gray-400); margin-bottom: 1rem; }



.pd-preco-wrap { margin-bottom: 1rem; }

.pd-preco-atual { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy); }

.pd-preco-orig  { font-size: .9rem; color: var(--gray-400); text-decoration: line-through; margin-top: .1rem; }



.pd-estoque { margin-bottom: 1.25rem; font-size: .85rem; }



.pd-qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }

.pd-qty-label { font-size: .85rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; }

.pd-qty-ctrl { display: flex; align-items: center; gap: .4rem; }

.pd-qty-ctrl input {

  width: 52px; text-align: center; padding: .45rem .25rem;

  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);

  font-size: .95rem; font-weight: 600;

}

.pd-qty-ctrl input:focus { outline: none; border-color: var(--cyan); }



.pd-btn-add {

  width: 100%; padding: .9rem;

  background: var(--navy); color: var(--white);

  border-radius: var(--radius-sm); border: none; cursor: pointer;

  font-family: var(--font-head); font-weight: 700; font-size: 1rem;

  display: flex; align-items: center; justify-content: center; gap: .5rem;

  transition: background var(--trans), transform .1s;

  margin-bottom: 1rem;

}

.pd-btn-add:hover  { background: var(--navy-60); }

.pd-btn-add:active { transform: scale(.98); }

.pd-btn-add:disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }



.pd-b2b-note {

  display: flex; align-items: flex-start; gap: .5rem;

  background: rgba(0,174,239,.06); border: 1px solid rgba(0,174,239,.2);

  border-radius: var(--radius-sm); padding: .75rem 1rem;

  font-size: .78rem; color: var(--gray-600); line-height: 1.5;

}

.pd-b2b-note i { color: var(--cyan); flex-shrink: 0; margin-top: .1rem; }



/* Tabs */

.pd-tabs { margin-bottom: 3rem; }

.pd-tabs-nav {

  display: flex; gap: 0;

  border-bottom: 2px solid var(--gray-200);

  margin-bottom: 1.5rem;

}

.pd-tab-btn {

  padding: .7rem 1.25rem; font-size: .85rem; font-weight: 600;

  font-family: var(--font-body); color: var(--gray-400);

  border: none; background: none; cursor: pointer;

  border-bottom: 2px solid transparent; margin-bottom: -2px;

  transition: color var(--trans), border-color var(--trans);

  white-space: nowrap;

}

.pd-tab-btn:hover { color: var(--navy); }

.pd-tab-btn.active { color: var(--navy); border-bottom-color: var(--cyan); }



.pd-tab-panel { animation: fadeUp .2s ease; }

.pd-tab-empty { color: var(--gray-400); font-size: .88rem; padding: 1rem 0; }



/* Tabela de especificações */

.specs-table { width: 100%; border-collapse: collapse; font-size: .88rem; }

.specs-table th, .specs-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--gray-200); text-align: left; }

.specs-table th { font-weight: 600; color: var(--gray-600); background: var(--gray-100); width: 35%; }

.specs-table td { color: var(--gray-800); }

.specs-table tr:last-child th,

.specs-table tr:last-child td { border-bottom: none; }



/* Compatibilidade */

.compat-list { padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem .75rem; }

.compat-list li { font-size: .88rem; color: var(--gray-700); padding: .3rem 0; display: flex; align-items: center; gap: .4rem; }

.compat-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }



/* Descrição */

.desc-content { font-size: .9rem; line-height: 1.75; color: var(--gray-700); }

.desc-content h2, .desc-content h3 { font-family: var(--font-head); color: var(--navy); margin: 1rem 0 .5rem; }

.desc-content ul { padding-left: 1.25rem; }

.desc-content li { margin-bottom: .3rem; }

.desc-content p  { margin-bottom: .75rem; }



/* Relacionados */

.related-section { margin-top: 1rem; }

.related-title { font-size: 1.15rem; font-weight: 700; font-family: var(--font-head); color: var(--navy); margin-bottom: 1.25rem; padding-bottom: .6rem; border-bottom: 2px solid var(--gray-200); }



/* Erro */

.pd-error { text-align: center; padding: 5rem 1rem; color: var(--gray-400); }

.pd-error i { font-size: 3rem; display: block; margin-bottom: 1rem; }

.pd-error h2 { font-family: var(--font-head); color: var(--gray-600); margin-bottom: .5rem; }

.pd-error p { margin-bottom: 1.5rem; }



/* ══════════════════════════ RESPONSIVE ══════════════════════════════ */

@media (max-width: 1024px) {

  .footer-top { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: span 2; }

}

@media (max-width: 1024px) {

  .pd-grid { grid-template-columns: 1fr; gap: 2rem; }

  .pd-skel-wrap { grid-template-columns: 1fr; }

}

@media (max-width: 768px) {

  .header-search { display: none; }

  .btn-login-multi { display: none; }

  .btn-login { padding: .45rem .55rem; border-radius: 50%; border-color: transparent; }

  .btn-login i { font-size: 1.2rem; margin: 0; }

  .cart-summary { display: none; }

  .cart-btn { padding: .45rem .55rem; border-radius: 50%; gap: 0; }

  .cat-nav { top: 56px; }

  .hero { padding: 3rem 1.25rem 2rem; }

  .hero-title { font-size: 1.8rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }

  .footer-top { grid-template-columns: 1fr 1fr; padding: 2.5rem 1.25rem; }

  .footer-brand { grid-column: span 2; }

  .checkout-modal { max-width: 100%; top: auto; bottom: 0; left: 0; transform: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 92vh; }

  @keyframes modalIn {

    from { opacity:0; transform: translateY(40px); }

    to   { opacity:1; transform: translateY(0); }

  }

}

@media (max-width: 480px) {

  .footer-top { grid-template-columns: 1fr; }

  .footer-brand { grid-column: span 1; }

  .two-cols { flex-direction: column !important; }

}



/* ══════════════════════════ CHECKOUT — STEP METODOS ════════════════════════ */

.metodos-grid { display: flex; flex-direction: column; gap: .65rem; margin: 1rem 0 .5rem; }



.metodo-card {

  display: flex; align-items: center; gap: 1rem;

  padding: .9rem 1rem; border-radius: var(--radius-md);

  border: 1.5px solid var(--gray-200);

  background: var(--white); cursor: pointer; text-align: left;

  transition: border-color var(--trans), box-shadow var(--trans);

  width: 100%;

}

.metodo-card:hover:not(.metodo-bloqueado) {

  border-color: var(--cyan);

  box-shadow: 0 0 0 3px rgba(0,174,239,.08);

}

.metodo-card.metodo-bloqueado {

  cursor: default; opacity: .75; background: var(--gray-100);

}



.metodo-icone {

  width: 42px; height: 42px; border-radius: var(--radius-sm);

  display: flex; align-items: center; justify-content: center;

  flex-shrink: 0; font-size: 1.2rem;

}

.metodo-icone-pix     { background: #e6f9f0; color: #00B74A; }

.metodo-icone-cartao  { background: #e8f3ff; color: var(--mp-blue); }

.metodo-icone-boleto  { background: #fef3e2; color: #F59E0B; }

.metodo-icone-lock    { background: var(--gray-200); color: var(--gray-400); }



.metodo-info { flex: 1; min-width: 0; }

.metodo-nome { font-size: .88rem; font-weight: 600; color: var(--navy); }

.metodo-desc { font-size: .74rem; color: var(--gray-400); margin-top: .1rem; }

.metodo-aviso {

  font-size: .73rem; color: var(--magenta); margin-top: .15rem;

  display: flex; align-items: flex-start; gap: .3rem;

}

.metodo-seta { color: var(--gray-400); font-size: .85rem; flex-shrink: 0; }

.metodo-info-hint {
  font-size: .73rem;
  color: var(--gray-400);
  background: var(--gray-100, #f5f5f5);
  border: 1px solid var(--gray-200, #e5e5e5);
  border-radius: var(--radius-sm, 6px);
  padding: .55rem .75rem;
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  line-height: 1.4;
}

.metodo-info-hint i { flex-shrink: 0; margin-top: .05rem; }


/* ══════════════════════════ CHECKOUT — STEP PIX ════════════════════════════ */

.pix-header { text-align: center; padding: .5rem 0 .25rem; }

.pix-icone-grande { font-size: 2.4rem; color: #00B74A; margin-bottom: .35rem; }



.pix-qr-img { width: 220px; height: 220px; border-radius: 12px; display: block; margin: 0 auto; }
.pix-qr-wrap { text-align: center; margin: 1rem 0; }

.pix-qr-wrap canvas {

  max-width: 188px; display: block; margin: 0 auto;

  border: 8px solid var(--gray-100); border-radius: var(--radius-sm);

}

.pix-qr-hint { font-size: .76rem; color: var(--gray-400); margin-top: .5rem; }



.pix-copia-cola-wrap { margin: .75rem 0; }

.pix-copia-cola-wrap > label {

  font-size: .76rem; font-weight: 600; color: var(--gray-600);

  display: block; margin-bottom: .35rem;

}

.pix-copia-row { display: flex; gap: .4rem; }

.pix-copia-row input {

  flex: 1; padding: .5rem .7rem;

  border-radius: var(--radius-sm); border: 1.5px solid var(--gray-200);

  background: var(--gray-100); font-size: .74rem;

  color: var(--gray-600); font-family: monospace; cursor: default;

}

.btn-copy-pix {

  padding: .5rem .85rem; border-radius: var(--radius-sm);

  background: var(--cyan); color: var(--navy);

  font-size: .9rem; border: none; cursor: pointer;

  transition: background var(--trans), color var(--trans);

  flex-shrink: 0;

}

.btn-copy-pix:hover { background: var(--cyan-d); color: var(--white); }

.btn-copy-pix.copiado { background: var(--success); color: var(--white); }



.pix-instrucao {

  display: flex; align-items: flex-start; gap: .5rem;

  background: rgba(0,174,239,.06); border-radius: var(--radius-sm);

  padding: .7rem .9rem; font-size: .76rem; color: var(--gray-600); margin: .75rem 0;

}

.pix-instrucao i { color: var(--cyan); font-size: .95rem; flex-shrink: 0; margin-top: .06rem; }



/* sem-limite-aviso — boleto bloqueado */

.sem-limite-aviso {

  display: flex; align-items: flex-start; gap: .6rem;

  background: rgba(236,0,140,.06); border: 1px solid rgba(236,0,140,.2);

  border-radius: var(--radius-sm); padding: .9rem 1rem;

  color: var(--gray-600); font-size: .82rem; line-height: 1.5;

}

.sem-limite-aviso i { color: var(--magenta); font-size: 1.1rem; flex-shrink: 0; margin-top: .05rem; }

.sem-limite-aviso p { margin: 0; }



/* ══ MODAL GENÉRICO (Login / Cadastro / Fale Conosco) ══ */

.modal-overlay {

  position: fixed; inset: 0; background: rgba(0,0,0,.45);

  z-index: 300; opacity: 0; transition: opacity .22s;

  pointer-events: none;

}

.modal-overlay.visible { opacity: 1; pointer-events: auto; }

.modal-caixa {

  position: fixed; top: 50%; left: 50%;

  transform: translate(-50%, -50%) scale(.96);

  z-index: 301; background: var(--white); border-radius: var(--radius-lg);

  box-shadow: 0 16px 48px rgba(0,0,0,.18);

  padding: 1.75rem 1.75rem 1.5rem;

  width: min(94vw, 420px); max-height: 90vh; overflow-y: auto;

  opacity: 0; transition: transform .22s, opacity .22s;

  pointer-events: none;

}

.modal-caixa.visible {

  transform: translate(-50%, -50%) scale(1);

  opacity: 1; pointer-events: auto;

}

.modal-caixa-head {

  display: flex; align-items: flex-start; justify-content: space-between;

  margin-bottom: 1.1rem;

}

.modal-caixa-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); }

.modal-caixa-close {

  background: none; border: none; cursor: pointer;

  color: var(--gray-400); font-size: 1.05rem; padding: .15rem;

  line-height: 1; border-radius: 4px; transition: color var(--trans);

}

.modal-caixa-close:hover { color: var(--navy); }



/* Tabs */

.modal-tabs {

  display: flex; gap: .25rem; border-bottom: 2px solid var(--gray-200);

  margin-bottom: 1.1rem;

}

.modal-tab {

  flex: 1; padding: .55rem .5rem; background: none; border: none;

  font-size: .86rem; font-weight: 600; color: var(--gray-400);

  cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -2px;

  transition: color var(--trans), border-color var(--trans);

}

.modal-tab.active { color: var(--navy); border-bottom-color: var(--cyan); }

.modal-tab-panel { display: flex; flex-direction: column; gap: .8rem; }

.modal-tab-panel.hidden { display: none; }



/* Campos */

.modal-field { display: flex; flex-direction: column; gap: .28rem; }

.modal-field label { font-size: .78rem; font-weight: 600; color: var(--gray-600); }

.modal-field input,

.modal-field textarea {

  padding: .58rem .78rem; border-radius: var(--radius-sm);

  border: 1.5px solid var(--gray-200); font-size: .86rem;

  color: var(--navy); background: var(--white);

  font-family: var(--font-body);

  transition: border-color var(--trans);

}

.modal-field input:focus,

.modal-field textarea:focus { border-color: var(--cyan); outline: none; }

.modal-field textarea { resize: vertical; min-height: 68px; }



/* LGPD */

.lgpd-check {

  display: flex; align-items: flex-start; gap: .45rem;

  font-size: .77rem; color: var(--gray-600); line-height: 1.55;

}

.lgpd-check input[type="checkbox"] {

  margin-top: .17rem; flex-shrink: 0;

  width: 15px; height: 15px; accent-color: var(--cyan); cursor: pointer;

}

.lgpd-link { color: var(--cyan); text-decoration: underline; }

.lgpd-link:hover { color: var(--navy); }



/* Mensagem modal */

.modal-msg { font-size: .78rem; min-height: 1em; }

.modal-msg.error   { color: var(--magenta); }

.modal-msg.success { color: var(--success); }



/* Sucesso dentro do modal */

.modal-sucesso { text-align: center; padding: 1rem 0; }

.modal-sucesso .sucesso-ico { font-size: 2.6rem; color: var(--success); margin-bottom: .5rem; }

.modal-sucesso p { font-size: .87rem; color: var(--gray-600); }



/* Header — estado logado */

.btn-login.logado .login-boas-vindas { color: var(--success); font-weight: 600; }

.btn-login.logado i { color: var(--success); }



/* ══ PÁGINAS FULL-PAGE DE AUTENTICAÇÃO (Login / Cadastro) ══════════════ */

.auth-page-body { background: #f0f2f5; min-height: 100vh; }



/* Header simplificado */

.auth-header {

  background: #f5f5f5; box-shadow: 0 2px 8px rgba(0,0,0,.07);

  position: sticky; top: 0; z-index: 100;

}

.auth-header-inner {

  max-width: 1100px; margin: 0 auto; padding: .85rem 1.5rem;

  display: flex; align-items: center; justify-content: space-between;

}

.auth-back-link {

  font-size: .84rem; color: var(--gray-600); display: flex; align-items: center; gap: .35rem;

  transition: color var(--trans);

}

.auth-back-link:hover { color: var(--navy); }



/* Faixa de título */

.auth-titulo-bar {

  background: var(--navy); padding: .6rem 0;

}

.auth-titulo-inner {

  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;

  display: flex; align-items: baseline; gap: .65rem; flex-wrap: wrap;

}

.auth-titulo-bar h1 {

  font-family: var(--font-head); font-size: 1rem; font-weight: 700;

  color: var(--white); margin: 0;

}

.auth-titulo-bar p {

  font-size: .82rem; color: rgba(255,255,255,.65); margin: 0;

}



/* Container geral */

.auth-main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }



/* ── Dois blocos simétricos (página de login) */

.auth-two-cols {

  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start;

}

@media (max-width: 680px) { .auth-two-cols { grid-template-columns: 1fr; } }



/* Caixa de identificação */

.auth-box {

  background: var(--white); border: 1px solid #cdd4dd;

  border-radius: 4px; overflow: hidden;

}

.auth-box-hd {

  background: var(--navy); color: var(--white);

  font-family: var(--font-head); font-size: .87rem; font-weight: 700;

  padding: .62rem 1rem; display: flex; align-items: center; gap: .45rem;

}

.auth-box-body { padding: 1.25rem; }



/* Campo */

.auth-f { display: flex; flex-direction: column; gap: .28rem; margin-bottom: .85rem; }

.auth-f label { font-size: .81rem; font-weight: 600; color: var(--gray-600); }

.auth-f input,

.auth-f select {

  padding: .55rem .75rem; border: 1px solid #cdd4dd;

  border-radius: 3px; font-size: .88rem; color: var(--gray-800);

  font-family: var(--font-body); background: var(--white);

  transition: border-color var(--trans);

}

.auth-f input:focus, .auth-f select:focus { border-color: var(--cyan); outline: none; }

.auth-inline { display: flex; gap: .5rem; align-items: flex-end; }

.auth-inline input { flex: 1; }

.auth-msg-line { font-size: .79rem; min-height: 1.1em; display: block; margin-bottom: .4rem; }

.auth-msg-line.error   { color: var(--magenta); }

.auth-msg-line.success { color: var(--success); }

.auth-esqueceu { font-size: .79rem; color: var(--cyan); display: inline-block; margin-top: .35rem; }

.auth-esqueceu:hover { color: var(--navy); }



/* Botões */

.btn-prosseguir {

  padding: .52rem 1.1rem; background: var(--cyan); color: var(--navy);

  font-weight: 700; font-size: .87rem; border: none; border-radius: 3px;

  cursor: pointer; white-space: nowrap; transition: background var(--trans);

  flex-shrink: 0;

}

.btn-prosseguir:hover { background: var(--cyan-d); color: var(--white); }

.btn-prosseguir:disabled { opacity: .6; cursor: not-allowed; }

.btn-cadastrar-novo {

  padding: .52rem 1.1rem; background: var(--navy); color: var(--white);

  font-weight: 700; font-size: .87rem; border: none; border-radius: 3px;

  cursor: pointer; white-space: nowrap; transition: background var(--trans);

  flex-shrink: 0;

}

.btn-cadastrar-novo:hover { background: #1a2d44; }



/* ── Formulário de cadastro */

.cad-bloco {

  background: var(--white); border: 1px solid #cdd4dd;

  border-radius: 4px; margin-bottom: 1.25rem; overflow: hidden;

}

.cad-bloco-hd {

  background: var(--navy); color: var(--white);

  font-family: var(--font-head); font-size: .87rem; font-weight: 700;

  padding: .62rem 1rem; display: flex; align-items: center; gap: .45rem;

}

.cad-bloco-body { padding: 1.1rem 1.25rem; }

.cad-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; }

@media (max-width: 600px) { .cad-grid2 { grid-template-columns: 1fr; } }



.cad-radio-row { display: flex; gap: 2.5rem; padding: .4rem 0; }

.cad-radio { display: flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--gray-800); cursor: pointer; }

.cad-radio input[type="radio"] { accent-color: var(--cyan); width: 15px; height: 15px; cursor: pointer; }



.cad-dois-blocos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }

@media (max-width: 720px) { .cad-dois-blocos { grid-template-columns: 1fr; } }



.cad-cep-row { display: flex; gap: .5rem; align-items: center; }

.cad-cep-row input { flex: 1; }

.cad-link-cep { font-size: .78rem; color: var(--cyan); white-space: nowrap; flex-shrink: 0; }

.cad-link-cep:hover { color: var(--navy); }



.btn-finalizar {

  padding: .7rem 2.75rem; background: var(--cyan); color: var(--navy);

  font-weight: 700; font-size: .95rem; border: none; border-radius: 4px;

  cursor: pointer; transition: background var(--trans);

}

.btn-finalizar:hover { background: var(--cyan-d); color: var(--white); }

.btn-finalizar:disabled { opacity: .6; cursor: not-allowed; }

.cad-rodape { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }



/* Footer mínimo nas páginas auth */

.auth-footer {

  background: var(--navy); text-align: center;

  padding: 1.2rem; font-size: .79rem; color: rgba(255,255,255,.4);

}

.auth-footer a { color: rgba(255,255,255,.6); }

.auth-footer a:hover { color: var(--white); }





/* ══════════════════════════ PÁGINAS DE CONTEÚDO ════════════════════════════ */

.page-hero {

  background: linear-gradient(135deg, var(--navy) 0%, #132338 100%);

  padding: 2.5rem 1.5rem 2rem;

  text-align: center;

}

.page-hero h1 {

  font-family: var(--font-head); font-weight: 800;

  font-size: clamp(1.3rem, 3vw, 2rem);

  color: var(--white); margin-bottom: .5rem;

}

.page-hero p { color: rgba(255,255,255,.6); font-size: .88rem; }



.page-back-btn {

  display: inline-flex; align-items: center; gap: .5rem;

  padding: .5rem 1.1rem; border-radius: var(--radius-md);

  background: var(--navy); color: var(--white) !important;

  font-size: .82rem; font-weight: 600;

  transition: background var(--trans);

}

.page-back-btn:hover { background: var(--navy-60); }



.page-content {

  max-width: 820px; margin: 0 auto;

  padding: 2.5rem 1.5rem 4rem;

}

.page-content h2 {

  font-family: var(--font-head); font-size: 1rem; font-weight: 700;

  color: var(--navy); margin: 2rem 0 .6rem;

  padding-bottom: .3rem;

  border-bottom: 2px solid var(--cyan);

  display: inline-block;

}

.page-content h3 {

  font-family: var(--font-head); font-size: .88rem; font-weight: 600;

  color: var(--navy-60); margin: 1.2rem 0 .35rem;

}

.page-content p {

  font-size: .875rem; line-height: 1.8;

  color: var(--gray-600); margin-bottom: .75rem;

}

.page-content ul {

  list-style: disc; padding-left: 1.5rem; margin-bottom: .75rem;

}

.page-content ul li {

  font-size: .875rem; line-height: 1.7;

  color: var(--gray-600); margin-bottom: .2rem;

}

.page-content strong { color: var(--navy); }

.page-content a { color: var(--cyan); text-decoration: underline; }

.info-box {

  background: var(--gray-100);

  border-left: 3px solid var(--cyan);

  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;

  padding: 1rem 1.25rem; margin: 1.25rem 0;

  font-size: .85rem; line-height: 1.7;

}

.info-box strong {

  display: block; font-family: var(--font-head);

  font-size: .75rem; text-transform: uppercase;

  letter-spacing: .07em; color: var(--cyan);

  margin-bottom: .5rem;

}



/* ══════════════════════════ MODAL FALE CONOSCO — 2 colunas ═════════════════ */

.modal-caixa--contato { max-width: 740px !important; width: 96vw !important; }

.modal-contato-body { display: flex; gap: 1.75rem; align-items: flex-start; }

.modal-form-col { flex: 1; min-width: 0; }

.modal-info-col {

  width: 210px; flex-shrink: 0;

  background: var(--gray-100);

  border-radius: var(--radius-md);

  padding: 1.1rem 1rem;

  border: 1px solid var(--gray-200);

}

.modal-info-title {

  font-family: var(--font-head); font-size: .82rem; font-weight: 700;

  color: var(--navy); margin-bottom: .9rem;

  display: flex; align-items: center; gap: .35rem;

}

.modal-info-list {

  display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1rem;

}

.modal-info-list li { display: flex; flex-direction: column; gap: .05rem; }

.info-label {

  font-size: .64rem; text-transform: uppercase;

  letter-spacing: .07em; color: var(--gray-400); font-weight: 600;

}

.info-val { font-size: .76rem; color: var(--gray-800); font-weight: 500; }

.info-val a { color: var(--cyan); text-decoration: underline; }

.btn-whatsapp-contato {

  display: flex; align-items: center; justify-content: center; gap: .4rem;

  width: 100%; padding: .5rem; border-radius: var(--radius-md);

  background: #25D366; color: #fff !important;

  font-size: .78rem; font-weight: 600;

  transition: background var(--trans);

}

.btn-whatsapp-contato:hover { background: #1ebe5a; }

@media (max-width: 620px) {

  .modal-contato-body { flex-direction: column; }

  .modal-info-col { width: 100%; }

}





/* ══════════════════════════ STEP ENDEREÇO / FRETE ═════════════════════════ */

.frete-opts-titulo {

  font-size: .82rem; font-weight: 600; color: var(--navy);

  margin: 1rem 0 .55rem; display: flex; align-items: center; gap: .4rem;

}

.frete-opts-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .5rem; }

.frete-opt {

  display: flex; align-items: center; gap: .8rem;

  padding: .65rem .9rem;

  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);

  cursor: pointer; transition: border-color var(--trans), background var(--trans);

}

.frete-opt:hover { border-color: var(--cyan); background: rgba(0,174,239,.04); }

.frete-opt.selected { border-color: var(--cyan); background: rgba(0,174,239,.07); }

.frete-opt input[type="radio"] { accent-color: var(--cyan); flex-shrink: 0; }

.frete-opt-info { flex: 1; min-width: 0; }

.frete-opt-nome  { font-size: .84rem; font-weight: 600; color: var(--navy); }

.frete-opt-prazo { font-size: .73rem; color: var(--gray-400); margin-top: .1rem; }

.frete-opt-preco {

  font-family: var(--font-head); font-size: .9rem; font-weight: 700;

  color: var(--cyan); flex-shrink: 0; white-space: nowrap;

}

.frete-opt-preco.gratis { color: var(--success); }

.frete-opt-preco.a-consultar { font-size: .77rem; color: var(--gray-400); font-weight: 500; }





/* ══════════════════════════ SUBCAT-NAV ════════════════════════════════════ */

.subcat-nav {

  background: var(--gray-100, #f4f6f8);

  border-bottom: 1px solid var(--gray-200, #e0e4e9);

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;

}

.subcat-nav::-webkit-scrollbar { display: none; }

.subcat-nav-inner {

  display: flex; align-items: center; gap: .35rem;

  padding: .45rem 1rem; min-width: max-content;

}

.subcat-sep {

  width: 1px; height: 1.1rem; background: var(--gray-300, #c8cdd5);

  flex-shrink: 0; margin: 0 .15rem;

}

.subcat-item {

  font-size: .78rem; font-weight: 600; letter-spacing: .03em;

  padding: .3rem .75rem; border-radius: 999px;

  border: 1.5px solid transparent;

  color: var(--navy, #0D1B2A);

  background: transparent; cursor: pointer;

  transition: all .15s;

  white-space: nowrap;

}

.subcat-item:hover { background: rgba(0,174,239,.08); border-color: var(--cyan, #00AEEF); color: var(--cyan, #00AEEF); }

.subcat-item.active { background: var(--cyan, #00AEEF); border-color: var(--cyan, #00AEEF); color: #fff; }


/* ── Paginação ────────────────────────────────────────────── */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 2rem 0 1rem;
  flex-wrap: wrap;
}
.pg-btn {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  border: 1.5px solid var(--gray-300);
  background: #fff;
  color: var(--gray-700);
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pg-btn:hover:not(:disabled):not(.active) {
  background: var(--gray-100);
  border-color: var(--navy);
  color: var(--navy);
}
.pg-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  cursor: default;
}
.pg-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}