@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --color-bg: #faf4eb;
  --color-surface: #fffefb;
  --color-ink: #1f1410;
  --color-muted: #5c4a42;
  --color-brand-red: #b31930;
  --color-brand-green: #1a6b3c;
  --color-accent: var(--color-brand-red);
  --color-accent-hover: #8f1426;
  --color-gold: #d4a84b;
  --color-border: #e5d9c8;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(31, 20, 16, 0.08);
  --shadow-premium: 0 12px 40px rgba(31, 20, 16, 0.1), 0 2px 8px rgba(31, 20, 16, 0.04);
  --shadow-gold-glow: 0 8px 32px rgba(212, 168, 75, 0.22), 0 20px 48px rgba(0, 0, 0, 0.18);
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

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

.site-header {
  background: rgba(255, 254, 251, 0.9);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 32px rgba(31, 20, 16, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem max(1rem, env(safe-area-inset-left)) 0.75rem max(1rem, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 60;
  touch-action: manipulation;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__line--accent {
  color: var(--color-brand-red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand__line--green {
  color: var(--color-brand-green);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-announcement {
  margin: 0;
  padding: 0.5rem 0;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.45;
  background: linear-gradient(180deg, #fff9f0 0%, #f5ebdc 100%);
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-border);
  box-shadow: inset 0 3px 0 0 rgba(179, 25, 48, 0.12), inset 0 -1px 0 rgba(212, 168, 75, 0.2),
    0 4px 18px rgba(212, 168, 75, 0.18), 0 2px 6px rgba(31, 20, 16, 0.06);
}

.site-announcement__track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
}

.site-announcement__inner {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 20px rgba(212, 168, 75, 0.35), 0 0 1px rgba(31, 20, 16, 0.15);
}

html:not(.reduce-motion) body.motion-ready .site-announcement__track {
  animation: site-announcement-marquee 55s linear infinite;
}

.site-announcement a {
  color: var(--color-brand-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-announcement a:hover {
  color: var(--color-brand-red);
}

@keyframes site-announcement-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--color-ink);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  background: var(--color-bg);
  text-decoration: none;
  color: var(--color-accent);
}

.nav a.is-active {
  background: rgba(179, 25, 48, 0.08);
  color: var(--color-accent);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-link [data-cart-count] {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-link [data-cart-count]:empty {
  display: none;
}

main {
  flex: 1;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.hero {
  position: relative;
  color: #f5ebe3;
  padding: 2.75rem 1.25rem 3rem;
  background-color: #5c2e28;
  background-image: linear-gradient(
      105deg,
      rgba(35, 22, 18, 0.92) 0%,
      rgba(122, 62, 52, 0.78) 45%,
      rgba(40, 22, 18, 0.9) 100%
    ),
    url("../images/banner.png");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "lead"
    "media"
    "rest";
  align-items: start;
}

/* Mobilon: a cím és a szöveg külön sorok (display:contents), sorrend: cím → kép → szöveg */
.hero__copy {
  display: contents;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    grid-template-areas: "copy media";
    align-items: start;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    grid-area: copy;
    min-width: 0;
  }

  .hero__lead,
  .hero__rest {
    grid-area: unset;
  }

  .hero__media {
    justify-self: end;
    align-self: start;
  }
}

.hero__lead {
  grid-area: lead;
}

.hero__media {
  grid-area: media;
  width: 100%;
  max-width: min(480px, 96vw);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .hero__media {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__rest {
  grid-area: rest;
}

.hero__rest p {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  opacity: 0.92;
  font-size: 1.05rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero__flyer {
  margin: 0;
  line-height: 0;
  position: relative;
  display: block;
  isolation: isolate;
}

.hero__flyer-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  line-height: 0;
}

.hero__flyer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -22px -18px -28px -18px;
  border-radius: calc(var(--radius) + 12px);
  pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 95%, rgba(212, 168, 75, 0.58) 0%, transparent 52%),
    radial-gradient(ellipse 75% 55% at 50% 8%, rgba(255, 235, 210, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 20% 40%, rgba(179, 25, 48, 0.14) 0%, transparent 45%),
    radial-gradient(ellipse 50% 40% at 85% 60%, rgba(255, 200, 120, 0.2) 0%, transparent 55%);
  filter: blur(16px);
  opacity: 0.95;
}

.hero__flyer::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -5px;
  border-radius: calc(var(--radius) + 6px);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 2px rgba(212, 168, 75, 0.42), 0 0 0 4px rgba(212, 168, 75, 0.12),
    0 0 56px rgba(212, 168, 75, 0.28), 0 0 80px rgba(212, 168, 75, 0.12), 0 28px 64px rgba(0, 0, 0, 0.44);
}

.hero__flyer-shine {
  position: absolute;
  z-index: 2;
  inset: -15% -30%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.5) 49.5%,
    rgba(255, 230, 200, 0.35) 50.5%,
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
  mix-blend-mode: soft-light;
  opacity: 0;
}

html:not(.reduce-motion) body.motion-ready .hero__flyer-shine {
  animation: hero-flyer-shine 2s ease-in-out infinite;
}

.hero__flyer-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 820px);
  object-fit: contain;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.35), 0 0 40px rgba(212, 168, 75, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(20, 12, 8, 0.2);
}

html:not(.reduce-motion) body.motion-ready .hero__flyer::before {
  animation: motion-hero-glow 12s ease-in-out infinite alternate;
}

.hero__gallery-note {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0.85;
  color: #e8dfd4;
}

.hero__gallery-note a {
  color: #f0d4a8;
}

.hero__gallery-note a:hover {
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

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

.btn--primary {
  background: var(--color-gold);
  color: #1f1410;
}

.btn--primary:hover {
  background: #d4b56a;
  text-decoration: none;
  color: #1f1410;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: #fff;
}

.btn--outline {
  background: var(--color-surface);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.btn--block {
  width: 100%;
}

.section-title {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(4.5rem, 40%);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-gold) 0%, rgba(179, 25, 48, 0.55) 100%);
  box-shadow: 0 1px 2px rgba(212, 168, 75, 0.35);
}

.muted {
  color: var(--color-muted);
  font-size: 0.95rem;
}

main .muted a {
  color: var(--color-brand-green);
  font-weight: 600;
}

main .muted a:hover {
  color: var(--color-accent);
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: linear-gradient(180deg, #fffefb 0%, #faf7f2 100%);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, #efe6dc 0%, #d9cbc0 45%, #e5dcd2 100%);
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
}

.card__media:has(img) {
  padding: 0;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

html:not(.reduce-motion) body.motion-ready .card:hover .card__media img {
  transform: scale(1.045);
}

.card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.card__body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.card__meta {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: auto;
}

.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.card__actions input[type="number"] {
  width: 4rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.filter-btn.is-on {
  background: linear-gradient(165deg, #1f7a45 0%, var(--color-brand-green) 100%);
  color: #fff;
  border-color: var(--color-brand-green);
  box-shadow: 0 2px 12px rgba(26, 107, 60, 0.25);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(180deg, #fffefb 0%, #faf7f2 100%);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
}

.cart-table th,
.cart-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.cart-table th {
  background: var(--color-bg);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-qty {
  width: 4rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.summary {
  margin-top: 1.5rem;
  max-width: 360px;
  margin-left: auto;
  background: linear-gradient(165deg, #fffefb 0%, #faf6f0 100%);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  box-shadow: var(--shadow-premium), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.summary__total {
  font-weight: 800;
  font-size: 1.15rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

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

.alert {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.alert--info {
  background: #e8f4fc;
  border: 1px solid #b8d9f0;
  color: #1a4a66;
}

.alert--warn {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #5c4a1a;
}

.site-footer {
  background: linear-gradient(165deg, #2a1812 0%, #3d241c 50%, #2c1810 100%);
  color: #e8dfd4;
  padding: 2rem 1.25rem;
  margin-top: auto;
}

.site-footer a {
  color: #f0d4a8;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 700px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.page-title {
  margin: 0 0 0.5rem;
  padding-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  position: relative;
}

.page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-gold), rgba(26, 107, 60, 0.55));
}

.parchment {
  background: linear-gradient(180deg, #fffdf8 0%, #f7eedf 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-premium), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.arlista-image {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-premium), 0 0 0 1px rgba(212, 168, 75, 0.12);
  border: 1px solid var(--color-border);
}

html:not(.reduce-motion) body.motion-ready .arlista-image:hover {
  box-shadow: var(--shadow-gold-glow), 0 0 0 1px rgba(212, 168, 75, 0.2);
}

.arlista-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
}

.promo-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-premium), 0 0 0 1px rgba(212, 168, 75, 0.1);
  border: 1px solid var(--color-border);
}

html:not(.reduce-motion) body.motion-ready .promo-image:hover {
  box-shadow: var(--shadow-gold-glow), 0 0 0 1px rgba(212, 168, 75, 0.18);
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px dashed var(--color-border);
}

.two-col {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

/* —— Mozgás, megjelenés, hero effektek (csökkentett mozgás: lásd .reduce-motion) —— */

@keyframes motion-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes motion-header-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes motion-float-soft {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3%, 2%) scale(1.04);
  }
}

@keyframes motion-reel-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes motion-shimmer-bar {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes motion-btn-shine {
  0%,
  70% {
    transform: translateX(-120%) skewX(-12deg);
    opacity: 0;
  }
  75% {
    opacity: 0.45;
  }
  85%,
  100% {
    transform: translateX(200%) skewX(-12deg);
    opacity: 0;
  }
}

@keyframes motion-cart-bump {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes motion-footer-glow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.06);
  }
}

@keyframes motion-hero-glow {
  0%,
  100% {
    opacity: 0.88;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes hero-flyer-shine {
  0% {
    transform: translateX(-55%) skewX(-14deg);
    opacity: 0;
  }
  12% {
    opacity: 0.75;
  }
  28% {
    transform: translateX(55%) skewX(-14deg);
    opacity: 0.35;
  }
  32%,
  100% {
    transform: translateX(55%) skewX(-14deg);
    opacity: 0;
  }
}

.motion-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: none;
}

.motion-reveal.is-visible {
  animation: motion-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-reveal--delay-1.is-visible {
  animation-delay: 0.1s;
}

.motion-reveal--delay-2.is-visible {
  animation-delay: 0.2s;
}

html:not(.reduce-motion) body.motion-ready .site-header {
  animation: motion-header-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html:not(.reduce-motion) body.motion-ready .site-announcement {
  background-image: linear-gradient(90deg, #fff9f0 0%, #fff6ea 35%, #fff9f0 70%, #f5ebdc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(ellipse 90% 60% at 15% 0%, rgba(179, 25, 48, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 90%, rgba(26, 107, 60, 0.1), transparent 50%);
}

html:not(.reduce-motion) body.motion-ready::before {
  animation: motion-float-soft 22s ease-in-out infinite alternate;
}

.hero--motion {
  position: relative;
  overflow: hidden;
}

.hero__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 200, 120, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 85% 70%, rgba(179, 25, 48, 0.15) 0%, transparent 40%);
  animation: motion-float-soft 16s ease-in-out infinite alternate;
}

.hero--motion .hero__inner {
  position: relative;
  z-index: 1;
}

html:not(.reduce-motion) body.motion-ready .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold-glow);
  border-color: rgba(212, 168, 75, 0.35);
}

.card--pop {
  animation: motion-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.grid-products .card--pop:nth-child(1) {
  animation-delay: 0.03s;
}
.grid-products .card--pop:nth-child(2) {
  animation-delay: 0.07s;
}
.grid-products .card--pop:nth-child(3) {
  animation-delay: 0.11s;
}
.grid-products .card--pop:nth-child(4) {
  animation-delay: 0.15s;
}
.grid-products .card--pop:nth-child(5) {
  animation-delay: 0.19s;
}
.grid-products .card--pop:nth-child(6) {
  animation-delay: 0.23s;
}
.grid-products .card--pop:nth-child(7) {
  animation-delay: 0.27s;
}
.grid-products .card--pop:nth-child(8) {
  animation-delay: 0.31s;
}
.grid-products .card--pop:nth-child(9) {
  animation-delay: 0.35s;
}
.grid-products .card--pop:nth-child(10) {
  animation-delay: 0.39s;
}
.grid-products .card--pop:nth-child(11) {
  animation-delay: 0.43s;
}
.grid-products .card--pop:nth-child(12) {
  animation-delay: 0.47s;
}
.grid-products .card--pop:nth-child(13) {
  animation-delay: 0.51s;
}
.grid-products .card--pop:nth-child(14) {
  animation-delay: 0.55s;
}
.grid-products .card--pop:nth-child(15) {
  animation-delay: 0.59s;
}
.grid-products .card--pop:nth-child(16) {
  animation-delay: 0.63s;
}
.grid-products .card--pop:nth-child(17) {
  animation-delay: 0.67s;
}
.grid-products .card--pop:nth-child(18) {
  animation-delay: 0.71s;
}
.grid-products .card--pop:nth-child(19) {
  animation-delay: 0.75s;
}
.grid-products .card--pop:nth-child(20) {
  animation-delay: 0.79s;
}
.grid-products .card--pop:nth-child(21) {
  animation-delay: 0.83s;
}
.grid-products .card--pop:nth-child(22) {
  animation-delay: 0.87s;
}

html:not(.reduce-motion) body.motion-ready .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 20, 16, 0.12), 0 4px 16px rgba(212, 168, 75, 0.18);
}

html:not(.reduce-motion) body.motion-ready .btn--primary:hover {
  box-shadow: 0 8px 28px rgba(212, 168, 75, 0.42), 0 4px 12px rgba(31, 20, 16, 0.1);
}

html:not(.reduce-motion) body.motion-ready .btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: motion-btn-shine 5s ease-in-out infinite;
  pointer-events: none;
}

.nav a {
  position: relative;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

html:not(.reduce-motion) body.motion-ready .nav a:hover {
  transform: translateY(-1px);
}

.cart-link [data-cart-count].cart-bump {
  animation: motion-cart-bump 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

html:not(.reduce-motion) body.motion-ready .site-footer {
  animation: motion-footer-glow 8s ease-in-out infinite;
}

.arlista-image,
.promo-image {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

html:not(.reduce-motion) body.motion-ready .motion-reveal.is-visible .arlista-image,
html:not(.reduce-motion) body.motion-ready .motion-reveal.is-visible .promo-image {
  transform: scale(1);
}

.motion-reveal .arlista-image,
.motion-reveal .promo-image {
  transform: scale(0.98);
}

.filter-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html:not(.reduce-motion) body.motion-ready .filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 20, 16, 0.08);
}

/* —— Mobil / érintőképernyő (≤767px) —— */
@media (max-width: 767px) {
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.65rem 0 0.4rem;
    margin-top: 0.65rem;
    border-top: 1px solid var(--color-border);
  }

  .nav.nav--open {
    display: flex;
  }

  .nav a {
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 1rem;
  }

  html:not(.reduce-motion) body.motion-ready .nav a:hover {
    transform: none;
  }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }

  .page-title,
  .section-title {
    text-align: center;
  }

  .page-title::after,
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero {
    padding: max(1.25rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-left)) 2.25rem max(1rem, env(safe-area-inset-right));
    background-position: center center;
  }

  .hero__lead,
  .hero__rest,
  .hero h1 {
    text-align: center;
  }

  .hero__rest p {
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
  }

  .hero__actions {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__media {
    max-width: min(420px, 100%);
  }

  .hero__gallery-note {
    text-align: center;
  }

  main .muted,
  .alert {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  main .muted code {
    word-break: break-word;
    font-size: 0.82rem;
  }

  .grid-products {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .empty-state .btn {
    width: 100%;
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
  }

  .site-announcement {
    font-size: clamp(0.78rem, 2.9vw, 0.88rem);
    padding-top: max(0.45rem, env(safe-area-inset-top));
  }

  .site-announcement__inner {
    padding: 0 1.5rem;
  }

  html:not(.reduce-motion) body.motion-ready .site-announcement__track {
    animation-duration: 38s;
  }

  .site-footer {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    text-align: center;
  }

  .site-footer__inner {
    justify-items: center;
  }

  .site-footer__brand {
    justify-content: center;
    text-align: center;
  }

  .site-footer h3 {
    text-align: center;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .summary {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

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

  .arlista-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .filters {
    justify-content: center;
  }

  .filter-btn {
    min-height: 40px;
    padding: 0.45rem 0.95rem;
  }

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

  .card__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .card__actions input[type="number"] {
    width: 100%;
    max-width: 8rem;
    margin-left: auto;
    margin-right: auto;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .site-header__inner {
    display: flex;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav {
    display: flex !important;
    flex-direction: row;
    width: auto;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    grid-column: unset;
  }
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 0 0 1rem;
  border-radius: var(--radius);
}

.table-scroll .cart-table {
  min-width: 520px;
}

.reduce-motion html {
  scroll-behavior: auto;
}

.reduce-motion .motion-reveal {
  opacity: 1;
  transform: none;
  animation: none !important;
}

.reduce-motion .motion-reveal.is-visible {
  animation: none !important;
}

.reduce-motion .card--pop {
  animation: none !important;
}

.reduce-motion .site-announcement {
  animation: none !important;
  background-image: none;
  padding: max(0.55rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-left)) 0.55rem max(1rem, env(safe-area-inset-right));
  text-align: center;
}

.reduce-motion .site-announcement__track {
  animation: none !important;
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
  white-space: normal;
}

.reduce-motion .site-announcement__inner[aria-hidden="true"] {
  display: none !important;
}

.reduce-motion .site-announcement__inner {
  display: inline;
  padding: 0;
  white-space: normal;
  text-shadow: none;
}

.reduce-motion body::before {
  animation: none !important;
}

.reduce-motion .hero__fx {
  animation: none !important;
}

.reduce-motion .hero__flyer::before {
  animation: none !important;
}

.reduce-motion .hero__flyer-shine {
  animation: none !important;
  display: none;
}

.reduce-motion .btn--primary::after {
  display: none !important;
}

.reduce-motion .site-footer {
  animation: none !important;
}

.reduce-motion .cart-link [data-cart-count].cart-bump {
  animation: none !important;
}

.reduce-motion .card:hover .card__media img {
  transform: none !important;
}
