:root {
  --cream: #fff8e9;
  --cream-2: #fff1d4;
  --paper: #fffdf7;
  --red: #c8102e;
  --red-dark: #8c0c20;
  --red-soft: #fbe4e2;
  --yellow: #ffc72c;
  --yellow-dark: #e8a800;
  --yellow-soft: #fff3d1;
  --ink: #2b140a;
  --ink-soft: #6f5945;
  --ink-faint: #a3907c;
  --line: #efdfc0;

  --font-display: "Fraunces", Georgia, serif;
  --font-hand: "Caveat", cursive;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 14px 34px rgba(43, 20, 10, 0.1);
  --shadow-pop: 0 20px 46px rgba(200, 16, 46, 0.16);
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--red-dark);
  outline-offset: 2px;
}
.no-scroll {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn--yellow {
  background: var(--yellow);
  color: var(--red-dark);
  box-shadow: 0 10px 22px rgba(255, 199, 44, 0.45);
}
.btn--yellow:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-pop);
}
.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--red-dark);
  border: 2px solid var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.topbar {
  background: var(--ink);
  color: var(--yellow-soft);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 8px 14px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.header.is-scrolled {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(43, 20, 10, 0.08);
}
.header__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 52px;
  height: 52px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.3px;
  color: var(--red-dark);
}
.brand__text span {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover,
.nav a.active {
  color: var(--red);
  border-color: var(--yellow);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cart-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.cart-btn__count {
  background: var(--yellow);
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--red-dark);
  border-radius: 999px;
  flex-shrink: 0;
}
.burger:hover {
  background: var(--yellow-soft);
}

.hero {
  max-width: 1220px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-hand);
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.hero__title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--red);
}
.hero__text {
  margin: 22px 0 30px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__badges {
  display: flex;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero__badges div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.hero__badges svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
}

.hero__photo {
  position: relative;
}
.hero__mosaic {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 420px;
}
.hero__mosaic > div {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--paper);
}
.hero__mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__mosaic .m1 {
  grid-row: 1 / 3;
}
.hero__mosaic .m2 {
  transform: translateY(-8px);
}
.hero__mosaic .m3 {
  transform: translateY(8px);
}
.hero__seal {
  position: absolute;
  top: -22px;
  right: -18px;
  width: 108px;
  height: 108px;
  animation: spin 22s linear infinite;
  filter: drop-shadow(0 8px 16px rgba(200, 16, 46, 0.25));
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.marquee {
  background: var(--red);
  color: var(--yellow);
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  padding: 0 6px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section__eyebrow {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--red);
  margin-bottom: 6px;
}
.section__title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.section__lead {
  text-align: center;
  max-width: 56ch;
  margin: 14px auto 0;
  color: var(--ink-soft);
}

.categorias {
  max-width: 1220px;
  margin: 0 auto;
  padding: 70px 24px;
}
.cat-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.cat-card {
  background: var(--paper);
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--yellow);
}
.cat-card svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}
.cat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cat-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.cat-card--photo {
  display: block;
}
.cat-card__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--yellow-soft);
}
.cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card__link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--red);
}

.packs {
  background: var(--cream-2);
  padding: 70px 24px;
}
.pack-grid {
  max-width: 1220px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.pack-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s ease;
}
.pack-card:hover {
  transform: translateY(-6px);
}
.pack-card__badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.4px;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(200, 16, 46, 0.35);
}
.pack-card__qty {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--yellow-soft);
  border: 2px dashed var(--yellow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red-dark);
  margin-bottom: 16px;
}
.pack-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.pack-card__tagline {
  color: var(--ink-soft);
  font-size: 0.9rem;
  min-height: 40px;
}
.pack-card__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
  margin: 10px 0 18px;
}
.pack-card__btn {
  width: 100%;
}

.historia {
  max-width: 1220px;
  margin: 0 auto;
  padding: 70px 24px;
}
.historia__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
}
.historia__grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}
.historia h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 18px;
}
.historia p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 1.03rem;
}
.historia .btn {
  margin-top: 8px;
}
.historia__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.historia__mosaic img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
}
.historia__mosaic img:first-child {
  grid-column: 1 / 3;
  aspect-ratio: 16 / 10;
}

