/* =============================================
   JS COUNTRY — Styles (replica fiel Barns Western)
   ============================================= */

/* ---------- CUSTOM FONT ---------- */
@font-face {
  font-family: 'LacheyardScript';
  src: url('../img/LacheyardScript_PERSONAL_USE_ONLY.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../img/Manrope-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none
}

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

button,
input,
textarea,
select {
  font-family: 'Manrope', sans-serif;
}

ul,
ol {
  list-style: none
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

@media(max-width:1000px) {
  .container {
    padding: 0 32px
  }
}

@media(max-width:700px) {
  .container {
    padding: 0 20px
  }
}



/* ---------- GLASS PILL NAV ---------- */
.glass-nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 200px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: top .3s ease;
}

.glass-nav__top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.glass-nav__pill {
  flex: 1;
  min-width: 0; /* permite filhos (ex.: search) encolherem dentro do flex */
  height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px 0 0px;
  border-radius: 999px;
  box-sizing: border-box;
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
}

.glass-nav {
  transition: opacity 0.5s ease;
}

.glass-nav.hide-nav {
  opacity: 0 !important;
  pointer-events: none;
  /* Removido o transform para sumir apenas com efeito de fade */
}

/* --- Nav links --- */
.glass-nav__links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.glass-nav__links a {
  font-size: 1.1em;
  color: #1a1a1a;
  padding: 0 16px;
  height: 46px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  transition: background .25s, transform .2s;
  white-space: nowrap;
  text-shadow: none;
}

.glass-nav__links a:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.glass-nav__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.glass-nav__dropdown-toggle {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Retain hover on toggle when dropdown is open */
.glass-nav__dropdown:hover .glass-nav__dropdown-toggle {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.glass-nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  min-width: 190px;
  background: rgba(235, 235, 235, 0.55); /* Matches pill + hover */
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 8px;
  margin-top: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}


/* Invisible bridge to prevent hover loss when moving mouse from button to menu */
.glass-nav__dropdown-menu::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.glass-nav__dropdown:hover .glass-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.glass-nav__dropdown-menu a {
  padding: 10px 16px !important;
  font-size: 14px !important;
  height: auto !important;
  width: 100% !important;
  border-radius: 10px !important;
  justify-content: flex-start !important;
  color: #1a1a1a !important;
  transform: none !important;
}

.glass-nav__dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}

/* --- Search (desktop — inside pill) --- */
.glass-nav__search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 0 clamp(10px, 1.6vw, 18px);
  height: 46px;
  margin-left: auto;
  position: relative;
  z-index: 1;
  /* Ocupa o espaço livre e encolhe com a tela (sem largura mínima fixa grande) */
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  /* Encolhe junto com a tela, com teto em telas grandes */
  max-width: clamp(180px, 28vw, 520px);
  transition: background .25s, border-color .25s, box-shadow .25s ease;
}

.glass-nav__search:focus-within {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 0 2px rgba(240, 196, 23, 0.25);
}

.glass-nav__search-icon {
  width: 18px;
  height: 18px;
  color: rgba(26, 26, 26, 0.7);
  flex-shrink: 0;
}

.glass-nav__search-input {
  border: none;
  outline: none;
  background: transparent;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 1.1em;
  width: 100%;
  min-width: 0;
}

.glass-nav__search-input::placeholder {
  color: rgba(26, 26, 26, 0.45);
}

.search-suggestions {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
  z-index: 22;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
}

.search-suggestions.active {
  display: block;
}

.search-suggestions__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-suggestions__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.search-suggestions__item:last-child {
  border-bottom: none;
}

.search-suggestions__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #1a1a1a;
  text-decoration: none;
}

