@font-face {
  font-family: "Chicken Sans";
  src: url("https://www.popeyes.es/assets/plk/ChickenSansCYR-Regular.woff2") format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Chicken Sans";
  src: url("https://www.popeyes.es/assets/plk/ChickenSansCYR-Bold.woff2") format("woff2");
  font-weight: 700;
}

:root {
  --bg: #f8f2e8;
  --surface: #fffaf4;
  --text: #241714;
  --muted: #6c5a51;
  --line: #e2d3c1;
  --primary: #c92824;
  --primary-dark: #8d1d1b;
  --kraft: #e8cfab;
  --mustard: #ebb744;
  --leaf: #2c5b39;
  --ink: #151212;
  --shadow: 0 18px 42px rgba(40, 19, 15, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Chicken Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #f4dcc6 0, transparent 22%),
    radial-gradient(circle at top right, #efdfb9 0, transparent 18%),
    var(--bg);
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.page { padding: 24px 0 108px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 240, .9);
  border-bottom: 1px solid rgba(201, 40, 36, .08);
}

.header-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  gap: 16px;
  align-items: center;
}

.burger, .lang-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.top-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.top-nav a {
  position: relative;
  opacity: .75;
  padding: 6px 0;
}

.top-nav a.active,
.top-nav a:hover { opacity: 1; }

.top-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge, .signup {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(201, 40, 36, .16);
  color: var(--primary);
}

.badge { font-weight: 700; }
.signup, .lang-btn { font-size: 13px; }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fffaf6;
}

.mobile-panel.is-open { display: block; }
.mobile-panel a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.info-band {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 280px 176px;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 40, 36, .14);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(235, 183, 68, .18), transparent 22%),
    linear-gradient(180deg, rgba(255, 251, 246, .96), rgba(255, 245, 233, .96));
  box-shadow: var(--shadow);
}

.info-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1df;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.info-copy p {
  margin: 0 0 10px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  color: var(--text);
  font-size: 13px;
}

.info-meta strong {
  color: var(--primary);
  font-size: 14px;
}

.info-photo {
  overflow: hidden;
  border-radius: 18px;
  min-height: 132px;
  background: #ead7bb;
}

.info-photo img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.qr-group {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.qr-card {
  width: 82px;
  padding: 8px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(201, 40, 36, .12);
}

.qr-card img {
  width: 100%;
  max-width: 66px;
  margin: 0 auto 6px;
  border-radius: 8px;
}

.qr-card span {
  display: block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff1df;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.intro-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--line);
}

.intro-brand {
  display: inline-flex;
  align-items: center;
}

.intro-logo {
  display: block;
  height: 78px;
  width: auto;
}

.ghost-btn, .mini-btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .16s ease;
}

.ghost-btn:hover, .mini-btn:hover, .cta:hover { transform: translateY(-1px); }
.ghost-btn {
  min-height: 44px;
  padding: 0 20px;
  color: var(--primary);
  border: 1px solid rgba(201,40,36,.24);
  background: rgba(255,255,255,.72);
}

.cta, .mini-btn {
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
}

.cta { min-height: 48px; padding: 0 24px; }
.mini-btn { min-height: 38px; padding: 0 18px; font-size: 14px; }

.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}

.hero-copy { padding: 24px 8px; }
.hero-kicker {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 28px;
  font-weight: 700;
}

.hero h1, .menu-banner h1, .offers-title {
  margin: 0 0 14px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .95;
  letter-spacing: -.05em;
}

.hero p {
  max-width: 28ch;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 20px;
}

