:root {
  --bg: #0b0b0d;
  --bg-soft: #14161a;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --text: #17181b;
  --text-soft: #5b616b;
  --line: #e8eaee;
  --line-dark: rgba(255,255,255,0.08);
  --primary: #d32f2f;
  --primary-dark: #a91f1f;
  --primary-soft: rgba(211, 47, 47, 0.12);
  --white: #ffffff;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 14px 35px rgba(0, 0, 0, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1240px;
  --header-h: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(211, 47, 47, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0px, #ffffff 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.18), rgba(5, 6, 8, 0.62));
  backdrop-filter: blur(4px);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.loja-page {
  min-height: 100vh;
}

/* HEADER */
.loja-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(10, 10, 12, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.loja-navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.logo img {
  width: 200px;
  height: auto;
  display: block;
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 11px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

nav ul li a:link,
nav ul li a:visited,
nav ul li a:hover,
nav ul li a:active {
  text-decoration: none;
}

nav ul li a:hover,
nav ul li a.nav-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-quote {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  box-shadow: 0 12px 26px rgba(211, 47, 47, 0.30);
}

.btn-quote:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  background: linear-gradient(135deg, #e33a3a, #b91f1f);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--white);
}

.loja-header-space {
  height: var(--header-h);
}

.loja-dev-alerta {
  width: min(92%, var(--container));
  margin: 20px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 201, 74, 0.38);
  border-radius: 14px;
  background: #fff8df;
  color: #6f5100;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(111, 81, 0, 0.08);
}

/* HERO */

.loja-hero .container {
  position: relative;
  overflow: hidden;
  padding: 54px 42px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(115deg, rgba(10,10,12,0.92), rgba(25,27,31,0.88)),
    url("img/baner-1.jpg") center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  isolation: isolate;
}

.loja-hero {
  margin-top: 80px;
}

.loja-hero .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.38)),
    radial-gradient(circle at top right, rgba(211, 47, 47, 0.24), transparent 28%);
  z-index: -1;
}

.loja-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(211, 47, 47, 0.14);
  border: 1px solid rgba(211, 47, 47, 0.22);
  color: #ff9191;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.loja-hero h1 {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.08;
}

.loja-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.03rem;
}

/* CONTEUDO */
.loja-conteudo {
  padding: 34px 0 90px;
}

.loja-topbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.loja-topbar h2 {
  color: #16181b;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
  margin-bottom: 8px;
}

.loja-topbar p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.busca-produto {
  width: 100%;
  max-width: 390px;
}

.busca-produto input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 18px;
  outline: none;
  font-size: 0.96rem;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
}

.busca-produto input::placeholder {
  color: #8c9199;
}

.busca-produto input:focus {
  border-color: rgba(211, 47, 47, 0.7);
  box-shadow: 0 16px 36px rgba(211, 47, 47, 0.14);
}

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}

.produto-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.produto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14);
  border-color: rgba(211, 47, 47, 0.22);
}

.produto-imagem-wrap {
  position: relative;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(211, 47, 47, 0.14), transparent 30%),
    linear-gradient(180deg, #f5f6f8 0%, #eceff3 100%);
  border-bottom: 1px solid var(--line);
}

.produto-imagem-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.10));
  pointer-events: none;
}

.produto-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
}

.produto-conteudo {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.produto-card h3 {
  color: #16181b;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  line-height: 1.32;
  margin-bottom: 14px;
  min-height: 48px;
}

.produto-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.produto-codigo,
.produto-pedido {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: #3f4650;
  font-size: 0.88rem;
}

.produto-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: 18px;
  flex: 1;
}

.produto-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.produto-preco {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.produto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 13px;
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 28px rgba(211, 47, 47, 0.24);
  transition: 0.25s ease;
}

.produto-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.loja-vazia,
.loja-erro {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
  box-shadow: var(--shadow-md);
}

/* FOOTER */
footer {
  background:
    radial-gradient(circle at top, rgba(211, 47, 47, 0.18), transparent 26%),
    linear-gradient(180deg, #111214, #0a0a0c);
  color: rgba(255,255,255,0.88);
  margin-top: 20px;
  padding: 70px 20px 38px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.img-rodape {
  width: 74px;
  margin: 0 auto 18px;
}
.selos-seguranca-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 auto 14px;
}

.selo-seguranca-footer {
  display: block;
  width: min(95px, 36vw);
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}

footer .container p {
  margin-bottom: 8px;
}

.fim {
  color: var(--primary);
  font-weight: 800;
}

.redes-sociais {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.social {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.25s ease;
}

.social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.social:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(211, 47, 47, 0.14);
  border-color: rgba(211, 47, 47, 0.28);
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.34);
  z-index: 1100;
  animation: pulse 2s infinite;
}

