/* ============================================================
   PURE PEP SOLUTION — style.css
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy:  #06152b;
  --blue:  #0879ea;
  --light: #f5f9ff;
  --line:  #dce9f8;
  --muted: #71829a;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body   { margin: 0; background: #fff; color: var(--navy); font: 15px 'Montserrat', Arial, sans-serif; }
a      { text-decoration: none; color: inherit; }
main   { min-height: 70vh; }

/* ============================================================
   TICKER / TOPBAR
   ============================================================ */
.topbar-ticker {
  background: var(--navy);
  color: #fff;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}
.topbar-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  white-space: nowrap;
  padding: 0 48px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.ticker-track span:last-child { border-right: 0; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER — 1 linha: logo | nav (centro) | tools (direita)
   ============================================================ */
header {
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(5%, calc((100% - 1260px)/2));
  border-bottom: 1px solid #e8eff8;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  z-index: 100;
}

/* Logo */
.brand { display: flex; align-items: center; flex-shrink: 0; grid-column: 1; }
.brand img {
  width: 190px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  display: block;
  mix-blend-mode: multiply;
}

/* Nav — centro */
nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--navy);
}
nav a:hover { color: var(--blue); }

/* Hide mobile menu button on desktop */
header > .menu { display: none; }

/* Tools — direita */
.header-tools {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
/* --- Lang flags: desktop --- */
.lang-flags-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f7ff;
  padding: 6px 10px;
  border-radius: 8px;
}
.lang-flags-desktop a {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #c2d5ec;
  opacity: 0.5;
  transition: .2s;
  display: block;
}
.lang-flags-desktop a:hover { opacity: 0.8; }
.lang-flags-desktop a.active {
  opacity: 1;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue);
}
.lang-flags-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Lang dropdown: mobile (oculto no desktop) --- */
.lang-mobile-dropdown {
  display: none;
  position: relative;
}
.lang-mobile-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.lang-mobile-toggle img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue);
  display: block;
}
.lang-arrow {
  font-size: 14px;
  color: var(--navy);
  transition: transform .2s;
  line-height: 1;
}
.lang-mobile-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}
.lang-mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid #e0ecf8;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(6,21,43,0.15);
  padding: 6px;
  flex-direction: column;
  gap: 6px;
  z-index: 9999;
}
.lang-mobile-dropdown.open .lang-mobile-menu {
  display: flex;
}
.lang-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #c2d5ec;
  opacity: 0.7;
  transition: .2s;
}
.lang-mobile-menu a:hover { opacity: 1; border-color: var(--blue); }
.lang-mobile-menu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Account link */
.account-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  min-width: 125px;
}
.account-link small,
.account-link b    { display: block; line-height: 1.3; }
.account-link small { font-size: 10px; color: var(--muted); }
.account-link b    { color: var(--blue); font-size: 12px; }
.user-avatar {
  background: #eaf5ff;
  color: var(--blue);
  border-radius: 50%;
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* Cart — no header no desktop, flutuante circular no mobile */
.cart-mobile { display: none !important; } /* oculto no desktop */
.cart-desktop { display: grid; }          /* visível no desktop */
.cart-new {
  background: var(--navy);
  color: #fff;
  height: 46px;
  min-width: 52px;
  border-radius: 9px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 6px 10px;
  flex-shrink: 0;
}
.cart-new > span { font-size: 18px; }
.cart-new b {
  position: absolute;
  top: -6px; right: -6px;
  background: #28a3ff;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
  font-size: 10px;
  padding: 2px 3px;
}

/* Hamburger */
.menu {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  margin-left: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 520px;
  background: linear-gradient(90deg, #fff 10%, #ffffffdd 45%, #ffffff08 80%),
              url('hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 70px max(6%, calc((100% - 1200px)/2));
}
.hero-copy { max-width: 530px; }
.eyebrow {
  color: var(--blue);
  font: 700 11px 'Orbitron', Arial;
  letter-spacing: 1.6px;
}
.hero h1,
.page-head h1,
.product-detail h1 {
  font-size: clamp(35px, 4vw, 62px);
  margin: 14px 0;
  line-height: 1.04;
  letter-spacing: -2px;
}
.hero p {
  font-size: 17px;
  line-height: 1.7;
  color: #40546f;
  max-width: 420px;
}
.button {
  display: inline-flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(110deg, #035bbb, #1395ff);
  border: 0;
  color: #fff;
  padding: 14px 22px;
  margin-top: 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px #0879ea33;
  font-family: inherit;
  font-size: 14px;
  transition: opacity .2s;
}
.button:hover { opacity: .88; }
.text-link { color: var(--blue); font-weight: 700; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust {
  max-width: 1200px;
  margin: -34px auto 0;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #081a35;
  color: #fff;
  border-radius: 12px;
  padding: 21px 28px;
}
.trust div {
  border-right: 1px solid #29425e;
  padding: 0 15px;
}
.trust div:last-child { border: 0; }
.trust b   { display: block; }
.trust small { color: #9fb4ca; margin-top: 5px; display: block; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  max-width: 1200px;
  margin: 75px auto;
  padding: 0 25px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
}
.section-title h2 { margin: 7px 0 0; font-size: 28px; }
.section-title > a { color: var(--blue); font-weight: 700; }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.category-grid a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  font-weight: 700;
  transition: .2s;
}
.category-grid a:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #0879ea18;
}
.category-grid span {
  font-size: 22px;
  color: var(--blue);
  margin-right: 8px;
}

/* ============================================================
   PRODUCT GRID / CARD
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  transition: .2s;
  position: relative; /* para o link esticado funcionar */
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px #082b5520;
}
.product-photo {
  height: 210px;
  background: #f3f8ff;
  display: block;
  position: relative;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo span {
  position: absolute;
  top: 10px; left: 10px;
  background: #06152bdd;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
}
.product-info { padding: 15px; }
.product-info h3 { font-size: 15px; margin: 0 0 8px; }
.product-info p  { color: var(--muted); font-size: 12px; height: 30px; margin: 0; }
.product-info > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}
.product-info strong, .price { color: #086bd0; font-size: 17px; }
/* Seta: link esticado cobre o card todo */
.product-info div a {
  background: #e8f4ff;
  color: #0879ea;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
  text-decoration: none;
  /* Estica o link para cobrir o card inteiro */
  position: static;
}
/* Pseudo-elemento esticado para tornar o card todo clicável */
.product-info div a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  background: #061a36;
  color: white;
  min-height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  padding: 60px 10%;
}
.about-strip > div:first-child { max-width: 590px; }
.about-strip h2 { font-size: 34px; margin: 10px 0; }
.about-strip p  { line-height: 1.7; color: #becde0; }
/* Decoração SVG (about-strip) */
.about-deco {
  flex-shrink: 0;
  opacity: 0.9;
}

footer {
  background: #031126;
  color: #c2d0df;
  padding: 44px max(6%, calc((100% - 1200px)/2));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  font-size: 13px;
}
.footer-brand { max-width: 320px; }
.footer-logo {
  width: 155px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
  display: block;
}
footer p { margin: 0; color: #8da3bd; line-height: 1.7; }
.footer-col b { display: block; color: #fff; margin-bottom: 10px; font-size: 13px; }
.footer-col p { margin: 0; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #102441;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  transition: .2s;
}
.footer-socials a:hover { background: var(--blue); transform: translateY(-2px); }

/* WhatsApp float */
.whatsapp {
  position: fixed;
  bottom: 22px; right: 22px;
  background: #25d366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px #0004;
  z-index: 99;
  transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.08); }

/* ============================================================
   PAGE HEAD (produtos, contato etc.)
   ============================================================ */
.page-head {
  text-align: center;
  background: linear-gradient(135deg, #06152b 0%, #0c2d6b 50%, #0879ea 100%);
  padding: 70px 20px 55px;
  color: #fff;
}
.page-head h1 { font-size: 45px; color: #fff; }
.page-head p  { color: rgba(255,255,255,0.75); }
.page-head .eyebrow { color: #60a5fa; }

/* ============================================================
   FILTERS
   ============================================================ */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filters a {
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: 600;
  transition: .15s;
}
.filters .active, .filters a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail {
  max-width: 1000px;
  margin: 70px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding: 0 25px;
}
.detail-photo {
  height: 490px;
  background: #f0f7ff;
  border-radius: 14px;
  overflow: hidden;
}
.detail-photo img { height: 100%; width: 100%; object-fit: cover; }
.product-detail p { white-space: pre-line; line-height: 1.8; color: #53677d; }
.buy { display: flex; align-items: flex-end; gap: 12px; margin-top: 28px; }
.buy input { width: 80px; }
.buy label { font-size: 12px; font-weight: 700; }
.buy small  { display: block; }

/* ============================================================
   FORMS / AUTH
   ============================================================ */
.auth {
  display: grid;
  place-items: center;
  padding: 75px 20px;
  background: linear-gradient(135deg, #f6faff, #edf6ff);
}
.auth > div {
  width: min(100%, 450px);
  background: #fff;
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 15px 40px #082b5512;
}
.auth h1 { margin: 10px 0 25px; }
form label { display: block; font-weight: 600; font-size: 13px; margin: 13px 0; }
input, textarea, select {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #ccdaea;
  border-radius: 7px;
  padding: 12px;
  font: inherit;
  color: var(--navy);
}
textarea { min-height: 125px; resize: vertical; }
.error   { color: #bc2441; }
.success { color: #147b48; }

/* ============================================================
   CART
   ============================================================ */
.cart-page {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}
.cart-list { border: 1px solid var(--line); border-radius: 12px; }
.cart-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border: 0; }
.cart-row img { height: 65px; width: 65px; object-fit: cover; border-radius: 7px; }
.cart-row div { flex: 1; }
.cart-row small { display: block; color: var(--muted); margin-top: 6px; }
.cart-row > a { font-size: 23px; color: #b01a38; }
.summary {
  background: #f1f7ff;
  padding: 25px;
  border-radius: 12px;
  height: max-content;
}
.summary > strong { font-size: 28px; display: block; margin: 12px 0; }
.summary .button  { width: 100%; }
.summary small    { display: block; text-align: center; color: var(--muted); margin-top: 12px; }
.empty {
  padding: 45px;
  text-align: center;
  background: #f7fbff;
  border-radius: 12px;
}

/* ============================================================
   ORDERS
   ============================================================ */
.orders > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.orders span { color: var(--muted); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background: linear-gradient(110deg, #071a35, #0b6fd4);
  color: #fff;
  padding: 65px max(6%, calc((100% - 1100px)/2));
}
.contact-hero h1 { font-size: 42px; margin: 10px 0; }
.contact-hero p  { max-width: 540px; line-height: 1.7; color: #d8ecff; }
.contact-layout {
  max-width: 1100px;
  margin: 60px auto 85px;
  padding: 0 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-options { display: grid; gap: 14px; align-content: center; }
.contact-options a {
  border: 1px solid #d7e5f2;
  border-radius: 13px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: .2s;
}
.contact-options a:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 25px #0879ea16;
  transform: translateY(-2px);
}
.contact-options > a > span { color: var(--blue); font-size: 30px; width: 34px; text-align: center; }
.contact-options b,
.contact-options small { display: block; }
.contact-options small { color: var(--muted); margin-top: 5px; font-size: 12px; line-height: 1.4; }
.contact-options i { margin-left: auto; color: var(--blue); font-style: normal; font-size: 20px; }
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 20px 50px #092f5912;
}
.contact-form-card h2 { margin: 10px 0 22px; font-size: 28px; }
.contact-form-card .button { width: 100%; }
.content-page {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 25px;
  line-height: 1.9;
  color: #3e536d;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin { background: #f4f8fc; display: flex; }
.admin aside {
  background: #06152b;
  color: #9cb3cb;
  width: 230px;
  min-height: 100vh;
  padding: 30px 18px;
  position: fixed;
  top: 0; left: 0;
}
.admin aside a {
  display: block;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 2px;
}
.admin aside a:hover { background: #173252; color: #fff; }
.admin-brand {
  font: 700 22px 'Orbitron', Arial;
  color: #fff !important;
  margin-bottom: 28px;
  display: block;
}
.admin-brand i { color: #1590fc; font-style: normal; }
.admin-main {
  margin-left: 230px;
  padding: 45px;
  width: calc(100% - 230px);
}
.admin-main h1 { margin: 0 0 8px; }
.muted { color: var(--muted); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.stats div {
  padding: 25px;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.stats span, .stats b { display: block; }
.stats span { color: var(--muted); }
.stats b    { font-size: 32px; margin-top: 10px; }
.admin-top  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.admin-top .button { margin: 0; }
.admin-form {
  max-width: 700px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
}
.check { display: inline-flex; align-items: center; gap: 8px; margin-right: 20px; }
.check input { width: auto; margin: 0; }
.inline-form { display: flex; gap: 10px; max-width: 500px; margin: 20px 0; }
.inline-form input  { margin: 0; }
.inline-form .button { margin: 0; white-space: nowrap; }
.admin-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
}
.tr {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 10px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  min-width: 650px;
}
.tr:last-child { border: 0; }
.tr.head { background: #f3f8ff; font-size: 12px; font-weight: 700; color: #52637a; }
.tr a    { color: #0879ea; font-weight: 600; }
.tr small { display: block; color: var(--muted); margin-top: 4px; }
.tr form { display: flex; gap: 5px; }
.tr form select { margin: 0; padding: 5px; font-size: 12px; }
.tr form button { border: 0; background: var(--navy); color: #fff; border-radius: 5px; }

/* ============================================================
   PRODUCT PAGE — BUY SECTION (2 BUTTONS)
   ============================================================ */
.buy-section { margin-top: 28px; }
.qty-label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.qty-label input { width: 90px; margin-top: 6px; }
.buy-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-buttons form { flex: 1; min-width: 0; display: flex; }
.buy-buttons form .button { width: 100%; }

/* Botão Adicionar ao Carrinho — azul padrão */
.btn-cart {
  flex: 1;
  background: linear-gradient(110deg, #035bbb, #1395ff);
  gap: 8px;
}
.btn-cart.btn-added {
  background: linear-gradient(110deg, #147b48, #1fa060) !important;
  transform: scale(0.97);
}

/* Botão Finalizar no WhatsApp — verde */
.btn-whatsapp {
  flex: 1;
  background: linear-gradient(110deg, #128c50, #25d366);
  gap: 8px;
  box-shadow: 0 8px 20px #25d36640;
}
.btn-whatsapp:hover { opacity: .9; }

/* Nota de pedido */
.order-note { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; }

/* ============================================================
   CART TOAST NOTIFICATION
   ============================================================ */
.cart-toast {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #0f5132;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px #0003;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CART ICON ANIMATION
   ============================================================ */
@keyframes cart-shake {
  0%   { transform: rotate(0deg) scale(1); }
  20%  { transform: rotate(-12deg) scale(1.15); }
  40%  { transform: rotate(12deg) scale(1.1); }
  60%  { transform: rotate(-7deg) scale(1.05); }
  80%  { transform: rotate(5deg) scale(1.02); }
  100% { transform: rotate(0deg) scale(1); }
}
.cart-shake { animation: cart-shake .65s ease; }

@keyframes badge-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cart-badge-pop { animation: badge-pop .5s ease; }

/* ============================================================
   CART PAGE — IMPROVED
   ============================================================ */
.cart-row-info { flex: 1; }
.cart-row-info b { display: block; font-size: 14px; }
.cart-row-info small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.cart-row-price { font-size: 16px; color: var(--blue); font-weight: 700; }
.cart-remove {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: #fff0f3; border-radius: 50%;
  color: #b01a38; transition: .2s;
}
.cart-remove:hover { background: #b01a38; color: #fff; }

/* Resumo melhorado */
.summary-total { font-size: 32px; display: block; margin: 10px 0 4px; color: var(--navy); }
.summary-items-count { font-size: 12px; color: var(--muted); margin-bottom: 18px; }



/* Botão checkout WhatsApp verde */
.btn-whatsapp-checkout {
  width: 100%;
  background: linear-gradient(110deg, #128c50, #25d366);
  box-shadow: 0 8px 24px #25d36640;
  gap: 10px;
  font-size: 15px;
  padding: 16px 22px;
}
.btn-whatsapp-checkout:hover { opacity: .92; transform: translateY(-1px); }

/* Link continuar comprando */
.cart-continue {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-continue:hover { color: var(--blue); }

/* Ícone carrinho vazio */
.empty-icon { font-size: 56px; margin-bottom: 14px; }

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 760px) {
  /* Topbar */
  .topbar { font-size: 10px; padding: 7px 12px; }

  /* Header: flex simples, sem grid */
  header {
    display: flex !important;
    height: 68px;
    padding: 0 16px;
    gap: 12px;
    align-items: center;
  }
  /* Logo maior */
  .brand { flex: 1; grid-column: unset; }
  .brand img { width: 155px; height: 65px; }

  /* Hamburguer: aparece no canto direito do header */
  .menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
    border: 0;
    cursor: pointer;
  }

  /* Container de tools: mostra bandeira dropdown no mobile */
  .header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
  }
  /* Esconde flags desktop no mobile */
  .lang-flags-desktop { display: none !important; }
  /* Mostra dropdown de idioma no mobile */
  .lang-mobile-dropdown { display: block !important; }
  
  /* Oculta cart do desktop e mostra o mobile flutuante */
  .cart-desktop { display: none !important; }
  .cart-mobile {
    display: flex !important;
    position: fixed !important;
    bottom: 24px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    min-width: unset !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 24px rgba(6,21,43,0.5) !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
  }
  .cart-mobile > span { font-size: 24px !important; margin: 0 !important; line-height: 1 !important; }

  /* Nav dropdown */
  nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    padding: 18px 20px;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-bottom: 1px solid #e8eff8;
    z-index: 999;
    grid-column: unset;
  }
  nav.open { display: flex; }


  /* Hero */
  .hero {
    min-height: 420px;
    padding: 45px 25px;
    background: linear-gradient(90deg, #fff 15%, #ffffffcc 80%), url('hero.jpg') center/cover;
  }

  /* Trust */
  .trust {
    margin: 0;
    border-radius: 0;
    grid-template-columns: 1fr;
    padding: 14px 20px;
    gap: 10px;
  }
  .trust div { border: 0; padding-bottom: 10px; border-bottom: 1px solid #29425e; }
  .trust div:last-child { border: 0; }

  /* Section */
  .section { margin: 48px auto; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .product-photo { height: 150px; }

  /* About strip */
  .about-strip { padding: 45px 25px; flex-direction: column; gap: 30px; }
  .about-strip .molecule { width: 100px; height: 100px; }

  /* Footer */
  footer { flex-direction: column; gap: 28px; padding: 36px 20px; }
  .footer-logo { width: 120px; height: 55px; }

  /* Product detail */
  .product-detail, .cart-page { grid-template-columns: 1fr; gap: 25px; margin: 40px auto; }
  .detail-photo { height: 300px; }
  .buy { align-items: stretch; flex-direction: column; }
  .buy input { width: 100%; }

  /* Contact */
  .contact-hero { padding: 45px 25px; }
  .contact-hero h1 { font-size: 32px; }
  .contact-layout { grid-template-columns: 1fr; margin: 40px auto; }
  .contact-form-card { padding: 22px; }

  /* Page head */
  .page-head h1 { font-size: 32px; }
}
