:root {
  --burgundy: #5c0a0a;
  --burgundy-deep: #3d0506;
  --burgundy-soft: #7a1114;
  --gold: #d4af37;
  --gold-light: #f1dc8c;
  --cream: #f5f5dc;
  --cream-light: #fffdf3;
  --cream-deep: #eee6c6;
  --ink: #2b1714;
  --muted: #735f58;
  --line: rgba(92, 10, 10, 0.15);
  --gold-line: rgba(212, 175, 55, 0.5);
  --surface: rgba(255, 253, 243, 0.9);
  --shadow-sm: 0 10px 30px rgba(60, 20, 13, 0.08);
  --shadow-md: 0 22px 64px rgba(60, 20, 13, 0.13);
  --shadow-lg: 0 36px 100px rgba(50, 6, 8, 0.2);
  --header: 88px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 88% -4%,
      rgba(212, 175, 55, 0.2),
      transparent 32rem
    ),
    radial-gradient(
      circle at -8% 26%,
      rgba(92, 10, 10, 0.07),
      transparent 28rem
    ),
    linear-gradient(180deg, var(--cream-light), var(--cream) 58%, #f8f2dd);
  font-family:
    Inter,
    Avenir,
    "Avenir Next",
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

body.lock {
  overflow: hidden;
  touch-action: none;
}

.srOnly {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skipLink {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  border-radius: 12px;
  color: var(--cream-light);
  background: var(--burgundy);
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}

.skipLink:focus {
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.top {
  position: sticky;
  z-index: 40;
  top: 0;
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.42);
  background: linear-gradient(
    115deg,
    rgba(61, 5, 6, 0.98),
    rgba(92, 10, 10, 0.97) 58%,
    rgba(112, 14, 17, 0.97)
  );
  box-shadow: 0 12px 36px rgba(61, 5, 6, 0.22);
  -webkit-backdrop-filter: saturate(120%) blur(20px);
  backdrop-filter: saturate(120%) blur(20px);
}

.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.brandHorizontal {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 14px;
}

.brandHorizontal .brandIcon {
  width: 64px;
  height: 60px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brandHorizontal .brandWordmark {
  width: auto;
  height: 52px;
  max-width: min(420px, 46vw);
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}

.navlinks {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 800;
}

.navlinks a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.navlinks a:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: clamp(38px, 6vw, 78px) 0 clamp(34px, 5vw, 64px);
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.eyebrow,
.tag,
.status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--burgundy);
  background: rgba(255, 253, 243, 0.74);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.h1,
.sectionHead h2,
.box h2,
.box h3,
.card h3,
.modalInfo h3,
.heroBadge h2,
.catalogEmpty h3,
.catalogStatus strong {
  font-family:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
    serif;
  text-wrap: balance;
}

.h1 {
  max-width: 680px;
  margin: 18px 0;
  color: var(--burgundy);
  font-size: clamp(54px, 7.5vw, 98px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 630px;
  margin: 0;
  color: #513a34;
  font-family:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
    serif;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.25;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
.socialBtn,
.changeCategory {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--burgundy);
  background: rgba(255, 253, 243, 0.86);
  box-shadow: var(--shadow-sm);
  font-weight: 850;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover,
.socialBtn:hover,
.changeCategory:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  background: var(--cream-light);
  box-shadow: 0 16px 38px rgba(60, 20, 13, 0.12);
}

.btn:active,
.socialBtn:active,
.changeCategory:active {
  transform: scale(0.98);
}

.btn.primary,
.btn.dark,
.socialBtn.darkSocial {
  color: var(--cream-light);
  border-color: rgba(212, 175, 55, 0.62);
  background: linear-gradient(
    135deg,
    var(--burgundy-deep),
    var(--burgundy) 65%,
    var(--burgundy-soft)
  );
  box-shadow: 0 18px 46px rgba(92, 10, 10, 0.26);
}

.btn.full {
  width: 100%;
}

.heroCard {
  position: relative;
  min-width: 0;
  height: clamp(520px, 54vw, 680px);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: clamp(28px, 3.5vw, 44px);
  background: linear-gradient(150deg, #f1e7cc, #fff8e8);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.heroSlide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 0.7s ease,
    transform 0.9s ease;
}

.heroSlide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.heroSlide img {
  width: 100%;
  height: 100%;
  padding: clamp(10px, 1.7vw, 22px);
  object-fit: contain;
  object-position: center;
}

.heroSlide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.heroCard::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 48%,
    rgba(37, 7, 8, 0.08) 65%,
    rgba(37, 7, 8, 0.88) 100%
  );
}

.heroBadge {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  left: clamp(18px, 3vw, 32px);
  color: #fff;
}

.heroBadge h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 47px);
  font-weight: 500;
  line-height: 1;
}