.whatsapp-float img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* RESPONSIVO */
@media (max-width: 1080px) {
  nav ul {
    gap: 4px;
  }

  nav ul li a {
    font-size: 0.92rem;
    padding: 10px 12px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: absolute;
    top: calc(100% + 12px);
    right: 4%;
    width: min(92vw, 360px);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border-radius: 24px;
    background:
      radial-gradient(circle at top right, rgba(211, 47, 47, 0.22), transparent 34%),
      linear-gradient(145deg, rgba(10, 11, 14, 0.98), rgba(23, 24, 28, 0.96));
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.38);
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  }

  .loja-navbar nav.active ul,
  .loja-navbar nav.open ul,
  nav ul.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  nav ul li,
  nav ul li a,
  .btn-quote {
    width: 100%;
  }

  nav ul li a {
    border-radius: 15px;
    padding: 14px 16px;
  }

  .loja-hero .container {
    padding: 42px 28px;
  }
}

@media (max-width: 768px) {
  .loja-navbar {
    height: auto;
    padding: 10px 0 12px;
    background:
      linear-gradient(135deg, rgba(4, 5, 7, 0.98), rgba(18, 19, 23, 0.95) 68%, rgba(52, 8, 8, 0.88));
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  }

  .loja-navbar .container {
    position: relative;
    min-height: calc(var(--header-h) - 22px);
    gap: 12px;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .logo {
    font-size: 1.25rem;
    letter-spacing: 0.03em;
  }

  .logo img {
    width: min(45vw, 160px);
    height: auto;
  }

  .loja-navbar nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 3%;
    right: 3%;
    width: auto;
    z-index: 1001;
  }

  #nav {
    position: static;
    width: 100%;
    max-width: none;
    max-height: calc(100vh - var(--header-h) - 52px);
    margin: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    align-items: stretch;
    gap: 10px;
    box-sizing: border-box;
    background:
      radial-gradient(circle at top right, rgba(211, 47, 47, 0.26), transparent 36%),
      linear-gradient(145deg, rgba(8, 9, 12, 0.99), rgba(24, 24, 28, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 26px;
    box-shadow: 0 28px 62px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(0.98);
    transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
  }

  .loja-navbar nav.active #nav,
  .loja-navbar nav.open #nav,
  #nav.active,
  #nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .loja-navbar nav ul {
    justify-content: stretch;
    gap: 10px;
  }

  .loja-navbar nav ul li {
    width: 100%;
    display: flex;
    min-width: 0;
    justify-content: stretch;
  }

  .loja-navbar nav ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.1;
    padding: 14px 16px;
    text-align: left;
    white-space: normal;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .loja-navbar nav ul li a:hover,
  .loja-navbar nav ul li a:focus-visible {
    background: rgba(211, 47, 47, 0.16);
    border-color: rgba(211, 47, 47, 0.28);
    color: #fff;
  }

  .loja-navbar nav .btn-quote {
    justify-content: center;
    min-height: 50px;
    border-radius: 18px;
  }

  .loja-hero {
    padding-top: 24px;
  }

  .loja-hero .container {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .loja-topbar {
    margin-bottom: 22px;
  }

  .grid-produtos {
    grid-template-columns: 1fr;
  }

  .produto-card img {
    height: 220px;
  }

  .produto-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .produto-btn {
    width: 100%;
  }

  footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 80px;
  }

  .container {
    width: min(94%, var(--container));
  }

  .loja-topbar h2 {
    font-size: 1.55rem;
  }

  .busca-produto input {
    height: 52px;
    border-radius: 14px;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }
}

.card-produto {
  text-decoration: none;
  color: inherit;
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.25s ease;
}

.card-produto:hover {
  transform: translateY(-6px);
}

.card-produto img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 14px;
}

.produto-card {
  text-decoration: none;
  color: inherit;
  display: flex;
}

/* ===== FOOTER LEGAL ===== */
.footer-legal {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #d7d7d7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.footer-legal a:hover {
  color: #d32f2f;
}

/* melhora espaçamento das redes */
.redes-sociais {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.redes-sociais a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.redes-sociais img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* footer mais organizado */
footer#contato .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== CARRINHO MAIS PREMIUM ===== */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.cart-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.cart-count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b3b, #d32f2f);
  color: #fff;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(211, 47, 47, 0.28);
  border: 1px solid rgba(255,255,255,0.08);
}

