/* =========================================================================
   Dóm Cukrászda — tortarendelő oldal (katalógus, kosár, pénztár)
   ========================================================================= */

:root { --tb: 38px; --hh: 86px; }
@media (max-width: 1023px) { :root { --tb: 34px; --hh: 70px; } }

/* ---------- Felső sáv és fejléc ---------- */

.topbar {
  background: var(--ivory); border-bottom: 1px solid var(--line); height: var(--tb);
  display: flex; align-items: center; justify-content: center; padding: 0 1.5rem;
  font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal);
  white-space: nowrap; overflow: hidden;
}
.topbar p { margin: 0; }
.topbar a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tb-dot { color: var(--gold-light); margin: 0 .5rem; }

.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--hh);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .35s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(20, 19, 18, .05); }
.site-header__inner { max-width: 1480px; height: 100%; margin: 0 auto; padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.h-left { flex: 1; display: flex; align-items: center; gap: .75rem; }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 64px; width: auto; transition: transform .25s ease; }
.brand-logo:hover img { transform: scale(1.03); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { position: relative; font-family: var(--serif); font-size: 1rem; color: var(--charcoal); letter-spacing: .02em; padding: .25rem 0; white-space: nowrap; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.header-actions { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 1.35rem; }
.header-phone { display: inline-flex; align-items: center; gap: .42rem; font-family: var(--serif); font-size: .95rem; color: var(--charcoal); white-space: nowrap; }
.header-phone:hover { color: var(--gold); }
.header-phone svg { width: 14px; height: 14px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: .6rem; background: var(--dark); color: #fff; border: 0; padding: .72rem 1.15rem .72rem 1.05rem; font-family: var(--serif); font-size: .95rem; font-weight: 500; letter-spacing: .04em; transition: background .3s; }
.cart-btn:hover { background: var(--dark-hover); }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold-light); color: var(--ink); font-family: var(--sans); font-size: .66rem; font-weight: 600; display: inline-grid; place-items: center; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 38px; height: 38px; background: none; border: 0; padding: 0; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--charcoal); }
.mobile-menu { display: none; }

@media (max-width: 1180px) { .header-phone span { display: none; } }
@media (max-width: 1023px) {
  .topbar { justify-content: flex-start; font-size: .6rem; }
  .topbar p { animation: marquee 26s linear infinite; padding-left: 100%; }
  .site-header__inner { padding: 0 1.15rem; position: relative; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-logo img { height: 50px; }
  .h-left .brand-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .header-phone { display: none; }
  .cart-label { display: none; }
  .cart-btn { padding: .6rem .8rem; }
  .mobile-menu.open { display: block; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.4rem 1.2rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.18); }
  .mobile-menu a { display: block; padding: .7rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: 0; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Hero ---------- */

.hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--hh) - var(--tb)); min-height: calc(100svh - var(--hh) - var(--tb)); max-height: 860px; }
.hero-text { display: flex; align-items: center; justify-content: center; padding: 4rem clamp(1.5rem, 6vw, 6rem); text-align: center; }
.hero-text-inner { max-width: 540px; width: 100%; }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.65rem); color: var(--muted); margin: .9rem 0 0; line-height: 1.35; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.2rem; }
.hero-facts { display: flex; justify-content: center; gap: 2.8rem; margin: 2.8rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line-2); }
.hero-facts div { margin: 0; }
.hero-facts dt { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--ink); }
.hero-facts dd { margin: .45rem 0 0; font-family: var(--sans); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.hero-media { position: relative; overflow: hidden; background: #e9e2d8; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.4s ease, transform 7s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(to top, rgba(0,0,0,.4), transparent); pointer-events: none; }
.hero-caption { position: absolute; left: 2rem; bottom: 1.6rem; z-index: 2; color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.2rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; max-height: none; min-height: 0; }
  .hero-media { order: -1; height: 64vw; min-height: 260px; max-height: 460px; }
  .hero-text { padding: 2.6rem 1.25rem 3rem; }
  .hero-actions .btn-solid-dark, .hero-actions .btn-ghost { flex: 1 1 100%; }
  .hero-facts { gap: 0; justify-content: space-between; }
  .hero-facts dt { font-size: 1.55rem; }
  .hero-caption { left: 1.2rem; bottom: 1rem; font-size: 1.05rem; }
}

/* ---------- Előnyök sáv (a weboldal USP sávja) ---------- */

.usp-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 3.2rem 2.5rem; }
.usp-strip__grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.usp-item { text-align: center; }
.usp-item__title { font-family: var(--serif); font-size: .95rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0; color: var(--charcoal); }
.usp-item__dot { display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-light); margin: .9rem auto; }
.usp-item__text { margin: 0 auto; max-width: 260px; font-size: .98rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) {
  .usp-strip { padding: 2.4rem 1.15rem; }
  .usp-strip__grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
  .usp-item__title { font-size: .8rem; letter-spacing: .1em; }
  .usp-item__text { font-size: .9rem; }
}

/* ---------- Kategóriák ---------- */