.heroBadge p {
  max-width: 520px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.dots {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(92, 10, 10, 0.46);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition:
    width 0.22s ease,
    background 0.22s ease;
}

.dot.active {
  width: 28px;
  background: var(--gold-light);
}

section {
  padding: clamp(38px, 5.5vw, 72px) 0;
}

.sectionHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.sectionHead p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}

.catalogPicker,
.box {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.catalogPicker {
  padding: clamp(14px, 2.2vw, 22px);
}

.pickerLabel {
  padding: 0 4px 14px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.chip {
  min-width: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(92, 10, 10, 0.12);
  border-radius: 16px;
  color: #4d302a;
  background: linear-gradient(180deg, #fffef8, #f9f3df);
  box-shadow: 0 7px 20px rgba(66, 23, 14, 0.06);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.2;
  text-align: left;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.chip span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.chip small {
  min-width: 28px;
  height: 28px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--burgundy);
  background: rgba(92, 10, 10, 0.08);
  font-size: 11px;
  font-weight: 900;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: var(--gold-line);
  box-shadow: 0 12px 28px rgba(66, 23, 14, 0.1);
}

.chip.active {
  color: var(--cream-light);
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--burgundy-deep), var(--burgundy));
  box-shadow: 0 14px 32px rgba(92, 10, 10, 0.2);
}

.chip.active small {
  color: var(--burgundy-deep);
  background: var(--gold-light);
}

.chip.pressed,
.chip:active {
  transform: scale(0.98);
}

.catalogStatus {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 243, 0.93);
  box-shadow: var(--shadow-sm);
}

.catalogStatus.show {
  display: flex;
}

.catalogStatus strong {
  color: var(--burgundy);
  font-size: 22px;
  font-weight: 600;
}

.catalogStatus span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.changeCategory {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  scroll-margin-top: calc(var(--header) + 18px);
}

.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  color: var(--ink);
  background: rgba(255, 253, 243, 0.88);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 470px;
  transition:
    transform 0.19s ease,
    box-shadow 0.19s ease,
    border-color 0.19s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-md);
}

.cardMain {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.thumb,
.modalImg {
  border: 1px solid rgba(92, 10, 10, 0.08);
  background-color: #f3ead0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}

.thumb img,
.modalImg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.thumb img {
  border-radius: inherit;
}

.card h3 {
  margin: 0;
  color: var(--burgundy);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.06;
}

.card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.price {
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 900;
}

.add {
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 13px;
  color: var(--cream-light);
  background: var(--burgundy);
  font-weight: 850;
}

.catalogEmpty {
  min-height: 270px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  padding: 36px 20px;
  border: 1px dashed rgba(92, 10, 10, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(212, 175, 55, 0.15), transparent 50%),
    rgba(255, 253, 243, 0.58);
  text-align: center;
}

.catalogEmptyIcon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  background: var(--burgundy);
  font-size: 26px;
}

.catalogEmpty h3 {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-size: 31px;
  font-weight: 600;
}

.catalogEmpty p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
}

.order {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 20px;
}

.box {
  min-width: 0;
  padding: clamp(18px, 2.8vw, 28px);
}

