/* =========================================
1. RESET E VARIÁVEIS GLOBAIS
 ========================================= */
:root {
  /* Paleta de Cores JKB Store */
  --color-orange: #ff5722;
  --color-orange-hover: #e64a19;
  --color-blue-dark: #1a0b52;
  --color-blue-btn: #2d1b70;
  --color-text-dark: #1f1f1f;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-bg-light: #f9f9f9;
  --color-gray-border: #e0e0e0;

  /* Configurações */
  --container-width: 1820px;
  --border-radius-pill: 50px;
  --border-radius-card: 16px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--border-radius-card);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-orange {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.btn-orange:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--color-blue-btn);
  color: var(--color-white);
}

.btn-dark:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

/* =========================================
2. NAVBAR
========================================= */
.navbar {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 0 0 24px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 1);
}

.navbar.scrolled .logo-img {
  height: 40px;
  width: 40px;
  transition: all 0.3s ease-in-out;
}

.navbar.scrolled .nav-links a {
  font-size: 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-img {
  height: 70%;
  width: 70%;
  transition: all 0.3s ease-in-out;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-blue-dark);
  font-weight: 500;
  font-size: 1.2rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-orange);
}

.nav-icons {
  display: flex;
  gap: 60px;
  align-items: center;
}

.nav-icons i {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-blue-dark);
  transition: var(--transition);
}

.nav-icons i:hover {
  color: var(--color-orange);
}

.mobile-toggle,
.mobile-menu-left,
.mobile-inner-header {
  display: none;
}

.nav-header-mobile {
  display: contents; /* No desktop, o logo age normalmente */
}

/* Botão Fechar dentro do menu */
.mobile-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-blue-dark);
  cursor: pointer;
}

/* =========================================
   DROPDOWN MENU
========================================= */

.dropdown-trigger {
  position: relative;
  height: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: -20px;
  background-color: #fff;
  width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 15px 0;
  list-style: none;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 25px;
  font-size: 1rem; /* Tamanho menor que o menu principal */
  color: var(--color-text-light);
  font-weight: 400;
  transition:
    background 0.2s,
    color 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
  color: var(--color-orange);
}

.dropdown-menu .divider {
  /* height: 1px; */
  background-color: #eee;
  margin: 8px 0;
}

.dropdown-trigger:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-trigger.menu-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-trigger:hover .fa-chevron-down,
.dropdown-trigger.menu-open .fa-chevron-down {
  transform: rotate(180deg);
}

.fa-chevron-down {
  transition: transform 0.3s ease;
}

/* =========================================
   PÁGINA DE CATÁLOGOS
========================================= */

.catalog-section {
  padding: 60px 0 100px 0;
  background-color: #fff;
}

.page-title {
  font-size: 3rem;
  color: var(--color-blue-dark);
  font-weight: 800;
  margin-bottom: 50px;
  padding: 0 44px;
  letter-spacing: -2px;
  text-align: left;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0 44px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-cover-wrapper {
  background-color: #e0e0e0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.catalog-cover-wrapper img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 20px;
}

.catalog-card:hover .catalog-cover-wrapper img {
  transform: translateY(-5px) scale(1.02);
}

.catalog-info h3 {
  font-size: 1.8rem;
  color: var(--color-blue-dark);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -2px;
}

.catalog-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #444;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.catalog-info p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 25px;
  min-height: 60px;
}

.catalog-actions {
  display: flex;
  gap: 15px;
}

.btn-purple {
  background-color: var(--color-blue-dark);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--color-blue-dark);
  transition: all 0.3s;
  text-align: center;
  flex: 1;
}

.btn-purple:hover {
  background-color: #2a148c;
  border-color: #2a148c;
  transform: translateY(-2px);
}

/* Botão Outline Roxo */
.btn-outline-purple {
  background-color: transparent;
  color: var(--color-blue-dark);
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--color-blue-dark);
  transition: all 0.3s;
  text-align: center;
  flex: 1;
}

.btn-outline-purple:hover {
  background-color: var(--color-blue-dark);
  color: white;
  transform: translateY(-2px);
}

/* Responsividade Catálogo */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .catalog-cover-wrapper {
    min-height: auto;
    padding: 30px;
  }

  .catalog-info {
    text-align: center;
  }

  .catalog-info p {
    min-height: auto;
  }

  .catalog-actions {
    justify-content: center;
  }
}

/* =========================================
11. FOOTER
========================================= */
.footer {
  background-color: #f0f0f0;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  padding-top: 20px;
}

.footer-logo img {
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 80px;
  margin-left: auto;
  margin-right: 60px;
}

.footer-links h4 {
  color: var(--color-blue-dark);
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-blue-dark);
  transition: var(--transition);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--color-orange);
}

.social-links {
  text-align: left;
  border-left: 2px solid #1a0b52;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 100px;
}

