/* SEÇÃO DE PRODUTOS DESTAQUES & FILTROS */
/* ============================================= */

.featured-products {
  background: var(--cream);
  padding: 88px 0;
}

.shop-hero {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(17, 17, 17, 0.74)),
    radial-gradient(circle at 78% 24%, var(--primary-rgba-18), transparent 34%),
    var(--black);
  padding: 132px 0 42px;
  border-bottom: 1px solid var(--border);
}

.shop-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.shop-hero-copy {
  max-width: 720px;
}

.shop-hero-copy h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  margin: 10px 0 14px;
  font-weight: 900;
}

.shop-hero-copy p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 650px;
  line-height: 1.7;
  font-size: 15px;
}

.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.featured-products-shop {
  padding-top: 54px;
  background: linear-gradient(180deg, var(--cream), #fff);
}

.featured-products-shop .product-explorer {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}

.product-explorer {
  margin-bottom: 36px;
}

.product-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-tab {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.filter-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.product-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  max-width: 860px;
  margin: 0 auto;
}

.product-sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 8px 6px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-sort-control select {
  border: none;
  outline: none;
  background: rgba(201, 148, 34, 0.08);
  color: #111;
  border-radius: 999px;
  padding: 11px 36px 11px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.product-results-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 28px;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 700;
}

.product-reset-filters {
  display: none;
  border: none;
  background: transparent;
  color: var(--gold-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  padding: 4px 0;
}

.product-reset-filters.visible {
  display: inline-flex;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  transition: opacity 0.35s ease;
}

.product-item-col {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item-col.hide-product {
  display: none !important;
}

.product-item-col.fade-in-product {
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.product-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 50px 20px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  transition: all var(--transition);
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 148, 34, 0), rgba(201, 148, 34, 0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 148, 34, 0.35);
  box-shadow: var(--shadow);
}

.product-card:hover::before {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(201, 148, 34, 0.08);
  border: 1px solid rgba(201, 148, 34, 0.25);
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-stock {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.product-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 148, 34, 0.08), rgba(232, 189, 85, 0.02));
  border: 1px solid rgba(201, 148, 34, 0.15);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.45s ease;
  position: relative;
  z-index: 2;
}

.product-icon svg {
  width: 32px;
  height: 32px;
}

.product-card:hover .product-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 10px 20px rgba(201, 148, 34, 0.25);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 900;
  color: #111;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.product-meta-row span {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 850;
  padding: 5px 9px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-price {
  font-size: 18px;
  font-weight: 900;
  color: #111;
}

.product-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.price-label {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.product-footer .btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 10px;
  letter-spacing: 0.5px;
  border-radius: 6px;
}

.btn-card-whatsapp {
  width: 38px;
  min-width: 38px;
  padding: 0 !important;
  color: var(--whatsapp);
  border-color: rgba(37, 211, 102, 0.36);
  background: rgba(37, 211, 102, 0.08);
}

.btn-card-whatsapp:hover {
  color: #fff;
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.24);
}

.product-empty-state {
  margin: 26px auto 0;
  max-width: 460px;
  text-align: center;
  border: 1px dashed rgba(201, 148, 34, 0.35);
  border-radius: 16px;
  padding: 24px 20px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.55);
}

.product-empty-state strong,
.product-empty-state span {
  display: block;
}

.product-empty-state strong {
  color: #111;
  font-size: 15px;
  margin-bottom: 6px;
}

/* ============================================= */
/* CATEGORIES */
/* ============================================= */

.categories {
  background: var(--cream-2);
  padding: 88px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-bottom: 48px;
  text-align: center;
}

.section-title h2 {
  color: #111;
  font-size: 26px;
  letter-spacing: 3px;
  font-weight: 900;
}

.section-title span {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-title span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  perspective: 1200px;
}

.category-card {
  min-height: 230px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f4f1ea);
  text-align: center;
  padding: 32px 18px 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  color: inherit;
  cursor: pointer;
  display: block;
  font-family: inherit;
  text-decoration: none;
  width: 100%;
}

button.category-card {
  appearance: none;
  border-color: var(--border);
}

.category-card:focus-visible,
.product-card:focus-visible {
  outline: 3px solid rgba(201, 148, 34, 0.35);
  outline-offset: 4px;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 148, 34, 0), rgba(201, 148, 34, 0.06));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 148, 34, 0.40);
  box-shadow: var(--shadow);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(201, 148, 34, 0.12), rgba(232, 189, 85, 0.04));
  border: 1px solid rgba(201, 148, 34, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  transition: all 0.45s ease;
  position: relative;
  z-index: 2;
}

.category-card:hover .category-icon {
  transform: scale(1.10) rotate(-6deg);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 12px 25px rgba(201, 148, 34, 0.35);
}

.category-icon svg {
  width: 40px;
  height: 40px;
}

.category-card h3 {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.category-card p {
  color: #222;
  line-height: 1.55;
  font-size: 13px;
  position: relative;
  z-index: 2;
}

.locations-box h2 {
  color: var(--gold-light);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.2;
}

.line {
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 18px 0 25px;
  border-radius: 2px;
}

/* ============================================= */
/* ONDE ENCONTRAR */
/* ============================================= */

.locations-box {
  min-height: auto;
  padding: 52px 40px;
  background: linear-gradient(180deg, #fff, #f7f4ec);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.store-layout-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
}

.store-map-side {
  width: 100%;
}

.store-info-side {
  width: 100%;
}

.main-store-card {
  text-align: left;
}

.main-store-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-store-header h3 {
  font-size: 20px;
  color: var(--text);
  font-weight: 800;
  margin-top: 8px;
}

/* Responsividade do mapa */
@media (max-width: 820px) {
  .store-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  #map-leaflet {
    height: 240px !important;
  }
}

.locations-box h2 {
  color: #111;
}

.locations-box p {
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 28px;
  font-size: 15px;
}

.locations-section {
  padding: 100px 0;
  background: #070707;
}

/* ============================================= */