.search-suggestions__thumb {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f4f4f4;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-suggestions__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-suggestions__thumb--empty {
  background: rgba(0, 0, 0, 0.04);
}

.search-suggestions__text {
  display: grid;
  gap: 4px;
}

.search-suggestions__link:hover {
  background: rgba(240, 196, 23, 0.12);
}

.search-suggestions__meta {
  color: #555;
  font-size: 0.92rem;
}

.search-suggestions__empty {
  padding: 14px 16px;
  color: #555;
  font-size: 0.95rem;
}

.glass-nav__search,
.glass-nav__mobile-search {
  position: relative;
}

/* --- Action icons --- */
.glass-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.glass-nav__actions button,
.glass-nav__actions a {
  background: none;
  border: none;
  color: #1a1a1a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background .25s, transform .2s;
  text-shadow: none;
}

.glass-nav__actions svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.glass-nav__actions button:hover,
.glass-nav__actions a:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.08);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  background: #f0c417;
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 400;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Burger (mobile) --- */
.glass-nav__burger {
  display: none;
  background: none;
  border: none;
  color: #1a1a1a;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .25s;
  position: relative;
  z-index: 1;
}

.glass-nav__burger:hover {
  background: rgba(0, 0, 0, 0.05)
}

.glass-nav__burger svg {
  width: 22px;
  height: 22px;
  filter: none
}

/* --- Logo --- */
.glass-nav__logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-right: 40px;
  margin-left: -5px;
  flex-shrink: 0;
}

.glass-nav__logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.15));
}

/* --- Account standalone ball --- */
.glass-nav__account-btn {
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform .25s, background .25s;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.glass-nav__account-btn:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.6);
}

.glass-nav__account-btn svg {
  width: 22px;
  height: 22px;
}

/* --- Mobile search bar (below pill) --- */
.glass-nav__mobile-search {
  display: none;
  /* hidden on desktop */
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-nav__mobile-search svg {
  width: 18px;
  height: 18px;
  color: rgba(26, 26, 26, 0.6);
  flex-shrink: 0;
}

.glass-nav__mobile-search input {
  border: none;
  outline: none;
  background: transparent;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.glass-nav__mobile-search input::placeholder {
  color: rgba(26, 26, 26, 0.4);
}

/* ---------- HERO / SLIDESHOW ---------- */
.hero {
  position: relative;
  width: 100%;
  height: clamp(500px, 65vw, 850px);
  overflow: hidden;
  background: #1a1a1a;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide.active {
  opacity: 1
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 0 80px;
  /* added top padding to push text down from navbar */
}

.hero__title {
  font-family: 'LacheyardScript', cursive;
  font-size: clamp(34px, 4.9vw, 59px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  text-transform: none;
  max-width: 600px;
  margin-bottom: 16px;
  /* Borda branca com 25% de opacidade */
  text-shadow: 
    -1px -1px 0 rgba(255,255,255,0.25),  
     1px -1px 0 rgba(255,255,255,0.25),
    -1px  1px 0 rgba(255,255,255,0.25),
     1px  1px 0 rgba(255,255,255,0.25);
}

.hero__title span {
  display: block;
  font-family: "Rye", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.7em;
  color: #3d2115;
  margin-top: 4px;
  white-space: nowrap;
  /* Borda branca com 25% de opacidade no texto escuro */
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
  text-stroke: 1px rgba(255, 255, 255, 0.25);
}

.hero-star {
  width: 0.5em;
  height: 0.5em;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -0.2em;
  margin: 0 0.05em;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  max-width: 550px;
  margin-bottom: 24px;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 28px;
  border-radius: 999px;
  letter-spacing: .02em;
  transition: all .3s ease;
  align-self: flex-start;
}

.hero__btn i {
  font-size: 1.3em;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.hero__btn:hover i {
  transform: translateX(4px);
  opacity: 1;
}

.hero__btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}

.hero__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}

.hero__dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* ---------- SECTION GENERIC ---------- */
.section {
  padding: 40px 0;
}

.section--light-bg {
  background: #f5f6f7;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section__title {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -.02em;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, .15);
  border-radius: 50px;
  padding: 8px 16px;
  transition: border-color .2s;
}

.section__link:hover {
  border-color: #1a1a1a
}

.section__link svg {
  width: 16px;
  height: 16px
}

/* ---------- CATEGORIES CAROUSEL ---------- */
.categories {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.categories::-webkit-scrollbar {
  display: none;
}

/* ===== Categoria page specific styles (aplica só em /categoria) ===== */
#categorias .categories {
  display: flex;
  justify-content: start;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 12px 8px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}

#categorias .category-card {
  flex: 0 0 120px;
  min-width: 120px;
  width: 120px;
  gap: 6px;
}

#categorias .category-card__img {
  width: 100%;
  height: 300px;
  border-radius: 15px;
}

