:root {
  --primary-color: #2C3E50;     /* Azul escuro elegante */
  --secondary-color: #E67E22;   /* Laranja vibrante */
  --accent-color: #E74C3C;      /* Vermelho suave */
  --background-color: #F5F6FA;  /* Cinza muito claro */
  --text-color: #2C3E50;        /* Mesma cor que primary para consistência */
  --beige-light: #ECF0F1;       /* Cinza claro suave */
  --beige: #BDC3C7;            /* Cinza médio */
  --gray-light: #F7F9FA;       /* Cinza muito claro */
  --gray-medium: #95A5A6;      /* Cinza médio elegante */
  --gold-gradient: linear-gradient(135deg, #F1C40F, #F39C12);  /* Gradiente dourado */
}

/* Estilo para o fundo do corpo */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-color);
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.03) 1%, transparent 5%),
    radial-gradient(circle at 75% 75%, rgba(255, 215, 0, 0.03) 1%, transparent 5%),
    linear-gradient(135deg, rgba(233, 225, 187, 0.1) 0%, transparent 75%),
    linear-gradient(45deg, rgba(252, 235, 187, 0.07) 0%, transparent 75%);
  background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%;
  background-position: 0 0, 15px 15px, 0 0, 0 0;
  background-attachment: fixed;
  position: relative;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Efeito de brilho sutil animado */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%);
  animation: shine 15s infinite linear;
  pointer-events: none;
  z-index: 0;
}

/* Padrão de padrão dourado sutil */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(241, 196, 15, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(243, 156, 18, 0.02) 2px, transparent 2px);
  background-size: 30px 30px, 60px 60px;
  animation: shimmerBg 20s infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(35deg);
  }
  100% {
    transform: translateX(100%) rotate(35deg);
  }
}

@keyframes shimmerBg {
  0% {
    background-position: 0 0, 0 0;
    opacity: 0.5;
  }
  50% {
    background-position: 15px 15px, 30px 30px;
    opacity: 0.7;
  }
  100% {
    background-position: 30px 30px, 60px 60px;
    opacity: 0.5;
  }
}

.header {
  width: 100%;
  background: linear-gradient(to right, #f8f6f6, #f7eeee, #c5a16d);
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(184, 162, 118, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(189, 195, 199, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  max-width: 200px;
}

.logo-image {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo {
    max-width: 150px;
    padding: 8px;
  }
  
  .logo-image {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .logo {
    max-width: 120px;
    padding: 5px;
  }
  
  .logo-image {
    max-height: 40px;
  }
}

.search-bar {
  flex: 1;
  max-width: 600px;
  margin: 0 2rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(189, 195, 199, 0.5);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.2);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

.header-link i {
  font-size: 1.2rem;
}

.cart-link {
  position: relative;
  text-decoration: none;
  padding: 0.5rem;
  transition: transform 0.2s;
}

.cart-link:hover {
  transform: scale(1.1);
}

.cart-link i {
  font-size: 2rem;
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-result-item:hover {
  background-color: #f5f5f5;
}

.search-result-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 5px;
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.2rem;
}

.search-result-price {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--beige-light);
  box-shadow: -4px 0 15px rgba(0,0,0,0.1);
  z-index: 9000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  background: linear-gradient(to right, #e0e0e0, #da7b7b, #d4c5a9);
  color: var(--text-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.close-cart {
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background-color: var(--background-color);
}

.empty-cart {
  text-align: center;
  color: var(--text-color);
  margin-top: 2rem;
  font-style: italic;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-medium);
  background-color: var(--beige-light);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  color: var(--primary-color);
  font-weight: 600;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cart-quantity-btn {
  background: var(--beige-light);
  border: 1px solid var(--gray-medium);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-color);
}

.remove-item-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-medium);
  background: var(--beige-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.checkout-btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(44, 62, 80, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.checkout-btn:hover {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(44, 62, 80, 0.3);
}

@media (max-width: 768px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
    background: var(--beige-light);
    z-index: 9000;
  }
  
  .cart-header {
    background: linear-gradient(to right, #e0e0e0, #c90202, #d4c5a9);
    padding: 1rem;
    color: var(--text-color);
  }
  
  .cart-items {
    max-height: 60vh;
  }
  
  .cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-bottom: 1px solid var(--gray-medium);
  }
  
  .cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
  }
  
  .cart-item-info {
    flex: 1;
  }
  
  .cart-item-name {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
  }
  
  .cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
  }
  
  .cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  
  .cart-quantity-btn {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    background: var(--beige-light);
    border: 1px solid var(--gray-medium);
    color: var(--text-color);
  }
  
  .remove-item-btn {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    background: var(--accent-color);
  }
  
  .quantity {
    font-size: 0.8rem;
    width: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cart-item {
    grid-template-columns: 40px 1fr auto;
    padding: 0.4rem;
  }
  
  .cart-item-image {
    width: 35px;
    height: 35px;
  }
  
  .cart-item-name {
    font-size: 0.7rem;
    max-width: 100px;
  }
  
  .cart-item-price {
    font-size: 0.65rem;
  }
  
  .cart-quantity-btn {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    background: var(--beige-light);
    border: 1px solid var(--gray-medium);
    color: var(--text-color);
  }
  
  .remove-item-btn {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    background: var(--accent-color);
  }
  
  .quantity {
    font-size: 0.7rem;
    width: 12px;
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.carousel {
  display: flex;
  transition: transform 1s ease;
  height: 100%;
}

.carousel-item {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-item img,
.carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-info {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  border-radius: 10px;
  color: white;
}

.carousel-indicators,
.carousel-btn {
  display: none;
}

.carousel-delete-btn,
.carousel-edit-btn {
  position: absolute;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  opacity: 0;
}

.carousel-item:hover .carousel-delete-btn,
.carousel-item:hover .carousel-edit-btn {
  opacity: 1;
}

.carousel-delete-btn {
  top: 20px;
  left: 20px;
  background: rgba(255, 0, 0, 0.9);
  color: white;
}

.carousel-edit-btn {
  top: 20px;
  right: 20px;
  background: rgba(157, 78, 221, 0.9);
  color: white;
}

.carousel-delete-btn:hover {
  background: #979191;
  transform: scale(1.1);
}

.carousel-edit-btn:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.category-section {
  position: relative;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(245, 246, 250, 0.8), rgba(236, 240, 241, 0.7));
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.05);
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(189, 195, 199, 0.2);
}

.category-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(241, 196, 15, 0.03) 1%, transparent 10%),
    radial-gradient(circle at 90% 90%, rgba(243, 156, 18, 0.03) 1%, transparent 10%),
    radial-gradient(circle at 90% 10%, rgba(241, 196, 15, 0.03) 1%, transparent 10%),
    radial-gradient(circle at 10% 90%, rgba(243, 156, 18, 0.03) 1%, transparent 10%);
  z-index: 0;
  opacity: 0.5;
}

.category-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0rem;
  padding: 0 3rem;
}

.category-header h2 {
  display: inline-block;
  background: white;
  padding: 0 0rem;
  color: var(--accent-color);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  z-index: 0;
}

.category-products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  padding: 0.5rem;
  width: 100%;
}

.product-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.85));
  border: 1px solid rgba(189, 195, 199, 0.3);
  border-radius: 20px;
  padding: 0.7rem;
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.08),
              0 0 15px rgba(44, 62, 80, 0.1),
              0 0 30px rgba(44, 62, 80, 0.05);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1.5;
  display: flex;
  flex-direction: column;
  max-height: 380px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.product-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.9));
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.15),
              0 0 20px rgba(230, 126, 34, 0.1),
              0 0 40px rgba(230, 126, 34, 0.05);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.product-image-container {
  position: relative;
  height: 65%;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 0.5rem;
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.07);
}

