@font-face {
  font-family: 'The Seasons';
  src: url('/assets/fonts/TheSeasons-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url('/assets/fonts/TheSeasons-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Apricots';
  src: url('/assets/fonts/Apricots.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Fallback via Google Fonts para quando as fontes locais não existirem */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

html,
body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  max-width: 100vw;
  touch-action: pan-y;
  /* Ocultar barra de rolagem (Firefox) */
  scrollbar-width: none;
}

/* Ocultar barra de rolagem (Chrome, Safari, Edge) */
body::-webkit-scrollbar {
  display: none;
}

/* --- FAIXA SUPERIOR --- */
.top-bar {
  background-color: #000000;
  color: #ffffff;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.br-flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

header {
  min-height: 80px;
  padding: 10px 5%;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left,
.header-right {
  flex: 1;
}

.header-left {
  display: flex;
  justify-content: flex-start;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-icon {
  font-size: 1.8rem;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.menu-icon:hover {
  transform: scale(1.1);
  color: #555;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: 'The Seasons', 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 0.18em;
  line-height: 1;
}

.sun-icon {
  font-size: 1.55rem;
  line-height: 1;
  color: #d4af37;
  background-image: url('https://img.criativodahora.com.br/2024/02/criativo-65be1bc9cae42MDMvMDIvMjAyNCAwN2g1Ng==.jpg');
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: cover;
  background-position: center;
}

.eyewear-subtitle {
  font-family: 'Apricots', 'Outfit', cursive;
  font-size: 1.25rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #000000;
  margin-top: -0.15em;
  white-space: nowrap;
  line-height: 1;
}

.cart-icon {
  position: relative;
  display: inline-flex;
  font-size: 1.7rem;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cart-icon:hover {
  transform: scale(1.15);
  color: #555;
}

.cart-badge {
  position: absolute;
  top: 0px;
  right: -6px;
  background-color: #000000;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.banner-img {
  height: 70vh;
  object-fit: cover;
  object-position: center;
}

.carousel-indicators[data-bs-target] {
  background-color: #ffffff;
  height: 3px;
  border-radius: 2px;
}

/* --- INTRODUÇÃO DA COLEÇÃO (SPLIT BANNER) --- */
.collection-intro {
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: #fcfcfc;
}

.intro-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.intro-content {
  padding: 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.intro-subtitle {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
  font-weight: 600;
}

.intro-title {
  font-family: 'The Seasons', 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.1;
}

.intro-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* --- ESTILOS DOS PRODUTOS REFINADOS --- */
.products-grid {
  padding-bottom: 60px;
}

.product-card {
  text-decoration: none;
  color: #000;
  display: block;
  transition: all 0.3s ease;
  position: relative;
}

.img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f4f4f4;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
  border-radius: 4px;
  /* Cantos levamente arredondados */
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  /* Efeito de zoom suave */
}

/* Efeito de zoom na imagem ao passar o mouse */
.product-card:hover .img-wrapper img {
  transform: scale(1.08);
}

/* Botão rápido de adicionar (aparece no hover) */
.quick-add {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.product-card:hover .quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  text-align: center;
}

/* Cores disponíveis */
.colors-wrapper {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}

.color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: #111;
}

/* Características do óculos (UV400, Polarizado...) */
.product-features {
  font-size: 0.7rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1rem;
  color: #000;
  font-weight: 500;
  margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .top-bar {
    font-size: 0.75rem;
    padding: 8px 10px;
  }

  header {
    min-height: 75px;
    padding: 10px 4%;
  }

  .banner-img {
    height: 55vh;
  }

  .intro-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  header {
    min-height: 65px;
    padding: 10px 5%;
  }

  .logo-text {
    font-size: 1.65rem;
  }

  .cart-badge {
    width: 16px;
    height: 16px;
    font-size: 0.55rem;
    right: -4px;
    top: 2px;
  }

  .banner-img {
    height: 45vh;
  }

  .intro-img {
    min-height: 300px;
  }

  .intro-content {
    padding: 30px 20px;
  }

  .intro-title {
    font-size: 2rem;
  }

  .product-name {
    font-size: 0.8rem;
  }

  .product-price {
    font-size: 0.9rem;
  }

  .product-features {
    font-size: 0.6rem;
  }

  .quick-add {
    opacity: 1;
    /* No celular deixamos visível direto, pois não tem "hover" */
    transform: translateY(0);
    width: 30px;
    height: 30px;
    bottom: 8px;
    right: 8px;
    font-size: 0.9rem;
  }
}

/* --- BOTÕES FLUTUANTES --- */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1040;
  /* Reduzido para ficar abaixo do Offcanvas (1045) */
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  /* Sombra sutil apenas pra legibilidade sobre elementos */
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  border: 2px solid #ffffff;
  /* Borda branca solicitada */
}

.float-btn:hover {
  transform: translateY(-5px);
  color: #fff;
}

.btn-down {
  background-color: #000;
}

.btn-down:hover {
  background-color: #333;
}

.btn-cart-float {
  background-color: #000;
}

.btn-cart-float:hover {
  background-color: #333;
}

.btn-whatsapp {
  background-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #20b858;
}

@media (max-width: 576px) {
  .floating-actions {
    bottom: 15px;
    right: 15px;
  }

  .float-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}