* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(circle at top, rgba(255, 247, 232, 0.95), transparent 30%),
    linear-gradient(180deg, #f7f0e5 0%, #efe2cb 100%);
  max-width: 390px;
  margin: auto;
  min-height: 100vh;
  color: #2b1c11;
}

.container {
  padding: 20px;
}

.titulo,
.titulo2 {
  text-align: center;
  font-size: 20px;
  letter-spacing: 1px;
}

.titulo {
  margin-bottom: 20px;
}

.titulo2 {
  margin-bottom: 18px;
}

.grid-categorias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.categoria {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 15px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(67, 41, 17, 0.08);
  transition: 0.2s;
  border: 1px solid rgba(160, 104, 33, 0.08);
  text-decoration: none;
  color: inherit;
}

.categoria:active {
  transform: scale(0.96);
}

.categoria img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.categoria span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.btn-volver,
.boton,
.btn-home {
  display: inline-block;
  padding: 10px 22px;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-volver {
  margin-bottom: 25px;
}

.top-bar .btn-volver,
.top-bar .btn-home {
  margin-bottom: 0;
}

.btn-volver::before,
.boton::before {
  content: "\2190 ";
}

.btn-home::before {
  content: "\2302 ";
}

.btn-volver:hover,
.boton:hover,
.btn-home:hover {
  background: firebrick;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.item {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 10px 20px rgba(67, 41, 17, 0.07);
  text-align: center;
  border: 1px solid rgba(160, 104, 33, 0.08);
}

.item h3 {
  font-size: 16px;
}

.item p {
  font-size: 13px;
  color: gray;
  margin: 5px 0;
}

.item span {
  font-weight: bold;
  color: #ff6600;
}

.item-actions {
  margin-top: 12px;
}

.add-to-cart {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #7a4b14 0%, #c27a23 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.add-to-cart:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.imagen {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

#linea {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

#linea,
#pestanas {
  grid-column: 1 / -1;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

.tab {
  padding: 8px 18px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-size: 14px;
  background: #f1f1f1;
  color: #333;
  transition: all 0.3s ease;
}

.tab:hover {
  background: #00587a;
  color: #fff;
}

.tab.active,
.bebidamenu a.activo {
  background: linear-gradient(135deg, #0f3057, #00587a);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.footer {
  background: #000;
  text-align: center;
  padding: 20px;
}

.redes a {
  color: #fff;
  font-size: 20px;
  margin: 5px;
  text-decoration: none;
}

.redes a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.marca {
  color: rgb(151, 151, 151);
  margin-top: 10px;
  font-size: 10px;
}

.marca a {
  color: rgb(151, 151, 151);
  text-decoration: none;
  font-weight: bold;
}

#logoinstagram,
#logofacebook,
#logotiktok {
  color: #fff;
}

#btnArriba {
  position: fixed;
  bottom: 20px;
  right: calc((100% - 390px) / 2 + 20px);
  z-index: 999;
  background: #ff6600;
  color: #fff;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cart-float {
  position: fixed;
  bottom: 82px;
  right: calc((100% - 390px) / 2 + 20px);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0c6b40 0%, #1ea765 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(11, 71, 43, 0.25);
}

.cart-badge {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.cart-layout {
  padding-bottom: 30px;
}

.cart-summary,
.customer-form,
.cart-footer,
.empty-cart,
.cart-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(67, 41, 17, 0.08);
}

.cart-summary {
  margin-bottom: 18px;
}

.cart-summary p,
.cart-note,
.empty-cart {
  color: #6d5646;
  line-height: 1.5;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-card {
  border: 1px solid rgba(160, 104, 33, 0.08);
  padding: 16px;
}

.cart-card h3 {
  margin-bottom: 6px;
}

.cart-meta {
  font-size: 0.92rem;
  color: #7b624d;
  margin-bottom: 8px;
}

.cart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qty-btn,
.cart-remove,
.cart-clear,
.cart-cta {
  border: 0;
  cursor: pointer;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f1e5d5;
  color: #4a2a12;
  font-weight: 700;
}

.cart-remove {
  background: transparent;
  color: #b24322;
  font-weight: 700;
}

.customer-form {
  margin-top: 18px;
}

.form-title {
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.form-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.form-field span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #5d4332;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid rgba(160, 104, 33, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #2b1c11;
  background: #fffdfa;
}

.form-field textarea {
  resize: vertical;
  min-height: 96px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid rgba(194, 122, 35, 0.22);
  border-color: #c27a23;
}

.form-error {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffe5dd;
  color: #a33d1f;
  font-size: 0.92rem;
  font-weight: 600;
}

.cart-footer {
  margin-top: 18px;
}

.cart-total-line,
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total-line {
  font-size: 0.96rem;
  color: #6d5646;
  margin-bottom: 8px;
}

.cart-total {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.grand-total {
  padding-top: 8px;
  border-top: 1px solid rgba(160, 104, 33, 0.14);
}

.cart-actions {
  display: grid;
  gap: 10px;
}

.cart-cta,
.cart-clear {
  width: 100%;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.cart-cta.whatsapp {
  background: linear-gradient(135deg, #0c6b40 0%, #1ea765 100%);
  color: #fff;
}

.cart-cta.pedidosya {
  background: linear-gradient(135deg, #d43b10 0%, #ff6a00 100%);
  color: #fff;
}

.cart-clear {
  background: #f2e4d6;
  color: #4a2a12;
}

.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.bebidamenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.bebidamenu a {
  background: #111;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

.gtranslate_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  margin-bottom: 13px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: 0.3s;
  transform: scale(1);
}