.product-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
  border-radius: 15px;
}

.product-card:hover .product-image-container::after {
  background: linear-gradient(135deg, 
    rgba(230, 126, 34, 0.05) 0%, 
    rgba(255, 255, 255, 0) 50%,
    rgba(241, 196, 15, 0.05) 100%);
}

.product-image-carousel {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.product-image-carousel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.product-image-carousel img.active {
  opacity: 1;
  transform: translateX(0);
}

.product-image-carousel img.previous {
  transform: translateX(-100%);
  opacity: 0;
}

.card-prev-btn,
.card-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(157, 78, 221, 0.8);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.product-image-container:hover .card-prev-btn,
.product-image-container:hover .card-next-btn {
  opacity: 1;
}

.card-prev-btn {
  left: 10px;
}

.card-next-btn {
  right: 10px;
}

.card-prev-btn:hover,
.card-next-btn:hover {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .card-prev-btn,
  .card-next-btn {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .card-prev-btn,
  .card-next-btn {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
}

.product-info {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
  border-radius: 15px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.2rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.product-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.product-card:hover h3 {
  color: var(--primary-color);
  border-bottom-color: transparent;
}

.price-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 240, 241, 0.8));
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: 0 0 10px rgba(44, 62, 80, 0.1);
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  margin: 0.3rem 0;
  border: 1px solid rgba(149, 165, 166, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.product-card:hover .price-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.9));
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.price-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.1rem;
  min-width: 50%;
}

.retail-price, .wholesale-price {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.2rem;
  text-align: center;
  display: block;
  width: 100%;
  font-weight: 500;
}

.original-price {
  font-size: 0.8rem;
  color: #ff0000;
  text-decoration: line-through;
  margin-left: 5px;
  opacity: 0.8;
}

.product-details {
  display: none;
}

.category {
  display: none;
}

.product-status {
  display: none;
}

.unavailable .product-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
}

.unavailable .status-indicator {
  background: #e74c3c;
}

.status-text {
  font-size: 0.9rem;
  color: #666;
}

.unavailable .status-text {
  color: #e74c3c;
}

.unavailable {
  filter: grayscale(0.5);
}

.unavailable-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 15px;
}