#categorias .category-card__name {
  font-size: 1.5em;
}

/* ===== Home (catCarousel) — cards maiores apenas na home ===== */
#catCarousel {
  justify-content: flex-start; /* mantém os cards à esquerda */
}

#catCarousel .category-card {
  min-width: 320px;
  flex: 0 0 320px; /* cada card ocupa 320px de largura fixa */
  width: 320px;   /* 100% da largura do próprio card (fixa aqui) */
  gap: 12px;
}

#catCarousel .category-card__img {
  width: 100%;
  height: 420px;
  border-radius: 12px;
}

#catCarousel .category-card__name {
  font-size: 40px;
}

#categorias .categories.dragging { cursor: grabbing; }

/* Global .category-card (home) */
.category-card {
  position: relative;
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 2;
  scroll-snap-align: start;
  cursor: pointer;
}

/* Categoria page overrides */
#categorias .category-card {
  flex: 0 0 auto;
  min-width: 240px;
  gap: 12px;
}

.category-card__img {
  width: 230px;
  height: 270px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* Mobile: mostrar ~2.5 cards de categoria na viewport */
@media (max-width: 640px) {
  #categorias .categories {
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* cada card ocupa cerca de 40% para caber 2.5 por tela */
  #categorias .category-card {
    flex: 0 0 calc(40% - 12px);
    min-width: 0;
    gap: 8px;
  }

  #categorias .category-card__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    border-radius: 10px;
  }

  #categorias .category-card__name {
    font-size: 14px;
    margin-top: 6px;
  }

  /* ajustar thumb/infos caso existam dentro do card */
  #categorias .product-card__thumbs,
  #categorias .product-card__price-row {
    margin-top: 8px;
  }
}

#categorias .category-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

.category-card:hover .category-card__img img {
  transform: scale(1.05)
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.category-card:hover img {
  transform: scale(1.05)
}

.category-card__name {
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -.025em;
  text-align: left;
  line-height: 1.1;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card__price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-card__price {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.product-card__pix-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 185, 130, .12);
  color: #0fba82;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-card__installment {
  font-size: 0.9rem;
  color: #5f5f5f;
  line-height: 1.4;
}

.product-card__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.product-card__thumb {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(26, 26, 26, .12);
  border-radius: 10px;
  padding: 2px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}

.product-card__thumb:hover,
.product-card__thumb:focus-visible {
  border-color: rgba(26, 26, 26, .35);
  transform: translateY(-1px);
}

.product-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* ---------- SCROLLBAR NAV (progressbar + arrows) ---------- */
.scroll-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  gap: 24px;
}

.scroll-progress {
  flex: 1;
  height: 2px;
  background: rgba(26, 26, 26, .12);
  position: relative;
  border-radius: 2px;
}

.scroll-progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #1a1a1a;
  border-radius: 2px;
  width: 30%;
  transition: width .3s, left .3s;
}

.scroll-arrows {
  display: flex;
  gap: 8px;
}

.scroll-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, .15);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: border-color .2s, background .2s;
}

.scroll-arrow:hover {
  border-color: #1a1a1a;
  background: rgba(26, 26, 26, .03)
}

.scroll-arrow svg {
  width: 18px;
  height: 18px
}

