/* =========================================================
   MamitaFood - styles.css
   Base CSS rebuilt from provided styles.min.css
   ========================================================= */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@300..900&family=Story+Script&display=swap");

/* =========================================================
   Normalize.css v8.0.1
   ========================================================= */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/* =========================================================
   Root / Base
   ========================================================= */

:root {
  --color-bg: #ffffff;
  --color-text: #1d1d1b;
  --color-text-soft: rgba(0, 0, 0, 0.72);
  --color-text-muted: rgba(0, 0, 0, 0.62);
  --color-white-soft: #f7f7f2;
  --color-primary: #fcbf0e;
  --color-secondary: #eb5219;
  --color-accent: #1ebfc3;
  --color-accent-2: #fda948;
  --color-border: #eeeeee;
  --color-panel: #242421;
  --shadow-soft: 0 6px 14px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 24px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 12px 30px rgba(0, 0, 0, 0.35);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  overflow-y: auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--color-bg);
  color: var(--color-text);
}

a {
  color: inherit;
  font-weight: 600;
  transition: 0.18s all ease-in-out;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: clamp(26px, 3.4vw, 44px);
  color: var(--color-white-soft);
}

h2 {
  font-family: "Story Script", sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px);
  color: var(--color-primary);
}

h3 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

p {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.5;
}

section h2 {
  font-size: clamp(28px, 4.2vw, 54px);
}

::selection {
  background: rgba(252, 191, 14, 0.35);
}

/* =========================================================
   Utilities
   ========================================================= */

.pad-hor {
  padding-inline: 18px;
}

.pad-ver {
  padding-block: 28px;
}

.section {
  width: min(100% - 36px, 1100px);
  margin-inline: auto;
  margin-top: 18px;
}

.is-hidden {
  display: none !important;
}

.muted {
  color: rgba(247, 247, 242, 0.7);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #000;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   Modal
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.modal.show,
.modal.is-open {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(2px);
}

.modal__box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 520px);
  max-height: min(86vh, 760px);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
}

.modal__header {
  position: relative;
}

.modal__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.06);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(29, 29, 27, 0.65);
  color: var(--color-white-soft);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: 0.14s all ease-in-out;
}

.modal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(252, 191, 14, 0.35);
}

.modal__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 191, 14, 0.25);
}

.modal__body {
  padding: 16px;
  overflow: auto;
  max-height: calc(86vh - 180px - 78px);
}

.modal__body h3 {
  margin: 0 0 6px 0;
  font-weight: 900;
  letter-spacing: 0.3px;
  font-size: 18px;
}

.modal__body p {
  margin: 0 0 14px 0;
  color: #555;
}

.modal__section {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal__section h4 {
  margin: 0 0 10px 0;
  color: var(--color-secondary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12px;
}

#modalNotes,
#modalExtras {
  display: grid;
  gap: 10px;
}

.note,
.extra {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.14s all ease-in-out;
}

.note:hover,
.extra:hover {
  border-color: rgba(252, 191, 14, 0.25);
  background: rgba(252, 191, 14, 0.06);
}

.note input,
.extra input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.note {
  grid-template-columns: 18px 1fr;
}

.note span {
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.extra {
  grid-template-columns: 18px 1fr auto;
}

.extra__name {
  font-weight: 800;
  line-height: 1.2;
}

.extra__price {
  font-weight: 900;
  color: var(--color-primary);
  white-space: nowrap;
}

#modalCustomNote {
  width: 100%;
  min-height: 90px;
  padding: 12px;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, 0.258);
  background: rgba(255, 255, 255, 0.03);
  resize: vertical;
  transition: 0.14s all ease-in-out;
}

#modalCustomNote:focus-visible {
  outline: none;
  border-color: rgba(252, 191, 14, 0.35);
  box-shadow: 0 0 0 3px rgba(252, 191, 14, 0.18);
}

.modal__footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.modal__add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #111;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.14s all ease-in-out;
}

.modal__add:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.modal__add:active {
  transform: translateY(0);
  filter: brightness(0.93);
}

.modal__add:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 191, 14, 0.35);
}

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

.qty button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-white-soft);
  cursor: pointer;
  font-size: 20px;
  transition: 0.14s all ease-in-out;
}

.qty button:hover {
  transform: translateY(-1px);
  border-color: rgba(252, 191, 14, 0.25);
}

.qty button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 191, 14, 0.18);
}