.unavailable-overlay span {
  font-size: 5rem;
  color: rgba(255, 0, 0, 0.8);
  font-weight: bold;
  transform: rotate(-15deg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.unavailable-text {
  color: #ff0000;
  font-weight: 600;
  text-align: center;
  margin-top: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.add-product-btn {
  display: none;
}

.edit-product-btn {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 0;
}

.product-card:hover .edit-product-btn {
  opacity: 1;
}

.edit-product-btn:hover {
  background: var(--accent-color);
  transform: translateX(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .edit-product-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .edit-product-btn {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}

.delete-product-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 0, 0, 0.9);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 0;
}

.product-card:hover .delete-product-btn {
  opacity: 1;
}

.delete-product-btn:hover {
  background: #ff0000;
  transform: scale(1.1);
}

.discount-tag {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 10px;
  right: 10px; 
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-size: 0.85rem;
  transform: none; 
}

.discount-tag span {
  color: white;
}

@media (max-width: 768px) {
  .discount-tag {
    padding: 3px 6px;
    font-size: 0.75rem;
    top: 8px;
    right: 8px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .discount-tag {
    padding: 2px 5px;
    font-size: 0.65rem;
    top: 5px;
    right: 5px;
    border-radius: 8px;
  }
}

@media (max-width: 320px) {
  .discount-tag {
    padding: 2px 4px;
    font-size: 0.6rem;
    top: 4px;
    right: 4px;
    border-radius: 6px;
  }
}

@supports (-webkit-touch-callout: none) {
  .discount-tag {
    font-weight: 500; 
    backdrop-filter: blur(0); 
    -webkit-backdrop-filter: blur(0);
  }
}

.floating-buttons {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.floating-btn {
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

#logoChangeBtn {
  background-color: var(--accent-color);
  font-size: 1.5rem;
}

#logoChangeBtn:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  .header {
    padding: 0.3rem 1rem;
  }
  
  .logo {
    height: 50px;
  }
  
  .logo-image {
    height: 50px;
  }
  .floating-buttons {
    left: 20px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
  
  #logoChangeBtn {
    font-size: 1.3rem;
  }
  
  .cart-link i {
    font-size: 1.5rem;  
  }
  
  .cart-count {
    width: 20px;  
    height: 20px;
    top: -6px;
    right: -6px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.2rem 0.8rem;
  }
  
  .logo {
    height: 40px;
  }
  
  .logo-image {
    height: 40px;
  }
  .floating-buttons {
    left: 15px;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }
  
  #logoChangeBtn {
    font-size: 1.2rem;
  }
  
  .cart-link i {
    font-size: 1.3rem;  
  }
  
  .cart-count {
    width: 18px;  
    height: 18px;
    top: -5px;
    right: -5px;
    font-size: 0.75rem;
  }
}

.panels-container {
  width: 100%;
  padding: 0;
  margin: 2rem auto;
  max-width: 100%;
}

.panel-container {
  width: 100%;
  margin: 0 auto;
}

.panel-row {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.panel-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.panel-row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.panel-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 16/9;
  width: 100%;
}

.panel-item .edit-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold-gradient);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 0;
}

.panel-item:hover .edit-btn {
  opacity: 1;
}

.panel-item .edit-btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

.panel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.view-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  overflow-y: auto;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.view-modal-content {
  background-color: var(--beige-light);
  margin: 2rem auto;
  padding: 2rem;
  width: 90%;
  max-width: 1200px;
  border-radius: 20px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-modal-images {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 15px;
  background: #f8f8f8;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.view-modal-carousel {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.view-modal-carousel img {
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f8f8;
}

.view-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  color: #333;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.view-nav-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.view-prev-btn {
  left: 15px;
}

.view-next-btn {
  right: 15px;
}

.view-modal-info {
  padding: 1rem 0;
}

.view-modal-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.view-modal-price-container {
  margin-bottom: 2rem;
}

.price-block {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  padding: 1.2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.price-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.price-block h3 {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.5rem;
}

.price-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.price-block .discounted-price {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.price-block .original-price {
  font-size: 1.3rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 1rem;
}

.discount-badge {
  background: #cc0000;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: auto;
}

.view-modal-details {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  padding: 1.2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.view-modal-details:hover,
.view-modal-category:hover,
.view-modal-availability:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.view-modal-details h3,
.view-modal-category h3,
.view-modal-availability h3 {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.5rem;
}

.view-modal-details p {
  color: #333;
  line-height: 1.8;
  font-size: 1.1rem;
}

.view-modal-category,
.view-modal-availability {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  padding: 1.2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.category-value {
  font-weight: 500;
  color: #333;
  font-size: 1.1rem;
}

.available {
  color: #2ecc71;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.available::before {
  content: "✓";
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.unavailable {
  color: #e74c3c;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.unavailable::before {
  content: "✕";
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.thumbnail-container {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  position: relative;
  padding: 0 40px;
}

.thumbnails-wrapper {
  display: flex;
  gap: 10px;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 5px;
}

.thumbnail-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.thumbnail-img:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.thumbnail-img.active {
  opacity: 1;
  border: 2px solid var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.thumbnail-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 1;
  transition: all 0.3s ease;
}

.thumbnail-nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.thumbnail-prev {
  left: 0;
}

.thumbnail-next {
  right: 0;
}

.view-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 1000;
}

.view-modal .modal-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: #f5f5f5;
}

.add-to-cart-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(44, 62, 80, 0.2);
}

.add-to-cart-btn:hover:not([disabled]) {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(44, 62, 80, 0.3);
}

.add-to-cart-btn:active:not([disabled]) {
  transform: translateY(-1px);
}

.add-to-cart-btn i {
  font-size: 1.2rem;
}

.add-to-cart-btn[disabled] {
  background-color: #999;
  cursor: not-allowed;
}

@media (max-width: 992px) {
  .view-modal-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0;
    padding: 1.5rem;
    max-height: 100vh;
    overflow-y: auto;
    border-radius: 0;
    width: 100%;
    animation: modalSlideUp 0.4s ease-out;
  }
  
  @keyframes modalSlideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .view-modal-images {
    height: 350px;
    margin: 0 auto;
    width: 100%;
    border-radius: 15px;
  }

  .thumbnail-container {
    grid-column: span 1;
    margin: 0.5rem auto 1.5rem;
    width: 100%;
    padding: 0 25px;
  }
  
  .view-modal-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .view-modal-price-container {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .price-block {
    background: rgba(248, 248, 248, 0.6);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
  }
  
  .price-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  .price-block h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .price-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }
  
  .view-modal-details, 
  .view-modal-category, 
  .view-modal-availability,
  .view-modal-quantity {
    background: rgba(248, 248, 248, 0.6);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
  }
  
  .view-modal-details:hover, 
  .view-modal-category:hover, 
  .view-modal-availability:hover,
  .view-modal-quantity:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  .view-modal-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .quantity-controls {
    margin: 0.5rem auto;
  }
  
  .view-modal-details h3, 
  .view-modal-category h3, 
  .view-modal-availability h3,
  .view-modal-quantity h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
  }
  
  .view-modal-details p {
    text-align: center;
  }
  
  .category-value,
  .available,
  .unavailable {
    display: block;
    text-align: center;
    font-size: 1rem;
  }
  
  .available::before,
  .unavailable::before {
    display: none;
  }
  
  .view-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .view-modal-content {
    margin: 0;
    padding: 1rem;
  }

  .view-modal-images {
    height: 280px;
  }
  
  .view-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .view-prev-btn {
    left: 8px;
  }
  
  .view-next-btn {
    right: 8px;
  }

  .thumbnail-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
  }
  
  .thumbnail-container {
    padding: 0 20px;
    gap: 6px;
  }
  
  .thumbnails-wrapper {
    gap: 6px;
  }

  .add-to-cart-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .add-to-cart-btn i {
    font-size: 0.9rem;
  }
  
  .view-modal-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 5px;
  }
  
  .view-modal-details p::-webkit-scrollbar {
    width: 4px;
  }
  
  .view-modal-details p::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
  }
  
  .view-modal .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .discounted-price,
  .regular-price {
    font-size: 1.4rem;
    text-align: center;
    display: block;
    font-weight: 600;
  }
  
  .original-price {
    font-size: 1rem;
    text-align: center;
    display: block;
    margin: 0.2rem 0;
  }
  
  .discount-badge {
    margin: 0.2rem auto;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 25px;
  }
}

