import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@300;400;500&display=swap');

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


.restaurant-body {
  margin: 0;
  min-height: 100vh;
  background-color: #FAF7F2;
  font-family: 'Inter', sans-serif;
}

.restaurant-header {
  background-color: #F5F0E8;
  border-bottom: 1px solid #E8D8C4;
}

.content-wrapper {
  background-color: #FAF7F2;
}


.top-bar {
  padding: 14px 32px !important;
}


.logo-restaurante {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #6B1E1E;
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 11px;
  color: #A0856B;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}


.link-nav {
  font-size: 12px;
  font-weight: 500;
  color: #4A2020;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.link-nav:hover {
  background: rgba(107, 30, 30, 0.08);
  text-decoration: none;
  color: #6B1E1E;
}

.link-nav.active {
  color: #6B1E1E;
  border-bottom: 2px solid #6B1E1E;
  border-radius: 0;
}


.btn-login {
  background: transparent;
  color: #6B1E1E;
  border: 1.5px solid #6B1E1E;
  border-radius: 4px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}

.btn-login:hover {
  background: #6B1E1E;
  color: #F5F0E8;
  text-decoration: none;
}


.btn-cart {
  background: #6B1E1E;
  color: #F5F0E8;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-cart:hover {
  background: #8B2E2E;
  color: #F5F0E8;
  text-decoration: none;
}


.search-box {
  background: #F5F0E8;
  border: 1px solid #D4C0A8;
  border-radius: 4px;
  padding: 8px 16px;
  gap: 10px;
  margin-bottom: 8px;
}

.search-icon {
  color: #B09880;
  font-size: 15px;
  margin-right: 0.5rem;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  color: #4A2020;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  width: 100%;
}

.search-input::placeholder {
  color: #B09880;
}


.menu-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #6B1E1E;
  border-radius: 2px;
}


.hero-section {
  background: #6B1E1E;
  padding: 60px 32px;
  text-align: center;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #F5F0E8;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-subtitle {
  color: rgba(245, 240, 232, 0.75);
  font-size: 15px;
  margin-bottom: 28px;
}

.hero-btn {
  display: inline-block;
  background: #F5F0E8;
  color: #6B1E1E;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}

.hero-btn:hover {
  background: #fff;
  color: #6B1E1E;
  text-decoration: none;
}


.menu-section {
  padding: 2rem 0 3rem 0;
}

.menu-title-page {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #6B1E1E;
  margin-bottom: 1.5rem;
}


.menu-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 0.5px solid #E8D8C4;
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  border-color: #6B1E1E;
  transform: scale(1.02);
  transition: 0.2s;
  cursor: pointer;
}

.menu-card-image img {
  width: 100%;
  display: block;
  height: 180px;
  object-fit: cover;
}

.menu-card-info {
  padding: 12px;
  text-align: center;
}

.menu-card-name {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 6px;
  color: #3A1A1A;
  font-family: 'Inter', sans-serif;
}

.menu-card-price {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #6B1E1E;
  font-family: 'Inter', sans-serif;
}

.menu-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}


.product-detail-section {
  padding: 2.5rem 0 3rem;
  background-color: #FAF7F2;
}

.back-link {
  color: #6B1E1E;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.back-link:hover {
  text-decoration: underline;
}

.product-detail-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  border: 0.5px solid #E8D8C4;
}

.product-detail-image {
  background-color: #FAF7F2;
  border-radius: 10px;
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.product-detail-info {
  color: #3A1A1A;
  font-family: 'Inter', sans-serif;
}

.product-detail-category {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background-color: #F5E8E8;
  color: #6B1E1E;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.product-detail-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #6B1E1E;
}

.product-detail-description {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #666;
}

.product-detail-price-row {
  margin-top: 1.2rem;
}

.product-detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #6B1E1E;
}

.quantity-input {
  width: 80px;
  border-radius: 6px;
  border: 1px solid #D4C0A8;
  padding: 0.2rem 0.6rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
}


.btn-add-cart {
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.6rem;
  background-color: #6B1E1E;
  color: #F5F0E8;
  font-weight: 500;
  font-size: 0.98rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-add-cart:hover {
  background-color: #8B2E2E;
}

.btn-secondary-ghost {
  border-radius: 6px;
  padding: 0.5rem 1.4rem;
  border: 1.5px solid #6B1E1E;
  background-color: transparent;
  color: #6B1E1E;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.btn-secondary-ghost:hover {
  background-color: #F5E8E8;
}

.product-detail-extra {
  font-size: 0.9rem;
  color: #888;
}


.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  font-family: 'Inter', sans-serif;
  color: #A0856B;
  font-size: 13px;
}

@media (max-width: 767.98px) {
  .product-detail-card { padding: 1.3rem 1rem; }
  .product-detail-name { font-size: 1.6rem; }
  .product-detail-price { font-size: 1.4rem; }
  .top-bar { padding: 12px 16px !important; }
  .hero-title { font-size: 28px; }
}


.btn-primary {
    background-color: #6B4F3B;
    border-color: #6B4F3B;
}

    .btn-primary:hover {
        background-color: #8A6A53;
        border-color: #8A6A53;
    }

.btn-primary2 {
    background-color: #4A2020;
    color:aliceblue
}