.social-links p {
  font-weight: 400;
  color: var(--color-blue-dark);
}

.social-links a {
  color: var(--color-blue-dark);
  font-size: 1.8rem;
  transition: var(--transition);
  display: inline-block;
}

.social-links a:hover {
  color: var(--color-orange);
  transform: translateY(-3px);
}

.copyright {
  text-align: left;
  border-top: 1px solid #d1d1d1;
  padding-top: 30px;
  color: var(--color-blue-dark);
  font-size: 0.85rem;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1025px) {
  .content-wrapper {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .form-card {
    flex-direction: column;
    width: 100%;
    max-width: 500px;
  }

  .inputs-group {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .input-field {
    width: 100%;
  }

  .btn-submit {
    width: 100%;
    height: 45px;
  }

  .slider-btn {
    display: none;
  }
}

/* =========================================
MEDIA QUERIES (RESPONSIVIDADE)
========================================= */
@media (max-width: 1024px) {
  .hero-content {
    width: 70%;
    padding-right: 0;
  }
  .hero-slide.slide-1 {
    background-image: url("./public/assets/banner_home_mobile.png") !important;
    background-color: #190168;
  }
  .hero-slide.slide-2 {
    background-image: url("./public/assets/banner_home_mobile.png") !important;
    background-color: #190168;
  }
  .hero-slide.slide-3 {
    background-image: url("./public/assets/banner_home_mobile.png") !important;
    background-color: #190168;
  }
  .hero-slide.slide-4 {
    background-image: url("./public/assets/banner_home_mobile.png") !important;
    background-color: #190168;
  }
  .hero-slide {
    background-position: center top;
  }

  .interactive-grid,
  .lab-grid,
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lab-card {
    transform: rotate(0);
    margin: 0 auto;
  }
  .quality-content {
    width: 60%;
  }
  .newsletter-form {
    grid-template-columns: 1fr 1fr;
  }
  .newsletter-form button {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    text-align: center;
  }
  .newsletter-form {
    grid-template-columns: 1fr;
  }
  .newsletter-form button {
    grid-column: span 1;
  }
  .quality-section {
    background-position: center;
  }
  .quality-section::before {
    background: rgba(255, 255, 255, 0.9);
  }
  .quality-content {
    width: 100%;
    text-align: center;
    padding-left: 20px;
  }
}

/* =========================================
RESPONSIVIDADE E MOBILE MENU
========================================= */

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-blue-dark);
  cursor: pointer;
}

.nav-header-mobile {
  display: contents;
}