/* ---------- PRODUCT CARDS ---------- */
.products-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.products-carousel::-webkit-scrollbar {
  display: none
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  flex: 0 0 calc(28.57% - 20px);
  min-width: 240px;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.product-card__fav {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.9rem;
  color: #3d2115; /* Cor do tema */
  cursor: pointer;
  z-index: 20; /* Bem acima da imagem */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0 !important;
  margin: 0 !important;
}

.product-card__fav:hover {
  color: #dc3545;
  transform: scale(1.1);
}

.product-card__fav.active {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.product-card__fav.active i::before {
  content: "\f415";
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.product-card__fav.pop {
  animation: heartPop 0.4s ease;
}

.product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card__img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f6f7;
  margin-bottom: 12px;
  position: relative; /* Garantindo que filhos absolutos se alinhem aqui */
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.06)
}

.product-card__name {
  font-size: 20px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.product-card__price {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
}

.product-card__compare {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.product-card__swatches {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.swatch {
  width: 44px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(26, 26, 26, .12);
  background: #f5f6f7;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
}

.swatch.active,
.swatch:hover {
  border-color: #1a1a1a
}

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

.swatch--more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  color: #666;
}

/* ---------- PROMO BANNERS (2 columns) ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.promo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.promo-card:hover img {
  transform: scale(1.04)
}

.promo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.promo-card__title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  color: #f0c417;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

.promo-card__sub {
  font-size: clamp(14px, 1.6vw, 20px);
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #000;
  color: #fff;
  padding: 60px 0 0;
}

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

.footer__col h3 {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #fff;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer__col a {
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  transition: color .2s;
}

.footer__col a:hover {
  color: #fff
}

.footer__col p {
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  line-height: 1.6;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__copy {
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  color: rgba(255, 255, 255, .6);
  transition: color .2s;
}

.footer__socials a:hover {
  color: #fff
}

.footer__socials svg {
  width: 22px;
  height: 22px
}

.footer__payments {
  text-align: center;
}

.footer__payments p {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
}

.footer__payments-icons {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.payment-icon {
  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
}

.footer__security {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 16px 0 24px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
}

.security-badge svg {
  width: 16px;
  height: 16px;
  color: #4caf50
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
  transition: transform .2s;
}

.whatsapp-float:hover {
  transform: scale(1.08)
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: #fff
}

/* ---------- MOBILE MENU DRAWER ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.mobile-menu.open {
  display: block
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
}

.mobile-menu__panel {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: min(380px, 85vw);
  background: #fff;
  box-shadow: 4px 0 20px rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
  /* Transform agora controlado puramente via JS */
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 65px;
  padding: 30px 20px;
  border-bottom: 1px solid rgba(26, 26, 26, .05);
  position: relative;
}

.mobile-menu__head img {
  height: 50px !important;
  /* Logo maior em px */
  width: auto;
  justify-content: start;
  margin-left: -10px;
}

.mobile-menu__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.04);
  /* Glass Effect */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  width: 32px;
  /* Menor e minimalista */
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, transform .2s;
}

.mobile-menu__close svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.2;
  /* Traço mais fino */
}

.mobile-menu__close:active {
  transform: scale(0.9);
  background: rgba(0, 0, 0, 0.08);
}

.mobile-menu__body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.mobile-menu__search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px) saturate(1.5);
  -webkit-backdrop-filter: blur(15px) saturate(1.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav__mobile-search {
  position: relative;
}

.mobile-menu__search:focus-within {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.mobile-menu__search-icon {
  width: 18px;
  height: 18px;
  color: #666;
  opacity: 0.7;
}

.mobile-menu__search-input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 17px;
  font-family: inherit;
  color: #1a1a1a;
}

.mobile-menu__search-input::placeholder {
  color: #999;
}

.mobile-menu__body a {
  display: flex;
  align-items: center;
  padding: 16px 0;
  font-size: 17px;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(26, 26, 26, .06);
  transition: padding-left .3s ease, color .3s;
}

.mobile-menu__body a:active {
  padding-left: 10px;
  color: #d7a900;
}

/* Mobile Dropdown */
.mobile-menu__dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 17px;
  color: #1a1a1a;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, .06);
  font-family: inherit;
  transition: color 0.3s;
}

.mobile-menu__dropdown-btn i {
  transition: transform 0.3s ease;
}

.mobile-menu__dropdown.open .mobile-menu__dropdown-btn i {
  transform: rotate(180deg);
}

.mobile-menu__dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
}

.mobile-menu__dropdown.open .mobile-menu__dropdown-content {
  max-height: 500px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
  margin: 8px 0;
}

.mobile-menu__dropdown-content a {
  padding: 12px 16px !important;
  font-size: 15px !important;
  border-bottom: none !important;
}