#qtyValue {
  min-width: 24px;
  text-align: center;
  font-weight: 900;
}

@media (max-width: 380px) {
  .modal__img {
    height: 150px;
  }

  .modal__body {
    padding: 14px;
  }

  .modal__footer {
    padding: 10px 12px;
  }
}

/* =========================================================
   Products Grid
   ========================================================= */

.products {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
}

.product__media {
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.product__img,
.product__img--placeholder {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.product__body {
  padding: 12px;
  display: grid;
  gap: 8px;
  position: relative;
}

.product__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product__name {
  margin: 0;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0.2px;
  color: var(--color-text);
}

.product__price {
  font-weight: 900;
  color: var(--color-secondary);
  white-space: nowrap;
}

.product__desc {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product__add {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-text);
  border: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.product__add:hover,
.product__add:active {
  transform: scale(1.08);
}

.product__add:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* =========================================================
   Toast
   ========================================================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 99999;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(29, 29, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white-soft);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transition: 0.14s all ease-in-out;
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* =========================================================
   Header / Topbar / Footer
   ========================================================= */

.site-header {
  top: 0;
  z-index: 120;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  --header-h: 72px;
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
}

.site-header__logo img {
  width: clamp(120px, 30vw, 190px);
  height: auto;
  display: block;
}

.site-header__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.site-header__social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  font-size: 16px;
  transition: 0.14s all ease-in-out;
}

.site-header__social a:hover {
  background: rgba(252, 191, 14, 0.25);
  border-color: rgba(252, 191, 14, 0.45);
  transform: translateY(-1px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  transition: box-shadow 0.15s ease;
}

.topbar:has(+ .menu) {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-text);
}

.basket {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
}

.basket:hover {
  transform: translateY(-1px);
  border-color: rgba(252, 191, 14, 0.35);
}

.basket i {
  font-size: 18px;
  color: var(--color-text);
}

.basket__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #111;
  font-weight: 900;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

footer {
  background-color: var(--color-accent-2);
}

footer img {
  width: calc(80px + 5vw);
}

/* =========================================================
   Home / Services / Contact / Presentation
   ========================================================= */

.home-cta {
  background: #fff;
}

.home-cta__inner {
  padding: 32px 18px;
  display: flex;
  justify-content: center;
}

.home-cta .button a {
  display: block;
  max-width: 360px;
  width: 100%;
  text-align: center;
  background: var(--color-primary);
  color: #000 !important;
  border-radius: 18px;
  padding: 22px 18px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: var(--shadow-medium);
  text-decoration: none;
  transition: 0.14s all ease-in-out;
}

.home-cta .button a:hover {
  background: var(--color-secondary);
  color: #000;
  transform: translateY(-2px);
}

.home-cta i {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
  color: #000;
}

.services {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.button a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: var(--color-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 22px 18px;
  min-height: 110px;
  box-shadow: var(--shadow-medium);
  transition: 0.14s all ease-in-out;
}

.button a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.14);
}

.button p {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.6px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #000;
}

.button i {
  color: #000;
  margin-right: 10px;
}

#presentation {
  display: flex;
  gap: 5rem;
  align-items: center;
}

#presentation p {
  text-align: justify;
}

#presentation span {
  font-size: calc(40px + 0.5vw);
}

#services .background_club {
  background: linear-gradient(180deg, rgba(235, 82, 25, 0.18), rgba(252, 191, 14, 0.08));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#services p {
  text-align: left;
}

#services h2 {
  text-align: center;
}

#services .services {
  width: min(100% - 36px, 980px);
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  #services .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#services .button a {
  background: radial-gradient(900px 320px at 50% 0%, rgba(252, 191, 14, 0.2), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(252, 191, 14, 0.25);
  border-radius: 18px;
  box-shadow: var(--shadow-strong);
  padding: 18px 16px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.14s all ease-in-out;
}

#services .button a:hover {
  transform: translateY(-2px);
  border-color: rgba(252, 191, 14, 0.45);
  background: radial-gradient(900px 320px at 50% 0%, rgba(252, 191, 14, 0.28), rgba(255, 255, 255, 0.04));
}

#services .button p {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--color-white-soft);
  font-size: clamp(14px, 1.6vw, 18px);
}

#services .button i {
  color: var(--color-primary);
  margin-right: 10px;
  font-size: 20px;
}

