/* GERAL */
:root {
  --primary-color: #c6a969; /* Dourado elegante */
  --secondary-color: #8b5e3c; /* Marrom sofisticado */
  --accent-color: #9c7c4a; /* Dourado mais escuro */
  --purple-primary: #6b46c1; /* Roxo elegante */
  --purple-secondary: #805ad5; /* Roxo mais claro */
  --text-color: #2d3748; /* Cinza escuro refinado */
  --text-light: #718096; /* Cinza médio */
  --light-bg: #fafafa; /* Fundo creme elegante */
  --white: #ffffff;
  --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient-gold: linear-gradient(
    135deg,
    #c6a969 0%,
    #a08b5c 50%,
    #8b7355 100%
  );
  --gradient-purple: linear-gradient(
    135deg,
    #6b46c1 0%,
    #805ad5 50%,
    #9f7aea 100%
  );
  --border-radius: 12px;
  --border-radius-large: 20px;
  --font-primary: "Source Sans Pro", sans-serif;
  --font-secondary: "Source Sans Pro", sans-serif;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  background-color: var(--light-bg); /* Fundo geral mais suave */
  font-weight: 400; /* Melhora a legibilidade */
  letter-spacing: 0.5px; /* Espaçamento sutil */
}

/* SPINNER */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: var(--primary-color);
  animation: spin 1s ease infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* NAVBAR */
#mainNavbar {
  background-color: rgba(0, 0, 0, 0.099);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
#mainNavbar.scrolled {
  background-color: rgba(250, 250, 250, 0.43);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}
.navbar-brand .brand-logo {
  transition: transform 0.3s ease;
}
.navbar-brand:hover .brand-logo {
  transform: scale(1.05);
}
.brand-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--primary-color);
}
.nav-link {
  font-weight: 400;
  text-transform: uppercase;
  color: #2b2b2b; /* Cor do texto suavizada */
  transition: color 0.3s ease;
  margin: 0 0.25rem; /* Espaçamento reduzido */
  padding: 0.5rem 0.75rem;
}
#mainNavbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85); /* Branco um pouco mais suave */
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.49); /* Sombra mais difusa */
}
#mainNavbar:not(.scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNavbar:not(.scrolled) #search-icon-btn,
#mainNavbar:not(.scrolled) .cart-icon {
  color: var(--white);
}

/* Troca de Logo */
.logo-dark {
  display: none;
}
#mainNavbar:not(.scrolled) .logo-dark {
  display: none;
}
#mainNavbar:not(.scrolled) .logo-light {
  display: block;
}
#mainNavbar.scrolled .logo-dark {
  display: block;
}
#mainNavbar.scrolled .logo-light {
  display: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}
.cart-icon {
  font-size: 1rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 4px;
  border-radius: 50%;
  background: rgba(198, 169, 105, 0.1);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-icon:hover {
  transform: scale(1.15) rotate(5deg);
  color: var(--primary-color) !important;
  background: rgba(198, 169, 105, 0.2);
  box-shadow: 0 8px 25px rgba(198, 169, 105, 0.3);
}
.cart-icon .badge {
  position: absolute;
  top: -5px;
  right: -10px;
  font-size: 0.7rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #a08b5c 100%);
  border: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* SEARCH OVERLAY */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.577);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.search-overlay.show {
  opacity: 1;
  visibility: visible;
}
.close-search-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
.search-overlay-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--primary-color);
  color: #fff;
  font-size: 2.5rem;
  text-align: center;
  width: 80%;
  max-width: 600px;
  outline: none;
}
.search-overlay-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* NAVBAR DROPDOWN ON HOVER (Desktop) */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Remove o espaço extra */
  }
  .dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  .dropdown-item {
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
  }
}