/* ---------- GLASS NAV — telas médias (search encolhe com o espaço) ---------- */
@media (max-width: 1320px) {
  .glass-nav__links a {
    padding: 0 10px;
    font-size: 1rem;
  }

  .glass-nav__logo {
    margin-right: 18px;
  }
}

@media (max-width: 1180px) {
  .glass-nav__pill {
    gap: 8px;
    padding: 0 16px 0 0;
  }

  .glass-nav__links {
    gap: 6px;
  }

  .glass-nav__links a {
    padding: 0 8px;
    font-size: 0.95rem;
  }

  .glass-nav__search-input {
    font-size: 1rem;
  }
}

/* Hide mobile user blocks on desktop by default */
.glass-nav__user-wrapper--mobile,
.glass-nav__account-btn--mobile {
  display: none !important;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1000px) {
  .glass-nav {
    width: calc(100% - 64px)
  }

  .glass-nav__links,
  .glass-nav__actions,
  .glass-nav__account-btn--desktop,
  .glass-nav__user-wrapper--desktop,
  .glass-nav__mobile-search {
    display: none !important;
  }

  /* Show mobile user block inside pill */
  .glass-nav__user-wrapper--mobile {
    display: flex !important;
    position: relative;
    align-items: center;
    z-index: 10;
    margin-left: auto !important;
    margin-right: 4px !important;
  }

  .glass-nav__account-btn--mobile {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) saturate(1.8) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #3d2115 !important;
    align-items: center;
    justify-content: center;
    font-weight: 400 !important; /* Sem negrito */
    font-size: 0.95rem !important;
    cursor: pointer;
    transition: transform 0.25s, background 0.25s;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    flex-shrink: 0;
  }

  a.glass-nav__account-btn--mobile {
    background: rgba(255, 255, 255, 0.45) !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
    margin-left: auto !important;
    margin-right: 4px !important;
  }

  .glass-nav__account-btn--mobile:hover {
    transform: scale(1.05);
  }

  .glass-nav__account-btn--mobile svg {
    width: 18px !important;
    height: 18px !important;
  }

  .glass-nav__user-card--mobile {
    right: -42px !important; /* Alinhado abaixo do botão de perfil */
    top: 100% !important;
    margin-top: 12px !important;
    width: 250px !important;
    z-index: 99999 !important;
  }

  /* Small Search in Navbar on Mobile */
  .glass-nav__search {
    display: flex !important;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 99px;
    padding: 4px 8px !important;
    margin: 0 8px 0 4px !important;
    width: auto;
    min-width: 0 !important;
    max-width: none;
    height: 34px !important;
    flex: 1 1 auto;
    flex-shrink: 1;
  }

  .glass-nav__search:focus-within {
    min-width: 0 !important;
    box-shadow: 0 0 0 2px rgba(240, 196, 23, 0.2);
  }

  .glass-nav__search svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    flex-shrink: 0;
  }

  .glass-nav__search input {
    font-size: 11px !important;
    padding: 0 4px !important;
    width: 100%;
    min-width: 0;
  }

  .glass-nav__burger {
    display: flex;
    flex-shrink: 0;
    margin-left: 0 !important;
    margin-right: 2px !important; /* Mais próximo do botão de perfil */
  }

  .glass-nav__burger svg {
    width: 27px !important;
    height: 27px !important;
  }

  .glass-nav__logo {
    margin-right: 30px !important;
  }

  .glass-nav__logo img {
    height: 46px !important;
    margin-left: -5px !important;
  }

  .glass-nav__pill {
    height: 54px !important;
    padding: 0 14px 0 8px !important;
    justify-content: space-between;
  }

  .hero {
    height: 100svh !important; /* Estático: não muda quando a barra do navegador sobe/desce */
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    top: 0;
  }

  .hero__slide img {
    object-position: top center !important;
  }

  .hero__overlay {
    padding: 20px 24px 70px 24px !important; /* Aproximadamente 10px acima dos indicadores (30px + folga) */
    justify-content: flex-end !important;
    align-items: flex-start;
  }

  .hero__title {
    font-size: clamp(26px, 9vw, 34px) !important;
    margin-bottom: 8px;
  }

  .hero__dots {
    bottom: 30px; /* Kept at 30px but with 100px padding in overlay it stays clear */
  }

  .hero__btn {
    padding: 8px 20px !important;
    /* Decreased size significantly */
    font-size: 12px !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .promo-grid {
    grid-template-columns: 1fr
  }

  .promo-card {
    height: 280px
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr
  }

  .category-card {
    flex: 0 0 calc(45% - 10px);
    height: auto;
  }

  .category-card__img {
    height: 320px;
  }
}

