/* ===== RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background: #F5F0EB;
  color: #1A1410;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}
:root {
  --gold: #C9A87C;
  --gold-dark: #A8885E;
  --gold-light: #E8D5B8;
  --red: #8B3A2A;
  --dark: #1A1410;
  --card-bg: #FFFFFF;
  --muted: #8A8078;
  --line: #E8E0D8;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --whatsapp: #25D366;
}

/* ===== FUENTES ===== */
h1,
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}
h1 em {
  color: var(--gold-dark);
  font-style: italic;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--dark);
}
.logo .icon {
  font-size: 22px;
}

/* ===== HERO ===== */
.hero {
  padding: 40px 0 30px;
  text-align: center;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 40px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero .hero-sub {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(22px, 4vw, 32px);
  color: var(--gold-light);
  margin-top: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ===== INFO BADGE ===== */
.info-section {
  padding: 10px 0 20px;
}
.info-badge {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card-bg);
  padding: 12px 20px;
  border-radius: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}
.info-badge .info-sep {
  color: var(--gold);
}

@media (min-width: 600px) {
  .info-badge {
    flex-wrap: nowrap;
    font-size: 10px;
    padding: 10px 24px;
    gap: 6px 10px;
  }
}
@media (max-width: 500px) {
  .info-badge {
    flex-wrap: wrap;
    font-size: 9px;
    padding: 10px 14px;
    gap: 4px 8px;
  }
}

/* ===== MENÚ ===== */
.menu-section {
  padding: 10px 0 20px;
}
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr 100px 44px;
  align-items: center;
  padding: 14px 18px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: 0.2s;
  box-shadow: var(--shadow);
  gap: 8px;
}
.menu-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.menu-item .menu-item-info {
  display: flex;
  flex-direction: column;
}
.menu-item .item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.menu-item .item-desc {
  font-size: 13px;
  color: var(--muted);
}
.menu-item .item-price {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-dark);
  text-align: right;
  justify-self: end;
  width: 100%;
}
.btn-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  justify-self: end;
}
.btn-add:hover {
  background: var(--gold-dark);
  transform: scale(1.1);
}
.btn-add:active {
  transform: scale(0.9);
}

/* ===== CARRITO ===== */
.cart-section {
  padding: 10px 0 30px;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 12px;
  border-bottom: 2px solid var(--gold);
}
.cart-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
}
.cart-phone {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-dark);
}
.cart-items {
  padding: 12px 0;
  min-height: 40px;
}
.cart-empty {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  font-style: italic;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr 100px 30px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  gap: 8px;
}
.cart-item .cart-item-name {
  font-weight: 500;
}
.cart-item .cart-item-price {
  font-weight: 600;
  color: var(--gold-dark);
  font-family: 'Dancing Script', cursive;
  font-size: 18px;
  text-align: right;
  justify-self: end;
  width: 100%;
}
.cart-item .cart-item-remove {
  background: none;
  border: none;
  color: #cc5555;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  transition: 0.2s;
  flex-shrink: 0;
  justify-self: end;
}
.cart-item .cart-item-remove:hover {
  transform: scale(1.2);
  color: #aa3333;
}
.cart-total {
  display: grid;
  grid-template-columns: 1fr 100px;
  align-items: center;
  padding: 12px 0 16px;
  border-top: 2px solid var(--line);
  margin-top: 4px;
  gap: 8px;
}
.total-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
}
.total-price {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-dark);
  text-align: right;
  justify-self: end;
  width: 100%;
}

/* ===== BOTONES ===== */
.cart-buttons-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 8px 0 12px;
}

.btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.25s;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold-dark);
  width: 100%;
}
.btn-copy:hover {
  background: var(--gold);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(168, 136, 94, 0.3);
}
.btn-copy .btn-icon {
  font-size: 22px;
}
.btn-copy.copied {
  background: #2d8a4e;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.25s;
  text-transform: uppercase;
  color: #fff;
  background: var(--whatsapp);
  width: 100%;
}
.btn-whatsapp:hover {
  background: #1da85c;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp .btn-icon {
  font-size: 20px;
}

.cart-message {
  margin-top: 12px;
  padding: 16px 18px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.message-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  margin-bottom: 8px;
}
.message-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}
#customMessage {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: #FAF8F6;
  resize: vertical;
  transition: 0.2s;
}
#customMessage:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.15);
}
#customMessage:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== FOOTER ===== */
footer {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
footer p {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .wrap {
    padding: 0 14px;
  }
  .hero {
    min-height: 180px;
    padding: 20px 0;
  }
  .hero-content {
    padding: 20px 24px;
    border-radius: 16px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero .hero-sub {
    font-size: 20px;
  }
  .menu-item {
    grid-template-columns: 1fr 80px 36px;
    padding: 12px 14px;
    gap: 6px;
  }
  .menu-item .item-name {
    font-size: 14px;
  }
  .menu-item .item-price {
    font-size: 17px;
  }
  .btn-add {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }
  .cart-item {
    grid-template-columns: 1fr 80px 28px;
    gap: 6px;
  }
  .cart-item .cart-item-price {
    font-size: 15px;
  }
  .cart-total {
    grid-template-columns: 1fr 80px;
  }
  .btn-whatsapp {
    font-size: 13px;
    padding: 12px;
  }
  .total-price {
    font-size: 22px;
  }
  .cart-phone {
    font-size: 17px;
  }
}