/* =====================================================
   EXTRAS & DRINKS - EL DORADO RESTAURANT
===================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #5a070d;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================
   CONTENEDOR GENERAL
===================================================== */

.extras-page {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 28px 34px 50px;
  background: linear-gradient(
    180deg,
    #4f050a 0%,
    #690b12 48%,
    #741018 100%
  );
}

/* =====================================================
   HEADER
===================================================== */

.extras-header {
  width: 100%;
  padding-bottom: 30px;
}

.extras-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

/* BOTÓN SUPERIOR */

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;
  padding: 8px 14px;

  border: 2px solid #f5c52c;

  color: #ffffff;
  text-decoration: none;

  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.back-button:hover {
  background: #f5c52c;
  color: #4f050a;
  transform: translateY(-2px);
}

/* LOGO */

.extras-logo {
  display: block;
  width: 125px;
  height: auto;
  object-fit: contain;
}

/* =====================================================
   TITULO PRINCIPAL
===================================================== */

.extras-heading {
  text-align: center;
  padding: 0 10px 12px;
}

.extras-eyebrow {
  display: block;
  margin-bottom: 15px;

  color: #f5c52c;

  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 4px;
}

.extras-heading h1 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(3rem, 8vw, 5.3rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 1px;
}

.title-line {
  width: 70px;
  height: 4px;
  margin: 22px auto 16px;

  border-radius: 20px;
  background: #f5c52c;
}

.extras-heading p {
  margin: 0;

  color: #ffffff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
}

/* =====================================================
   SECCIONES
===================================================== */

.extras-section {
  margin-top: 48px;
  border-top: 1px solid rgba(245, 197, 44, 0.65);
}

/* TITULO DE CADA CATEGORIA */

.extras-section-title {
  position: relative;

  width: fit-content;
  margin: -18px auto 16px;
  padding: 7px 20px;

  background: #650b12;

  color: #f5c52c;

  text-align: center;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 3px;
}

/* =====================================================
   PRODUCTOS
===================================================== */

.extras-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  min-height: 88px;
  padding: 20px 6px;

  border-bottom: 1px solid rgba(245, 197, 44, 0.48);
}

.extras-item h3 {
  flex: 1;

  margin: 0;

  color: #ffffff;

  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 800;
}

/* =====================================================
   PRECIOS
===================================================== */

.extras-price {
  flex-shrink: 0;

  min-width: 120px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;

  text-align: right;

  color: #ffffff;

  font-size: 0.78rem;
  font-weight: 700;
}

.extras-price span {
  display: block;
  white-space: nowrap;
}

.extras-price strong {
  color: #f5c52c;

  font-size: 1rem;
  font-weight: 900;
}

/* =====================================================
   BOTON INFERIOR
===================================================== */

.extras-bottom {
  display: flex;
  justify-content: center;
  padding-top: 45px;
}

.back-bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;

  border: 2px solid #f5c52c;

  color: #ffffff;
  text-decoration: none;

  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.8px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.back-bottom:hover {
  background: #f5c52c;
  color: #4f050a;
  transform: translateY(-2px);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 768px) {
  .extras-page {
    padding: 24px 25px 45px;
  }

  .extras-top {
    margin-bottom: 32px;
  }

  .extras-logo {
    width: 115px;
  }

  .extras-heading h1 {
    font-size: 4rem;
  }

  .extras-section {
    margin-top: 44px;
  }
}

/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 520px) {
  body {
    background: #5a070d;
  }

  .extras-page {
    width: 100%;
    padding: 22px 24px 42px;
  }

  /* HEADER */

  .extras-top {
    align-items: center;
    margin-bottom: 38px;
  }

  .back-button {
    min-height: 34px;
    padding: 7px 11px;

    font-size: 0.66rem;
  }

  .extras-logo {
    width: 105px;
  }

  /* TITULO */

  .extras-eyebrow {
    margin-bottom: 15px;

    font-size: 0.68rem;
    letter-spacing: 3.5px;
  }

  .extras-heading h1 {
    font-size: 3.35rem;
    line-height: 0.92;
  }

  .title-line {
    width: 68px;
    height: 4px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .extras-heading p {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  /* SECCIONES */

  .extras-section {
    margin-top: 46px;
  }

  .extras-section-title {
    margin-top: -17px;
    margin-bottom: 12px;

    padding: 7px 13px;

    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  /* PRODUCTOS */

  .extras-item {
    min-height: 92px;

    gap: 15px;

    padding: 19px 5px;
  }

  .extras-item h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  /* PRECIOS */

  .extras-price {
    min-width: 108px;

    gap: 6px;

    font-size: 0.72rem;
  }

  .extras-price strong {
    font-size: 0.94rem;
  }

  /* BOTON ABAJO */

  .extras-bottom {
    padding-top: 38px;
  }

  .back-bottom {
    width: 100%;
    max-width: 290px;

    padding: 11px 14px;

    font-size: 0.74rem;
  }
}

/* =====================================================
   CELULARES MUY PEQUEÑOS
===================================================== */

@media (max-width: 380px) {
  .extras-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .extras-heading h1 {
    font-size: 2.95rem;
  }

  .extras-logo {
    width: 95px;
  }

  .extras-item {
    gap: 10px;
  }

  .extras-item h3 {
    font-size: 0.94rem;
  }

  .extras-price {
    min-width: 102px;

    font-size: 0.68rem;
  }

  .extras-price strong {
    font-size: 0.88rem;
  }

  .extras-section-title {
    font-size: 0.82rem;
    letter-spacing: 1.6px;
  }
}

/* =====================================================
   CART HEADER - SAME STYLE AS DINNER
===================================================== */

.cart-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  padding: 7px 12px;

  background: #ffffff;
  color: #6b0d14;

  border: 2px solid #6b0d14;
  border-radius: 20px;

  font-size: 0.8rem;
  font-weight: 700;

  text-decoration: none;

  flex-shrink: 0;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cart-header-link:hover {
  background: #6b0d14;
  color: #ffffff;

  transform: translateY(-1px);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 21px;
  height: 21px;

  padding: 0 5px;

  background: #6b0d14;
  color: #ffffff;

  border-radius: 50%;

  font-size: 0.72rem;
  font-weight: 800;
}

.cart-header-link:hover .cart-count {
  background: #ffffff;
  color: #6b0d14;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

  .cart-header-link {
    padding: 6px 9px;

    font-size: 0.72rem;

    gap: 4px;
  }

  .cart-count {
    min-width: 19px;
    height: 19px;

    font-size: 0.65rem;
  }

}