@media(max-width:700px) {
  .glass-nav {
    width: calc(100% - 30px);
    top: 8px;
  }

  .glass-nav__logo {
    margin-right: 8px !important;
  }

  .glass-nav__logo img {
    height: 50px !important;
  }

  .glass-nav__search {
    margin: 0 4px !important;
    padding: 4px 6px !important;
  }

  .glass-nav__account-btn--mobile {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }

  .glass-nav__account-btn--mobile svg {
    width: 14px !important;
    height: 14px !important;
  }

  .glass-nav__user-card--mobile {
    right: -36px !important;
    width: 240px !important;
  }

  .glass-nav__pill {
    /* Keep these rules from 700px query but ensure height isn't overridden with padding */
    gap: 4px;
  }

  .glass-nav__actions button,
  .glass-nav__actions a {
    width: 34px;
    height: 34px
  }

  .glass-nav__actions svg {
    width: 18px;
    height: 18px
  }

  .glass-nav__burger {
    width: 34px;
    height: 34px;
    margin-right: 0px !important; /* Ainda mais próximo do perfil em telas estreitas */
  }

  .glass-nav__burger svg {
    width: 24px !important;
    height: 24px !important;
  }

  .glass-nav__mobile-search {
    padding: 8px 14px;
    margin-top: 6px
  }

  .container {
    padding: 0 16px
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px
  }

  .product-card {
    min-width: 160px
  }

  .product-card__name {
    font-size: 17px !important;
  }

  .product-card__price {
    font-size: 16px !important;
  }

  .category-card {
    flex: 0 0 75%;
    height: auto;
  }

  .category-card__img {
    height: 150px;
  }

  .category-card__name {
    font-size: 18px !important;
  }

  .section__header {
    margin-bottom: 20px !important;
  }

  .scroll-nav {
    margin-top: 16px !important;
  }

  .promo-card {
    height: 220px
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .hero__subtitle {
    font-size: 14px !important;
    margin-bottom: 20px;
    max-width: 280px;
  }

  /* Removido o padding: 0 20px aqui para respeitar o valor centralizado definido acima */


  .section {
    padding: 40px 0
  }

  .hero {
    margin: 0 !important;
    padding: 0 !important;
  }
}

@font-face {
  font-family: 'Manrope-Medium';
  src: url('../img/Manrope-Medium.ttf') format('truetype');
}

/* ---------- GLOBAL STYLE REVISIONS ---------- */
* {
  font-weight: 400 !important;
}

h1, h2, h3, h4, .btn, .glass-nav__link, .login-card__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 400 !important;
}

.login-card__title {
  font-family: 'Manrope-Medium', sans-serif !important;
}

/* Glass close button with Liquid effect */
.glass-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15); /* Mais transparente */
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #1a1a1a !important;
  text-decoration: none;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05), inset 0 0 0 1px rgba(255,255,255,0.4);
  
  /* Liquid animation base */
  border-radius: 50%;
  animation: liquid-morph 4s ease-in-out infinite;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes liquid-morph {
  0%, 100% { border-radius: 50% 50% 55% 45% / 45% 55% 50% 50%; }
  33% { border-radius: 55% 45% 45% 55% / 50% 50% 55% 45%; }
  66% { border-radius: 45% 55% 50% 50% / 55% 45% 45% 55%; }
}

.glass-close:hover {
  background: #1a1a1a;
  color: #fff !important;
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation-play-state: paused;
  border-radius: 12px; /* Smooth transition to rounded square on hover */
}