.cats-section { padding: 6.5rem 0 2.5rem; background: #fff; }
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.cat-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #2a2622; border: 0; padding: 0; text-align: center; color: #fff; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,19,18,.72) 0%, rgba(20,19,18,.12) 55%, rgba(20,19,18,.05) 100%); transition: background .5s; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.6rem 1.2rem 1.5rem; }
.cat-tile__count { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-pale); font-weight: 600; margin-bottom: .55rem; }
.cat-tile__name { display: block; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.cat-tile__go { display: inline-block; margin-top: .9rem; font-family: var(--serif); font-style: italic; font-size: .98rem; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; transition: border-color .3s; }
.cat-tile:hover .cat-tile__go { border-color: #fff; }
@media (max-width: 900px) {
  .cats-section { padding: 4rem 0 1.5rem; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .cat-tile__body { padding: 1rem .7rem; }
  .cat-tile__name { font-size: .95rem; letter-spacing: .05em; }
  .cat-tile__go { display: none; }
}

/* ---------- Katalógus ---------- */

.catalog-section { padding: 5.5rem 0 7rem; background: #fff; }
.filter-bar { position: sticky; top: var(--hh); z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 4rem; }
.filter-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; }
.filter-pills { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .7rem 0; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid transparent; background: none; padding: .5rem 1.05rem; font-family: var(--serif); font-size: .98rem; color: var(--muted); transition: all .25s; border-radius: 999px; }
.pill:hover { color: var(--ink); }
.pill.active { border-color: var(--line-dark); color: var(--ink); }
.pill .n { font-family: var(--sans); font-size: .62rem; font-weight: 600; color: var(--gold); }
.search { flex: none; display: flex; align-items: center; gap: .6rem; border-bottom: 1px solid var(--line-2); padding: .4rem .1rem; color: var(--muted-2); width: 260px; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-family: var(--serif); font-size: 1.02rem; color: var(--ink); }
.search:focus-within { border-color: var(--gold); color: var(--ink); }
@media (max-width: 760px) {
  .filter-bar { margin-bottom: 2.4rem; }
  .filter-inner { flex-direction: column-reverse; align-items: stretch; gap: 0; padding: .6rem 1.15rem 0; min-height: 0; }
  .filter-pills { margin: 0 -1.15rem; padding: .55rem 1.15rem; }
  .pill { padding: .42rem .85rem; font-size: .92rem; }
  .search { width: 100%; border: 1px solid var(--line-2); padding: .5rem .75rem; }
  .search input { font-size: 16px; }
}

.cat-group { margin-bottom: 5.5rem; scroll-margin-top: calc(var(--hh) + 80px); }
.cat-group:last-child { margin-bottom: 0; }
.cat-intro { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 2rem; margin-bottom: 2.2rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.cat-intro h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.85rem); text-transform: uppercase; letter-spacing: .07em; line-height: 1.2; }
.cat-intro p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--muted); max-width: 640px; line-height: 1.5; }
.cat-intro .count { font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) {
  .cat-group { margin-bottom: 3.8rem; }
  .cat-intro { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
  .cat-intro p { grid-column: 1 / -1; grid-row: 2; font-size: 1rem; }
}

.cake-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
@media (max-width: 1200px) { .cake-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .cake-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.cake-card { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; text-align: left; outline: none; }
.cake-card:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.cake-card .img-zoom { aspect-ratio: 5 / 4; position: relative; }
.cake-card .quick { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; background: rgba(255,255,255,.95); color: var(--ink); padding: .65rem; text-align: center; font-family: var(--serif); font-size: .95rem; letter-spacing: .04em; opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); }
.cake-card:hover .quick { opacity: 1; transform: none; }
.cake-card .body { padding: 1.3rem 1.4rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.cake-card .eyebrow { font-size: .66rem; margin-bottom: .45rem; }
.cake-card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.15; margin: 0; transition: color .3s; }
.cake-card:hover h4 { color: var(--heritage); }
.cake-card .meta { margin: .55rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--muted); flex: 1; }
.cake-card .foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1rem; margin-top: 1.1rem; border-top: 1px solid var(--line); }
.cake-card .price { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.cake-card .price.soft { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.bag-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: all .3s var(--ease); }
.bag-btn svg { width: 17px; height: 17px; }
.cake-card:hover .bag-btn { background: var(--dark); border-color: var(--dark); color: #fff; }

@media (max-width: 620px) {
  .cake-card .body { padding: .9rem .85rem .9rem; }
  .cake-card .eyebrow { font-size: .56rem; letter-spacing: .14em; margin-bottom: .3rem; }
  .cake-card h4 { font-size: 1.18rem; }
  .cake-card .meta { font-size: .88rem; }
  .cake-card .foot { padding-top: .7rem; margin-top: .7rem; }
  .cake-card .price.soft { font-size: .52rem; letter-spacing: .08em; }
  .bag-btn { width: 32px; height: 32px; }
  .bag-btn svg { width: 14px; height: 14px; }
  .cake-card .quick { display: none; }
}

.empty { text-align: center; font-family: var(--serif); font-size: 1.35rem; color: var(--muted); padding: 2.5rem 0; }
.empty .text-link { margin-left: .75rem; }

/* ---------- Így működik (a weboldal folyamat-sávja) ---------- */

.process-strip { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6rem 2.5rem; text-align: center; }
.process-strip__inner { max-width: 1180px; margin: 0 auto; }
.process-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.4rem; }
.process-step { padding: 0 2.4rem; border-left: 1px solid var(--line-2); }
.process-step:first-child { border-left: 0; }
.process-step__numeral { display: block; font-family: var(--serif); font-size: 2.1rem; font-style: italic; color: var(--gold-light); line-height: 1; }
.process-step__title { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 1rem 0 .7rem; }
.process-step__text { margin: 0; font-size: 1.02rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 800px) {
  .process-strip { padding: 4rem 1.15rem; }
  .process-strip__grid { grid-template-columns: 1fr; gap: 2.4rem; margin-top: 2.4rem; }
  .process-step { border-left: 0; padding: 0; }
}

/* ---------- Átvétel (osztott szekció) ---------- */

.split-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: #fff; }
.split-section__content { display: flex; align-items: center; justify-content: center; padding: 5rem clamp(1.5rem, 6vw, 6rem); text-align: center; }
.split-section__inner { max-width: 500px; width: 100%; }
.split-section__media { position: relative; overflow: hidden; background: var(--cream-2); }
.split-section__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hours-list { margin: 1.8rem 0 0; text-align: left; }
.hours-row { display: flex; justify-content: space-between; align-items: baseline; padding: .42rem 0; border-bottom: 1px dotted #e5e0d8; }
.hours-row__day { color: var(--muted); }
.hours-row__time { font-family: var(--sans); font-size: .74rem; font-weight: 600; color: var(--charcoal); letter-spacing: .03em; }
.hours-note { margin: .8rem 0 1.8rem; font-style: italic; font-size: .9rem; color: var(--gold); text-align: left; }
@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; min-height: 0; }
  .split-section__media { height: 70vw; max-height: 460px; order: -1; }
  .split-section__content { padding: 3.2rem 1.25rem; }
}