@media (max-width: 380px) {
  .view-modal-images {
    height: 220px;
  }
  
  .thumbnail-img {
    width: 45px;
    height: 45px;
  }
  
  .view-modal-title {
    font-size: 1.5rem;
  }
  
  .discounted-price,
  .regular-price {
    font-size: 1.2rem;
  }
  
  .original-price {
    font-size: 0.9rem;
  }
  
  .view-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .carousel-container {
    height: 300px;
  }

  .carousel-info {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem;
  }
  
  .carousel-info h2 {
    font-size: 1.2rem;
  }
  
  .carousel-info p {
    font-size: 0.9rem;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .products-container {
    padding: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
  }
  
  .product-image-carousel img {
    height: 180px;
  }

  .product-card {
    padding: 1rem;
    max-height: 350px;
  }

  .product-card h3 {
    font-size: 1.2rem;
  }

  .price {
    font-size: 1.1rem;
  }
  
  .card-prev-btn,
  .card-next-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .delete-product-btn,
  .edit-product-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .carousel-delete-btn,
  .carousel-edit-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .carousel-delete-btn {
    top: 10px;
    left: 10px;
  }
  
  .carousel-edit-btn {
    top: 10px;
    right: 10px;
  }

  .panel-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .panel-row-3 .panel-item:last-child {
    grid-column: span 2;
  }
  
  .panel-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Indicadores de navegação para produtos */
  .product-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 15px auto 25px;
    padding: 0;
    list-style: none;
    max-width: 100%;
    overflow: hidden;
  }

  .product-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e9e9e9;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
  }

  .product-indicator.active {
    background-color: #D4AF37;
    transform: scale(1.2);
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.5);
  }
  
  /* Espaçamento entre grupos de produtos */
  .category-products-row {
    margin-bottom: 5px;
  }

  /* Posicionamento especial do último grupo em cada categoria */
  .category-products-row:last-of-type + .product-indicators {
    margin-bottom: 35px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 200px;
  }

  .carousel-btn {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .carousel-info {
    padding: 0.5rem;
  }
  
  .carousel-info h2 {
    font-size: 1rem;
  }
  
  .carousel-info p {
    font-size: 0.8rem;
  }

  .products-container {
    padding: 0.75rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.5rem;
  }
  
  .product-card {
    padding: 0.4rem;
    max-height: none;
  }
  
  .product-image-container {
    height: 180px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .product-image-carousel {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
  }
  
  .product-image-carousel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    bottom: 0;
  }
  
  .product-image-carousel img.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
  }
  
  .product-info {
    padding-top: 0.1rem;
  }
  
  .product-card h3 {
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
  }
  
  .price-container {
    gap: 0.3rem;
  }
  
  .price-row {
    gap: 0.05rem;
  }
  
  .retail-price, .wholesale-price {
    font-size: 0.8rem;
  }
  
  .original-price {
    font-size: 0.7rem;
  }
}