/* Container para centralizar logo */
.login-card__logo-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
  pointer-events: none;
}

.reveal-right {
  transform: translateX(60px) !important;
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0) !important;
  pointer-events: all;
}

/* ---------- LOGIN PAGE ---------- */
.login-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at top left, rgba(0,0,0,0.01), transparent),
              radial-gradient(circle at bottom right, rgba(0,0,0,0.01), transparent);
}

.login-card {
  width: 100%;
  max-width: 380px; /* Reduzido de 420px */
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 30px; /* Reduzido de 40px */
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  text-align: center;
}

.login-card__logo {
  max-width: 110px; /* Reduzido de 140px */
  height: auto;
  transition: transform 0.3s ease;
}

.login-card__logo:hover {
  transform: scale(1.05);
}

.login-card__title {
  font-family: 'Manrope-Medium', sans-serif !important;
  font-size: 22px;
  color: #1a1a1a;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  text-align: left; /* Alinhado à esquerda */
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Reduzido de 12px */
}

.login-form__group {
  text-align: left;
}

.login-form__label {
  display: block;
  font-size: 14px; /* Reduzido de 15px */
  font-weight: 600;
  color: #444;
  margin-bottom: 2px;
  margin-left: 2px;
}

.login-form__input {
  width: 100%;
  padding: 12px 18px; /* Reduzido */
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-form__input:focus {
  outline: none;
  border-color: #1a1a1a;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.login-form__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin: 2px 0;
}

.login-form__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #666;
  font-weight: 500;
}

.login-form__forgot {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
}

.login-form__forgot:hover {
  text-decoration: underline;
}

.login-form__footer {
  margin-top: 15px;
  font-size: 13px;
}

.login-form__link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.login-form__link:hover {
  border-bottom-color: #1a1a1a;
}

.login-form__btn {
  width: 100%;
  padding: 15px; /* Reduzido de 18px */
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-form__btn:hover {
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.login-form__btn:active {
  transform: translateY(0);
}

/* ---------- PRODUCT DETAIL PAGE ---------- */
.product-page {
  padding: 80px 0 60px 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.product-media {
  width: 100%;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-main-img-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f6f7;
}

.product-main-img {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background: #f5f6f7;
}

.product-main-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-main-img img.gallery-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-main-img img.gallery-img.active {
  opacity: 1;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.gallery-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: 16px;
}

.gallery-nav.next {
  right: 16px;
}

.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: thin;
}

.product-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.product-thumbnails::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.05);
  border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(26, 26, 26, 0.2);
  border-radius: 3px;
}

.thumb-item {
  flex: 0 0 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f5f6f7;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Mobile: products grid should show all products in 2 columns, no scroll */
@media (max-width: 640px) {
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow-x: visible;
    padding-left: 0;
    padding-right: 0;
  }

  .products-grid .product-card {
    min-width: 0;
    width: auto;
    margin-bottom: 0;
  }

  .products-grid .product-card__img {
    aspect-ratio: 4/5;
    height: auto;
  }

  .product-card__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3rem;
  }

  .product-card__thumbs .product-card__thumb:nth-child(n+4) {
    display: none;
  }
}

.thumb-item.active {
  border-color: #1a1a1a;
}

.thumb-item:hover {
  border-color: rgba(26, 26, 26, 0.3);
}

.product-details {
  padding-top: 20px;
}

@media(max-width:1200px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media(max-width:900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-main-img {
    padding-bottom: 100%;
  }
}

/* Product Details Styles */
.product-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-sku {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

.product-price-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.price-now {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
}

.price-before {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.price-discount {
  background: #dc3545;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.product-installments {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.product-divider {
  height: 1px;
  background: rgba(26, 26, 26, 0.1);
  margin: 20px 0;
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-description-section {
  margin-bottom: 20px;
}

.product-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.product-stock-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-qty-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.qty-label {
  font-weight: 600;
  color: #1a1a1a;
}

.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: #1a1a1a;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
}

.qty-btn:hover:not(:disabled) {
  background: rgba(26, 26, 26, 0.05);
}

.qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#prodQty {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
}

#prodQty:focus {
  outline: none;
}