.quote-interlude { background: var(--cream); padding: 5.5rem 1.5rem; text-align: center; border-top: 1px solid var(--line); }
.quote-interlude__inner { max-width: 820px; margin: 0 auto; }
.quote-interlude__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.6; color: var(--charcoal); margin: 0 0 2rem; }

/* ---------- Lábléc ---------- */

.botanical-divider { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.5rem 1.5rem 2.2rem; display: flex; justify-content: center; }
.botanical-divider svg { width: min(520px, 90vw); height: auto; color: var(--heritage); }
.site-footer { background: #fff; padding: 4.2rem 2.5rem 2rem; }
.site-footer__inner { max-width: 1340px; margin: 0 auto; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.4rem; border-bottom: 1px solid var(--line); }
.footer-logo img { height: 92px; }
.footer-about { margin: 1.2rem 0 0; font-size: .98rem; color: var(--muted); max-width: 300px; line-height: 1.6; }
.footer-col__title { font-family: var(--serif); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--charcoal); margin: 0 0 1.3rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .62rem; }
.footer-links a { font-size: .98rem; color: var(--muted); }
.footer-links a:hover, .footer-contact-item a:hover { color: var(--gold); }
.footer-contact-item { margin-bottom: 1rem; font-size: .98rem; line-height: 1.55; color: var(--muted); }
.footer-contact-item strong { display: block; font-weight: 600; color: var(--charcoal); margin-bottom: .1rem; }
.site-footer__bottom { padding-top: 1.6rem; font-family: var(--sans); font-size: .7rem; color: var(--muted-2); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) {
  .site-footer { padding: 3rem 1.25rem 1.6rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Mobil kosár sáv ---------- */

.mobile-cartbar { display: none; }
@media (max-width: 760px) {
  .mobile-cartbar:not(.hidden) {
    display: flex; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center; justify-content: space-between; gap: 12px;
    background: var(--dark); color: #fff; border: 0; padding: .95rem 1.1rem; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
    font-family: var(--serif); font-size: 1rem; letter-spacing: .03em; animation: rise .45s var(--ease);
  }
  .mc-left { display: flex; align-items: center; gap: .6rem; }
  .mc-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--gold-light); color: var(--ink); display: inline-grid; place-items: center; font-family: var(--sans); font-size: .7rem; font-weight: 600; }
  body.has-cart .site-footer { padding-bottom: 110px; }
}
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Termék modal ---------- */

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,19,18,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s ease; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: min(1080px, 100%); height: min(740px, calc(100vh - 48px)); height: min(740px, calc(100dvh - 48px)); background: #fff; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; opacity: 0; transform: translateY(24px) scale(.985); transition: all .45s var(--ease); overflow: hidden; }
.modal.open .modal-panel { opacity: 1; transform: none; }
.pm-media { position: relative; background: var(--cream-2); display: flex; flex-direction: column; min-height: 0; }
.pm-media .img-zoom { flex: 1; min-height: 0; }
.pm-illus { position: absolute; left: 1rem; bottom: .8rem; margin: 0; font-family: var(--sans); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.pm-body { display: flex; flex-direction: column; min-height: 0; }
.pm-scroll { flex: 1; overflow-y: auto; padding: 2.8rem 2.8rem 1.5rem; overscroll-behavior: contain; }
.crumbs { font-family: var(--serif); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.crumbs span { color: var(--muted-3); margin: 0 .4rem; }
#pm-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); text-transform: uppercase; letter-spacing: .05em; line-height: 1.12; margin: 0; padding-right: 2.4rem; }
.pm-sub { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.15rem; margin: .45rem 0 1.4rem; }
.pm-desc { font-size: 1.05rem; color: var(--muted); line-height: 1.7; margin: 0 0 1.4rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pm-lead { margin: 0 0 1.4rem; font-family: var(--sans); font-size: .76rem; color: var(--muted-2); display: flex; align-items: center; gap: .5rem; }
.pm-lead::before { content: ''; width: 13px; height: 13px; flex: none; border: 1.4px solid var(--gold-light); border-radius: 50%; }
.pm-lead b { color: var(--ink); font-weight: 600; }
.pm-block { margin-bottom: 1.3rem; }
.pm-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.pm-label .label { margin: 0; }
.pm-hint { font-family: var(--sans); font-size: .72rem; color: var(--muted-2); }
.pm-hint.err { color: var(--danger); }

.size-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.size-row button { border: 1px solid var(--line-2); background: #fff; padding: .85rem .3rem .8rem; display: flex; flex-direction: column; align-items: center; gap: .15rem; transition: all .2s; }
.size-row button i { font-style: normal; font-family: var(--sans); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.size-row button b { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.05; }
.size-row button span { font-family: var(--serif); font-size: .95rem; color: var(--muted); }
.size-row button em { font-style: normal; font-family: var(--sans); font-size: .68rem; font-weight: 600; margin-top: .4rem; padding-top: .4rem; border-top: 1px solid var(--line); width: 80%; text-align: center; color: var(--ink); }
.size-row button:hover { border-color: var(--gold-pale); }
.size-row button.sel { background: var(--dark); border-color: var(--dark); color: #fff; }
.size-row button.sel i, .size-row button.sel span, .size-row button.sel em { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.18); }
.size-row.single { grid-template-columns: minmax(0, 200px); }
.size-row.shake, .variant-row.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.variant-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.variant-row button { flex: 1; min-width: 140px; border: 1px solid var(--line-2); background: #fff; padding: .8rem 1rem; font-family: var(--serif); font-size: 1.05rem; transition: all .2s; }
.variant-row button:hover { border-color: var(--gold-pale); }
.variant-row button.sel { background: var(--dark); border-color: var(--dark); color: #fff; }

.pm-calc { margin: .3rem 0 1.4rem; padding: 1rem 1.2rem; background: var(--cream); border: 1px solid var(--line); }
.pm-calc:empty { display: none; }
.pm-calc dl { margin: 0; display: grid; gap: .3rem; }
.pm-calc dl div { display: flex; justify-content: space-between; gap: .75rem; font-size: 1rem; color: var(--muted); }
.pm-calc dd { margin: 0; white-space: nowrap; color: var(--ink); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line-2); }
.calc-total span { font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); }
.calc-total b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.calc-empty { font-size: 1rem; color: var(--muted); font-style: italic; }

.acc { border-bottom: 1px solid var(--line); }
.acc:first-of-type { border-top: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; gap: .75rem; padding: 1rem 0; cursor: pointer; font-family: var(--serif); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary em { font-style: italic; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--muted-2); font-size: .95rem; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; font-weight: 300; line-height: 1; color: var(--gold); transition: transform .3s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 0 1.2rem; }
.acc-text p { margin: 0 0 .5rem; font-size: 1rem; color: var(--muted); line-height: 1.6; }
.acc-text a { color: var(--gold); border-bottom: 1px solid var(--gold-pale); }
.counter { display: block; text-align: right; font-family: var(--sans); font-size: .68rem; color: var(--muted-2); margin-top: .4rem; }

.pm-buy { display: flex; gap: .75rem; padding: 1.1rem 2.8rem; border-top: 1px solid var(--line); background: #fff; }
.pm-add { flex: 1; line-height: 1.25; }
.add-price { opacity: .8; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); background: #fff; }
.qty button { width: 42px; height: 100%; min-height: 48px; border: 0; background: none; font-size: 1.1rem; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 24px; text-align: center; font-family: var(--sans); font-weight: 600; font-size: .85rem; }
.qty.sm button { width: 32px; min-height: 34px; font-size: 1rem; }

.icon-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--muted); transition: all .25s; }
.icon-close:hover { background: var(--dark); border-color: var(--dark); color: #fff; }

@media (max-width: 860px) {
  .modal { padding: 0; place-items: end stretch; }
  .modal-panel { height: 100%; height: 100dvh; width: 100%; transform: translateY(40px); overflow-y: auto; display: flex; flex-direction: column; }
  .pm-media { flex: none; height: 70vw; max-height: 420px; }
  .pm-media .img-zoom { height: 100%; flex: none; }
  .pm-body { flex: 1; min-height: auto; }
  .pm-scroll { overflow: visible; padding: 1.5rem 1.25rem 1rem; }
  #pm-title { font-size: 1.9rem; }
  .pm-buy { position: sticky; bottom: 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px -12px rgba(0,0,0,.18); }
  .size-row { grid-template-columns: repeat(2, 1fr); }
  .icon-close { position: fixed; }
}

/* ---------- Kosár panel ---------- */

.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20,19,18,.5); opacity: 0; transition: opacity .35s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer.open .drawer-panel { transform: none; }
.cart-head { position: relative; padding: 1.6rem 4.5rem 1.3rem 1.75rem; border-bottom: 1px solid var(--line); }
.cart-head .eyebrow { margin-bottom: .3rem; }
.cart-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.cart-head .icon-close { top: 50%; transform: translateY(-50%); right: 1.1rem; position: absolute; }
.cart-body { flex: 1; overflow-y: auto; padding: .4rem 1.75rem; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 84px; height: 84px; object-fit: cover; }
.ci-top { display: flex; justify-content: space-between; gap: .5rem; }
.ci-name { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.15; margin: 0; }
.ci-remove { background: none; border: 0; color: var(--muted-2); font-family: var(--sans); font-size: .68rem; text-decoration: underline; text-underline-offset: 3px; padding: 0; height: fit-content; }
.ci-remove:hover { color: var(--danger); }
.ci-meta { font-size: .95rem; color: var(--muted); margin: .2rem 0 .65rem; line-height: 1.45; }
.ci-meta b { color: var(--ink); font-weight: 600; }
.ci-row { display: flex; align-items: center; gap: .75rem; }
.ci-edit { background: none; border: 0; padding: 0; font-family: var(--serif); font-size: .92rem; font-style: italic; color: var(--gold); }
.ci-price { font-family: var(--serif); font-size: 1.1rem; margin-left: auto; white-space: nowrap; }
.ci-price.soft { font-family: var(--sans); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.cart-empty { text-align: center; padding: 4rem .75rem; }
.cart-empty h4 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .05em; margin: 1.1rem 0 .4rem; }
.cart-empty p { color: var(--muted); margin: 0 0 1.6rem; }
.cart-empty svg { width: 42px; height: 42px; color: var(--gold-light); margin: 0 auto; }
.cart-foot { padding: 1.2rem 1.75rem calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.cart-total span { font-family: var(--sans); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); }
.cart-total b { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.cart-total small { font-family: var(--sans); font-size: .66rem; color: var(--muted-2); font-weight: 500; }
.cart-note { font-size: .92rem; color: var(--muted); margin: 0 0 1rem; line-height: 1.5; }
.cart-continue { display: flex; margin: 1rem auto 0; width: fit-content; }
@media (max-width: 520px) {
  .cart-head, .cart-body, .cart-foot { padding-left: 1.1rem; padding-right: 1.1rem; }
  .cart-item { grid-template-columns: 70px 1fr; gap: .75rem; }
  .cart-item img { width: 70px; height: 70px; }
}

/* ---------- Pénztár ---------- */

.checkout { position: fixed; inset: 0; z-index: 80; background: var(--cream); display: flex; flex-direction: column; visibility: hidden; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease), visibility 0s .4s; }
.checkout.open { visibility: visible; opacity: 1; transform: none; transition: opacity .4s, transform .5s var(--ease); }
.co-head { background: #fff; border-bottom: 1px solid var(--line); flex: none; }
.co-head-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.co-back { justify-self: start; background: none; border: 0; padding: 0; font-family: var(--serif); font-size: 1rem; color: var(--charcoal); }
.co-back:hover { color: var(--gold); }
.co-logo { height: 54px; width: auto; }
.co-secure { justify-self: end; display: inline-flex; align-items: center; gap: .45rem; font-family: var(--sans); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); }
.stepper { list-style: none; display: flex; justify-content: center; margin: 0 auto; padding-bottom: 1rem; }
.stepper li { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted-3); }
.stepper li + li::before { content: ""; width: 56px; height: 1px; background: var(--line-2); margin: 0 1rem; }
.stepper li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--sans); font-size: .68rem; letter-spacing: 0; }
.stepper li.on { color: var(--ink); }
.stepper li.on span { background: var(--dark); color: #fff; border-color: var(--dark); }
.stepper li.done { color: var(--gold); }
.co-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.co-grid { display: grid; grid-template-columns: 1fr 370px; gap: 3.5rem; padding-top: 3rem; padding-bottom: 4rem; max-width: 1180px; }
.co-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.3rem); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .3rem; }
.co-lead { color: var(--muted); margin: 0 0 1.8rem; font-size: 1.05rem; }
.lbl-date { text-transform: none; letter-spacing: .02em; color: var(--ink); font-weight: 500; margin-left: .3rem; }