@media (max-width: 360px) {
  .product-image-container {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .retail-price, .wholesale-price {
    font-size: 0.7rem !important;
  }

  .original-price {
    font-size: 0.6rem !important;
  }
}

@media (max-width: 768px) {
  .product-info {
    padding: 0.01rem;
  }

  .price-container {
    padding: 1.1rem;
    gap: 0.8rem;
  }
}

@media (max-width: 768px) {
  .product-card {
    padding: 0.5rem;
    max-height: none;
    aspect-ratio: 1/1.8; 
  }
  
  .product-image-container {
    height: 60%; 
    margin-bottom: 0.2rem;
    border-radius: 15px; 
  }
  
  .product-info {
    height: 40%; 
    padding: 0.3rem;
    overflow: visible;
    border-radius: 15px; 
  }
  
  .product-card h3 {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.1;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-height: 2.2rem;
  }
  
  .product-description {
    font-size: 0.7rem;
    color: #666;
    margin: 0.1rem 0;
    line-height: 1.1;
    max-height: 2.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .price-container {
    padding: 0.25rem;
    margin: 0.2rem 0;
    gap: 0.3rem;
  }
  
  .price-row {
    gap: 0;
  }
}

@media (max-width: 480px) {
  .product-card {
    aspect-ratio: 1/1.8; 
    padding: 0.4rem;
  }
  
  .product-image-container {
    height: 60%; 
  }
  
  .product-info {
    height: 40%; 
    padding: 0.1rem 0.2rem;
  }
  
  .retail-price, .wholesale-price {
    font-size: 0.65rem;
  }
  
  .original-price {
    font-size: 0.55rem;
  }
  
  .price-container {
    padding: 0.15rem;
    margin: 0.1rem 0;
  }
  
  .price-label {
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
  }
}

@media (max-width: 360px) {
  .product-image-container {
    height: 60%; 
  }
  
  .product-info {
    height: 40%; 
  }
  
  .product-card h3 {
    font-size: 0.7rem;
  }
  
  .retail-price, .wholesale-price {
    font-size: 0.6rem;
  }
  
  .original-price {
    font-size: 0.5rem;
  }
}

@media (max-width: 768px) {
  html, body {
    touch-action: pan-x pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px !important;
  }
  
  .category-products {
    display: block;
    padding: 0.5rem;
    margin: 0;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
  }

  .category-products-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    width: 100%;
    box-sizing: border-box;
  }
  
  .category-products-row::-webkit-scrollbar {
    display: none;
  }
  
  .category-products-row .product-card {
    flex: 0 0 calc(50% - 0.25rem);
    scroll-snap-align: start;
    width: calc(50% - 0.25rem);
    min-width: calc(50% - 0.25rem);
    margin: 0;
    box-sizing: border-box;
  }
}

.top-banner-container {
  width: 100%;
  max-width: 100%;
  margin: 0.5rem auto;
  padding: 0 0.5rem;
  background: linear-gradient(135deg, #E3D7CE, white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.top-banner {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.top-banner-item {
  position: relative;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.banner-section {
  width: 100%;
  max-width: 100%;
  margin: 0 0 2rem 0;
  padding: 0;
}

.banner-grid {
  display: grid;
  grid-template-rows: 400px 250px;
  gap: 2rem;
  max-width: 100%;
}

.banner-main {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(184, 162, 118, 0.15);
}

.banner-main img, 
.banner-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  height: 100%;
}

.banner-item {
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(184, 162, 118, 0.15);
  height: 100%;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-edit-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary-color);
  border: none;
  opacity: 0;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.banner-main:hover .banner-edit-btn,
.banner-item:hover .banner-edit-btn {
  opacity: 1;
}

.banner-edit-btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .banner-grid {
    grid-template-rows: 350px 200px;
    gap: 0.75rem;
  }
}

@media (max-width: 992px) {
  .banner-grid {
    grid-template-rows: 300px 180px;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .banner-grid {
    grid-template-rows: 180px 70px;
    gap: 1rem;
  }
  
  .banner-secondary {
    gap: 0.75rem;
  }
  
  .banner-edit-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .banner-grid {
    grid-template-rows: 120px 60px;
    gap: 0.5rem;
  }
  
  .banner-secondary {
    gap: 0.5rem;
  }
}

@media (max-width: 360px) {
  .banner-grid {
    grid-template-rows: 100px 50px;
    gap: 0.25rem;
  }
}

.category-section {
  margin-bottom: 3rem;
  width: 100%;
  clear: both;
  display: block;
  padding: 0;
}

.products-container {
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

@media (max-width: 1400px) {
  .banner-section, 
  .category-section, 
  .products-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .product-card {
    border-radius: 15px;
    overflow: hidden;
  }
  
  .product-image-container {
    border-radius: 15px 15px 0 0;
  }
  
  .product-info {
    border-radius: 0 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .product-card {
    border-radius: 12px;
  }
  
  .product-image-container {
    border-radius: 12px 12px 0 0;
  }
  
  .product-info {
    border-radius: 0 0 12px 12px;
  }
}

.original-price-cart {
  font-size: 0.7rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 5px;
  display: inline-block;
}

.discount-badge-cart {
  background: #cc0000;
  color: white;
  padding: 0.1rem 0.3rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 5px;
  display: inline-block;
}

@media (max-width: 480px) {
  .original-price-cart {
    font-size: 0.6rem;
    display: block;
    margin: 2px 0 0 0;
  }
  
  .discount-badge-cart {
    font-size: 0.6rem;
    padding: 0.05rem 0.2rem;
  }
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 25px;
  padding: 0.5rem;
  width: fit-content;
  gap: 0.5rem;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.quantity-controls:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.quantity-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.quantity-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-btn[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}

.quantity-input {
  width: 45px;
  height: 35px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 16px;
  border-radius: 8px;
  background-color: #fff;
  padding: 0;
  line-height: 35px;
  font-weight: 600;
  color: var(--primary-color);
  -moz-appearance: textfield;
  appearance: textfield;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.view-modal-quantity h3 {
  margin-bottom: 1rem;
  color: #666;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .quantity-controls {
    padding: 0.4rem;
    gap: 0.4rem;
  }

  .quantity-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .quantity-input {
    width: 40px;
    height: 32px;
    font-size: 1rem;
    line-height: 32px;
  }
}

@media (max-width: 480px) {
  .quantity-controls {
    padding: 0.3rem;
    gap: 0.3rem;
  }

  .quantity-btn {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .quantity-input {
    width: 35px;
    height: 28px;
    font-size: 0.9rem;
    line-height: 28px;
  }
}

.categories-nav {
  width: 100%;
  max-width: 100%;
  margin: 0.5rem auto;
  padding: 0 0.5rem;
  background: linear-gradient(135deg, white, #f9f5ed);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.categories-nav h2 {
  display: none; /* Hide the heading */
}

.categories-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.7));
  box-shadow: 0 4px 10px rgba(44, 62, 80, 0.1);
  transition: all 0.3s ease;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .categories-nav {
    margin: 0.5rem auto;
  }
  
  .categories-nav h2 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }
  
  .categories-grid {
    gap: 0.75rem;
    padding: 0.5rem 0;
  }
  
  .category-icon {
    width: 50px;
    height: 50px;
  }
  
  .category-name {
    font-size: 0.75rem;
  }
  
  .todos-icon-svg svg {
    width: 60%;
    height: 60%;
  }
  
  .category-glow {
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
  }
}

@media (max-width: 480px) {
  .categories-nav {
    padding: 0 0.5rem;
    margin: 0.5rem auto;
  }
  
  .categories-nav h2 {
    font-size: 0.9rem;
    margin: 0.3rem 0;
  }
  
  .categories-grid {
    gap: 0.5rem;
    padding: 0.3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .categories-grid::-webkit-scrollbar {
    display: none;
  }
  
  .category-icon {
    width: 40px;
    height: 40px;
  }
  
  .category-name {
    font-size: 0.7rem;
    margin-top: 0.2rem;
  }
  
  .category-item {
    flex: 0 0 auto;
    gap: 0.3rem;
  }
  
  .category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
  }
}

@media (max-width: 360px) {
  .category-name {
    font-size: 0.65rem;
  }
  
  .category-icon {
    width: 40px;
    height: 40px;
  }
}

.category-panel {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(184, 162, 118, 0.15);
}

.panel-carousel {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.panel-carousel-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.panel-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold-gradient);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 10;
  transition: all 0.3s ease;
}

.panel-nav-btn:hover {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.panel-prev {
  left: 20px;
}

.panel-next {
  right: 20px;
}

@media (max-width: 768px) {
  .category-panel {
    height: 180px;
  }
  
  .panel-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .category-panel {
    height: 150px;
  }
  
  .panel-nav-btn {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .category-panel {
    height: 120px;
  }
}

.panel-edit-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold-gradient);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0;
}

.carousel:hover .panel-edit-btn {
  opacity: 1;
}

.panel-edit-btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .panel-edit-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .panel-edit-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

.edit-category-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 1rem;
  transition: transform 0.3s ease;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.edit-category-btn:hover {
  transform: translateY(-50%) scale(1.2);
  color: var(--secondary-color);
}

.category-edit-modal .modal-content {
  max-width: 500px;
  padding: 2rem;
}

.category-edit-modal #saveCategoryBtn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 1rem;
  width: 100%;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.category-edit-modal #saveCategoryBtn:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  .edit-category-btn {
    font-size: 1.2rem;
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .edit-category-btn {
    font-size: 1rem;
    right: 0.3rem;
  }
  
  .category-header {
    padding: 0 2rem;
  }
}

.second-banner-section {
  width: 100%;
  max-width: 100%;
  margin: 0 0 2rem 0;
  padding: 0;
}

.second-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 100%;
  height: 250px;
}