.box h2,
.box h3 {
  margin: 0 0 18px;
  color: var(--burgundy);
  font-size: clamp(31px, 3.5vw, 41px);
  font-weight: 600;
  line-height: 1;
}

.cartList {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cartItem {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.cartItem small,
.help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.lineBtns,
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.lineBtns button,
.qty button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--burgundy);
  background: var(--cream);
  font-weight: 900;
}

.qty {
  margin-top: 0;
}

.qty button {
  width: 44px;
  height: 44px;
}

.qty span {
  min-width: 36px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.miniRow,
.totalRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.miniRow {
  margin: 9px 0;
  color: var(--muted);
  font-weight: 750;
}

.totalRow {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid rgba(212, 175, 55, 0.28);
  color: var(--burgundy);
  font-size: 22px;
  font-weight: 900;
}

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

.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.full {
  grid-column: 1 / -1;
}

label,
.fieldLabel {
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fieldError {
  display: none;
  color: #8f0016;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.fieldError.show {
  display: block;
}

.whatsappFallback {
  margin-top: 10px;
}

[hidden] {
  display: none !important;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 254, 247, 0.94);
  -webkit-appearance: none;
  appearance: none;
}

select {
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--burgundy) 50%),
    linear-gradient(135deg, var(--burgundy) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size:
    5px 5px,
    5px 5px;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.17);
}

.error {
  border-color: #a00018 !important;
  box-shadow: 0 0 0 4px rgba(160, 0, 24, 0.1) !important;
}

.methodTabs,
.modalActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.method,
.optionalToggle {
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--burgundy);
  background: var(--cream-light);
  font-weight: 850;
}

.method.active {
  color: var(--cream-light);
  border-color: var(--gold-line);
  background: var(--burgundy);
}

.optionalToggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.noteBox {
  padding: 14px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 18px;
  background: rgba(245, 245, 220, 0.7);
}

.hidden {
  display: none !important;
}

#ubicacion .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#ubicacion .box > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
}

.socialBtn {
  min-width: 154px;
  border-radius: 999px;
  white-space: nowrap;
}

.socialIcon,
.socialIcon svg {
  width: 20px;
  height: 20px;
}

.socialIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(14px, env(safe-area-inset-top, 0px))
    max(14px, env(safe-area-inset-right, 0px))
    max(14px, env(safe-area-inset-bottom, 0px))
    max(14px, env(safe-area-inset-left, 0px));
  overflow: hidden;
  background: rgba(38, 5, 6, 0.68);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overscroll-behavior: contain;
}

.modal.show {
  display: flex;
}

.modalCard {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border: 1px solid var(--gold-line);
  border-radius: 34px;
  background: var(--cream-light);
  box-shadow: 0 44px 120px rgba(24, 2, 3, 0.38);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--burgundy);
  background: rgba(255, 253, 243, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 25px;
}

.modalGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
}

.modalImg {
  min-height: 560px;
  border-radius: 34px 0 0 34px;
  overflow: hidden;
}

.modalImg.noImage img {
  display: none;
}

.modalInfo {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
}

.modalInfo h3 {
  margin: 0;
  color: var(--burgundy);
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 0.98;
}

.modalPrice {
  color: var(--burgundy);
  font-size: 27px;
  font-weight: 900;
}

.miniCart {
  position: fixed;
  z-index: 50;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(18px + var(--safe-bottom));
  display: none;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  color: var(--cream-light);
  background: var(--burgundy);
  box-shadow: 0 20px 52px rgba(92, 10, 10, 0.28);
  font-weight: 850;
}

.miniCart b {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-left: 6px;
  border-radius: 50%;
  color: var(--burgundy);
  background: var(--gold-light);
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(20px + var(--safe-bottom));
  width: max-content;
  max-width: calc(100% - 30px);
  padding: 12px 17px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--cream-light);
  background: var(--burgundy);
  box-shadow: 0 20px 52px rgba(92, 10, 10, 0.27);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