.testi {
  background: var(--red);
  padding: 70px 24px;
  color: #fff;
}
.testi .section__eyebrow {
  color: var(--yellow);
}
.testi .section__title {
  color: #fff;
}
.testi-grid {
  max-width: 1220px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.testi-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.testi-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.testi-card span {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--yellow);
}

.cta-final {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}
.cta-final p {
  color: var(--ink-soft);
  margin: 16px 0 30px;
  font-size: 1.05rem;
}
.cta-final .btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  background: var(--ink);
  color: #f3e8da;
  padding: 60px 24px 26px;
}
.footer__grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer__brand img {
  width: 40px;
  height: 40px;
}
.footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.footer p {
  color: #cbb9a5;
  font-size: 0.92rem;
  line-height: 1.6;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul a {
  color: #e7d8c6;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer ul a:hover {
  color: var(--yellow);
}
.footer__bottom {
  max-width: 1220px;
  margin: 46px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: #a08c76;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 20, 10, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}
.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--paper);
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 40px rgba(43, 20, 10, 0.2);
}
.cart-drawer.is-open {
  transform: translateX(0);
}
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head h3 {
  font-size: 1.3rem;
}
.cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--ink-soft);
}
.cart-drawer__close:hover {
  background: var(--cream-2);
}
.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}
.cart-empty {
  color: var(--ink-soft);
  text-align: center;
  margin-top: 60px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item__thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-2);
}
.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__thumb-pack {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.cart-item__body {
  flex: 1;
  min-width: 0;
}
.cart-item__name {
  font-weight: 800;
  font-size: 0.95rem;
}
.cart-item__detail {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.5;
}
.cart-item__price {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}
.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.cart-item__remove {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
}
.cart-item__remove:hover {
  text-decoration: underline;
}
.cart-drawer__foot {
  padding: 18px 22px 24px;
  border-top: 1px solid var(--line);
}
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.cart-drawer__total span:last-child {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.cart-drawer__foot .btn {
  width: 100%;
}
.cart-discount__row .btn {
  width: auto;
  flex: 0 0 auto;
}
.cart-drawer__foot .btn + .btn {
  margin-top: 10px;
}
.cart-drawer__note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 10px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 4px;
}
.stepper__btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--red-dark);
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(43, 20, 10, 0.12);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.stepper__btn:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
  transform: scale(1.06);
}
.stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}
.stepper__value {
  min-width: 18px;
  text-align: center;
  font-weight: 800;
}
.stepper--sm .stepper__btn {
  width: 24px;
  height: 24px;
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  box-shadow: 0 14px 30px rgba(43, 20, 10, 0.3);
  max-width: 90vw;
  text-align: center;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.page-hero {
  max-width: 1220px;
  margin: 0 auto;
  padding: 60px 24px 30px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.ubicacion {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}
.map-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.map-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.map-card iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
.map-card__info {
  padding: 22px 24px 26px;
}
.map-card__info h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.map-card__info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.map-card__info svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 1px;
}

.tabs {
  margin-top: 34px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.tab {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: all 0.18s ease;
}
.tab:hover {
  border-color: var(--yellow);
}
.tab.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.product-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__body {
  padding: 18px 20px 22px;
}
.product-card__body h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.product-card__desc {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.5;
  min-height: 58px;
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 14px;
}
.product-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red);
}
.product-card__add {
  width: 100%;
}