/* MEDIA QUERIES (Tablets e Celulares) */
@media (max-width: 1025px) {
  /* --- NAVBAR MOBILE --- */
  .nav-content {
    justify-content: space-between;
    padding: 0 20px;
  }

  .logo-img {
    height: 60%;
    width: 60%;
  }

  .nav-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1001;
  }

  .mobile-toggle {
    display: block;
    font-size: 1.8rem;
    color: var(--color-blue-dark);
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-menu-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    overflow: hidden;
  }

  .nav-menu-wrapper.active {
    display: grid;
    grid-template-columns: 35% 65%;
    animation: slideIn 0.3s ease-out;
    background: transparent;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
  }

  .nav-icons {
    justify-content: center;
    gap: 30px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: #f9f9f9;
    width: 100%;
    text-align: center;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-trigger:hover .dropdown-menu {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-logo {
    justify-content: center;
    display: flex;
  }

  .social-links {
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-links {
    margin: 0;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
  }

  .social-links {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid #1a0b52;
    padding-top: 20px;
    width: 50%;
    align-items: center;
    text-align: center;
    min-height: auto;
  }
}

/* MEDIA QUERIES (Tablets e Celulares) */
@media (max-width: 1025px) {
  .nav-content {
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1001;
  }

  .mobile-toggle {
    display: block;
    font-size: 1.8rem;
    color: var(--color-blue-dark);
    border: none;
    background: transparent;
    cursor: pointer;
  }

  /* --- 2. O MENU OVERLAY (Wrapper Geral) --- */
  .nav-menu-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    overflow: hidden;
  }

  .nav-menu-wrapper.active {
    display: grid;
    grid-template-columns: 35% 65%;
    animation: slideIn 0.3s ease-out;
    background: transparent;
  }

  /* --- 3. COLUNA ESQUERDA (ROXA) --- */
  .mobile-menu-left {
    display: none;
  }

  .mobile-promo-content h2 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
  }

  .mobile-promo-content h2 strong {
    font-weight: 800;
    font-size: 2.2rem;
  }

  .btn-outline-white {
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 30px;
  }

  .promo-arrow {
    border: 1px solid white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  /* --- 4. COLUNA DIREITA (BRANCA - CONTEÚDO) --- */
  .mobile-menu-right {
    display: flex;
    flex-direction: column;
    background-color: white;
    height: 100%;
    overflow-y: auto;
  }

  .mobile-inner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    flex-direction: row-reverse;
  }

  .mobile-logo-inner {
    height: 40px;
    width: 40px;
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .search-icon-mobile {
    font-size: 1.5rem;
    color: var(--color-blue-dark);
  }

  .nav-icons {
    display: flex;
    justify-content: space-around;
    padding: 30px 40px;
    gap: 20px;
  }

  .nav-icons i {
    font-size: 1.8rem;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0 40px;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-blue-dark);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0 0 20px 20px;
    display: none;
    background: white;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-trigger.menu-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 0;
  }

  /* --- AJUSTES PARA TELAS MUITO PEQUENAS (CELULARES ESTREITOS) --- */
  @media (max-width: 600px) {
    .nav-menu-wrapper.active {
      grid-template-columns: 10% 90%;
      background: transparent;
    }
    .mobile-menu-left {
      display: none;
    }
    .mobile-promo-content {
      display: none;
    }
    .mobile-menu-left::after {
      content: "\f060";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      color: white;
      border: 1px solid white;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      bottom: 20px;
    }
  }
  .nav-icons i {
    font-size: 1rem;
  }
  .nav-links a {
    font-size: 1rem;
  }
  .dropdown-menu li a {
    font-size: 0.8rem;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 993px) {
  .mobile-menu-left,
  .mobile-inner-header {
    display: none !important;
  }

  .mobile-menu-right {
    display: flex;
    flex-direction: row-reverse;
    gap: 100px;
  }
}

@media (max-width: 1025px) {
  .nav-menu-wrapper.active {
    display: flex;
    justify-content: end;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .mobile-close-btn {
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1a0b52;
  }

  .mobile-menu-right {
    background: white;
    height: 100vh;
    width: 70vw;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
}

/* =========================================
   POPUPS (LOGIN & CARRINHO) - ESTILO VISUAL
========================================= */

/* Fundo Escuro (Overlay) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Escondido por padrão */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- ESTILOS COMUNS --- */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.modal-title {
  font-size: 2rem; /* Bem grande como na imagem */
  color: var(--color-blue-dark);
  font-weight: 800;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--color-blue-dark);
  cursor: pointer;
}

/* --- MODAL LOGIN (CENTRAL) --- */
.login-box {
  background: white;
  width: 90%;
  max-width: 800px; /* Mais largo conforme imagem */
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Lado a lado */
  gap: 30px;
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-blue-dark);
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

/* Área do meio: Recaptcha e Botão */
.login-middle-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.recaptcha-placeholder {
  border: 1px solid #ddd;
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  color: #555;
  font-size: 0.8rem;
}

.login-btn-area {
  text-align: right;
}

.forgot-pass {
  display: block;
  color: var(--color-blue-dark);
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.btn-login {
  background-color: var(--color-blue-dark);
  color: white;
  padding: 12px 40px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

/* Footer do Login */
.login-divider {
  height: 1px;
  background-color: #ddd;
  margin-bottom: 30px;
}

.login-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text h3 {
  color: var(--color-blue-dark);
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.footer-text p {
  font-size: 0.9rem;
  color: #555;
  max-width: 400px;
}

.btn-register {
  background: transparent;
  border: 2px solid var(--color-blue-dark);
  color: var(--color-blue-dark);
  padding: 10px 30px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}
.btn-register:hover {
  background: var(--color-blue-dark);
  color: white;
}

/* --- MODAL CARRINHO (SIDEBAR) --- */
.cart-overlay-wrapper {
  justify-content: flex-end; /* Alinha à direita */
}

.cart-sidebar {
  background: white;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%); /* Escondido na direita */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.active .cart-sidebar {
  transform: translateX(0);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px; /* Espaço para scrollbar */
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.cart-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.cart-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-info {
  flex: 1;
}

.cart-info h4 {
  color: var(--color-blue-dark);
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 5px;
}
.cart-desc {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 5px;
}
.cart-price {
  color: var(--color-blue-dark);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Botão de Quantidade (Pílula) */
.cart-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--color-blue-dark);
  border-radius: 50px;
  padding: 5px 10px;
  min-width: 100px;
}

.cart-qty button {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--color-blue-dark);
  font-weight: 700;
  cursor: pointer;
}

.cart-qty span {
  font-weight: 700;
  color: var(--color-blue-dark);
}

/* Footer Carrinho */
.cart-footer-area {
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--color-blue-dark);
  font-size: 1.2rem;
}
.cart-total-row .total-price {
  font-weight: 800;
}

.cart-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.btn-checkout {
  background-color: var(--color-blue-dark);
  color: white;
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .login-grid {
    grid-template-columns: 1fr;
  }
  .login-footer {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .login-box {
    padding: 20px;
    width: 95%;
  }
  .cart-sidebar {
    width: 100%;
  }
}