footer {
  padding: 38px 0 calc(92px + var(--safe-bottom));
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.72);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  :root {
    --header: 80px;
  }

  .heroGrid {
    grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
    gap: 32px;
  }

  .tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .heroGrid,
  .order,
  .modalGrid {
    grid-template-columns: 1fr;
  }

  .heroCard {
    width: min(100%, 680px);
    height: clamp(520px, 110vw, 700px);
    margin-inline: auto;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modalCard {
    width: min(680px, 100%);
  }

  .modalImg {
    min-height: clamp(360px, 72vw, 540px);
    border-radius: 34px 34px 0 0;
  }

  #ubicacion .box {
    display: block;
  }

  #ubicacion .box > div:last-child {
    margin-top: 18px;
  }
}

@media (max-width: 680px) {
  :root {
    --header: 72px;
  }

  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .brandHorizontal {
    gap: 9px;
  }

  .brandHorizontal .brandIcon {
    width: 48px;
    height: 48px;
  }

  .brandHorizontal .brandWordmark {
    width: auto;
    height: 38px;
    max-width: min(290px, calc(100vw - 84px));
  }

  .navlinks {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .h1 {
    font-size: clamp(49px, 15vw, 72px);
  }

  .lead {
    font-size: clamp(20px, 6vw, 25px);
  }

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

  .heroActions .btn {
    width: 100%;
    padding-inline: 12px;
  }

  .heroCard {
    height: clamp(430px, 122vw, 640px);
    border-radius: 28px;
  }

  .heroSlide img {
    padding: 8px;
  }

  .heroBadge {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .heroBadge h2 {
    font-size: clamp(29px, 9vw, 39px);
  }

  section {
    padding: 42px 0;
  }

  .catalogPicker,
  .box {
    border-radius: 24px;
  }

  .catalogPicker {
    padding: 12px;
  }

  .tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .chip {
    min-height: 58px;
    padding: 10px;
    border-radius: 14px;
    font-size: 11px;
  }

  .chip small {
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    font-size: 10px;
  }

  .catalogStatus {
    position: sticky;
    z-index: 15;
    top: calc(var(--header) + 8px);
    padding: 11px 12px;
    border-radius: 17px;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .catalogStatus strong {
    font-size: 18px;
  }

  .catalogStatus span {
    display: none;
  }

  .changeCategory {
    min-height: 38px;
    font-size: 11px;
  }

  .grid {
    gap: 12px;
  }

  .card {
    padding: 9px;
    border-radius: 21px;
    gap: 10px;
  }

  .thumb {
    border-radius: 16px;
  }

  .card h3 {
    font-size: 21px;
  }

  .card p {
    font-size: 12px;
  }

  .meta {
    align-items: stretch;
    flex-direction: column;
  }

  .add {
    width: 100%;
  }

  .box {
    padding: 17px;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: 1;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .modal {
    padding: 8px;
  }

  .modalCard {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 25px;
  }

  .modalImg {
    min-height: min(72vw, 390px);
    border-radius: 25px 25px 0 0;
  }

  .modalInfo {
    padding: 20px;
  }

  .miniCart {
    right: 10px;
    bottom: calc(10px + var(--safe-bottom));
    left: 10px;
    width: auto;
  }

  #ubicacion .box > div:last-child {
    grid-template-columns: 1fr;
  }

  .socialBtn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .card h3 {
    font-size: 24px;
  }

  .card p {
    font-size: 14px;
  }

  .meta {
    align-items: center;
    flex-direction: row;
  }

  .add {
    width: auto;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: min(100% - 18px, 1180px);
  }

  .brandHorizontal .brandIcon {
    width: 43px;
    height: 43px;
  }

  .brandHorizontal .brandWordmark {
    width: auto;
    height: 34px;
    max-width: calc(100vw - 76px);
  }

  .heroActions,
  .methodTabs,
  .modalActions,
  .tools {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .btn:hover,
  .socialBtn:hover,
  .changeCategory:hover,
  .chip:hover,
  .card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
