.empresa-section {
  display: block;
}

.empresa-mobile {
  display: block;
  padding: 0.5rem 1rem 1rem;
  margin-bottom: 64px;
  overflow: hidden;
}

.empresa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.empresa-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.empresa-vermais {
  font-size: 0.8rem;
  color: #FFB800;
  text-decoration: none;
  font-weight: 600;
}

.empresa-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.empresa-list::-webkit-scrollbar {
  display: none;
}

.empresa-list a,
.empresa-img-btn {
  flex: 0 0 calc((100% - 1rem) / 3);
  scroll-snap-align: start;
  display: flex;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.empresa-vermais {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  color: #FFB800;
  font-weight: 600;
  padding: 0;
}

.empresa-img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  background-color: transparent;
  border-radius: 8px;
}

.loja-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.loja-modal.open { display: flex; }

.loja-modal-content {
  background: #fff;
  width: 100%;
  border-radius: 16px 16px 0 0;
}

.loja-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.loja-modal-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.loja-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
}

.loja-modal-close svg { width: 24px; height: 24px; }

.loja-modal-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.loja-modal-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.loja-modal-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.loja-modal-carousel::-webkit-scrollbar { display: none; }

.loja-modal-track {
  display: flex;
  width: 100%;
}

.loja-modal-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  padding: 0 1.25rem;
}

.loja-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.loja-modal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 0;
  background: #fff;
  flex-shrink: 0;
}

.loja-modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.loja-modal-dot.active {
  background: #FFB800;
  width: 16px;
  border-radius: 4px;
}

/* PC */
.empresa-pc {
  display: none;
}

.empresa-pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.empresa-pc-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.empresa-pc-nav {
  display: flex;
  gap: 8px;
}

.empresa-pc-nav button {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.empresa-pc-nav button:hover:not(.ndis) {
  background: #FFB800;
  border-color: #FFB800;
  color: #fff;
}

.empresa-pc-nav button.ndis {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  background: #f5f5f5 !important;
  border-color: #e0e0e0 !important;
}

.empresa-pc-nav button svg {
  width: 16px;
  height: 16px;
}

.empresa-pc-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 4px;
}

.empresa-pc-grid::-webkit-scrollbar {
  display: none;
}

.empresa-pc-item {
  flex: 0 0 calc((100% - 6rem) / 7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: none;
  border: none;
}

.empresa-pc-item img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

@media screen and (min-width: 1024px) {
  .empresa-pc {
    display: block;
    padding: 0.5rem 0;
  }
}