/* BANNER */
.banner-section {
  padding: 120px 0;
  color: var(--white);
  background: radial-gradient(
      1200px 600px at 10% 10%,
      rgba(107, 70, 193, 0.25) 0%,
      transparent 60%
    ),
    radial-gradient(
      800px 400px at 90% 20%,
      rgba(198, 169, 105, 0.25) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #0f0f10 0%, #1a1a1b 100%);
  position: relative;
}
.banner-overlay {
  background: rgba(0, 0, 0, 0.1); /* Sobreposição muito mais sutil */
  padding: 4rem 0;
}
#mainNavbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9); /* Restaurado para branco */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
#mainNavbar:not(.scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#mainNavbar:not(.scrolled) #search-icon-btn,
#mainNavbar:not(.scrolled) .cart-icon {
  color: var(--white);
}
.banner-title {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
}
.banner-title .highlight {
  color: #e8d6a5;
}
.btn-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #a08b5c 100%);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(198, 169, 105, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}
.btn-banner:hover::before {
  left: 100%;
}
.btn-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(198, 169, 105, 0.4);
  background: linear-gradient(135deg, #a08b5c 0%, var(--primary-color) 100%);
}
.btn-banner-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-banner-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 169, 105, 0.1),
    transparent
  );
  transition: left 0.5s;
}
.btn-banner-outline:hover::before {
  left: 100%;
}
.btn-banner-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(198, 169, 105, 0.3);
}

.banner-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  animation: fadeIn 1s ease-in-out;
  position: relative;
}
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
  filter: saturate(1.08) contrast(1.05);
}
.banner-img.fade-out {
  opacity: 0;
}
.banner-img.fade-in {
  opacity: 1;
}

.img-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  align-self: end;
  height: 90%;
}
.img-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 200px;
}
.img-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  height: 250px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SEÇÕES */
.section-header {
  margin-bottom: 3rem;
}
.section-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  margin-top: 0.5rem;
}

/* CARDS DE CATEGORIA */
.category-card {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}
.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.category-card .category-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.category-content {
  padding: 1.5rem;
  background-color: transparent;
}

/* PÁGINA DE PRODUTOS */
.produtos-content {
  padding-top: 100px;
}
.back-button {
  text-decoration: none;
  font-weight: 700;
}
.product-card {
  border: 1px solid transparent; /* Borda invisível por padrão */
  border-radius: 20px; /* Bordas ainda mais arredondadas */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  background-color: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); /* Sombra mais elegante */
  overflow: hidden;
  position: relative;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 169, 105, 0.05),
    transparent
  );
  transition: left 0.6s;
}
.product-card:hover::before {
  left: 100%;
}
.product-card:hover {
  border-color: var(--primary-color); /* Borda aparece no hover */
  box-shadow: 0 20px 60px rgba(198, 169, 105, 0.15);
  transform: translateY(-12px) scale(1.02);
}
.product-card .card-img-top {
  transition: transform 0.4s ease;
}
.product-card:hover .card-img-top {
  transform: scale(1.05);
}
.product-card .card-img-top {
  height: 250px;
  object-fit: cover;
}

/* MODAL PRODUTO */
.btn-close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.modal-info {
  padding: 2rem;
}
.quantity-control {
  display: flex;
  align-items: center;
}
.quantity-control .btn-quantity {
  border: 1px solid #ccc;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.quantity-control .btn-quantity:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #a08b5c 100%);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(198, 169, 105, 0.3);
}
.quantity-control input {
  text-align: center;
  border: 1px solid #ccc;
  border-left: none;
  border-right: none;
  width: 50px;
  height: 30px;
}

.modal-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.modal-thumb:hover {
  border-color: var(--primary-color);
}
.tipo-section label,
.tamanho-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.tipo-section input[type="radio"],
.tamanho-section input[type="radio"] {
  margin-right: 5px;
}

/* OFFCANVAS ORÇAMENTO */
.offcanvas-header {
  border-bottom: 1px solid #eee;
}
.offcanvas-body {
  padding: 1.5rem;
}
.orcamento-item {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1rem;
}
.orcamento-item:last-child {
  border-bottom: none;
}
.orcamento-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