.card {
  background: linear-gradient(180deg, #fffdf9, #fff6ec);
  border: 1px solid rgba(201,40,36,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media {
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(235,183,68,.22), transparent 30%),
    linear-gradient(180deg, #fffaf2, #fff0e0);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}

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

.promo-card { overflow: hidden; }
.promo-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.promo-body { padding: 16px 18px 20px; }
.promo-kicker {
  color: var(--leaf);
  font-weight: 700;
  margin-bottom: 6px;
}
.promo-card h2,
.offer-card h2,
.product-card h2 { margin: 0 0 8px; font-size: 28px; line-height: .98; }
.promo-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

.menu-banner {
  position: relative;
  overflow: hidden;
  margin: 8px 0 26px;
  padding: 56px 0 52px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21,18,18,.78), rgba(141,29,27,.45)),
    var(--menu-banner-image) center/cover no-repeat;
}

.menu-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(248,242,232,.92));
}

.menu-banner .shell { position: relative; z-index: 1; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.category-card strong {
  display: block;
  margin-top: 14px;
  font-size: 22px;
}

.category-image {
  overflow: hidden;
  aspect-ratio: 1.65 / 1;
  background: linear-gradient(180deg, #fffaf2, #f9ecdb);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.scroller-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.scroller-tabs::-webkit-scrollbar { display: none; }

.scroller-tabs a {
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.scroller-tabs a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  padding-top: 26px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: contain;
}

.product-card h2 {
  margin-top: 14px;
  font-size: 30px;
}

.offers-title {
  font-size: 54px;
  margin-bottom: 18px;
}

.reward-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  padding: 26px 28px;
  background:
    radial-gradient(circle at top right, rgba(235,183,68,.24), transparent 18%),
    linear-gradient(180deg, #fff2e7, #fff9f2);
}

.reward-card h2 { margin: 0 0 8px; font-size: 34px; }
.reward-card p { margin: 0; color: var(--muted); font-size: 16px; max-width: 48ch; }

.offers-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: default;
}

.pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.promo-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.offer-card { padding: 12px; }
.offer-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff4e8;
  margin-bottom: 12px;
}

.offer-media img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
}

.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mustard);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  margin-top: 42px;
  padding: 28px 0 100px;
  background: var(--ink);
  color: #fff;
}

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

.site-footer h3 {
  margin: 0 0 12px;
  color: #f0d7aa;
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
}

.footer-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(29, 18, 18, .12);
  backdrop-filter: blur(12px);
}

.bottom-nav a {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 4px;
  background: rgba(255,250,244,.96);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.bottom-nav a.active { color: var(--primary); }
.bottom-nav svg { width: 18px; height: 18px; fill: currentColor; }
.icon-label { display: grid; place-items: center; }

@media (max-width: 1024px) {
  .info-band { grid-template-columns: 1fr 240px; }
  .info-copy { grid-column: 1 / -1; }
  .qr-group { justify-content: start; }
  .hero { grid-template-columns: 1fr; }
  .promo-grid, .product-grid, .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 20px, 600px); }
  .header-row {
    min-height: 64px;
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
  }
  .top-nav, .badge { display: none; }
  .brand { justify-self: center; font-size: 30px; }
  .brand-logo { height: 34px; }
  .intro-logo { height: 60px; }
  .page { padding-bottom: 86px; }
  .info-band {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    margin-bottom: 14px;
  }
  .info-label { margin-bottom: 6px; }
  .info-copy p { font-size: 14px; }
  .info-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .info-photo,
  .info-photo img { min-height: 148px; }
  .qr-group { justify-content: flex-start; }
  .hero { gap: 14px; padding-top: 18px; }
  .hero-copy { padding: 10px 0; }
  .hero-kicker { font-size: 20px; }
  .hero h1, .menu-banner h1, .offers-title { font-size: 48px; }
  .hero p { font-size: 16px; }
  .promo-grid, .offers-grid, .category-grid, .footer-grid, .reward-card { grid-template-columns: 1fr; }
  .section-top { align-items: flex-start; gap: 8px; }
  .scroller-tabs a { padding: 9px 12px; font-size: 14px; }
  .product-grid { display: block; padding-top: 8px; }
  .product-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .product-card h2 { margin: 0; font-size: 22px; }
  .offers-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu-banner {
    padding: 34px 0 32px;
    background-position: center right 30%;
  }
  .site-footer { display: none; }
  .bottom-nav { display: grid; }
}
