/* Variáveis CSS */
:root {
  --white: #ffffff;
  --black: #333333;
  --emerald-green: #34d399;
  --emerald-light: #6ee7b7;
  --emerald-dark: #10b981;
  --light-beige: #f5f5dc;
  --beige: #e8e4c9;
  --beige-dark: #d6d2b8;
  --petroleum-blue: #005f73;
  --petroleum-light: #0a9396;
  --petroleum-dark: #003f4f;
  --border-radius: 0.5rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: #f9fafb;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}
/* Containers */
.container {
  width: 100%;
  max-width: 200px;
  min-width: 284px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-container {
  width: 100%;
  max-width: 1400px;
  min-width: 284px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-container {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Seções */
.section {
  padding: 2rem 0;
}

/* Títulos */
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.page-description {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2rem;
  color: #6b7280;
}
.page-alert {
  text-align: center;
  max-width: 70rem;
  margin: 0 auto 4rem;
  color: #6b7280;
  font-size: 2rem;
}
/* Botões */
.btn-primary {
  display: inline-block;
  background-color: var(--emerald-green);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--emerald-dark);
}

.btn-secondary {
  display: inline-block;
  background-color: white;
  color: var(--petroleum-blue);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: 1px solid var(--petroleum-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-secondary:hover {
  background-color: var(--petroleum-blue);
  color: white;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  position: fixed;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  min-height: 60px;
}

/* Acessibilidade no Header removida */

.header-content .logo {
  flex-shrink: 0;
}

.header-content .auth-buttons {
  flex-shrink: 0;
}

.header-content .search-form {
  flex: 1;
  max-width: 300px;
  margin: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background-color: var(--emerald-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  overflow: hidden;
}

.logo-text {
  font-weight: 700;
  color: var(--petroleum-blue);
  font-size: 1.25rem;
}

/* Responsividade do Header */
@media (max-width: 770px) {
  .header-content {
    padding: 0.75rem 0;
    gap: 0.5rem;
  }
  
  .header-content .search-form {
    display: none;
  }
  
  .logo-circle {
    width: 35px;
    height: 35px;
    margin-right: 0.5rem;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .btn-signup {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  .user-dropdown-toggle {
    max-width: 140px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0.5rem 0;
    gap: 0.3rem;
  }
  
  .logo-circle {
    width: 30px;
    height: 30px;
    margin-right: 0.4rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .btn-signup {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .user-dropdown-toggle {
    max-width: 120px;
  }
}

/* Telas muito pequenas (320px ou menos) */
@media (max-width: 320px) {
  .header-content {
    padding: 0.4rem 0;
    gap: 0.2rem;
  }
  
  .logo-circle {
    width: 25px;
    height: 25px;
    margin-right: 0.3rem;
  }
  
  .logo-text {
    font-size: 0.9rem;
  }
  
  .btn-signup {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .user-dropdown-toggle {
    max-width: 100px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .menu-toggle {
    font-size: 1.2rem;
  }
}

/* Responsividade para tablets em modo paisagem */
@media (min-width: 770px) and (max-width: 1024px) and (orientation: landscape) {
  .header-content {
    padding: 0.75rem 0;
  }
  
  .logo-circle {
    width: 35px;
    height: 35px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
}
.nav-desktop {
  display: none;
}

@media (min-width: 770px) {
  .nav-desktop {
    display: block;
  }

  .nav-desktop ul {
    display: flex;
    gap: 1.5rem;
  }

  .nav-desktop a {
    color: var(--petroleum-blue);
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .nav-desktop a:hover,
  .nav-desktop a.active {
    color: var(--emerald-green);
  }
}

.search-form {
  display: none;
  position: relative;
  max-width: 20rem;
  width: 100%;
}

@media (min-width: 770px) {
  .search-form {
    display: block;
  }
}
@media (max-width: 882px) {
  .search-form {
    display: none;
  }
  .search-form input {
    display: none;
    padding: 0;
    margin: 0;
  }
  .search-form i {
    display: none;
    padding: 0;
    margin: 0;
  }
}
.search-form input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.search-form button {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
}

.btn-signup {
  display: inline-block;
}



.menu-toggle {
  background: none;
  border: none;
  color: var(--petroleum-blue);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 1rem;
}

@media (min-width: 770px){
  .menu-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.nav-mobile.active {
  display: block;
}


.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile a {
  color: var(--petroleum-blue);
  font-weight: 500;
}

.nav-mobile a.active {
  color: var(--emerald-green);
}

/* Exibe o contador do carrinho ao lado do texto no menu mobile */
.nav-mobile a .cart-count {
  position: static; /* sobrescreve posição absoluta do desktop */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
}

@media (min-width: 770px) {
  .nav-mobile.active {
    display: none;
  }
}

.search-form-mobile {
  position: relative;
  margin-bottom: 1rem;
}

.search-form-mobile input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.search-form-mobile button {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
}

/* Footer */
.footer {
  background-color: var(--petroleum-blue);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top .stores-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .footer-top .stores-row {
    grid-template-columns: 1fr auto 1fr; /* card | divider | card */
    gap: 2rem;
  }
}

.store-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.store-card h3 {
  margin-bottom: 0.25rem;
}

.store-hours-title {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--emerald-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.divider {
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 10%,
    rgba(255, 255, 255, 0.25) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  height: 100%;
  opacity: 0.6;
}

@media (max-width: 899px) {
  .divider {
    display: none;
  }
}

.divider-horizontal {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 10%,
    rgba(255, 255, 255, 0.25) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.6;
}

.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 700px) {
  .footer-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-bottom-grid {
    grid-template-columns: 1fr 1fr; /* keep balanced two columns */
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 770px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column {
  position: relative;
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-column hr {
  position: absolute;
  top: 55%;
  left: 0;
  width: 80%;
  transform: translateY(-55%);
  border-top: 1px solid var(--petroleum-light);
  opacity: 0.5;
}

@media (max-width: 770px) {
  .footer-column hr {
    display: none;
  }
  
}

.footer-column-social {
  align-items: flex-end;
}

@media (max-width: 770px) {
  .footer-column-social {
    align-items: flex-start;
  }
}

.address {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.address i {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.map-container {
  width: 100%;
  height: 10rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 0.75rem;
}

.map-container iframe {
  border: 0;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.map-container:hover iframe {
  transform: scale(1.02);
}

.store-location {
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--emerald-green);
}

.store-location:last-child {
  margin-bottom: 0;
}

.store-location h4 {
  color: var(--emerald-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-location h4 i {
  color: var(--emerald-green);
}

.company-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.company-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.feature-item i {
  color: var(--emerald-green);
  width: 1.2rem;
  flex-shrink: 0;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.schedule-item i {
  color: var(--emerald-green);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.schedule-item div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.schedule-item strong {
  color: white;
  font-size: 0.95rem;
}

.schedule-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-item i {
  color: var(--emerald-green);
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-item strong {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--emerald-light);
}

.quick-links li a i {
  color: var(--emerald-green);
  width: 1rem;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
}

.social-icons a:hover {
  background-color: var(--emerald-green);
  color: white;
  transform: translateX(5px);
}

.social-icons a i {
  font-size: 1.2rem;
  color: var(--emerald-green);
  transition: color 0.3s ease;
}

.social-icons a:hover i {
  color: white;
}

.social-icons a span {
  font-size: 0.9rem;
  font-weight: 500;
}
.hours-contact-headings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  width: 92%;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

@media (min-width: 700px) {
  .hours-contact-headings {
    grid-template-columns: 1fr auto; /* Atendimento | Contato */
    gap: 0.5rem;
  }
}

@media (max-width: 699px) {
  .hours-contact-headings {
    display: none;
  }
}

.map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer: alinhamento de atendimento + contato */
.hours-contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: start;
}

@media (min-width: 700px) {
  .hours-contact-row {
    grid-template-columns: 1fr auto; /* horas | contato */
    gap: 0.5rem;
  }
}

.hours {
  display: flex;
  flex-direction: column; /* empilha os itens de horário */
  gap: 0.5rem;
}

.hours i {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-links a {
  transition: color 0.3s ease;
}

.quick-links a:hover {
  color: var(--emerald-light);
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-phone a {
  transition: color 0.3s ease;
}

.contact-phone a:hover {
  color: var(--emerald-light);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  color: var(--petroleum-blue);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--emerald-green);
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--petroleum-light);
}

.copyright {
  font-size: 0.875rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}

/* Carousel */
.carousel-container {
  position: relative;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.carousel {
  position: relative;
  height: 300px;
  overflow: hidden;
}

@media (min-width: 770px) {
  .carousel {
    height: 400px;
  }
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
}

.caption-box {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  max-width: 80%;
  text-align: center;
}

.caption-box h2 {
  color: var(--petroleum-blue);
  font-weight: 700;
  font-size: 1.25rem;
}

@media (min-width: 770px) {
  .caption-box h2 {
    font-size: 1.5rem;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--petroleum-blue);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: var(--emerald-green);
}

/* Categorias */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 770px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.category-card {
  background-color: #f3f4f6;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.category-card h3 {
  font-weight: 600;
  color: white;
}

.bg-lime {
  background-color: #84cc16;
}

.bg-blue {
  background-color: #3b82f6;
}

.bg-teal {
  background-color: #14b8a6;
}

.bg-gray {
  background-color: #6b7280;
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Promoções */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.view-all {
  color: var(--emerald-green);
  font-weight: 500;
}

.view-all:hover {
  text-decoration: underline;
}

.promotions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .promotions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .promotions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promotions-grid.full-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
    display: flex;
  flex-direction: column;  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  height: 12rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #ef4444;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--petroleum-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-promo-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #ef4444;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.product-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.product-info p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
}

.product-price-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.product-price-original {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.product-price-discount {
  font-weight: 700;
  color: var(--emerald-dark);
  font-size: 1.25rem;
}

.current-price {
  font-weight: 700;
  color: var(--emerald-dark);
  font-size: 1.25rem;
}

.old-price {
  margin-left: 0.5rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 0.875rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--emerald-green);
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

.more-offers {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.more-offers h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
}

.bg-beige {
  background-color: var(--light-beige);
}

/* Depoimentos */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 770px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-image {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.25rem;
}

.rating {
  color: #fbbf24;
}

.testimonial-content {
  position: relative;
  background-color: var(--light-beige);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.testimonial-content::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--light-beige);
  transform: rotate(45deg);
}

.testimonial-content p {
  font-style: italic;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 770px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 12rem;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1rem;
}

.blog-content h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.blog-content p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-post-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

@media (min-width: 770px) {
  .blog-post-card {
    grid-template-columns: 1fr 2fr;
  }
}

.blog-post-image {
  height: 12rem;
}

@media (min-width: 770px) {
  .blog-post-image {
    height: 100%;
  }
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  padding: 1.5rem;
}

.blog-post-date {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.blog-post-content h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.blog-post-content p {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Catálogo */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr 3fr;
  }
}

.catalog-sidebar {
  align-self: start;
}

.filter-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.filter-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-header h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  font-size: 1.25rem;
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-section h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.filter-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
}

.filter-option input[type="checkbox"]:checked {
  background-color: var(--emerald-green);
  border-color: var(--emerald-green);
}

.filter-option input[type="checkbox"]:checked::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  transform: scale(1);
  box-shadow: inset 1em 1em white;
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.filter-option input[type="checkbox"]:focus {
  outline: 2px solid rgba(52, 211, 153, 0.5);
  outline-offset: 2px;
}

.filter-option:hover span {
  color: var(--emerald-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
}


.filter-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--emerald-light);
  color: var(--petroleum-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.filter-tag.clear-all {
  background-color: var(--petroleum-light);
  color: white;
  cursor: pointer;
}

.remove-filter {
  background: none;
  border: none;
  color: var(--petroleum-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.75rem;
}

.remove-filter:hover {
  color: var(--petroleum-blue);
}

/* Contador de produtos */
.product-counter {
  margin: 1rem 0;
  font-size: 0.875rem;
  color: #6b7280;
  display: inline-block; /* permite que os filtros fiquem ao lado */
  vertical-align: middle;
}

.product-counter span {
  font-weight: 600;
  color: var(--petroleum-blue);
}

/* Botão de filtro mobile */
.filter-mobile-toggle {
  display: none;
  margin-bottom: 1rem;
}

@media (max-width: 1023px) {
  .filter-mobile-toggle {
    display: block;
  }

  .catalog-sidebar {
    display: none;
  }

  .catalog-sidebar.active {
    display: block;
    margin-bottom: 1.5rem;
  }
}

/* Banho & Tosa */
.banho-tosa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .banho-tosa-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.banho-tosa-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.banho-tosa-image {
  height: 15rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.banho-tosa-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.services-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  text-align: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bullet {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--emerald-green);
  border-radius: 50%;
}

.appointment-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.appointment-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  font-size: 1rem;
  width: 95%;
}
.form-group textarea {
  min-width: 250px;
  min-height: 80px;
  max-width: 500px;
  max-height: 100px;
  margin-bottom: 1rem;
}
.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-icon {
  position: relative;
}

.fa-eye {
  position: absolute;
  top: 45%;
  right: 0.40rem;
  transform: translateY(-50%);
  color: #9ca3af;
}

.input-icon input {
  padding-left: 2.5rem;
}

.faq-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  margin-top: 2rem;
}

.faq-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

/* Cadastro */
.cadastro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cadastro-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.btn-top {
  margin-bottom: 0.5rem;
  width: 100%;
}
.btn-bottom {
  margin-top: 0.5rem;
  width: 100%;
}
  .products-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem  0;
  }
.fa-whatsapp {
  color: hsl(0, 0%, 99%);
  font-size: 1rem;
}
.btn-whatsapp {
  display: inline-block;
  background-color: var(--emerald-green);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cadastro-form-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.cadastro-form-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.cadastro-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
}

.login-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.login-link a {
  color: var(--emerald-green);
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

.cadastro-image {
  display: none;
}

@media (min-width: 1024px) {
  .cadastro-image {
    display: block;
  }
}

.image-container {
  position: relative;
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: white;
}

.image-overlay h2 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.benefits-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  margin-top: 2rem;
}

.benefits-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 770px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  text-align: center;
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--light-beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: var(--emerald-green);
}

.benefit-item h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.benefit-item p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Success Message */
.success-message {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--emerald-green);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.success-icon i {
  color: white;
  font-size: 2rem;
}

.success-message h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.success-message p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Toast Universal System */
.toast-wrapper {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.toast-notification {
  pointer-events: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  border-left: 4px solid #ccc;
  min-width: 280px;
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.toast-message {
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
  font-weight: 500;
}

/* Toast Types */
.toast-success {
  border-left-color: #10b981;
}

.toast-success .toast-icon {
  color: #10b981;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast-error .toast-icon {
  color: #ef4444;
}

.toast-info {
  border-left-color: #3b82f6;
}

.toast-info .toast-icon {
  color: #3b82f6;
}

.toast-warning {
  border-left-color: #f59e0b;
}

.toast-warning .toast-icon {
  color: #f59e0b;
}

/* Mobile Responsive */
@media (max-width: 770px) {
  .toast-wrapper {
    top: auto;
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100vw - 40px);
    max-width: 90vw;
    align-items: center;
  }
  
  .toast-notification {
    transform: translateY(100%);
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }
  
  .toast-notification.show {
    transform: translateY(0);
  }
  
  .toast-content {
    justify-content: center;
    text-align: center;
  }
  
  .toast-message {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .toast-wrapper {
    width: calc(100vw - 20px);
    bottom: 15px;
  }
  
  .toast-notification {
    padding: 14px 12px;
  }
  
  .toast-message {
    font-size: 14px;
  }
}

/* Loading spinner */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  color: var(--petroleum-blue);
  grid-column: 1 / -1;
}

.loading-spinner i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Animação para produtos */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.3s ease forwards;
}

/* Estilos para autenticação e carrinho */

/* Botões de usuário */
.user-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-buttons {
  display: none;
}

@media (min-width: 770px) {
  .auth-buttons {
    display: flex;
    gap: 0.5rem;
  }
}

.btn-login {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.cart-icon {
  position: relative;
  font-size: 1.25rem;
  color: var(--petroleum-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;

}

.cart-icon.active {
  color: var(--emerald-green);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--emerald-green);
  color: white;
  font-size: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.user-menu {
  position: relative;
}

.user-menu-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--petroleum-blue);
  cursor: pointer;
  font-size: 0.875rem;
}

.user-menu-button i {
  font-size: 1.25rem;
}

.user-dropdown {
  position: relative;
  display: none;
}

.user-dropdown.active .user-dropdown-menu {
  display: block;
}

.user-dropdown-toggle {
  cursor: pointer;
  padding: 0.5rem 1rem;
  background-color: var(--emerald-green);
  color: white;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
  margin-left: 10px;
  max-width: 180px;
}

.user-dropdown-toggle .user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.user-dropdown-toggle:hover {
  background-color: var(--petroleum-blue);
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 12rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 0.5rem 0;
  margin-top: 0.25rem;
  z-index: 50;
  display: none;
}

.user-dropdown-menu .dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--black);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.user-dropdown-menu .dropdown-item:hover {
  background-color: var(--light-beige);
  color: var(--emerald-green);
}

.user-dropdown-menu .dropdown-divider {
  margin: 0.5rem 0;
  border: none;
  border-top: 1px solid var(--light-beige);
}

/* Responsividade do dropdown de usuário */
@media (max-width: 770px) {
  .user-dropdown-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    margin-left: 0.5rem;
  }
  
  .user-dropdown-menu {
    width: 10rem;
    right: -1rem;
  }
  
  .user-dropdown-menu .dropdown-item {
    padding: 0.6rem 0.8rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .user-dropdown-toggle {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .user-dropdown-menu {
    width: 9rem;
    right: -0.5rem;
  }
  
  .user-dropdown-menu .dropdown-item {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .user-dropdown-toggle .user-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

  

/* Login */
.login-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 770px) {
  .login-container {
    grid-template-columns: 1fr 1fr;
  }
}

.login-form-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  width: 80%;
  margin: 0 auto;
}

.login-form-card h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.forgot-password {
  color: var(--petroleum-blue);
}

.forgot-password:hover {
  color: var(--emerald-green);
  text-decoration: underline;
}

.signup-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.signup-link a {
  color: var(--emerald-green);
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
}

.login-benefits {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.login-benefits h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits-list li {
  display: flex;
  gap: 1rem;
}

.benefits-list i {
  color: var(--emerald-green);
  font-size: 1.5rem;
}

.benefits-list h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--petroleum-blue);
}

.benefits-list p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Alertas */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.alert-error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #f87171;
}

.alert-success {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #4ade80;
}

/* Carrinho */
.cart-container {
  max-width: 64rem;
  margin: 0 auto;
}

.cart-empty {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem 1.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.empty-cart-icon {
  font-size: 3rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.cart-empty h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.cart-empty p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 770px) {
  .cart-content {
    grid-template-columns: 2fr 1fr;
  }
}

.cart-items {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.cart-item {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 5rem;
  height: 5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-nome {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--emerald-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.quantity-btn {
  background-color: #f3f4f6;
  border: none;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quantity-btn:hover {
  background-color: #e5e7eb;
}

.quantity-input {
  width: 2.5rem;
  height: 2rem;
  border: none;
  text-align: center;
  font-weight: 600;
}

.remove-item {
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.remove-item:hover {
  text-decoration: underline;
}

.cart-summary {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 6rem;
}

.cart-summary h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.summary-item.total {
  font-weight: 700;
  font-size: 1.125rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.continue-shopping {
  color: var(--petroleum-blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.continue-shopping:hover {
  color: var(--emerald-green);
}

.clear-cart {
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.clear-cart:hover {
  text-decoration: underline;
}

/* Address Section */
.address-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.address-info {
  background-color: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: var(--border-radius);
  padding: 1rem;
}

.address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.address-header i {
  color: var(--petroleum-blue);
  margin-right: 0.5rem;
}

.address-header span {
  font-weight: 600;
  color: var(--petroleum-blue);
  flex-grow: 1;
}

.edit-address-btn {
  background: none;
  border: none;
  color: var(--emerald-green);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.edit-address-btn:hover {
  background-color: rgba(52, 211, 153, 0.1);
}

.address-details p {
  margin-bottom: 0.25rem;
  color: var(--black);
  font-size: 0.875rem;
}

.address-details p:last-child {
  margin-bottom: 0;
}

.address-reference {
  color: #6b7280;
  font-style: italic;
}

.address-reference i {
  margin-right: 0.25rem;
}

.address-required {
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: var(--border-radius);
  padding: 1rem;
  text-align: center;
}

.address-icon {
  font-size: 2rem;
  color: #f59e0b;
  margin-bottom: 0.5rem;
}

.address-message h3 {
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.address-message p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.btn-address {
  background-color: var(--emerald-green);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.btn-address:hover {
  background-color: var(--emerald-dark);
}

.btn-address i {
  font-size: 0.875rem;
}

/* Checkout button disabled state */
.btn-primary:disabled {
  background-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
}

.btn-primary:disabled:hover {
  background-color: #d1d5db;
}

/* Blog Detail */
.blog-detail-container {
  max-width: 48rem;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.blog-detail-header {
  padding: 1.5rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
}

.back-button:hover {
  color: var(--emerald-green);
}

.blog-detail-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.blog-category {
  background-color: var(--emerald-light);
  color: var(--petroleum-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-detail-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
}

.blog-detail-image {
  height: 20rem;
  width: 100%;
}

.blog-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-content {
  padding: 1.5rem;
}

.blog-detail-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin: 1.5rem 0 1rem;
}

.blog-detail-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--petroleum-blue);
  margin: 1.25rem 0 0.75rem;
}

.blog-detail-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.blog-detail-content li {
  margin-bottom: 0.5rem;
}

.blog-detail-content ul {
  list-style-type: disc;
}

.blog-detail-content ol {
  list-style-type: decimal;
}

.product-recommendation {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--light-beige);
  border-radius: var(--border-radius);
}

.product-recommendation h3 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
}

.product-card.mini {
  max-width: 20rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.blog-detail-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petroleum-blue);
}

.share-button:hover {
  background-color: var(--emerald-green);
  color: var(--white);
}

.blog-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.tag:hover {
  background-color: var(--emerald-light);
  color: var(--petroleum-dark);
}

.related-posts {
  margin-top: 3rem;
}

.related-posts h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
}

/* Página não encontrada */
.not-found {
  text-align: center;
  padding: 3rem 1.5rem;
}

.not-found h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.not-found p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Admin Header */
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--petroleum-blue);
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile-admin-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* Admin Page Layout */
.admin-page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}


.stat-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--emerald-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petroleum-blue);
  font-size: 1.25rem;
}

.stat-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 0.25rem;
}

.stat-content p {
  color: #6b7280;
  font-size: 0.875rem;
  }

/* Admin Filters */
.admin-filters {
  margin-bottom: 2rem;
}

.search-input-container {
  position: relative;
}

.search-input-container input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.search-input-container i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

/* Admin Products Section */
.admin-products-section {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.products-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--petroleum-blue);
}

.products-counter {
  color: #6b7280;
  font-size: 0.875rem;
}

.products-counter span {
  font-weight: 600;
  color: var(--petroleum-blue);
}

/* Admin Products Grid */
.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.admin-product-card {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.admin-product-card:hover {
  border-color: var(--emerald-green);
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.15);
}

.admin-product-card .product-image {
  position: relative;
  height: 12rem;
}

.admin-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-card .product-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--petroleum-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.admin-product-card .product-info {
  padding: 1rem;
}

.admin-product-card .product-info h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.product-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.product-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.product-type i {
  color: var(--emerald-green);
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
  border: 1px solid #ef4444;
}

.btn-danger:hover {
  background-color: #dc2626;
  border-color: #dc2626;
}

/* Modal Styles - MELHORADO */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(4px);
    }
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    max-width: 56rem;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes modalSlideOut {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--petroleum-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(to bottom, var(--emerald-green), var(--emerald-dark));
    border-radius: 2px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--petroleum-blue);
    background-color: rgba(239, 68, 68, 0.1);
}

/* Product Form - MELHORADO */
.product-form {
    padding: 2rem;
    background: white;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--petroleum-blue);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label::after {
    content: '*';
    color: #ef4444;
    font-weight: 700;
    margin-left: 0.25rem;
}

.form-group label[for="productSalePrice"]::after,
.form-group label[for="productImage"]::after {
    display: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-green);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #d1d5db;
    background-color: white;
}

.form-group small {
    color: #6b7280;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group small::before {
    content: 'ℹ️';
    font-size: 0.875rem;
}

/* Form Sections - MELHORADO */
.form-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--emerald-green);
}

.form-section h3 {
    color: var(--petroleum-blue);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--emerald-green);
    border-radius: 50%;
}

/* Form Actions - MELHORADO */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: 2rem -2rem -2rem;
    padding: 1.5rem 2rem;
    border-radius: 0 0 16px 16px;
}

.form-actions .btn-secondary {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-actions .btn-secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, var(--emerald-green) 0%, var(--emerald-dark) 100%);
    color: white;
    border: 2px solid var(--emerald-green);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3);
}

.form-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-dark) 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 211, 153, 0.4);
}

.form-actions .btn-primary:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success/Error States */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group .error-message {
    color: #ef4444;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.form-group .error-message::before {
    content: '⚠️';
    font-size: 0.875rem;
}

/* Loading States */
.form-actions .btn-primary.loading {
    position: relative;
    color: transparent;
}

.form-actions .btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Price Input Group - MELHORADO */
.price-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.price-input-group .form-group {
    flex: 1;
    margin-bottom: 0;
}

.price-input-group .price-arrow {
    font-size: 1.5rem;
    color: var(--emerald-green);
    margin: 0 0.5rem;
}

/* Mensagens de sucesso e erro */
.file-success {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2e7d32;
    font-size: 12px;
    margin-top: 8px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.file-success i {
    color: #4caf50;
}

.file-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c62828;
    font-size: 12px;
    margin-top: 8px;
    padding: 8px;
    background: #ffebee;
    border-radius: 4px;
    border-left: 3px solid #f44336;
}

.file-error i {
    color: #f44336;
}

/* Modal Styles - MELHORADO */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(4px);
    }
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    max-width: 56rem;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes modalSlideOut {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--petroleum-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(to bottom, var(--emerald-green), var(--emerald-dark));
    border-radius: 2px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--petroleum-blue);
    background-color: rgba(239, 68, 68, 0.1);
}

/* Product Form - MELHORADO */
.product-form {
    padding: 2rem;
    background: white;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--petroleum-blue);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label::after {
    content: '*';
    color: #ef4444;
    font-weight: 700;
    margin-left: 0.25rem;
}

.form-group label[for="productSalePrice"]::after,
.form-group label[for="productImage"]::after {
    display: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-green);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #d1d5db;
    background-color: white;
}

.form-group small {
    color: #6b7280;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group small::before {
    content: 'ℹ️';
    font-size: 0.875rem;
}

/* Checkbox Toggle - MELHORADO */

.toggle-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 70px !important;
    height: 32px;
    background: #e5e7eb;
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    outline: none;
}

/* Estado ativo/checked */
.toggle-checkbox:checked {
    background: var(--emerald-green) !important;
    border-color: var(--emerald-dark);
}

/* Bolinha do toggle */
.toggle-checkbox::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Bolinha quando ativo */
.toggle-checkbox:checked::before {
    transform: translateX(38px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Estados de foco e hover */
.toggle-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.toggle-checkbox:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.toggle-checkbox:checked:hover {
    background: var(--emerald-dark) !important;
}

/* Para garantir que funcione em diferentes navegadores */
.toggle-checkbox[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Estado disabled */
.toggle-checkbox:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-checkbox:disabled::before {
    background: #f3f4f6;
}

/* Toggle Checkbox - Responsivo */
@media (max-width: 770px) {
    .toggle-checkbox {
        width: 50px !important;
        height: 28px;
        border-radius: 14px;
    }

    .toggle-checkbox::before {
        width: 20px;
        height: 20px;
        top: 2px;
        left: 2px;
    }

    .toggle-checkbox:checked::before {
        transform: translateX(32px); /* 60 - 28 = 32 */
    }
}

@media (max-width: 480px) {
    .toggle-checkbox {
        width: 50px !important;
        height: 24px;
        border-radius: 12px;
    }

    .toggle-checkbox::before {
        width: 16px;
        height: 16px;
        top: 2px;
        left: 2px;
    }

    .toggle-checkbox:checked::before {
        transform: translateX(15px); /* 50 - 24 = 26 */
    }
}

@media (max-width: 320px) {
    .toggle-checkbox {
        width: 45px !important;
        height: 22px;
        border-radius: 11px;
    }

    .toggle-checkbox::before {
        width: 14px;
        height: 14px;
        top: 2px;
        left: 2px;
    }

    .toggle-checkbox:checked::before {
        transform: translateX(23px); /* 45 - 22 = 23 */
    }
}

/* Form Sections - MELHORADO */
.form-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--emerald-green);
}

.form-section h3 {
    color: var(--petroleum-blue);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--emerald-green);
    border-radius: 50%;
}

/* Form Actions - MELHORADO */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: 2rem -2rem -2rem;
    padding: 1.5rem 2rem;
    border-radius: 0 0 16px 16px;
}

.form-actions .btn-secondary {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-actions .btn-secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, var(--emerald-green) 0%, var(--emerald-dark) 100%);
    color: white;
    border: 2px solid var(--emerald-green);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3);
}

.form-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-dark) 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 211, 153, 0.4);
}