/* RESPONSIVIDADE */
@media (max-width: 991.98px) {
  .navbar-nav {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  #mainNavbar:not(.scrolled) .nav-link {
    color: var(--text-color); /* Texto escuro no menu mobile */
    text-shadow: none;
  }
  #mainNavbar .nav-link {
    padding: 0.75rem 1rem;
  }
  .banner-image-grid {
    display: none; /* Esconde o grid complexo em tablets */
  }

  /* Ícones flutuantes em mobile */
  .cart-icon,
  #search-icon-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a08b5c 100%);
    color: var(--white) !important;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(198, 169, 105, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 1.2rem;
  }
  .cart-icon:hover,
  #search-icon-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(198, 169, 105, 0.5);
  }
  #search-icon-btn {
    right: 78px; /* Posiciona a lupa à esquerda do carrinho */
  }
  .cart-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.7rem;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    animation: pulse 2s infinite;
  }
}

/* Melhorias de Responsividade e Acessibilidade */
@media (max-width: 767.98px) {
  .banner-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .banner-subtitle {
    font-size: 1rem;
  }
  .btn-banner,
  .btn-banner-outline {
    font-size: 1rem;
    padding: 10px 25px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .about-description {
    font-size: 0.95rem;
  }
  .feature-card h3 {
    font-size: 1.1rem;
  }
  .feature-card p {
    font-size: 0.9rem;
  }
  .category-info h3 {
    font-size: 1.2rem;
  }
  .category-info p {
    font-size: 0.9rem;
  }
}

/* Melhorias Visuais e Interatividade */
.banner-section {
  background: linear-gradient(
      135deg,
      rgba(198, 169, 105, 0.05) 0%,
      rgba(139, 94, 60, 0.05) 100%
    ),
    url("https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-dark.png")
      repeat;
}

.about-section {
  background: linear-gradient(
    135deg,
    rgba(250, 250, 250, 0.8) 0%,
    rgba(245, 245, 245, 0.8) 100%
  );
}

.why-choose-section {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 248, 248, 0.9) 100%
  );
}

.categories-section {
  background: linear-gradient(
    135deg,
    rgba(250, 250, 250, 0.8) 0%,
    rgba(245, 245, 245, 0.8) 100%
  );
}

.featured-products-section {
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
}

/* Animações aprimoradas */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: slideInUp 0.8s ease-out;
}

/* Melhorias na navbar */
.btn-nav-icon {
  background: rgba(198, 169, 105, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-nav-icon:hover {
  background: rgba(198, 169, 105, 0.2);
  transform: scale(1.1);
}

/* Melhorias na acessibilidade */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Foco aprimorado para navegação por teclado */
.btn:focus,
.btn-nav-icon:focus,
.cart-icon:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Melhorias no contraste */
.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .banner-title {
    font-size: 2.5rem;
    text-align: center;
  }
  .banner-subtitle {
    text-align: center;
  }
  .banner-section .d-flex {
    justify-content: center;
  }
  .section-title {
    font-size: 2rem;
  }
  .filtros-section .row > div {
    width: 100%;
  }
  .filtros-section .form-select {
    margin-bottom: 1rem;
  }
  .produtos-content {
    padding-top: 80px; /* Reduz o espaço para evitar a barra preta */
  }

  /* Modal de Produto Responsivo */
  #modalProduto .modal-dialog {
    max-width: 100%;
    margin: 0;
  }
  #modalProduto .modal-content {
    border-radius: 0;
    min-height: 100vh;
  }
  /* Força o layout de coluna única no modal */
  #modalProduto .modal-body .row {
    display: flex;
    flex-direction: column;
  }
  #modalProduto .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
  }
  .modal-info {
    padding: 1.5rem;
  }

  /* Tabela de Orçamento Responsiva */
  .orcamento-table thead {
    display: none; /* Esconde cabeçalho em mobile */
  }
  .orcamento-table tbody,
  .orcamento-table tr,
  .orcamento-table td {
    display: block;
    width: 100%;
  }
  .orcamento-table tr {
    margin-bottom: 1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
  }
  .orcamento-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border: none;
  }
  .orcamento-table td::before {
    content: attr(data-label);
    font-weight: bold;
    margin-right: 1rem;
  }
  .orcamento-table td:first-child {
    justify-content: center; /* Centraliza a imagem */
  }
  .orcamento-img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }
}