.loja-carrinho-topo {
  display: flex;
  align-items: center;
}

.destaque-cart {
  background: linear-gradient(135deg, #101010, #1a1a1a);
  color: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s ease;
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

.destaque-cart:hover {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(211, 47, 47, 0.25);
}

.destaque-cart .cart-count {
  background: #fff;
  color: #d32f2f;
  box-shadow: none;
}

.produto-acoes-loja {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.produto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  color: #111;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.produto-btn:hover {
  background: #e7e7e7;
}

.btn-carrinho {
  border: none;
  background: linear-gradient(135deg, #111, #1d1d1d);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 12px 26px rgba(0,0,0,0.16);
  letter-spacing: 0.2px;
}

.btn-carrinho:hover {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(211, 47, 47, 0.24);
}

.btn-carrinho:active {
  transform: scale(0.98);
}

/* card com mais respiro */
.produto-card .produto-footer,
.card-produto .produto-footer {
  margin-top: 14px;
}

.produto-preco {
  font-size: 1.08rem;
  font-weight: 800;
  color: #d32f2f;
}

/* topo da loja mais alinhado */
.loja-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.busca-produto {
  flex: 1;
  min-width: 260px;
}

.busca-produto input {
  width: 100%;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0 18px;
  outline: none;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: 0.25s ease;
}

.busca-produto input:focus {
  border-color: rgba(211,47,47,0.45);
  box-shadow: 0 14px 28px rgba(211,47,47,0.12);
}

/* =========================
   CARRINHO PAGE
========================= */
.carrinho-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.carrinho-box,
.resumo-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.carrinho-lista {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.carrinho-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 18px;
  background: #fff;
}

.carrinho-item img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 16px;
  background: #f8f8f8;
  border: 1px solid #eee;
  padding: 10px;
}

.carrinho-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.08rem;
  color: #111;
  margin-bottom: 6px;
}

.carrinho-info p {
  color: #666;
}

.carrinho-preco {
  color: #d32f2f !important;
  font-weight: 800;
  font-size: 1rem;
}

.carrinho-acoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.input-qtd {
  width: 88px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 0 10px;
  outline: none;
  font-weight: 700;
}

.remover-item {
  border: none;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.remover-item:hover {
  background: #d32f2f;
}

.resumo-box h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #111;
}

.resumo-linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ededed;
  color: #444;
}

.resumo-linha.total {
  margin-top: 4px;
  font-size: 1.08rem;
  font-weight: 800;
}

.resumo-linha.total strong {
  color: #d32f2f;
  font-size: 1.15rem;
}

.pagamentos-mercado-pago {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.pagamentos-titulo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #222;
}

.pagamentos-titulo span {
  color: #666;
  font-size: 0.88rem;
}

.pagamentos-titulo strong {
  color: #009ee3;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.pagamentos-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pagamentos-lista span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef7ff;
  color: #12466b;
  font-size: 0.82rem;
  font-weight: 800;
}

.pagamentos-mercado-pago small {
  display: block;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.45;
}

.btn-finalizar,
.btn-limpar {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
  margin-top: 16px;
}

.btn-finalizar {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: #fff;
  box-shadow: 0 14px 30px rgba(211,47,47,0.2);
}

.btn-whatsapp-finalizar {
  background: linear-gradient(135deg, #1f9d55, #13733e);
  box-shadow: 0 14px 30px rgba(31,157,85,0.18);
}

.btn-finalizar:hover {
  transform: translateY(-2px);
}

.btn-limpar {
  background: #111;
  color: #fff;
}

.btn-limpar:hover {
  background: #2b2b2b;
}

.mini-selo {
  margin-top: 18px;
  width: 100%;
}

@media (max-width: 980px) {
  .carrinho-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .carrinho-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .carrinho-item img {
    margin: 0 auto;
  }

  .carrinho-acoes {
    align-items: stretch;
  }

  .input-qtd {
    width: 100%;
  }
}

/* =========================
   TOAST CARRINHO
========================= */
.toast-carrinho {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 290px;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transition: all 0.3s ease;
}

.toast-carrinho.ativo {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.toast-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d32f2f, #a91f1f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 10px 20px rgba(211,47,47,0.28);
}

.toast-texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-texto strong {
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
  color: #fff;
}

.toast-texto small {
  font-size: 0.84rem;
  color: #cfcfcf;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .toast-carrinho {
    right: 12px;
    left: 12px;
    top: 88px;
    min-width: auto;
    max-width: none;
  }
}