.form-actions .btn-primary:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success/Error States */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group .error-message {
    color: #ef4444;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.form-group .error-message::before {
    content: '⚠️';
    font-size: 0.875rem;
}

/* Loading States */
.form-actions .btn-primary.loading {
    position: relative;
    color: transparent;
}

.form-actions .btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Price Input Group - MELHORADO */
.price-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.price-input-group .form-group {
    flex: 1;
    margin-bottom: 0;
}

.price-input-group .price-arrow {
    font-size: 1.5rem;
    color: var(--emerald-green);
    margin: 0 0.5rem;
}

/* Mensagens de sucesso e erro */
.file-success {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2e7d32;
    font-size: 12px;
    margin-top: 8px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.file-success i {
    color: #4caf50;
}

.file-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c62828;
    font-size: 12px;
    margin-top: 8px;
    padding: 8px;
    background: #ffebee;
    border-radius: 4px;
    border-left: 3px solid #f44336;
}

.file-error i {
    color: #f44336;
}
/* Variáveis CSS */
:root {
  --white: #ffffff;
  --black: #333333;
  --emerald-green: #34d399;
  --emerald-light: #6ee7b7;
  --emerald-dark: #10b981;
  --light-beige: #f5f5dc;
  --beige: #e8e4c9;
  --beige-dark: #d6d2b8;
  --petroleum-blue: #005f73;
  --petroleum-light: #0a9396;
  --petroleum-dark: #003f4f;
  --border-radius: 0.5rem;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: #f9fafb;
  padding-top: 5%;
}