/* FOOTER */
.footer-section {
  background: linear-gradient(135deg, #1f1f20 0%, #141415 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-title {
  font-family: var(--font-primary);
  color: var(--primary-color);
}
.footer-links li {
  list-style: none;
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

/* CLASSES ADICIONAIS PARA ADMIN */
.card-purple {
  background: var(--gradient-purple) !important;
  border: none !important;
  box-shadow: var(--shadow-medium) !important;
  transition: all 0.3s ease;
}

.card-purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large) !important;
}

.bg-purple {
  background: var(--gradient-purple) !important;
}

.btn-elegant {
  background: var(--gradient-gold);
  border: none;
  border-radius: var(--border-radius);
  color: var(--white);
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.btn-elegant:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: var(--gradient-gold);
}

.btn-purple {
  background: var(--gradient-purple);
  border: none;
  border-radius: var(--border-radius);
  color: var(--white);
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: var(--gradient-purple);
}

/* MELHORIAS GERAIS */
.card {
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-light) !important;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-medium) !important;
}

.btn {
  border-radius: var(--border-radius) !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.form-control {
  border-radius: var(--border-radius) !important;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(198, 169, 105, 0.1);
}

.alert {
  border-radius: var(--border-radius) !important;
  border: none;
  box-shadow: var(--shadow-light);
}

.badge {
  border-radius: 20px;
  font-weight: 500;
}

.table {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.table thead th {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: none;
  font-weight: 600;
  color: var(--text-color);
}

#produtos-destaque {
  transition: opacity 0.35s ease;
}

/* ANIMAÇÕES E EFEITOS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

/* LOADING STATES */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner-elegant {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* RESPONSIVIDADE MELHORADA */
@media (max-width: 768px) {
  .card {
    margin-bottom: 1rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .table-responsive {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
  }
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #a08b5c 100%
  ) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(198, 169, 105, 0.3) !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(198, 169, 105, 0.4) !important;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.feature-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.offcanvas .offcanvas-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e5e7eb;
}

.agenda-section {
  background: linear-gradient(
    135deg,
    rgba(248, 248, 248, 0.9) 0%,
    rgba(245, 245, 245, 0.9) 100%
  );
}

.agenda-section .container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.home-section {
  backdrop-filter: saturate(120%);
}

.nav-link {
  letter-spacing: 0.8px;
}

.section-title {
  letter-spacing: 0.5px;
}

.product-card {
  backdrop-filter: saturate(120%);
}
.collections-section {
  background: linear-gradient(
    135deg,
    rgba(248, 248, 248, 0.9) 0%,
    rgba(245, 245, 245, 0.9) 100%
  );
}

.collection-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #111213 0%, #151617 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 300px at 0% 0%,
      rgba(198, 169, 105, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      600px 300px at 100% 100%,
      rgba(107, 70, 193, 0.15) 0%,
      transparent 60%
    );
}

.collection-card-body {
  position: relative;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.collection-card-body i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #e8d6a5;
}

.collection-card-title {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}
.banner-image-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      900px 450px at 0% 0%,
      rgba(198, 169, 105, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      900px 450px at 100% 100%,
      rgba(107, 70, 193, 0.18) 0%,
      transparent 60%
    );
}
.brand-section {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}
.brand-media {
  height: 320px;
  border-radius: 18px;
  background: linear-gradient(135deg, #111213 0%, #151617 100%);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.brand-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 300px at 0% 0%,
      rgba(198, 169, 105, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      600px 300px at 100% 100%,
      rgba(107, 70, 193, 0.18) 0%,
      transparent 60%
    );
}
.brand-highlights li {
  margin-bottom: 0.5rem;
}

.benefits-section {
  background: linear-gradient(135deg, #fdfdfd 0%, #f3f3f3 100%);
}
.benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card .icon {
  font-size: 1.6rem;
  color: #e8d6a5;
  margin-bottom: 0.5rem;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.newsletter-section {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}
.newsletter-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}
.newsletter-form {
  display: flex;
  gap: 12px;
}
.newsletter-form .form-control {
  max-width: 360px;
}
.hero-carousel .carousel-item img {
  height: 520px;
  object-fit: cover;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.hero-carousel .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.hero-carousel {
  overflow: hidden;
}

@media (min-width: 577px) and (max-width: 992px) {
  .hero-carousel .carousel-item img {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .hero-carousel .carousel-item img {
    height: 200px;
    box-shadow: none;
  }
  .banner-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .section-subtitle {
    font-size: 0.8rem;
  }
  .feature-chips {
    display: none;
  }
  .chip {
    padding: 6px 12px;
  }
  .collection-card-body {
    padding: 1.25rem 1rem;
  }
  .collection-card-body i {
    font-size: 1.6rem;
  }
  .collection-card-title {
    font-size: 1rem;
  }
  .brand-media {
    height: 220px;
    border-radius: 12px;
  }
  .benefit-card {
    padding: 1rem;
  }
  .newsletter-card {
    padding: 1.25rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form .form-control {
    max-width: 100%;
  }
  .product-card .card-img-top {
    height: 180px;
    object-fit: cover;
  }
  .product-card .card-body {
    padding: 0.75rem;
  }
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .carousel-indicators {
    display: none;
  }
  .banner-overlay {
    padding: 2rem 0;
  }
  .section-header {
    margin-bottom: 1.5rem;
  }
  .banner-title {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .section-subtitle {
    font-size: 0.75rem;
  }
  .btn-banner,
  .btn-banner-outline {
    padding: 8px 20px;
    font-size: 0.95rem;
  }
  .category-card .category-image img {
    height: 180px;
  }
  .product-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
  }
  .product-card .card-img-top {
    height: 150px;
  }
  .newsletter-form {
    gap: 8px;
  }
  .brand-media {
    height: 180px;
  }
  .chip {
    padding: 6px 10px;
  }
  .collections-section {
    background: #fff;
  }
  .collection-card {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
  }
  .collection-card::before {
    display: none;
  }
  .collection-card-body {
    padding: 1rem;
  }
  .collection-card-body i {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
  }
  .collection-card-title {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
  }
  .product-card::before {
    display: none;
  }
  .product-card:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }
  .cart-icon,
  #search-icon-btn {
    border-radius: 50% !important;
    width: 44px;
    height: 44px;
    bottom: 12px;
    right: 12px;
  }
  #search-icon-btn {
    right: 68px;
  }
  #agenda-icon {
    position: fixed;
    bottom: 12px;
    right: 124px;
    z-index: 1050;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a08b5c 100%);
    color: var(--white) !important;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(198, 169, 105, 0.35);
    border: none;
    font-size: 1.1rem;
  }
  #agenda-icon:hover {
    transform: scale(1.05);
  }

  #offcanvasOrcamento,
  #offcanvasAgendamento {
    width: 100vw;
    max-width: 100vw;
    border-radius: 12px 0 0 12px;
  }
  #offcanvasOrcamento .offcanvas-header h5,
  #offcanvasAgendamento .offcanvas-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
  }
  #offcanvasOrcamento .offcanvas-body,
  #offcanvasAgendamento .offcanvas-body {
    padding: 1rem;
  }
  #offcanvasOrcamento .offcanvas-footer .btn {
    font-size: 1rem;
    padding: 10px;
  }

  .footer-section {
    background: #fff;
    color: #333;
    padding: 2rem 0 1rem;
  }
  .footer-title {
    color: var(--primary-color);
  }
  .footer-links a {
    color: #666;
  }
  .footer-bottom {
    border-top: 1px solid #eee;
    margin-top: 1rem;
    padding-top: 1rem;
  }
}
