* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor-nav: #070707;
  --cor-bg: #d32f2f;
  --cor-titulo: #1a1a1a;
  --cor-bg-2: #fff;
  --cor-accent: #f4b400;
  --cor-cinza: #666;
  --cor-verde: #4caf50;
  --cor-laranja: #ff9800;
  --cor-vermelho: #f44336;
}

body {
  font-family: "Corbel", "Trebuchet MS", Arial, sans-serif;
  background-color: #f5f5f5;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cor-titulo);
}

.main-container {
  max-width: 480px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
}

.content-container {
  padding: 0 20px;
}
.center-fix {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  background-color: var(--cor-nav);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  height: 60px;
  padding: 0;
  background-color: var(--cor-nav);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

nav.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 50px;
  height: 50px;
  margin-right: 6px;
}

.company-name {
  color: var(--cor-bg-2);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gift-icon {
  font-size: 24px;
  color: var(--cor-bg-2);
  cursor: pointer;
  animation: shake 2s infinite;
  transition: transform 0.2s ease;
}

.gift-icon:hover {
  transform: scale(1.1);
}

@keyframes shake {
  0%,
  50%,
  100% {
    transform: translateX(0);
  }
  10%,
  30% {
    transform: translateX(-2px);
  }
  20%,
  40% {
    transform: translateX(2px);
  }
}

/* Hours Status */
.hours-status {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0 10px;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  user-select: none;
}

.hours-status:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.hours-icon {
  font-size: 20px;
  color: var(--cor-bg-2);
}

.hours-text {
  color: var(--cor-bg-2);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.status-open {
  color: var(--cor-verde) !important;
}

.status-closing {
  color: var(--cor-laranja) !important;
}

.status-closed {
  color: var(--cor-vermelho) !important;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.menu-toggle span {
  background-color: var(--cor-bg-2);
  height: 3px;
  width: 100%;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  position: fixed;
  top: 60px;
  width: 100%;
  max-width: 480px;
  background-color: var(--cor-bg-2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
  border-radius: 0 0 8px 8px;
}

.mobile-menu.open {
  max-height: 300px;
}

.mobile-menu ul {
  list-style: none;
  padding: 12px 20px;
}

.mobile-menu ul li {
  padding: 8px 0;
}

.mobile-menu ul li a {
  color: var(--cor-titulo);
  text-decoration: none;
  font-size: 0.9em;
  display: block;
  transition: color 0.2s ease;
}

.mobile-menu ul li:hover a {
  color: var(--cor-bg);
}

/* Hours Modal */
.hours-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hours-modal.open {
  opacity: 1;
}

.hours-modal-content {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  max-width: 320px;
  width: 90%;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.hours-modal.open .hours-modal-content {
  transform: scale(1);
}

.hours-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--cor-cinza);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hours-modal-close:hover {
  color: var(--cor-bg);
}

.hours-modal h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--cor-titulo);
  font-size: 1.2em;
}

.hours-schedule {
  margin-bottom: 15px;
}

.hours-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hours-day:last-child {
  border-bottom: none;
}

.day-name {
  font-weight: 500;
  color: var(--cor-titulo);
}

.day-name.today {
  color: var(--cor-bg);
  font-weight: bold;
}

.day-hours {
  color: var(--cor-cinza);
  font-size: 0.9em;
}

.current-status {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  font-weight: 500;
}

.current-status.open {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--cor-verde);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.current-status.closing {
  background-color: rgba(255, 152, 0, 0.1);
  color: var(--cor-laranja);
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.current-status.closed {
  background-color: rgba(244, 67, 54, 0.1);
  color: var(--cor-vermelho);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Slideshow */
.slide-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.slides {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 33.3333%;
  position: relative;
}
.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 6px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 2; /* fica acima da imagem */
}
.slides img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.slide-text {
  position: absolute;
  bottom: 40px;
  left: 20px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  z-index: 4;
}

.slide-text h3 {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.slide-text p {
  font-size: 0.85em;
}

.slide-indicators {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
  gap: 6px;
  z-index: 100;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--cor-accent);
  transform: scale(1.2);
  box-shadow: 0 0 6px var(--cor-accent);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 65px;
  right: 30px;
  background-color: #25d366;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.2s ease;
}

.whatsapp-btn i {
  font-size: 24px;
  color: #fff;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* Call to Action */
.cta-section {
  display: flex;
  gap: 10px;
  padding: 15px 0;
  margin-bottom: 15px;
}

.cta-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--cor-bg);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button i {
  font-size: 1.2em;
}

.cta-button:hover {
  background-color: #b71c1c;
  transform: scale(1.03);
}

/* Products */
.products {
  background-color: var(--cor-bg-2);
  border-radius: 10px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.products h2 {
  font-size: 1.3em;
  color: var(--cor-titulo);
  margin-bottom: 12px;
  text-align: center;
  padding-top: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  padding: 0 15px 15px 15px;
}

.product-item {
  background-color: #fafafa;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-item img {
  width: 100%;
  height: 140px;
  max-width: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.product-item h3 {
  font-size: 0.95em;
  color: var(--cor-titulo);
  margin-bottom: 5px;
}

.product-item p {
  font-size: 0.8em;
  color: var(--cor-cinza);
  margin-bottom: 8px;
}

.product-item .price {
  font-size: 0.9em;
  color: var(--cor-bg);
  font-weight: bold;
  margin-bottom: 8px;
}

.product-item button {
  background-color: var(--cor-accent);
  color: var(--cor-titulo);
  padding: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85em;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.product-item button:hover {
  background-color: #e0a800;
  transform: scale(1.03);
}

.view-menu {
  display: block;
  text-align: center;
  margin: 15px;
  background-color: var(--cor-bg);
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.view-menu:hover {
  background-color: #b71c1c;
}

/* Info Section */
.info-container {
  background-color: var(--cor-bg-2);
  border-radius: 10px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards 0.2s;
  padding: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.info-item i {
  font-size: 20px;
  color: var(--cor-bg);
}

.info-item p {
  font-size: 0.85em;
}

/* Gallery */
.gallery {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards 0.4s;
  padding-bottom: 20px;
}

.gallery h2 {
  font-size: 1.3em;
  margin-bottom: 12px;
}

.gallery-container {
  position: relative;
  overflow: hidden;
}

.gallery-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery-item {
  flex: 0 0 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.gallery-nav button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 1.2em;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Footer */
footer {
  background-color: var(--cor-bg-2);
  padding: 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.footer-section {
  flex: 1 1 100%;
}

.footer-section h3 {
  font-size: 1.1em;
  color: var(--cor-titulo);
  margin-bottom: 8px;
}

.footer-section p,
.footer-section a {
  font-size: 0.85em;
  color: var(--cor-titulo);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--cor-accent);
}

.social-media {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.social-icon.instagram {
  color: var(--cor-bg-2);
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.social-icon.facebook {
  color: var(--cor-bg-2);
  background-color: #1877f2;
}

.social-icon.whatsapp {
  color: var(--cor-bg-2);
  background-color: #25d366;
}
.social-icon.instagram:hover {
  color: var(--cor-bg-2);
}
.social-icon.facebook:hover {
  color: var(--cor-bg-2);
}

.social-icon.whatsapp:hover {
  color: var(--cor-bg-2);
}
.social-icon:hover {
  transform: scale(1.15);
}

.map-container {
  margin-top: 15px;
}

.map-container img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
}

.app-version {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  color: var(--cor-cinza);
  font-size: 0.8em;
}
.app-version p {
  font-size: 0.85em;
  color: var(--cor-titulo);
  text-decoration: none;
}
.app-version p a {
  font-size: 11px;
  color: #6c5ce7;
  text-decoration: none;
  transition: color 0.3s ease;
}
.app-version p a:hover {
  color: #533dff;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
}

.modal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modal .close:hover {
  transform: scale(1.2);
}

/* Gift Popup */
.gift-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gift-popup.open {
  opacity: 1;
}

.gift-popup-content {
  background-color: #fff;
  border-radius: 15px;
  padding: 4px 4px 15px;
  max-width: 300px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.gift-popup-content p {
  margin-bottom: 10px;
}
.gift-popup.open .gift-popup-content {
  transform: scale(1);
}

.gift-popup img {
  width: 100%;
  height: 200px;
  max-width: 300px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.gift-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--cor-cinza);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.gift-popup-close:hover {
  color: var(--cor-bg);
}

.gift-popup button {
  background-color: var(--cor-bg);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.gift-popup button:hover {
  background-color: #b71c1c;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--cor-nav);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  transition: opacity 0.8s ease;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--cor-bg);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.logo {
  width: 90px;
  margin-bottom: 15px;
  opacity: 0;
  animation: scaleIn 1.5s forwards;
}

@keyframes scaleIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .main-container {
    max-width: 100%;
  }

  .nav-actions {
    gap: 8px;
  }

  .hours-text {
    font-size: 10px;
  }

  .hours-status {
    padding: 0 10px;
  }
}