#services .cta-whatsapp {
  border-color: rgba(30, 191, 195, 0.25) !important;
  background: radial-gradient(900px 320px at 50% 0%, rgba(30, 191, 195, 0.18), rgba(255, 255, 255, 0.03)) !important;
}

#services .cta-whatsapp i {
  color: var(--color-accent);
}

#contact {
  display: flex;
  gap: 3rem;
}

#contact .button {
  margin-top: 0;
  flex-direction: column;
  width: fit-content;
}

#contact .button a {
  width: 250px;
  text-align: center;
}

#contact .button a div {
  transition: 0.18s all ease-in-out;
}

/* =========================================================
   Menu / Loading
   ========================================================= */

.menu {
  padding: 16px 0 40px;
  background: #fff;
  color: var(--color-text);
  min-height: 100vh;
}

.section__title {
  margin: 14px 0 12px;
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-text);
  font-size: 18px;
}

.loading {
  padding: 18px;
  background: var(--color-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow-strong);
  color: rgba(247, 247, 242, 0.7);
}

/* =========================================================
   Cart
   ========================================================= */

.cart {
  padding: 18px 18px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.cart h2 {
  margin: 6px 0 14px;
  font-size: 20px;
  font-weight: 900;
  color: #000;
  letter-spacing: 0.4px;
}

.cart h3 {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: #000;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.cart-item__top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.cart-item__name {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: #000;
  line-height: 1.1;
}

.cart-item__subtotal {
  white-space: nowrap;
  font-weight: 900;
  color: #000;
}

.cart-item__extras,
.cart-item__notes {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.25;
}

.cart-item__extras {
  color: rgba(0, 0, 0, 0.72);
}

.cart-item__notes {
  color: rgba(0, 0, 0, 0.62);
}

.cart-item__meta {
  opacity: 0.6;
  font-size: 12px;
  margin-top: 6px;
}

.cart-item__qty {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qty-value {
  min-width: 26px;
  text-align: center;
  font-weight: 900;
  color: #000;
}

.qty-btn,
.remove-btn {
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
  color: #000;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.qty-btn {
  width: 42px;
  font-size: 20px;
  line-height: 1;
}

.remove-btn {
  padding: 0 14px;
  color: rgba(0, 0, 0, 0.75);
}

.qty-btn:active,
.remove-btn:active {
  transform: scale(0.98);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
  font-size: 16px;
  color: #000;
}

#cartTotal {
  font-weight: 900;
}

.cart-form {
  margin-top: 10px;
}

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

.field > span {
  font-size: 13px;
  font-weight: 900;
  color: #000;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #e9e9e9;
  padding: 12px;
  font-size: 14px;
  color: #000;
  background: #fff;
}

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

.radio-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #000;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
}

.time-select {
  margin-top: 8px;
}

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

.btn-confirm {
  width: 100%;
  height: 52px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--color-primary);
  color: #000;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.btn-confirm:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.confirm-msg {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.75);
}

.cart-empty {
  padding: 30px 18px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.cart-empty h2 {
  margin: 0 0 12px 0;
  font-weight: 900;
}

/* =========================================================
   Confirmation Page
   ========================================================= */

.confirm-page {
  background: #fff;
}

.confirm-wrap {
  padding: 18px 18px 60px;
  max-width: 760px;
  margin: 0 auto;
}

.confirm-header {
  padding: 6px 0 10px;
}

.confirm-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #000;
  letter-spacing: 0.3px;
}

.confirm-card {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.confirm-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #f1f1f1;
}

.confirm-row:first-child {
  border-top: none;
  padding-top: 0;
}

.confirm-label {
  font-size: 13px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.7);
}

.confirm-value {
  text-align: right;
  font-weight: 900;
  color: #000;
  max-width: 60%;
  word-break: break-word;
}

.confirm-subtitle {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 900;
  color: #000;
}

.confirm-items {
  display: grid;
  gap: 10px;
}

.confirm-item {
  padding: 10px 0;
  border-top: 1px solid #f1f1f1;
}

.confirm-item:first-child {
  border-top: none;
}

.confirm-item__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.confirm-item__name,
.confirm-item__price {
  font-weight: 900;
  color: #000;
}

.confirm-item__price {
  white-space: nowrap;
}

.confirm-item__meta {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.25;
}

.confirm-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #000;
}

.confirm-total strong {
  font-weight: 900;
}