.second-banner-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(184, 162, 118, 0.15);
  height: 100%;
}

.second-banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.second-banner-edit-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold-gradient);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 0;
}

.second-banner-item:hover .second-banner-edit-btn {
  opacity: 1;
}

.second-banner-edit-btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .second-banner-grid {
    height: 180px;
  }
  
  .second-banner-edit-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .second-banner-grid {
    height: 120px;
  }
}

.product-card,
.button,
.cart-link,
.search-input,
.category-icon {
  transition: all 0.3s ease;
}

.whatsapp-float {
  position: fixed;
  left: 30px;
  bottom: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
}

.whatsapp-float i {
  color: white;
}

.instagram-float {
  position: fixed;
  left: 30px;
  bottom: 100px;
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.instagram-float:hover {
  transform: scale(1.1);
}

.instagram-float i {
  color: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    left: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
  
  .instagram-float {
    left: 20px;
    bottom: 80px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    left: 15px;
    bottom: 15px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  
  .instagram-float {
    left: 15px;
    bottom: 70px;
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}

/* Estilos do rodapé */
.footer {
  background: linear-gradient(to right, #f8e4e4, #fcd395, #d4c5a9);
  color: var(--text-color);
  padding: 0;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(189, 195, 199, 0.3);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(241, 196, 15, 0.05) 1%, transparent 15%),
    radial-gradient(circle at 90% 90%, rgba(243, 156, 18, 0.05) 1%, transparent 15%);
  z-index: 0;
  opacity: 0.7;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.contact-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  text-align: center;
  color: #53432a;
}

.contact-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #9e0404;
  border-radius: 3px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.contact-item i {
  width: 20px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item i.fa-phone {
  color: #442f0a;
}

.contact-item i.fa-envelope {
  color: #d93025;
}

.contact-item i.fa-map-marker-alt {
  color: #ea4335;
}

.contact-item span {
  text-align: left;
  color: #53432a;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.footer-social a[aria-label="Instagram"] i {
  color: #c13584;
  background: -webkit-linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-social a[aria-label="WhatsApp"] i {
  color: #25D366;
}

.footer-social a[aria-label="Facebook"] i {
  color: #3b5998;
}

.footer-social i {
  font-size: 1.2rem;
}

.footer-bottom {
  background-color: rgba(83, 67, 42, 0.2);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0.5rem 0;
  opacity: 0.8;
  color: #000000; /* Alterado para preto conforme solicitado */
}

.footer-bottom i {
  color: #e74c3c;
  margin: 0 0.2rem;
}

/* Botões flutuantes de redes sociais */
.whatsapp-float,
.instagram-float {
  position: fixed;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float {
  bottom: 85px;
  background-color: #25D366;
}

.instagram-float {
  bottom: 145px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.whatsapp-float:hover,
.instagram-float:hover {
  transform: scale(1.1);
}

.whatsapp-float i,
.instagram-float i {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .footer-container {
    padding: 1.5rem 1rem;
  }
  
  .contact-section h3 {
    font-size: 1.3rem;
  }
  
  .contact-item {
    font-size: 0.9rem;
  }
  
  .footer-social a {
    width: 35px;
    height: 35px;
  }
  
  .footer-bottom {
    padding: 0.8rem;
    font-size: 0.8rem;
  }
  
  .whatsapp-float,
  .instagram-float {
    width: 45px;
    height: 45px;
  }
  
  .whatsapp-float {
    bottom: 75px;
  }
  
  .instagram-float {
    bottom: 130px;
  }
  
  .whatsapp-float i,
  .instagram-float i {
    font-size: 1.3rem;
  }
}

/* Botões flutuantes de redes sociais à direita */
.whatsapp-float-right,
.instagram-float-right {
  position: fixed;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float-right {
  bottom: 85px;
  background-color: #25D366;
}

.instagram-float-right {
  bottom: 145px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.whatsapp-float-right:hover,
.instagram-float-right:hover {
  transform: scale(1.1);
}

.whatsapp-float-right i,
.instagram-float-right i {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .whatsapp-float-right,
  .instagram-float-right {
    width: 45px;
    height: 45px;
  }
  
  .whatsapp-float-right {
    bottom: 75px;
  }
  
  .instagram-float-right {
    bottom: 130px;
  }
  
  .whatsapp-float-right i,
  .instagram-float-right i {
    font-size: 1.3rem;
  }
}

/* Botão de adicionar ao carrinho nos cards de produto */
.product-cart-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  opacity: 1;
}

.product-cart-button i {
  font-size: 1.1rem;
}

.product-cart-button:hover {
  transform: scale(1.1);
  background-color: var(--primary-color);
}

.product-cart-button.below-discount {
  top: 50px;
}

/* Efeito de adicionado ao carrinho */
.product-cart-button.added {
  background-color: #28a745;
}

@media (max-width: 768px) {
  .product-cart-button {
    width: 34px;
    height: 34px;
  }
  
  .product-cart-button i {
    font-size: 1rem;
  }
  
  .product-cart-button.below-discount {
    top: 45px;
  }
}

@media (max-width: 480px) {
  .product-cart-button {
    width: 30px;
    height: 30px;
  }
  
  .product-cart-button i {
    font-size: 0.9rem;
  }
  
  .product-cart-button.below-discount {
    top: 38px;
  }
}

/* Novo Painel Decorativo para Categorias - Design Aprimorado */
.category-deco-panel {
  width: 100%;
  max-width: none;
  margin: 0.5rem auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.85));
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.05), 0 3px 6px rgba(189, 195, 199, 0.1);
  overflow: hidden;
  position: relative;
  border-left: 6px solid rgba(230, 126, 34, 0.7);
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0.4rem 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.category-deco-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.1), 0 6px 10px rgba(230, 126, 34, 0.1);
  border-left: 6px solid var(--secondary-color);
}

.category-deco-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: #fcd395; /* Cor do rodapé em vez de #B70000 */
  transform: rotate(45deg) translate(12px, -15px);
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.category-deco-dot-pattern {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 70px;
  height: 70px;
  background-image: radial-gradient(#d4c5a9 1.5px, transparent 1.5px); /* Cor do rodapé */
  background-size: 10px 10px;
  opacity: 0.2;
  z-index: 1;
}

.category-deco-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, rgba(212, 197, 169, 0) 0%, rgba(212, 197, 169, 0.05) 100%); /* Cor do rodapé */
  z-index: 1;
}

.category-deco-content {
  padding: 0.3rem 1.2rem 0.3rem 1.2rem; /* Reduz o padding vertical e horizontal */
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.category-deco-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.3rem; /* Reduz a margem inferior */
  width: 100%;
}

.category-deco-icon {
  width: 32px; /* Reduz o tamanho do ícone */
  height: 32px; /* Reduz o tamanho do ícone */
  min-width: 32px;
  border-radius: 50%;
  background: linear-gradient(to right, #f8e4e4, #fcd395); /* Gradiente do rodapé */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.6rem; /* Reduz o espaçamento */
  box-shadow: 0 3px 8px rgba(212, 197, 169, 0.4);
  transition: transform 0.3s ease;
}

.category-deco-panel:hover .category-deco-icon {
  transform: scale(1.05) rotate(5deg);
}

.category-deco-icon i {
  color: #B70000; /* Alterado de #53432a para vermelho */
  font-size: 1rem; /* Reduz o tamanho da fonte do ícone */
}

.category-deco-title {
  color: #B70000; /* Alterado de #53432a para vermelho */
  font-size: 1.4rem; /* Reduz o tamanho da fonte do título */
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-deco-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px; /* Reduz a altura da linha sob o título */
  background-color: #fcd395; /* Cor do rodapé */
  transform: scaleX(0.7);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.category-deco-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #d4c5a9 0%, rgba(212, 197, 169, 0.1) 70%); /* Cor do rodapé */
  margin: 0.2rem 0; /* Reduz as margens */
}

.category-deco-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0.2rem; /* Reduz a margem superior */
  flex-wrap: wrap;
  gap: 0.3rem; /* Reduz o gap */
}

.category-deco-products-count {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 0.75rem; /* Reduz o tamanho da fonte */
}

.category-deco-products-count i {
  color: #B70000; /* Alterado de #53432a para vermelho */
  margin-right: 4px; /* Reduz a margem */
  font-size: 0.7rem; /* Reduz o tamanho do ícone */
}

.category-deco-badge {
  background: linear-gradient(to right, #f8e4e4, #fcd395); /* Gradiente do rodapé */
  color: #53432a; /* Cor do texto do rodapé */
  padding: 2px 6px; /* Reduz o padding */
  border-radius: 20px;
  font-size: 0.65rem; /* Reduz o tamanho da fonte */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(212, 197, 169, 0.3);
}

.category-deco-edit {
  position: absolute;
  right: 8px; /* Ajusta posição */
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 24px; /* Reduz tamanho */
  height: 24px; /* Reduz tamanho */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem; /* Reduz tamanho da fonte */
  color: #B70000; /* Alterado de #53432a para vermelho */
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Esconder o cabeçalho antigo da categoria já que temos o novo painel */
.category-header {
  display: none;
}

.special-offer-badge {
  background: linear-gradient(45deg, #f8e4e4, #fcd395); /* Gradiente do rodapé */
  position: relative;
  overflow: hidden;
  padding: 2px 8px;
}

.special-offer-badge:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Painel especial para a categoria OFERTAS ESPECIAIS */
.category-deco-panel[data-category="OFERTAS ESPECIAIS"] {
  border-left: 6px solid #fcd395; /* Cor do rodapé */
  background: linear-gradient(to right, #ffffff, #fff9f5);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(212, 197, 169, 0.2);
}

.category-deco-panel[data-category="OFERTAS ESPECIAIS"] .category-deco-title {
  color: #B70000; /* Alterado de #53432a para vermelho */
  text-shadow: 1px 1px 2px rgba(212, 197, 169, 0.2);
}

.category-deco-panel[data-category="OFERTAS ESPECIAIS"] .category-deco-icon {
  background: linear-gradient(45deg, #f8e4e4, #fcd395); /* Gradiente do rodapé */
  box-shadow: 0 3px 8px rgba(212, 197, 169, 0.5);
}

.category-deco-panel[data-category="OFERTAS ESPECIAIS"] .category-deco-icon i {
  color: #B70000; /* Adicionado para garantir que o ícone seja vermelho */
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
  .category-deco-panel {
    margin: 0.5rem 0;
    padding: 0.4rem 0;
  }
  
  .category-deco-content {
    padding: 0.3rem 0.8rem;
  }
  
  .category-deco-title {
    font-size: 1.2rem;
  }
  
  .category-deco-icon {
    width: 28px;
    height: 28px;
    margin-right: 0.5rem;
  }
  
  .category-deco-icon i {
    font-size: 0.9rem;
  }
  
  .category-deco-badge {
    padding: 2px 5px;
    font-size: 0.6rem;
  }
  
  .category-deco-edit {
    width: 22px;
    height: 22px;
    right: 8px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .category-deco-title {
    font-size: 1.1rem;
  }
  
  .category-deco-icon {
    width: 26px;
    height: 26px;
  }
  
  .category-deco-content {
    padding: 0.2rem 0.6rem;
  }
}

.category-item:hover .category-icon {
  transform: scale(1.05);
  border-color: #FFD700; /* Dourado mais brilhante no hover */
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

/* Estilos especiais para a categoria "Todos" */
.todos-category .category-icon {
  position: relative;
  overflow: visible;
  border-width: 3px;
  border-color: #FFD700;
  background: radial-gradient(circle, #ffffff 40%, #f8f3e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.todos-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.todos-icon-svg svg {
  width: 70%;
  height: 70%;
}

.todos-category:hover .todos-icon-svg {
  transform: scale(1.3);
}

.todos-category.active .todos-icon-svg {
  transform: scale(1.4);
}

.todos-category.active .todos-icon-svg svg {
  fill: #b08f00;
}

.category-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: transparent;
  border: 4px solid transparent;
  box-shadow: 0 0 15px 5px rgba(212, 175, 55, 0.4);
  opacity: 0.7;
  z-index: -1;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}

.todos-category:hover .category-glow {
  animation-duration: 1s;
  box-shadow: 0 0 20px 8px rgba(212, 175, 55, 0.6);
}

.category-item.active .category-icon {
  border-color: #FFD700;
  box-shadow: 0 0 15px 5px rgba(212, 175, 55, 0.6);
  transform: scale(1.05);
}

.todos-category.active .category-icon {
  border-width: 3px;
  border-color: #FFD700;
  background: linear-gradient(135deg, #fdf9e9, #f0e1a6);
}

.todos-category.active .category-glow {
  opacity: 1;
  box-shadow: 0 0 20px 8px rgba(212, 175, 55, 0.7);
  animation-duration: 1.5s;
}

.todos-category.active .category-name {
  font-weight: bold;
  color: #8B7500;
}

@media (max-width: 768px) {
  .category-deco-panel {
    margin: 0.5rem 0;
    padding: 0.4rem 0;
  }
  
  .category-deco-content {
    padding: 0.3rem 0.8rem;
  }
  
  .category-deco-title {
    font-size: 1.2rem;
  }
  
  .category-deco-icon {
    width: 28px;
    height: 28px;
    margin-right: 0.5rem;
  }
  
  .category-deco-icon i {
    font-size: 0.9rem;
  }
  
  .category-deco-badge {
    padding: 2px 5px;
    font-size: 0.6rem;
  }
  
  .category-deco-edit {
    width: 22px;
    height: 22px;
    right: 8px;
    font-size: 0.75rem;
  }
}

.success-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 350px;
  background-color: #4CAF50;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.success-notification.show {
  transform: translateX(0);
}

.success-notification-icon {
  font-size: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

.success-notification-content {
  flex-grow: 1;
}

.success-notification-content h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
}

.success-notification-content p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.success-notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0 5px;
  margin-left: 10px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.success-notification-close:hover {
  opacity: 1;
}

/* Estilo específico para notificação de produto adicionado ao carrinho */
.success-notification.product-added {
  background-color: #9d4edd;
  border-left: 5px solid #D4AF37;
}

/* Estilo específico para notificação de pedido enviado */
.success-notification.order-success {
  background-color: #4CAF50;
  border-left: 5px solid #2E7D32;
}

/* Notificações */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  z-index: 9999;
  animation: slideIn 0.3s ease-in-out;
}

.notification.success {
  background-color: #4CAF50;
}

.notification.error {
  background-color: #f44336;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}