@media (max-width: 770px) {
  body {
    padding-top: 15%;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Seções */
.section {
  padding: 2rem 0;
}

/* Títulos */
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.page-description {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2rem;
  color: #6b7280;
}
.page-alert {
  text-align: center;
  max-width: 70rem;
  margin: 0 auto 4rem;
  color: #6b7280;
  font-size: 2rem;
}
/* Botões */
.btn-primary {
  display: inline-block;
  background-color: var(--emerald-green);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--emerald-dark);
}

.btn-secondary {
  display: inline-block;
  background-color: white;
  color: var(--petroleum-blue);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: 1px solid var(--petroleum-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-secondary:hover {
  background-color: var(--petroleum-blue);
  color: white;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  position: fixed;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  min-height: 60px;
}

.header-content .logo {
  flex-shrink: 0;
}

.header-content .auth-buttons {
  flex-shrink: 0;
}

.header-content .search-form {
  flex: 1;
  max-width: 300px;
  margin: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background-color: var(--emerald-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  overflow: hidden;
}

.logo-text {
  font-weight: 700;
  color: var(--petroleum-blue);
  font-size: 1.25rem;
}

/* Responsividade do Header */
@media (max-width: 770px) {
  .header-content {
    padding: 0.75rem 0;
    gap: 0.5rem;
  }
  
  .header-content .search-form {
    display: none;
  }
  
  .logo-circle {
    width: 35px;
    height: 35px;
    margin-right: 0.5rem;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .btn-signup {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  
  .user-dropdown-toggle {
    max-width: 140px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0.5rem 0;
    gap: 0.3rem;
  }
  
  .logo-circle {
    width: 30px;
    height: 30px;
    margin-right: 0.4rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .btn-signup {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .user-dropdown-toggle {
    max-width: 120px;
  }
}

/* Telas muito pequenas (320px ou menos) */
@media (max-width: 320px) {
  .header-content {
    padding: 0.4rem 0;
    gap: 0.2rem;
  }
  
  .logo-circle {
    width: 25px;
    height: 25px;
    margin-right: 0.3rem;
  }
  
  .logo-text {
    font-size: 0.9rem;
  }
  
  .btn-signup {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .user-dropdown-toggle {
    max-width: 100px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .menu-toggle {
    font-size: 1.2rem;
  }
}

/* Responsividade para tablets em modo paisagem */
@media (min-width: 770px) and (max-width: 1024px) and (orientation: landscape) {
  .header-content {
    padding: 0.75rem 0;
  }
  
  .logo-circle {
    width: 35px;
    height: 35px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
}
.nav-desktop {
  display: none;
}

@media (min-width: 770px) {
  .nav-desktop {
    display: block;
  }

  .nav-desktop ul {
    display: flex;
    gap: 1.5rem;
  }

  .nav-desktop a {
    color: var(--petroleum-blue);
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .nav-desktop a:hover,
  .nav-desktop a.active {
    color: var(--emerald-green);
  }
}

.search-form {
  display: none;
  position: relative;
  max-width: 20rem;
  width: 100%;
}

@media (min-width: 770px) {
  .search-form {
    display: block;
  }
}
@media (max-width: 882px) {
  .search-form {
    display: none;
  }
  .search-form input {
    display: none;
    padding: 0;
    margin: 0;
  }
  .search-form i {
    display: none;
    padding: 0;
    margin: 0;
  }
}
.search-form input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.search-form button {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
}

.btn-signup {
  display: inline-block;
}



.menu-toggle {
  background: none;
  border: none;
  color: var(--petroleum-blue);
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 1rem;
}

@media (min-width: 770px){
  .menu-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.nav-mobile.active {
  display: block;
}


.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile a {
  color: var(--petroleum-blue);
  font-weight: 500;
}

.nav-mobile a.active {
  color: var(--emerald-green);
}

@media (min-width: 770px) {
  .nav-mobile.active {
    display: none;
  }
}

.search-form-mobile {
  position: relative;
  margin-bottom: 1rem;
}

.search-form-mobile input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.search-form-mobile button {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
}

/* Footer */
.footer {
  background-color: var(--petroleum-blue);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 770px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.address {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.address i {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.map-container {
  height: 10rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.hours {
  display: block;
  gap: 0.75rem;
}

.hours i {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-links a {
  transition: color 0.3s ease;
}

.quick-links a:hover {
  color: var(--emerald-light);
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-phone a {
  transition: color 0.3s ease;
}

.contact-phone a:hover {
  color: var(--emerald-light);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 5rem;
}

@media (max-width: 700px) {
  .social-icons {
    margin-bottom: 0rem;
  }
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  color: var(--petroleum-blue);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--emerald-green);
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--petroleum-light);
}

.copyright {
  font-size: 0.875rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}

/* Carousel */
.carousel-container {
  position: relative;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.carousel {
  position: relative;
  height: 300px;
  overflow: hidden;
}

@media (min-width: 770px) {
  .carousel {
    height: 400px;
  }
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
}

.caption-box {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  max-width: 80%;
  text-align: center;
}

.caption-box h2 {
  color: var(--petroleum-blue);
  font-weight: 700;
  font-size: 1.25rem;
}

@media (min-width: 770px) {
  .caption-box h2 {
    font-size: 1.5rem;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--petroleum-blue);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: var(--emerald-green);
}

/* Categorias */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 770px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.category-card {
  background-color: #f3f4f6;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.category-card h3 {
  font-weight: 600;
  color: white;
}

.bg-lime {
  background-color: #84cc16;
}

.bg-blue {
  background-color: #3b82f6;
}

.bg-teal {
  background-color: #14b8a6;
}

.bg-gray {
  background-color: #6b7280;
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Promoções */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.view-all {
  color: var(--emerald-green);
  font-weight: 500;
}

.view-all:hover {
  text-decoration: underline;
}

.promotions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .promotions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .promotions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promotions-grid.full-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
    display: flex;
  flex-direction: column;  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  height: 12rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #ef4444;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--petroleum-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-promo-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #ef4444;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

.product-info {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.product-info p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
}

.product-price-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.product-price-original {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.product-price-discount {
  font-weight: 700;
  color: var(--emerald-dark);
  font-size: 1.25rem;
}

.current-price {
  font-weight: 700;
  color: var(--emerald-dark);
  font-size: 1.25rem;
}

.old-price {
  margin-left: 0.5rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 0.875rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--emerald-green);
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

.more-offers {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.more-offers h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
}

.bg-beige {
  background-color: var(--light-beige);
}

/* Depoimentos */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 770px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-image {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.25rem;
}

.rating {
  color: #fbbf24;
}

.testimonial-content {
  position: relative;
  background-color: var(--light-beige);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.testimonial-content::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--light-beige);
  transform: rotate(45deg);
}

.testimonial-content p {
  font-style: italic;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 770px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 12rem;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1rem;
}

.blog-content h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.blog-content p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-post-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

@media (min-width: 770px) {
  .blog-post-card {
    grid-template-columns: 1fr 2fr;
  }
}

.blog-post-image {
  height: 12rem;
}

@media (min-width: 770px) {
  .blog-post-image {
    height: 100%;
  }
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  padding: 1.5rem;
}

.blog-post-date {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.blog-post-content h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.blog-post-content p {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Catálogo */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr 3fr;
  }
}

.catalog-sidebar {
  align-self: start;
}

.filter-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.filter-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-header h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  font-size: 1.25rem;
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-section h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.filter-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
}

.filter-option input[type="checkbox"]:checked {
  background-color: var(--emerald-green);
  border-color: var(--emerald-green);
}

.filter-option input[type="checkbox"]:checked::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  transform: scale(1);
  box-shadow: inset 1em 1em white;
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.filter-option input[type="checkbox"]:focus {
  outline: 2px solid rgba(52, 211, 153, 0.5);
  outline-offset: 2px;
}

.filter-option:hover span {
  color: var(--emerald-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
}

/* Filtros ativos */
.active-filters {
  position: static;
  display: none; /* mostrado pelo JS quando houver filtros */
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem 0.75rem; /* espaço à esquerda do contador */
  padding: 0.5rem 0.75rem;
  background-color: #f9fafb;
  border-radius: var(--border-radius);
  align-items: center;
}
@media (max-width: 1024px) {
  .active-filters {
    margin-left: 0;
    width: auto;
  }
}
.filter-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--emerald-light);
  color: var(--petroleum-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.filter-tag.clear-all {
  background-color: var(--petroleum-light);
  color: white;
  cursor: pointer;
}

.remove-filter {
  background: none;
  border: none;
  color: var(--petroleum-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.75rem;
}

.remove-filter:hover {
  color: var(--petroleum-blue);
}

/* Contador de produtos */
.product-counter {
  margin: 1rem 0;
  font-size: 0.875rem;
  color: #6b7280;
  display: inline-block; /* deixa espaço ao lado para filtros */
  vertical-align: middle;
}

.product-counter span {
  font-weight: 600;
  color: var(--petroleum-blue);
}

/* Botão de filtro mobile */
.filter-mobile-toggle {
  display: none;
  margin-bottom: 1rem;
}

@media (max-width: 1023px) {
  .filter-mobile-toggle {
    display: block;
  }

  .catalog-sidebar {
    display: none;
  }

  .catalog-sidebar.active {
    display: block;
    margin-bottom: 1.5rem;
  }
}

/* Banho & Tosa */
.banho-tosa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .banho-tosa-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.banho-tosa-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.banho-tosa-image {
  height: 15rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.banho-tosa-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.services-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  text-align: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bullet {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--emerald-green);
  border-radius: 50%;
}

.appointment-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.appointment-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  font-size: 1rem;
  width: 95%;
}
.form-group textarea {
  min-width: 250px;
  min-height: 80px;
  max-width: 400px;
  max-height: 100px;
  margin-bottom: 1rem;
}
.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-icon {
  position: relative;
}

.fa-eye {
  position: absolute;
  top: 45%;
  right: 0.40rem;
  transform: translateY(-50%);
  color: #9ca3af;
}

.input-icon input {
  padding-left: 2.5rem;
}

.faq-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  margin-top: 2rem;
}

.faq-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

/* Cadastro */
.cadastro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cadastro-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.btn-top {
  margin-bottom: 0.5rem;
  width: 100%;
}
.btn-bottom {
  margin-top: 0.5rem;
  width: 100%;
}
  .products-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem  0;
  }
.fa-whatsapp {
  color: hsl(0, 0%, 99%);
  font-size: 1rem;
}
.btn-whatsapp {
  display: inline-block;
  background-color: var(--emerald-green);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cadastro-form-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.cadastro-form-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.cadastro-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
}

.login-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.login-link a {
  color: var(--emerald-green);
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

.cadastro-image {
  display: none;
}

@media (min-width: 1024px) {
  .cadastro-image {
    display: block;
  }
}

.image-container {
  position: relative;
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: white;
}

.image-overlay h2 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.benefits-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  margin-top: 2rem;
}

.benefits-card h2 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 770px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  text-align: center;
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--light-beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: var(--emerald-green);
}

.benefit-item h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.benefit-item p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Success Message */
.success-message {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--emerald-green);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.success-icon i {
  color: white;
  font-size: 2rem;
}

.success-message h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.success-message p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Toast Universal System */
.toast-wrapper {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.toast-notification {
  pointer-events: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  border-left: 4px solid #ccc;
  min-width: 280px;
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.toast-message {
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
  font-weight: 500;
}

/* Toast Types */
.toast-success {
  border-left-color: #10b981;
}

.toast-success .toast-icon {
  color: #10b981;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast-error .toast-icon {
  color: #ef4444;
}

.toast-info {
  border-left-color: #3b82f6;
}

.toast-info .toast-icon {
  color: #3b82f6;
}

.toast-warning {
  border-left-color: #f59e0b;
}

.toast-warning .toast-icon {
  color: #f59e0b;
}

/* Mobile Responsive */
@media (max-width: 770px) {
  .toast-wrapper {
    top: auto;
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100vw - 40px);
    max-width: 90vw;
    align-items: center;
  }
  
  .toast-notification {
    transform: translateY(100%);
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }
  
  .toast-notification.show {
    transform: translateY(0);
  }
  
  .toast-content {
    justify-content: center;
    text-align: center;
  }
  
  .toast-message {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .toast-wrapper {
    width: calc(100vw - 20px);
    bottom: 15px;
  }
  
  .toast-notification {
    padding: 14px 12px;
  }
  
  .toast-message {
    font-size: 14px;
  }
}

/* Loading spinner */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  color: var(--petroleum-blue);
  grid-column: 1 / -1;
}

.loading-spinner i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Animação para produtos */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.3s ease forwards;
}

/* Estilos para autenticação e carrinho */

/* Botões de usuário */
.user-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
}

@media (min-width: 770px) {
  .auth-buttons {
    display: flex;
    gap: 0.5rem;
  }
}

.btn-login {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.cart-icon {
  position: relative;
  font-size: 1.25rem;
  color: var(--petroleum-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;

}

.cart-icon.active {
  color: var(--emerald-green);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--emerald-green);
  color: white;
  font-size: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.user-menu {
  position: relative;
}

.user-menu-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--petroleum-blue);
  cursor: pointer;
  font-size: 0.875rem;
}

.user-menu-button i {
  font-size: 1.25rem;
}

.user-dropdown {
  position: relative;
  display: none;
}

.user-dropdown.active .user-dropdown-menu {
  display: block;
}

.user-dropdown-toggle {
  cursor: pointer;
  padding: 0.5rem 1rem;
  background-color: var(--emerald-green);
  color: white;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
  margin-left: 10px;
  max-width: 180px;
}

.user-dropdown-toggle .user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.user-dropdown-toggle:hover {
  background-color: var(--petroleum-blue);
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 12rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 0.5rem 0;
  margin-top: 0.25rem;
  z-index: 50;
  display: none;
}

.user-dropdown-menu .dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--black);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.user-dropdown-menu .dropdown-item:hover {
  background-color: var(--light-beige);
  color: var(--emerald-green);
}

.user-dropdown-menu .dropdown-divider {
  margin: 0.5rem 0;
  border: none;
  border-top: 1px solid var(--light-beige);
}

/* Responsividade do dropdown de usuário */
@media (max-width: 770px) {
  .user-dropdown-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    margin-left: 1rem;
  }
  
  .user-dropdown-menu {
    width: 10rem;
    right: -1rem;
  }
  
  .user-dropdown-menu .dropdown-item {
    padding: 0.6rem 0.8rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .user-dropdown-toggle {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .user-dropdown-menu {
    width: 9rem;
    right: -0.5rem;
  }
  
  .user-dropdown-menu .dropdown-item {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .user-dropdown-toggle .user-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

  

/* Login */
.login-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 770px) {
  .login-container {
    grid-template-columns: 1fr 1fr;
  }
}

.login-form-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.login-form-card h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.forgot-password {
  color: var(--petroleum-blue);
}

.forgot-password:hover {
  color: var(--emerald-green);
  text-decoration: underline;
}

.signup-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.signup-link a {
  color: var(--emerald-green);
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
}

.login-benefits {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.login-benefits h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits-list li {
  display: flex;
  gap: 1rem;
}

.benefits-list i {
  color: var(--emerald-green);
  font-size: 1.5rem;
}

.benefits-list h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--petroleum-blue);
}

.benefits-list p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Alertas */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.alert-error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #f87171;
}

.alert-success {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #4ade80;
}

/* Carrinho */
.cart-container {
  max-width: 64rem;
  margin: 0 auto;
}

.cart-empty {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem 1.5rem;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.empty-cart-icon {
  font-size: 3rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.cart-empty h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.cart-empty p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 770px) {
  .cart-content {
    grid-template-columns: 2fr 1fr;
  }
}

.cart-items {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.cart-item {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 5rem;
  height: 5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-nome {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--emerald-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.quantity-btn {
  background-color: #f3f4f6;
  border: none;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quantity-btn:hover {
  background-color: #e5e7eb;
}

.quantity-input {
  width: 2.5rem;
  height: 2rem;
  border: none;
  text-align: center;
  font-weight: 600;
}

.remove-item {
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.remove-item:hover {
  text-decoration: underline;
}

.cart-summary {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 6rem;
}

.cart-summary h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.summary-item.total {
  font-weight: 700;
  font-size: 1.125rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.continue-shopping {
  color: var(--petroleum-blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.continue-shopping:hover {
  color: var(--emerald-green);
}

.clear-cart {
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.clear-cart:hover {
  text-decoration: underline;
}

/* Address Section */
.address-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.address-info {
  background-color: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: var(--border-radius);
  padding: 1rem;
}

.address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.address-header i {
  color: var(--petroleum-blue);
  margin-right: 0.5rem;
}

.address-header span {
  font-weight: 600;
  color: var(--petroleum-blue);
  flex-grow: 1;
}

.edit-address-btn {
  background: none;
  border: none;
  color: var(--emerald-green);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.edit-address-btn:hover {
  background-color: rgba(52, 211, 153, 0.1);
}

.address-details p {
  margin-bottom: 0.25rem;
  color: var(--black);
  font-size: 0.875rem;
}

.address-details p:last-child {
  margin-bottom: 0;
}

.address-reference {
  color: #6b7280;
  font-style: italic;
}

.address-reference i {
  margin-right: 0.25rem;
}

.address-required {
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: var(--border-radius);
  padding: 1rem;
  text-align: center;
}

.address-icon {
  font-size: 2rem;
  color: #f59e0b;
  margin-bottom: 0.5rem;
}

.address-message h3 {
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.address-message p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.btn-address {
  background-color: var(--emerald-green);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.btn-address:hover {
  background-color: var(--emerald-dark);
}

.btn-address i {
  font-size: 0.875rem;
}

/* Checkout button disabled state */
.btn-primary:disabled {
  background-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
}

.btn-primary:disabled:hover {
  background-color: #d1d5db;
}

/* Blog Detail */
.blog-detail-container {
  max-width: 48rem;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.blog-detail-header {
  padding: 1.5rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
}

.back-button:hover {
  color: var(--emerald-green);
}

.blog-detail-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.blog-category {
  background-color: var(--emerald-light);
  color: var(--petroleum-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-detail-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
}

.blog-detail-image {
  height: 20rem;
  width: 100%;
}

.blog-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-content {
  padding: 1.5rem;
}

.blog-detail-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin: 1.5rem 0 1rem;
}

.blog-detail-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--petroleum-blue);
  margin: 1.25rem 0 0.75rem;
}

.blog-detail-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.blog-detail-content li {
  margin-bottom: 0.5rem;
}

.blog-detail-content ul {
  list-style-type: disc;
}

.blog-detail-content ol {
  list-style-type: decimal;
}

.product-recommendation {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--light-beige);
  border-radius: var(--border-radius);
}

.product-recommendation h3 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1rem;
}

.product-card.mini {
  max-width: 20rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.blog-detail-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petroleum-blue);
}

.share-button:hover {
  background-color: var(--emerald-green);
  color: var(--white);
}

.blog-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.tag:hover {
  background-color: var(--emerald-light);
  color: var(--petroleum-dark);
}

.related-posts {
  margin-top: 3rem;
}

.related-posts h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 1.5rem;
}

/* Página não encontrada */
.not-found {
  text-align: center;
  padding: 3rem 1.5rem;
}

.not-found h2 {
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.not-found p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Admin Panel Styles */

/* Admin Header */
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--petroleum-blue);
  font-size: 0.875rem;
  font-weight: 500;
}

.mobile-admin-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* Admin Page Layout */
.admin-page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--emerald-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--petroleum-blue);
  font-size: 1.25rem;
}

.stat-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--petroleum-blue);
  margin-bottom: 0.25rem;
}

.stat-content p {
  color: #6b7280;
  font-size: 0.875rem;
}

@media (max-width: 770px) {
  .admin-stats {
    flex-direction: row;
    display: flex;
  }
  .stat-card {
    height: 8rem;      width: 100%;
  }
  .stat-icon {
    margin-bottom: 0.5rem;
    width: 3.5rem;
  }
  .stat-content h3 {
    font-size: 1.25rem;
  }
  .stat-content p {
    font-size: 0.875rem;
  }
}

/* Admin Filters */
.admin-filters {
  margin-bottom: 2rem;
}

.search-input-container {
  position: relative;
}

.search-input-container input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.search-input-container i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

/* Admin Products Section */
.admin-products-section {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.products-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--petroleum-blue);
}

.products-counter {
  color: #6b7280;
  font-size: 0.875rem;
}

.products-counter span {
  font-weight: 600;
  color: var(--petroleum-blue);
}

/* Admin Products Grid */
.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.admin-product-card {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.admin-product-card:hover {
  border-color: var(--emerald-green);
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.15);
}

.admin-product-card .product-image {
  position: relative;
  height: 12rem;
}

.admin-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-card .product-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--petroleum-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.admin-product-card .product-info {
  padding: 1rem;
}

.admin-product-card .product-info h3 {
  font-weight: 600;
  color: var(--petroleum-blue);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.product-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.product-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.product-type i {
  color: var(--emerald-green);
}

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
  border: 1px solid #ef4444;
}

.btn-danger:hover {
  background-color: #dc2626;
  border-color: #dc2626;
}

/* Modal Styles - MELHORADO */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(4px);
    }
}

.modal-content {
    background-color: white;
    border-radius: 16px;
    max-width: 56rem;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes modalSlideOut {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--petroleum-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(to bottom, var(--emerald-green), var(--emerald-dark));
    border-radius: 2px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--petroleum-blue);
    background-color: rgba(239, 68, 68, 0.1);
}

/* Delete Modal Styles - ENHANCED */
.modal-small {
    max-width: 28rem;
    width: 90%;
}

.modal-body {
    padding: 2rem;
    background: white;
}

.delete-warning {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 12px;
    border: 1px solid #fecaca;
    position: relative;
    overflow: hidden;
}

.delete-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c);
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.delete-warning i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
    animation: warningShake 0.5s ease-in-out;
}

@keyframes warningShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.delete-warning p {
    margin: 0.75rem 0;
    font-size: 1rem;
    color: #374151;
    line-height: 1.5;
}

.delete-warning strong {
    color: #ef4444;
    font-weight: 700;
}

.delete-warning .warning-text {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0 0 16px 16px;
    justify-content: flex-end;
}

.modal-actions button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.modal-actions .btn-secondary {
    background-color: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.modal-actions .btn-secondary:hover {
    background-color: #e2e8f0;
    color: #475569;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.modal-actions .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.modal-actions .btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.modal-actions .btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Delete Modal Responsive */
@media (max-width: 768px) {
    .modal-small {
        width: 95%;
        max-width: 24rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-actions button {
        width: 100%;
        min-width: unset;
    }
    
    .delete-warning {
        padding: 1rem;
    }
    
    .delete-warning i {
        font-size: 2.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

/* Animation for modal opening */
.modal.show .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

.modal.hide .modal-content {
    animation: modalSlideOut 0.3s ease-out;
}

/* Add pulse effect to danger button */
.btn-danger {
    position: relative;
    overflow: hidden;
}

.btn-danger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-danger:hover::before {
    width: 100%;
    height: 100%;
}

    .address-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      animation: fadeIn 0.3s ease;
    }
    
    .address-modal-content {
      background: white;
      border-radius: 8px;
      padding: 0;
      max-width: 500px;
      width: 90%;
      max-height: 90vh;
      overflow-y: auto;
      animation: slideIn 0.3s ease;
    }
    
    .address-modal-header {
      background: #005f73;
      color: white;
      padding: 1rem 1.5rem;
      border-radius: 8px 8px 0 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .address-modal-header h2 {
      margin: 0;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .address-modal-close {
      background: none;
      border: none;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 4px;
      transition: background 0.3s ease;
    }
    
    .address-modal-close:hover {
      background: rgba(255, 255, 255, 0.1);
    }
    
    .address-form {
      padding: 1.5rem;
    }
    
    .form-group {
      margin-bottom: 1rem;
    }
    
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    
    .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: #333;
    }
    
    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 1rem;
      transition: border-color 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: #005f73;
      box-shadow: 0 0 0 2px rgba(0, 95, 115, 0.1);
    }
    
    .address-form-actions {
      display: flex;
      gap: 1rem;
      justify-content: flex-end;
      margin-top: 1.5rem;
      padding-top: 1rem;
      border-top: 1px solid #eee;
    }
    
    .address-info {
      background: #f0f9ff;
      border: 1px solid #0ea5e9;
      border-radius: 6px;
      padding: 1rem;
      margin-bottom: 1rem;
    }
    
    .address-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.75rem;
      color: #005f73;
      font-weight: 600;
    }
    
    .address-header i {
      margin-right: 0.5rem;
    }
    
    .address-header span {
      flex: 1;
    }
    
    .address-actions {
      display: flex;
      gap: 0.5rem;
    }
    
    .edit-address-btn,
    .clear-address-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 4px;
      transition: all 0.3s ease;
      font-size: 0.875rem;
      min-width: 36px; /* Largura mínima fixa */
      min-height: 36px; /* Altura mínima fixa */
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column; 
      gap: 0.25rem;
    }
    
    .edit-address-btn {
      color: var(--emerald-green);
    }
    
    .edit-address-btn:hover {
      background: rgba(52, 211, 153, 0.1);
      color: var(--emerald-dark);
    }
    
    .clear-address-btn {
      color: #dc3545;
    }
    
    .clear-address-btn:hover {
      background: rgba(220, 53, 69, 0.1);
      color: #c82333;
    }
    
    .address-details p {
      margin: 0.25rem 0;
      color: #333;
      font-size: 0.875rem;
    }
    
    .address-reference {
      color: #6b7280;
      font-size: 0.875rem;
      margin-top: 0.5rem;
      font-style: italic;
    }
    
    .address-reference i {
      margin-right: 0.25rem;
    }
    
    .address-required {
      background: #fef3c7;
      border: 1px solid #f59e0b;
      border-radius: 6px;
      padding: 1.5rem;
      text-align: center;
      margin-bottom: 1rem;
    }
    
    .address-icon {
      font-size: 2rem;
      color: #f59e0b;
      margin-bottom: 1rem;
    }
    
    .address-message h3 {
      margin: 0 0 0.5rem 0;
      color: var(--petroleum-blue);
      font-size: 1rem;
    }
    
    .address-message p {
      margin: 0 0 1rem 0;
      color: #6b7280;
      font-size: 0.875rem;
    }
    
    .btn-address {
      background: var(--emerald-green);
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: var(--border-radius);
      cursor: pointer;
      font-size: 1rem;
      font-weight: 600;
      transition: background 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .btn-address:hover {
      background: var(--emerald-dark);
    }
    
    /* Modal de Confirmação */
    .confirmation-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      animation: fadeIn 0.3s ease;
    }
    
    .confirmation-modal-content {
      background: white;
      border-radius: 12px;
      max-width: 400px;
      width: 90%;
      animation: slideIn 0.3s ease;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .confirmation-modal-header {
      background: #f8f9fa;
      padding: 1rem 1.5rem;
      border-bottom: 1px solid #e9ecef;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .confirmation-modal-header h3 {
      margin: 0;
      font-size: 1.1rem;
      color: #495057;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .confirmation-modal-header i {
      color: #f39c12;
    }
    
    .confirmation-modal-close {
      background: none;
      border: none;
      color: #6c757d;
      cursor: pointer;
      padding: 0.25rem;
      border-radius: 4px;
      transition: background 0.3s ease;
    }
    
    .confirmation-modal-close:hover {
      background: rgba(108, 117, 125, 0.1);
    }
    
    .confirmation-modal-body {
      padding: 1.5rem;
      text-align: center;
    }
    
    .confirmation-icon {
      font-size: 3rem;
      color: #f39c12;
      margin-bottom: 1rem;
    }
    
    .confirmation-modal-body p {
      margin: 0;
      color: #495057;
      line-height: 1.5;
    }
    
    .confirmation-modal-actions {
      padding: 1rem 1.5rem;
      background: #f8f9fa;
      display: flex;
      gap: 1rem;
      justify-content: flex-end;
      border-top: 1px solid #e9ecef;
    }
    
    .confirmation-modal-actions button {
      padding: 0.5rem 1rem;
      border-radius: 6px;
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border: 1px solid transparent;
    }
    
    .confirmation-modal-actions .btn-secondary {
      background: #f8f9fa;
      color: #6c757d;
      border-color: #dee2e6;
    }
    
    .confirmation-modal-actions .btn-secondary:hover {
      background: #e9ecef;
      color: #495057;
      border-color: #adb5bd;
    }
    
    .confirmation-modal-actions .btn-danger {
      background: #dc3545;
      color: white;
      border-color: #dc3545;
    }
    
    .confirmation-modal-actions .btn-danger:hover {
      background: #c82333;
      border-color: #bd2130;
    }
    
    /* Notificações */
    .address-notification {
      position: fixed;
      top: 20px;
      right: 20px;
      padding: 1rem 1.5rem;
      border-radius: 6px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 10000;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      font-weight: 500;
    }
    
    .address-notification.success {
      background: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
    }
    
    .address-notification.clear {
      background: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
    }
    
    .address-notification.show {
      transform: translateX(0);
    }
    
    .address-notification i {
      font-size: 1.1rem;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    @keyframes slideIn {
      from { transform: translateY(-20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    
    @media (max-width: 770px) {
      .form-row {
        grid-template-columns: 1fr;
      }
      
      .address-form-actions,
      .confirmation-modal-actions {
        flex-direction: column;
      }
      
      .address-modal-content,
      .confirmation-modal-content {
        width: 95%;
        margin: 1rem;
      }
      
      .address-notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
      }
      
      .address-notification.show {
        transform: translateY(0);
      }
      
      .address-actions {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-end;
      }
      
      .edit-address-btn,
      .clear-address-btn {
        padding: 0.25rem;
        font-size: 0.8rem;
      }
    }

#dogSizeGroup {
    transition: all 0.3s ease;
    overflow: hidden;
}

#dogSizeGroup[style*="display: none"] {
    max-height: 0;
    margin: 0;
    padding: 0;
}

#dogSizeGroup[style*="display: block"] {
    max-height: 200px;
}

/* Carousel Loading Styles */
.carousel-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(245, 245, 245, 0.9);
  z-index: 10;
}

.carousel-loading .loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--petroleum-blue);
}

.carousel-loading .loading-spinner span {
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-Avaliacoes {
  background-color: var(--emerald-green);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  margin-bottom: 1rem;
}

@media (max-width: 770px) {
  .btn-Avaliacoes {
    margin: 0 auto 1rem;
  }
}

/* Toast Actions Styles */
.toast-notification .toast-actions {
  margin-top: 12px;
  display: flex !important;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.toast-notification .toast-action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: #374151;
  min-width: fit-content;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  outline: none;
  display: inline-block !important;
}

.toast-notification .toast-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toast-notification .toast-action-btn:active {
  transform: translateY(0);
}

.toast-notification .toast-action-btn:focus {
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.5);
}

.toast-notification .toast-action-primary {
  background: var(--emerald-green) !important;
  color: white !important;
  border: 1px solid var(--emerald-green);
}

.toast-notification .toast-action-primary:hover {
  background: var(--emerald-dark) !important;
  border-color: var(--emerald-dark);
}

.toast-notification .toast-action-secondary {
  background: #f3f4f6 !important;
  color: #374151 !important;
  border: 1px solid #d1d5db;
}

.toast-notification .toast-action-secondary:hover {
  background: #e5e7eb !important;
  border-color: #9ca3af;
}

/* Garantir que o toast tenha z-index adequado */
.toast-notification {
  position: relative;
  z-index: 10001;
}

/* Mobile Responsive para Toast Actions */
@media (max-width: 770px) {
  .toast-notification .toast-actions {
    justify-content: center;
    margin-top: 15px;
    gap: 12px;
  }
  
  .toast-notification .toast-action-btn {
    flex: 1;
    min-width: 120px;
    max-width: 140px;
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .toast-wrapper {
    padding: 0 10px;
  }
  
  .toast-notification {
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
}

/* Tablet Responsive para Toast Actions */
@media (max-width: 1024px) and (min-width: 771px) {
  .toast-notification .toast-actions {
    justify-content: center;
    gap: 10px;
  }
  
  .toast-notification .toast-action-btn {
    min-width: 110px;
    padding: 7px 14px;
  }
}

/* Pequenos ajustes para telas muito pequenas */
@media (max-width: 480px) {
  .toast-notification .toast-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .toast-notification .toast-action-btn {
    width: 100%;
    max-width: none;
    min-width: auto;
  }
}

/* Sidebar fixa no catálogo para desktop */
@media (min-width: 1024px) {
  .catalog-sidebar {
    position: sticky !important;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
}

/* Estilos do Scrollbar */
::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: #34d399;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}

/* Para Firefox */
html {
  scrollbar-width: auto;
  scrollbar-color: #34d399 #f1f1f1;
}