.pack-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 20, 10, 0.55);
  z-index: 150;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 0;
}
.pack-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.pack-modal {
  background: var(--paper);
  width: min(640px, 100%);
  max-height: 92vh;
  border-radius: 26px 26px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(24px);
  transition: transform 0.28s ease;
  position: relative;
  box-shadow: 0 -20px 50px rgba(43, 20, 10, 0.3);
}
.pack-modal-overlay.is-open .pack-modal {
  transform: translateY(0);
}
@media (min-width: 720px) {
  .pack-modal-overlay {
    align-items: center;
    padding: 24px;
  }
  .pack-modal {
    border-radius: var(--radius-lg);
    max-height: 84vh;
  }
}
.pack-modal.shake {
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(4px); }
}
.pack-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-size: 0.95rem;
  z-index: 2;
}
.pack-modal__close:hover {
  background: var(--yellow-soft);
}
.pack-modal__head {
  padding: 26px 26px 18px;
  border-bottom: 1px solid var(--line);
}
.pack-modal__eyebrow {
  font-family: var(--font-hand);
  color: var(--red);
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.pack-modal__head h3 {
  font-size: 1.4rem;
  padding-right: 40px;
}
.pack-modal__hint {
  color: var(--ink-soft);
  font-size: 0.84rem;
  margin-top: 6px;
}
.pack-modal__progress {
  margin-top: 16px;
}
.pack-modal__progress-bar {
  height: 10px;
  background: var(--cream-2);
  border-radius: 999px;
  overflow: hidden;
}
.pack-modal__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  border-radius: 999px;
  transition: width 0.25s ease;
}
.pack-modal__progress-fill.is-complete {
  background: #2f9e58;
}
.pack-modal__progress-text {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.pack-modal__progress.is-complete .pack-modal__progress-text {
  color: #2f9e58;
}
.pack-modal__list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 26px;
}
.pack-modal__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pack-modal__item:last-child {
  border-bottom: none;
}
.pack-modal__item-img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-2);
}
.pack-modal__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pack-modal__item-body {
  flex: 1;
  min-width: 0;
}
.pack-modal__item-name {
  font-weight: 800;
  font-size: 0.95rem;
}
.pack-modal__item-desc {
  color: var(--ink-soft);
  font-size: 0.78rem;
  margin-top: 3px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pack-modal__foot {
  padding: 16px 26px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.pack-modal__error {
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  line-height: 1.4;
}
.pack-modal__foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pack-modal__clear {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink-soft);
}
.pack-modal__clear:hover {
  color: var(--red);
  text-decoration: underline;
}
.pack-modal__total {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pack-modal__total span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.pack-modal__total strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--red);
}
.pack-modal__submit {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__mosaic {
    height: 320px;
    margin-top: 10px;
  }
  .historia__grid {
    grid-template-columns: 1fr;
  }
  .historia__grid img.historia__single {
    aspect-ratio: 16 / 9;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 18px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(43, 20, 10, 0.08);
  }
  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .burger {
    display: flex;
  }
  .cart-btn span:not(.cart-btn__count) {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 34px 18px 30px;
  }
  .categorias,
  .packs,
  .historia,
  .testi {
    padding: 50px 18px;
  }
  .hero__seal {
    width: 84px;
    height: 84px;
    top: -14px;
    right: -6px;
  }
  .pack-modal__head,
  .pack-modal__list,
  .pack-modal__foot {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.hero__seal {
  border-radius: 50%;
  background: var(--paper);
}
.patrimonio {
  background: linear-gradient(135deg, var(--yellow-soft), var(--cream-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 24px;
}
.patrimonio__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 46px;
  align-items: center;
}
.patrimonio__seal {
  width: 164px;
  height: 164px;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 22px rgba(200, 16, 46, 0.28));
  animation: spin 30s linear infinite;
}
.patrimonio__eyebrow {
  font-family: var(--font-hand);
  color: var(--red);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.patrimonio h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 14px;
}
.patrimonio__text {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 12px;
}
.patrimonio__cite {
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-style: italic;
  margin-top: 10px;
}

.founder__photo-wrap {
  position: relative;
  display: block;
}
.founder__photo-wrap--link {
  transition: transform 0.25s ease;
}
.founder__photo-wrap--link:hover {
  transform: translateY(-4px);
}
.founder__photo-wrap--link:hover .historia__single {
  box-shadow: 0 20px 40px rgba(200, 16, 46, 0.22);
}
.founder__photo-wrap--link:hover .founder__tag {
  background: var(--red);
  color: #fff;
}
.founder__photo-wrap--link:hover .founder__tag small {
  color: var(--yellow-soft);
}
.founder__tag {
  position: absolute;
  left: 20px;
  bottom: -18px;
  background: var(--paper);
  border: 2px solid var(--red);
  color: var(--red-dark);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  line-height: 1.3;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.founder__tag small {
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.street {
  max-width: 1220px;
  margin: 0 auto;
  padding: 70px 24px 80px;
}
.street__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.street__item {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.street__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}
.street__item figcaption {
  padding: 16px 20px 20px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer__patrimonio {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow) !important;
  font-size: 0.8rem !important;
  font-weight: 800;
}

@media (max-width: 700px) {
  .patrimonio__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .founder__tag {
    left: 50%;
    transform: translateX(-50%);
  }
}

.pago-resultado {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.pago-resultado__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 48px 34px;
  text-align: center;
}
.pago-resultado__icon {
  font-size: 3rem;
  margin-bottom: 14px;
}
.pago-resultado__card h1 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.pago-resultado__card p {
  color: var(--ink-soft);
  font-size: 1rem;
}
.pago-resultado__ref {
  margin-top: 8px;
  font-size: 0.82rem !important;
  color: var(--ink-faint) !important;
}
.pago-resultado .btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.cart-buyer {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cart-buyer__title {
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.cart-buyer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cart-buyer__grid input,
.cart-buyer__grid select {
  grid-column: span 2;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream-2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
}
.cart-buyer__grid select {
  appearance: auto;
}
.cart-buyer__grid select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cart-buyer__grid input:focus,
.cart-buyer__grid select:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  background: var(--paper);
}
.cart-buyer__grid input#buyer-phone,
.cart-buyer__grid select#buyer-comuna {
  grid-column: span 1;
}
.cart-buyer__rm-note {
  font-size: 0.76rem !important;
  font-weight: 700;
  color: var(--red-dark) !important;
  background: var(--yellow-soft);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  margin-bottom: 10px;
}
.cart-buyer__hint {
  font-size: 0.72rem !important;
  color: var(--ink-faint) !important;
  margin-top: 8px;
}

.cart-drawer__delivery {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red-dark);
  background: var(--yellow-soft);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 14px;
}
.cart-drawer__delivery.is-free {
  background: #e3f5e9;
  color: #1f7a43;
}
.cart-discount {
  margin-bottom: 14px;
}
.cart-discount__row {
  display: flex;
  gap: 8px;
}
.cart-discount__row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream-2);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  text-transform: uppercase;
}
.cart-discount__row input:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  background: var(--paper);
}
.btn--sm {
  padding: 9px 16px;
  font-size: 0.78rem;
  white-space: nowrap;
}
.cart-discount__message {
  font-size: 0.76rem !important;
  font-weight: 700;
  color: #1f7a43 !important;
  margin-top: 6px;
}
.cart-discount__message.is-error {
  color: var(--red-dark) !important;
}
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.cart-drawer__subtotal--discount {
  color: #1f7a43;
  font-weight: 700;
}

.fab {
  position: fixed;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(43, 20, 10, 0.3);
  z-index: 80;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}
.fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(43, 20, 10, 0.34);
}
.fab--whatsapp {
  bottom: 22px;
  background: #25d366;
}
.fab--whatsapp svg {
  width: 28px;
  height: 28px;
}
.fab--cart {
  bottom: 92px;
  background: var(--ink);
}
.fab--cart svg {
  width: 24px;
  height: 24px;
}
.fab__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--cream);
}
@media (max-width: 520px) {
  .fab {
    width: 50px;
    height: 50px;
    right: 14px;
  }
  .fab--whatsapp {
    bottom: 16px;
  }
  .fab--cart {
    bottom: 76px;
  }
  .fab--whatsapp svg {
    width: 24px;
    height: 24px;
  }
  .fab--cart svg {
    width: 21px;
    height: 21px;
  }
}

.footer__credit {
  text-align: center;
  font-size: 0.78rem;
  color: #a08c76;
  margin-top: 14px;
}
.footer__credit a {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: underline;
}
.footer__credit a:hover {
  color: #fff;
}