.confirm-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: rgba(0, 0, 0, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

.confirm-note p {
  margin: 6px 0;
}

.confirm-btn {
  margin-top: 14px;
  width: 100%;
  height: 52px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #000;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

/* =========================================================
   404
   ========================================================= */

#page404 {
  height: 100vh;
}

#page404 section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#page404 section a {
  color: #fff;
  font-weight: 600;
  font-size: calc(20px + 0.5vw);
}

#page404 section img {
  width: 20vw;
}

.home-mode-btn {
  border: 0;
  background: none;
  cursor: pointer;
  width: 100%;
}

.order-mode-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.order-mode-modal.is-active {
  display: block;
}

.order-mode-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

.order-mode-modal__box {
  position: relative;
  z-index: 2;
  width: calc(100% - 32px);
  max-width: 520px;
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-sizing: border-box;
}

.order-mode-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

.order-mode-modal__title {
  margin: 0 0 8px;
  text-align: center;
}

.order-mode-modal__text {
  margin: 0 0 20px;
  text-align: center;
}

.order-mode-modal__actions {
  display: grid;
  gap: 14px;
}

.order-mode-card {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-mode-card:hover {
  border-color: #111;
}

.order-mode-card__icon {
  font-size: 26px;
}

.order-mode-card__title {
  font-weight: 700;
  font-size: 18px;
}

.order-mode-card__desc {
  font-size: 14px;
  line-height: 1.4;
}

.modal-open {
  overflow: hidden;
}

.site-mode-bar {
  background: #111;
  color: #fff;
  padding: 8px 16px;
}

.site-mode-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.site-mode-bar__change {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.cart-mode-label {
  margin-bottom: 12px;
  font-size: 14px;
  opacity: .85;
}

.cart-delivery-intro {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.04);
}

.cart-delivery-intro p {
  margin: 0 0 6px;
}

.cart-delivery-intro p:last-child {
  margin-bottom: 0;
}


body.page-confirmacion .site-mode-bar {
  display: none !important;
}


.time-mode-cards {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.time-card {
  display: block;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-card input {
  display: none;
}

.time-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.time-card__content strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.time-card__content small {
  font-size: 13px;
  line-height: 1.3;
  opacity: 0.75;
}

.time-card.active {
  border-color: #111;
  background: #111;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,.08);
}

.time-card.active .time-card__content small {
  opacity: 0.88;
}

.time-select {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #FCBF0E;
  border: 1px solid #e0a800;
}

.time-select.is-hidden {
  display: none;
}

.time-select label,
.time-select .field {
  display: block;
  width: 100%;
  margin: 0;
}

.time-select .field span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1D1D1B;
}

.time-select select {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #fff;
  color: #111;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.time-select select:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,.12);
}

.no-barrio-msg {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff3cd;
  border: 1px solid #ffe08a;
  font-size: 13px;
  line-height: 1.4;
  color: #1D1D1B;
}

.no-barrio-msg strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.is-hidden {
  display: none !important;
}

.delivery-fee-box {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7cc;
  border: 1px solid #f3d54e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.delivery-fee-box__label {
  font-size: 14px;
  color: #1D1D1B;
}

.delivery-fee-box__value {
  font-size: 16px;
  color: #1D1D1B;
}

.cart-summary {
  margin: 14px 0 18px;
  padding: 14px;
  border-radius: 14px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cart-summary__row:last-child {
  margin-bottom: 0;
}

.cart-summary__row--total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
  font-size: 16px;
}

.mf-confirm-delivery-open{
  margin-top:6px;
  padding:5px 9px;
  border-radius:8px;
  border:1px solid #b42318;
  background:#fff;
  color:#b42318;
  font-weight:700;
  cursor:pointer;
}

.mf-confirm-delivery-form{
  margin-top:8px;
  padding:10px;
  border-radius:10px;
  background:#fff;
  border:1px solid #f3d54e;
}

.mf-confirm-delivery-form label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
}

.mf-confirm-delivery-form input[type="text"],
.mf-confirm-delivery-form input[type="number"],
.mf-confirm-delivery-form textarea{
  width:100%;
  max-width:260px;
}

.mf-save-zone-check{
  font-weight:400 !important;
}

.mf-confirm-delivery-actions{
  display:flex;
  gap:6px;
  margin-top:8px;
}

.mf-confirm-delivery-msg{
  margin-top:6px;
  font-weight:700;
  color:#b42318;
}