.store-fixed { display: flex; gap: 1rem; align-items: center; padding: .8rem; border: 1px solid var(--line); background: #fff; margin-bottom: 1.8rem; }
.store-fixed img { width: 84px; height: 64px; object-fit: cover; flex: none; }
.store-fixed b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1.15; }
.store-fixed small { display: block; font-size: .95rem; color: var(--muted); line-height: 1.4; }
.store-fixed .tick { margin-left: auto; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: .7rem; }

.pick-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: start; }
.mini-cal { background: #fff; border: 1px solid var(--line); padding: 1rem; user-select: none; }
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.mc-head b { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; text-transform: capitalize; }
.mc-nav { width: 32px; height: 32px; border: 1px solid var(--line-2); background: none; display: grid; place-items: center; border-radius: 50%; transition: all .2s; font-size: 1rem; }
.mc-nav:hover:not(:disabled) { border-color: var(--dark); }
.mc-nav:disabled { opacity: .3; cursor: default; }
.mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.mc-grid .dow { font-family: var(--sans); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; padding: 4px 0 6px; }
.mc-day { height: 40px; width: 40px; margin: 0 auto; border: 0; background: none; font-family: var(--sans); font-size: .82rem; border-radius: 50%; transition: all .15s; display: grid; place-items: center; font-weight: 500; }
.mc-day:hover:not(:disabled) { background: var(--cream-2); box-shadow: inset 0 0 0 1px var(--gold-pale); }
.mc-day:disabled { color: #d6d0c8; cursor: default; font-weight: 400; }
.mc-day.today { box-shadow: inset 0 0 0 1px var(--gold-light); }
.mc-day.sel { background: var(--dark) !important; color: #fff; box-shadow: none; }
.mc-lead { margin: .7rem 2px 0; font-size: .92rem; line-height: 1.4; color: var(--muted); }
.mc-lead b { color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots .hint { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--muted-2); padding: .75rem 0; }
.slot { border: 1px solid var(--line-2); background: #fff; padding: .65rem 0; font-family: var(--sans); font-size: .82rem; font-weight: 500; transition: all .2s; }
.slot:hover:not(:disabled) { border-color: var(--gold-pale); }
.slot.sel { background: var(--dark); color: #fff; border-color: var(--dark); }
.slot:disabled { color: #d6d0c8; background: transparent; cursor: default; text-decoration: line-through; }

.co-aside { position: relative; }
.co-sum { position: sticky; top: 24px; background: #fff; border: 1px solid var(--line); padding: 1.5rem 1.5rem 1.3rem; }
.co-sum h3 { font-family: var(--serif); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .4rem; font-weight: 600; }
.co-items .row { display: grid; grid-template-columns: 54px 1fr auto; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.co-items .row img { width: 54px; height: 54px; object-fit: cover; }
.co-items .row b { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.2; }
.co-items .row small { display: block; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.co-items .row-price { font-family: var(--sans); font-weight: 600; font-size: .74rem; white-space: nowrap; }
.co-meta { margin: .9rem 0 0; display: grid; gap: .4rem; font-size: 1rem; }
.co-meta div { display: flex; justify-content: space-between; gap: .75rem; }
.co-meta dt { color: var(--muted); }
.co-meta dd { margin: 0; text-align: right; font-weight: 600; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line-2); }
.co-total span { font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); }
.co-total b { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.co-total b.soft { font-style: italic; font-size: 1.05rem; color: var(--muted); }
.co-small { font-size: .9rem; color: var(--muted-2); margin: .5rem 0 0; font-style: italic; }
.co-mobile-sum { display: none; }

.co-foot { flex: none; background: #fff; border-top: 1px solid var(--line); padding: .85rem 0 calc(.85rem + env(safe-area-inset-bottom)); }
.co-foot-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1180px; }
.co-foot .btn-solid-dark { min-width: 240px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.review { background: #fff; border: 1px solid var(--line); margin-bottom: 1.4rem; }
.review section { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.review section:last-child { border-bottom: 0; }
.review h4 { display: flex; justify-content: space-between; font-family: var(--serif); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 .6rem; color: var(--gold); font-weight: 600; }
.review h4 button { background: none; border: 0; padding: 0; font-family: var(--serif); font-style: italic; font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.review p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.review .it { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; padding: .35rem 0; }
.review .it b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.review .it small { display: block; color: var(--muted); font-size: .95rem; }
.review .it-price { white-space: nowrap; font-family: var(--sans); font-size: .76rem; font-weight: 600; }
.review .it-total { border-top: 1px solid var(--line); padding-top: .6rem; margin-top: .4rem; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--dark); width: 18px; height: 18px; flex: none; }
.od-errors { background: #f9ede9; border: 1px solid #ebcfc6; color: var(--danger); padding: .9rem 1.1rem; font-family: var(--sans); font-size: .8rem; margin-top: 1.2rem; }
.od-errors ul { margin: 0; padding-left: 1.1rem; }

.co-success { text-align: center; max-width: 620px; margin: 0 auto; padding: 1.2rem 0; }
.co-success .seal { width: 76px; height: 76px; margin: 0 auto 1.4rem; border-radius: 50%; border: 1px solid var(--gold-pale); display: grid; place-items: center; color: var(--gold); background: #fff; box-shadow: 0 0 0 8px var(--cream-2); animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.order-no { margin: .9rem 0 1.8rem; font-family: var(--sans); font-size: .8rem; letter-spacing: .06em; color: var(--muted-2); }
.order-no strong { color: var(--ink); font-size: 1rem; letter-spacing: .1em; }
.receipt { text-align: left; background: #fff; border: 1px solid var(--line); padding: .3rem 1.4rem; margin-bottom: 1.6rem; }
.receipt div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line-2); font-size: 1rem; }
.receipt div:last-child { border-bottom: 0; }
.receipt span { color: var(--muted); flex: none; }
.receipt b { font-weight: 600; text-align: right; }
.next { text-align: left; margin-bottom: 1.8rem; }
.next h4 { font-family: var(--serif); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .7rem; }
.next ol { margin: 0; padding-left: 1.1rem; font-size: 1.02rem; color: var(--muted); display: grid; gap: .5rem; }
.next a { color: var(--gold); border-bottom: 1px solid var(--gold-pale); }
.checkout.success .co-aside, .checkout.success .co-foot, .checkout.success .stepper, .checkout.success .co-mobile-sum { display: none; }
.checkout.success .co-grid { grid-template-columns: 1fr; }

@media (max-width: 980px) {
  .co-grid { grid-template-columns: 1fr; gap: 0; padding-top: 1.3rem; }
  .co-aside { display: none; }
  .co-mobile-sum { display: block; background: #fff; border: 1px solid var(--line); margin-bottom: 1.6rem; }
  .co-mobile-sum summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: .85rem 1rem; font-family: var(--serif); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; cursor: pointer; }
  .co-mobile-sum summary::-webkit-details-marker { display: none; }
  .co-mobile-sum summary b { font-family: var(--serif); letter-spacing: 0; text-transform: none; font-size: 1.02rem; font-weight: 500; color: var(--gold); }
  .co-mobile-sum summary b::after { content: " ▾"; font-size: .7rem; }
  .co-mobile-sum[open] summary b::after { content: " ▴"; }
  .co-mobile-sum .co-items { padding: 0 1rem .5rem; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .co-head-inner { height: 62px; }
  .co-logo { height: 42px; }
  .co-back-t, .co-secure { display: none; }
  .co-back span:first-child { font-size: 1.3rem; }
  .stepper { padding-bottom: .75rem; }
  .stepper li { font-size: .66rem; letter-spacing: .1em; gap: .35rem; }
  .stepper li + li::before { width: 18px; margin: 0 .5rem; }
  .stepper li span { width: 22px; height: 22px; font-size: .6rem; }
  .pick-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .slots { grid-template-columns: repeat(4, 1fr); }
  .two { grid-template-columns: 1fr; gap: 0; }
  .input, .textarea { font-size: 16px; }
  .co-foot .btn-solid-dark { min-width: 0; flex: 1; margin-left: 1rem; }
  .review section { padding: 1rem; }
}

body.lock { overflow: hidden; }
@media (max-width: 760px) {
  body.has-cart .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .toast { text-align: center; line-height: 1.5; }
}
@media (pointer: coarse) {
  .qty button { min-width: 48px; }
  .qty.sm button { min-width: 40px; min-height: 40px; }
  .ci-edit, .ci-remove { min-height: 36px; }
}

/* ---------- Mobil finomítások ---------- */
html, body { overflow-x: hidden; }
.cart-item > div { min-width: 0; }
.ci-meta { overflow-wrap: anywhere; }
.ci-row { flex-wrap: wrap; row-gap: .4rem; }
@media (max-width: 520px) {
  .heading-display { font-size: clamp(1.9rem, 9.4vw, 2.5rem); letter-spacing: .05em; }
  .hero-text-inner { max-width: 100%; }
  .body-editorial { font-size: 1.02rem; }
}

/* ---------- Allergén-tájékoztató ---------- */
.allergen-section { background: #fff; border-top: 1px solid var(--line); padding: 5.5rem 1.5rem; }
.allergen-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.allergen-text { text-align: left; border: 1px solid var(--line); background: var(--cream); padding: 2rem 2.2rem; }
.allergen-text p { margin: 0 0 1rem; font-size: 1.08rem; line-height: 1.75; color: var(--muted); }
.allergen-text p:last-child { margin-bottom: 0; }
.allergen-text strong { color: var(--charcoal); font-weight: 600; }
.allergen-warn { border-left: 2px solid var(--burgundy); padding: .2rem 0 .2rem 1rem; color: var(--charcoal) !important; font-style: italic; }
.allergen-chips { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.allergen-chips li { border: 1px solid var(--gold-pale); background: var(--cream); padding: .3rem .75rem; border-radius: 999px; font-family: var(--sans); font-size: .72rem; font-weight: 500; color: var(--charcoal); }
.pm-allergens .label { margin-bottom: .5rem; }
.allergen-note { background: var(--cream-2); border: 1px solid var(--line); border-left: 2px solid var(--burgundy); padding: .9rem 1.1rem; margin: 0 0 1.2rem; }
.allergen-note b { display: block; font-family: var(--serif); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .3rem; }
.allergen-note p { margin: 0; font-size: .98rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 640px) {
  .allergen-section { padding: 3.6rem 1.15rem; }
  .allergen-text { padding: 1.3rem 1.1rem; }
  .allergen-text p { font-size: 1rem; }
}
html { scroll-padding-top: calc(var(--hh) + 8px); }

/* Allergén-tájékoztató: középre igazítva, keskenyebb szövegsáv */
.allergen-inner { max-width: 720px; }
.allergen-text { text-align: center; padding: 2.2rem 2.6rem; }
.allergen-text p { max-width: 600px; margin-left: auto; margin-right: auto; }
.allergen-warn { border-left: 0; padding: 1.1rem 0 0; margin-top: 1.2rem !important; border-top: 1px solid var(--gold-pale); }
@media (max-width: 640px) {
  .allergen-text { padding: 1.5rem 1.2rem; }
}

/* ---------- Két átvételi pont ---------- */
/* tükrözött szekció: balra kép, jobbra szöveg */
.split-section--reverse .split-section__media { order: -1; }
.split-section + .split-section { border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .split-section--reverse .split-section__media { order: -1; }
}

/* hero: 4 adat */
.hero-facts { gap: 2rem; }
@media (max-width: 960px) { .hero-facts { gap: .5rem; } .hero-facts dd { letter-spacing: .1em; } }

/* pénztár: átvételi hely választása */
.store-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.8rem; }
.store-opt { position: relative; }
.store-opt input { position: absolute; opacity: 0; pointer-events: none; }
.store-opt label { display: flex; gap: .9rem; align-items: center; padding: .7rem; border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .25s; height: 100%; }
.store-opt label img { width: 78px; height: 62px; object-fit: cover; flex: none; }
.store-opt label b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.15; }
.store-opt label small { display: block; font-size: .92rem; color: var(--muted); line-height: 1.35; }
.store-opt label small.so-closed { font-family: var(--sans); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-top: .25rem; }
.store-opt label:hover { border-color: var(--gold-pale); }
.store-opt input:checked + label { border-color: var(--dark); box-shadow: inset 0 0 0 1px var(--dark); }
.store-opt input:checked + label::after { content: "✓"; margin-left: auto; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: .7rem; }
.store-opt input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 640px) {
  .store-pick { grid-template-columns: 1fr; }
  .store-opt label img { width: 64px; height: 52px; }
}
.store-note { margin: -1rem 0 1.4rem; padding: .75rem 1rem; background: #fbefe3; border-left: 2px solid #c27a3f; color: #7a4a22; font-size: .98rem; line-height: 1.5; }

/* ---------- Személyre szabás (extrák) ---------- */
.cz-label { margin: 1.3rem 0 .7rem; font-family: var(--sans); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.acc-body > .cz-label:first-child { margin-top: .2rem; }
.cz-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.cz-chip { position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: .62rem 1.05rem .62rem .85rem; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: .98rem; line-height: 1.25; cursor: pointer; transition: border-color .2s, background .2s; max-width: 100%; }
.cz-chip:hover { border-color: var(--gold-pale); }
.cz-chip > input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.cz-dot { flex: 0 0 auto; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: all .2s; }
.cz-chip input:checked ~ .cz-dot { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px #fff; }
.cz-chip:has(input:checked) { border-color: var(--gold); background: var(--cream); }
.cz-chip input:focus-visible ~ .cz-dot { outline: 2px solid var(--gold); outline-offset: 2px; }
.cz-chip em { font-style: normal; font-family: var(--sans); font-size: .7rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.cz-num input { width: 4.2rem; padding: .3rem .5rem; border: 1px solid var(--line-2); border-radius: 6px; font: inherit; font-size: .95rem; background: #fff; }
.cz-num input:focus { outline: none; border-color: var(--gold); }
.cz-num.shake { animation: shake .4s; }
.cz-note { margin: 1rem 0 0; font-size: .9rem; color: var(--muted-2); font-style: italic; }

/* ---------- Tortakártya: rövid leírás ---------- */
.cake-card .desc { margin: .5rem 0 0; font-size: .98rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cake-card .meta { flex: 1; }
@media (max-width: 560px) { .cake-card .desc { font-size: .88rem; -webkit-line-clamp: 2; } }

/* ---------- Tortaablak: leírás + Bővebben, allergének ---------- */
.pm-desc-wrap { margin: 0 0 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pm-desc-wrap .pm-desc { margin: 0; padding: 0; border: 0; }
.pm-desc-wrap .pm-more { margin-top: .6rem; }
.pm-more-btn { margin-top: .5rem; border: 0; background: none; padding: 0; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); border-bottom: 1px solid var(--gold-pale); cursor: pointer; }
.pm-more-btn:hover { color: var(--ink); border-color: var(--ink); }
.pm-alg { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .45rem; margin: 0 0 1.2rem; }
.pm-alg-l { font-family: var(--sans); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); margin-right: .2rem; }
.alg { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem .22rem .25rem; border: 1px solid var(--gold-pale); border-radius: 999px; background: #fff; }
.alg i { width: 22px; height: 22px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--gold); flex: 0 0 auto; }
.alg i svg { width: 16px; height: 16px; }
.alg b { font-family: var(--sans); font-size: .7rem; font-weight: 500; color: var(--charcoal); }
.allergen-chips li { border: 0; background: none; padding: 0; }
.allergen-chips { flex-direction: column; gap: .35rem; }
.allergen-chips .alg { border-radius: 14px; align-items: flex-start; }
.allergen-chips .alg b { line-height: 1.4; padding-top: .15rem; }
.alg-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: 0 0 1.2rem; }
.alg--legend { border-radius: 14px; text-align: left; }

/* ---------- Személyre szabás (mindig nyitva) ---------- */
.pm-custom { margin: .4rem 0 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pm-custom-title { margin: 0 0 .6rem; font-family: var(--serif); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.cz-intro { margin: 0 0 .5rem; font-size: .98rem; line-height: 1.6; color: var(--muted); }
.cz-intro--soft { font-style: italic; color: var(--muted-2); margin-bottom: 1rem; }
.cz-label i { font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; font-family: var(--serif); font-size: .9rem; color: var(--muted-2); }
.cz-chip.on { border-color: var(--gold); background: var(--cream); }
.cz-chip em { font-style: normal; font-family: var(--sans); font-size: .68rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.cz-num { display: inline-flex; align-items: center; gap: .3rem; }
.cz-num i { font-style: normal; font-family: var(--sans); font-size: .72rem; color: var(--muted); }
.cz-choice { border: 1px solid var(--line-2); background: #fff; border-radius: 14px; padding: .75rem .9rem .8rem; margin-bottom: .55rem; }
.cz-choice.on { border-color: var(--gold); background: var(--cream); }
.cz-choice-h { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: .55rem; }
.cz-choice-h b { font-weight: 400; font-size: 1rem; }
.cz-choice-h em { font-style: normal; font-family: var(--sans); font-size: .68rem; font-weight: 600; color: var(--gold); }
.cz-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.cz-pill { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: .42rem .95rem; font-family: var(--serif); font-size: .96rem; color: var(--ink); cursor: pointer; transition: all .2s; }
.cz-pill:hover { border-color: var(--gold-pale); }
.cz-pill.sel { background: var(--dark); border-color: var(--dark); color: #fff; }
.cz-hints { list-style: none; margin: .8rem 0 0; padding: .7rem .9rem; background: #fbf3e3; border-left: 2px solid var(--gold); display: grid; gap: .3rem; }
.cz-hints li { font-size: .92rem; color: var(--charcoal); line-height: 1.45; }
.cz-note { margin: .8rem 0 0; }
.cz-textarea { min-height: 84px; }
.cz-attach { margin-top: .7rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; padding: .8rem .9rem; border: 1px dashed var(--line-2); background: #fff; }
.cz-attach.need { border-color: var(--danger); background: #fdf5f3; }
.cz-attach.shake { animation: shake .4s; }
.cz-attach-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border: 1px solid var(--line-dark); background: #fff; font-family: var(--serif); font-size: .98rem; cursor: pointer; transition: all .2s; }
.cz-attach-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.cz-attach-file { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.cz-attach-file img { width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--line); }
.cz-attach-file span { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.cz-attach-del { border: 0; background: none; padding: 0; font-family: var(--sans); font-size: .7rem; color: var(--danger); text-decoration: underline; cursor: pointer; }
.cz-attach-hint { flex-basis: 100%; font-family: var(--sans); font-size: .72rem; color: var(--muted-2); }
.cz-attach.need .cz-attach-hint { color: var(--danger); font-weight: 500; }
.calc-total small { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--gold); font-size: .72rem; }
.calc-note { margin: .6rem 0 0; font-size: .85rem; font-style: italic; color: var(--muted-2); }
.pm-calc dd i { font-family: var(--sans); font-style: normal; font-size: .72rem; color: var(--gold); font-weight: 600; }
.it-note { margin: .5rem 0 0; font-size: .88rem; font-style: italic; color: var(--muted-2); }
.cz-hints b { font-weight: 600; }

/* ---------- Kosár: tételes árkalkuláció ---------- */
.ci-calc { margin: .55rem 0 .2rem; padding: .55rem .7rem; background: var(--cream); border: 1px solid var(--line); display: grid; gap: .2rem; }
.ci-calc div { display: flex; justify-content: space-between; gap: .8rem; }
.ci-calc dt { font-size: .9rem; color: var(--muted); line-height: 1.35; min-width: 0; }
.ci-calc dd { margin: 0; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.ci-calc dd i { font-family: var(--sans); font-style: normal; font-size: .68rem; font-weight: 600; color: var(--gold); }
.ci-calc .ci-sub { border-top: 1px solid var(--line-2); padding-top: .25rem; margin-top: .15rem; }
.ci-calc .ci-sub dt { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted-2); align-self: center; }
.ci-price small { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 600; color: var(--gold); text-align: right; }
