:root {
  --bg: #0c0c0c;
  --card: #1b1b1b;
  --card-hover: #222;
  --text: #ffffff;
  --muted: #d6d6d6;
  --accent: #ee9a48;
  --accent-dark: #1a1208;
  --heart: #f0432a;
  --radius: 1.25rem;
  --container: 88.375rem;   /* v2: 1414 px; 1440-es nézetben a gutter miatt 1312 */
  --gutter: 4rem;   /* v2: 64 px lapszél */
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.4;
  background-color: var(--bg);
  background-image: url("../assets/img/bg-v2@2x.jpg");
  background-image: -webkit-image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
  background-image: image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: max(100%, 119.94rem) auto; /* v2 terv: 1919×2472; ennél keskenyebb kijelzőn a kép középen túllóg */
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, address { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.icon { width: 1em; height: 1em; display: block; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding-top: 1.125rem;
}
.brand img {
  width: 15.5rem;
  height: auto;
  margin-top: 3.6rem;
  margin-left: -6px;
}
.main-nav {
  display: flex;
  gap: 4.6rem;
  padding-top: 0.375rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.main-nav a { opacity: 0.92; transition: opacity .2s; }
.main-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.25rem; }

.cart {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 1.25rem;
  padding-top: 0.125rem;
}
.cart-count {
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3125rem;
  border-radius: 0.3125rem;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.125rem;
  text-align: center;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  align-items: center;
}
.nav-toggle span { display: block; width: 1.375rem; height: 0.125rem; background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(0.516 * var(--bgw));
  display: flex;
  align-items: flex-start;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 35rem) 1fr;
  padding-top: 23.25rem;
}
.hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.875rem;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero-copy p {
  font-size: 1.125rem;
  line-height: 1.35;
  color: #f2f2f2;
  margin-bottom: 3.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.625rem;
  height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: transform .15s, filter .15s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.hero .btn { height: 2.9375rem; }

.hero-address {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.1rem;
  font-size: 1.1875rem;
  line-height: 1.28;
}
.hero-address .icon { font-size: 2.375rem; }

.hero-feature {
  display: block;
  position: absolute;
  --bgw: max(100vw, 119.94rem);
  left: calc(50% - 0.113 * var(--bgw));
  top: calc(0.125 * var(--bgw) - 0.9rem);
  font-family: var(--font-serif);
}
.hero-feature-name {
  font-size: 1.875rem;
  line-height: 1.05;
  color: #eaeaea;
}
.hero-feature-price {
  margin-top: 0.875rem;
  font-family: var(--font-sans);
  font-size: 1.375rem;
  color: #eaeaea;
}

/* ---------- Categories ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(5, 15rem);
  justify-content: space-between;
  gap: 1.75rem;
  margin-top: 1.875rem;
}
.cat-card {
  position: relative;
  height: 21.5rem;
  padding: 1.375rem 1.75rem 3.9rem;
  border-radius: 1.125rem;
  background: var(--card);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1.5rem 3.75rem rgba(0,0,0,.45);
  transition: transform .25s, background .25s;
}
.cat-card:hover { transform: translateY(-4px); background: var(--card-hover); }
.cat-card img {
  height: 12.75rem;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 1.125rem 1.5rem rgba(0,0,0,.55));
}
.cat-card h2 {
  margin-top: auto;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.05;
}
.cat-fav {
  position: absolute;
  top: 1rem;
  right: 2.4rem;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: var(--heart);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9375rem;
  box-shadow: 0 0.375rem 0.875rem rgba(0,0,0,.4);
}

/* ---------- Favorites ---------- */
.favorites { margin-top: 2.5rem; }
.section-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}
.cart--inline {
  position: absolute;
  right: calc(-1 * (100vw - 2 * var(--gutter) - 100%) / 2);
  top: 50%;
  transform: translateY(-50%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 18.3rem);
  justify-content: space-between;
  gap: 2.375rem 2.3rem;
}
.product {
  position: relative;
  min-height: 24.375rem;
  padding: 2.5rem 2rem 2.125rem;
  border-radius: var(--radius);
  background: var(--card);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1.5rem 3.75rem rgba(0,0,0,.45);
  transition: transform .25s, background .25s;
}
.product:hover { transform: translateY(-4px); background: var(--card-hover); }
.product img {
  height: 12.5rem;
  width: auto;
  max-width: 13.75rem;
  margin: 0 auto 1.25rem;
  object-fit: contain;
  filter: drop-shadow(0 1.25rem 1.625rem rgba(0,0,0,.55));
}
.product .info {
  position: absolute;
  right: 3.125rem;
  top: 14rem;
  font-size: 1.875rem;
  color: #fff;
  opacity: .95;
  transition: color .2s;
}
.product .info:hover { color: var(--accent); }
.product .meta {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  color: #f2f2f2;
  margin-bottom: 0.5rem;
}
.product .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.product h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.05;
  max-width: 10.5rem;
  min-width: 0;
}
.add {
  flex: none;
  min-width: 4.125rem;
  height: 2.625rem;
  padding: 0 1.125rem;
  border-radius: 1.3125rem;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 1.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, filter .15s;
}
.add--text { font-size: 0.8125rem; font-weight: 500; border-radius: 0.5rem; height: 2.1875rem; padding: 0 0.875rem; }
.add:hover { filter: brightness(1.06); transform: translateY(-1px); }
.add:active { transform: scale(.96); }

.center { display: flex; justify-content: center; margin: 3.9rem 0 1.5rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.75rem;
  transform: translate(-50%, 1.25rem);
  padding: 0.625rem 1.125rem;
  border-radius: 0.625rem;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 50;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
/* Asztali nézet: az egész elrendezés a képernyővel arányosan skálázódik
   (1440px-en 1rem = 16px), így a háttérkép és a tartalom együtt mozog. */
html { font-size: 16px; }
/* 1081 px felett az egész terv a képernyő szélességével arányosan skálázódik (1440 px = 1:1, Figma „fit width”);
   a 28px-es plafon csak 2520 px feletti kijelzőknél lép be, ott a tükrözött oldalsávok töltik ki a maradékot. */
@media (min-width: 1081px) {
  html { font-size: clamp(12px, 100vw / 90, 16px); }
}
@media (min-width: 1921px) {
  html { font-size: clamp(16px, 100vw / 120, 28px); }
}

@media (max-width: 1080px) {
  :root { --gutter: 20px; }
  html { font-size: 16px; }
  body { background-size: 1400px auto; background-position: 62% 0; }
  .header-inner { grid-template-columns: auto 1fr auto auto; align-items: center; padding-top: 12px; }
  .brand img { width: 140px; margin: 0; }
  .nav-toggle { display: flex; order: 3; }
  .cart { order: 2; margin-right: 8px; }
  /* teljes képernyős menü */
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 96px 24px 40px;
    background: rgba(12, 12, 12, .96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-family: var(--font-serif);
    font-size: 30px;
    letter-spacing: 0.01em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .main-nav a { padding: 8px 0; opacity: 1; }
  .main-nav a:hover { text-decoration: none; color: var(--accent); }
  .main-nav::before { content: ""; width: 96px; height: 96px; margin-bottom: 20px; background: url("../assets/img/logo.png") center / contain no-repeat; opacity: .95; }
  .main-nav::after { content: "+36 30 525 9314 · Gyál, Szent István utca 59."; margin-top: 28px; font-family: var(--font-sans); font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
  .nav-toggle { position: relative; z-index: 96; }
  .nav-toggle span { transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  body.menu-open .cart { visibility: hidden; }
  .hero { min-height: 0; }
  .hero-inner { position: relative; grid-template-columns: 1fr; padding-top: 860px; }
  .cart--inline { right: 0; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy p { font-size: 17px; max-width: 560px; }
  .hero-copy p br { display: none; }
  .btn, .hero .btn { min-width: 188px; height: 44px; font-size: 15px; }
  .hero-address { font-size: 16px; margin-top: 48px; }
  .hero-feature { left: 0; right: auto; top: 190px; text-align: left; }
  .hero-feature-name { font-size: 24px; }
  .hero-feature-price { font-size: 18px; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 16px; margin-top: 64px; }
  .cat-card { height: 300px; padding: 28px 22px 26px; border-radius: 18px; }
  .cat-card img { height: 150px; max-width: 200px; }
  .cat-card h2 { font-size: 26px; }
  .cat-fav { top: 48px; right: 28px; width: 30px; height: 30px; font-size: 15px; }
  .favorites { margin-top: 48px; }
  .section-title { font-size: 30px; padding-right: 64px; text-align: left; }
  .section-head { justify-content: flex-start; margin-bottom: 36px; }
  .cart { font-size: 20px; }
  .cart-count { min-width: 18px; height: 18px; font-size: 11px; line-height: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 16px; }
  .product { padding: 28px 20px 24px; min-height: 0; border-radius: 20px; }
  .product img { height: 150px; max-width: 220px; margin-bottom: 20px; }
  .product .info { right: 20px; top: 168px; font-size: 28px; }
  .product .meta { font-size: 16px; }
  .product h3 { font-size: 19px; max-width: 160px; }
  .add { min-width: 66px; height: 42px; font-size: 22px; padding: 0 18px; border-radius: 21px; }
  .add--text { font-size: 13px; height: 32px; padding: 0 14px; border-radius: 8px; }
  .center { margin: 48px 0 64px; }
  .toast { font-size: 14px; padding: 10px 18px; bottom: 28px; }
}

@media (max-width: 520px) {
  body { background-size: 900px auto; background-position: 60% 0; }
  .hero-inner { padding-top: 560px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-feature { display: none; }
  .categories { grid-template-columns: 1fr 1fr; }
  .cat-card { height: 240px; padding: 20px 16px 18px; }
  .cat-card img { height: 110px; }
  .cat-card h2 { font-size: 21px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { padding: 22px 14px 18px; }
  .product img { height: 120px; margin-bottom: 14px; }
  .product .info { right: 12px; top: 130px; font-size: 24px; }
  .product .meta { font-size: 14px; }
  .product h3 { font-size: 15px; max-width: none; }
  .product .row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .add { min-width: 52px; height: 36px; font-size: 18px; }
  .add--text { height: 30px; padding: 0 10px; font-size: 12px; }
}

/* ---------- Kosár-fiók ---------- */
.product.is-sold-out img { opacity: .45; filter: grayscale(1); }
.add:disabled { background: #3a3a3a; color: #9a9a9a; cursor: not-allowed; transform: none; filter: none; }
.btn--block { display: flex; width: 100%; }
.btn.is-disabled { opacity: .5; filter: none; transform: none; cursor: not-allowed; }
body.drawer-open { overflow: hidden; }

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 90;
}
.cart-backdrop[hidden] { display: none; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(26rem, 100%);
  display: flex;
  flex-direction: column;
  background: var(--card);
  box-shadow: -1.5rem 0 3.75rem rgba(0,0,0,.55);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 100;
  font-size: 1rem;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cart-drawer-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cart-drawer-close { font-size: 2rem; line-height: 1; width: 2.5rem; height: 2.5rem; color: var(--muted); }
.cart-drawer-close:hover { color: #fff; }
.cart-list { list-style: none; margin: 0; padding: 0.5rem 1.5rem; overflow-y: auto; flex: 1; }
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cart-line-main { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.cart-line-name { font-family: var(--font-serif); font-weight: 700; font-size: 1rem; line-height: 1.15; }
.cart-line-price { font-size: 0.875rem; color: var(--muted); }
.cart-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 1rem;
  padding: 0 0.25rem;
}
.cart-line-qty button { width: 1.75rem; height: 1.75rem; font-size: 1.125rem; color: var(--accent); }
.cart-line-qty span { min-width: 1.25rem; text-align: center; font-weight: 500; }
.cart-line-remove { font-size: 1.375rem; color: var(--muted); width: 1.75rem; height: 1.75rem; }
.cart-line-remove:hover { color: var(--heart); }
.cart-empty { padding: 2rem 1.5rem; color: var(--muted); text-align: center; }
.cart-empty[hidden] { display: none; }
.cart-drawer-foot {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.cart-total { display: flex; justify-content: space-between; font-size: 1.125rem; }
.cart-total strong { font-weight: 600; }
.cart-note { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 1080px) {
  .cart-drawer { font-size: 16px; width: min(400px, 100%); }
  .cart-drawer-head h2 { font-size: 26px; }
}

.btn.is-loading { opacity: .7; pointer-events: none; }

/* =====================================================================
   Aloldalak (kategória, termék, kínálat, kapcsolat) + lábléc
   ===================================================================== */
body { position: relative; --bgw: max(100vw, 119.94rem); --bg-shift: 0rem; --fade-top: calc(1.288 * var(--bgw) - 14.5rem); }
body.page { --bg-shift: -60rem; --fade-top: calc(1.288 * var(--bgw) - 74.5rem); background-position: center var(--bg-shift); }
/* a textúra alja lágyan a lapszínbe olvad */
.bg-fade { position: absolute; left: 0; right: 0; top: var(--fade-top); height: 14.5rem; pointer-events: none; z-index: -1;
  background: linear-gradient(to bottom, rgba(12,12,12,0), var(--bg)); }
.bg-patch { display: none; }
/* 1440 px felett: a tartalom 1:1 marad, a háttérkép két szélét a saját tükörképe folytatja (varrat nélkül) */
@media (min-width: 1441px) {
  .bg-patch { display: block; }
  body::before, body::after {
    content: ""; position: absolute; top: 0; height: 154.5rem; width: max(0px, calc(50% - 60rem)); pointer-events: none; z-index: -2;
    -webkit-mask-image: linear-gradient(to bottom, #000 var(--fade-top), transparent calc(var(--fade-top) + 14.5rem));
    mask-image: linear-gradient(to bottom, #000 var(--fade-top), transparent calc(var(--fade-top) + 14.5rem));
    background-image: url("../assets/img/bg-v2@2x.jpg");
    background-image: -webkit-image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
    background-image: image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
    background-repeat: no-repeat; background-size: 120rem auto;
    transform: scaleX(-1);
  }
  /* a szélek felé enyhén sötétedik (a tükrözés szimmetriája ne legyen hangsúlyos; a transform miatt az irányok fordítottak) */
  body::before { left: 0; background-position: left var(--bg-shift), left var(--bg-shift);
    background-image: linear-gradient(to right, rgba(12,12,12,0) 20%, rgba(12,12,12,.6) 100%), url("../assets/img/bg-v2@2x.jpg");
    background-image: linear-gradient(to right, rgba(12,12,12,0) 20%, rgba(12,12,12,.6) 100%), -webkit-image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
    background-image: linear-gradient(to right, rgba(12,12,12,0) 20%, rgba(12,12,12,.6) 100%), image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
    background-size: 100% 100%, 120rem auto; }
  body::after { right: 0; background-position: right var(--bg-shift), right var(--bg-shift);
    background-image: linear-gradient(to left, rgba(12,12,12,0) 20%, rgba(12,12,12,.6) 100%), url("../assets/img/bg-v2@2x.jpg");
    background-image: linear-gradient(to left, rgba(12,12,12,0) 20%, rgba(12,12,12,.6) 100%), -webkit-image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
    background-image: linear-gradient(to left, rgba(12,12,12,0) 20%, rgba(12,12,12,.6) 100%), image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
    background-size: 100% 100%, 120rem auto; }
  .bg-patch { background-image: linear-gradient(to left, rgba(12,12,12,0) 20%, rgba(12,12,12,.6) 100%), image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x); background-size: 100% 100%, 120rem auto; background-position: right -72rem, right -72rem; background-size: 100% 100%, 120rem auto; }
  /* kezdőlap: a jobb sáv felső (kenyeres) részét a textúra egy kenyér nélküli darabja fedi, varrat és alsó él lágy átmenettel */
  .bg-patch {
    position: absolute; top: 0; right: 0; height: 68rem; width: max(0px, calc(50% - 60rem)); pointer-events: none; z-index: -1;
    background-image: url("../assets/img/bg-v2@2x.jpg");
    background-image: -webkit-image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
    background-image: image-set(url("../assets/img/bg-v2.jpg") 1x, url("../assets/img/bg-v2@2x.jpg") 2x);
    background-repeat: no-repeat; background-size: 90rem auto; background-position: right -72rem;
    transform: scaleX(-1);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 9rem), transparent 100%), linear-gradient(to bottom, #000 56rem, transparent 68rem);
    mask-image: linear-gradient(to right, #000 calc(100% - 9rem), transparent 100%), linear-gradient(to bottom, #000 56rem, transparent 68rem);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}
body.page .site-header { position: relative; }
body.page .brand img { margin-top: 1.25rem; width: 9rem; }
body.page .main-nav { padding-top: 0.75rem; }
body.page .cart { padding-top: 0.5rem; }

.page-head { padding: 2.5rem 0 1.5rem; text-align: center; }
.eyebrow { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.lead { max-width: 40rem; margin: 1rem auto 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.section-title--sm { font-size: 1.75rem; text-align: left; letter-spacing: 0.03em; }
.section-head--left { justify-content: space-between; margin: 3rem 0 1.75rem; }
.section-head--left .more { font-size: 0.875rem; color: var(--accent); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; }
.chip { padding: 0.5rem 1rem; border-radius: 2rem; border: 1px solid rgba(255,255,255,.18); font-size: 0.875rem; color: var(--muted); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent); color: #fff; }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-dark); font-weight: 500; }
.catalog { padding-bottom: 1rem; }
.catalog .product-grid { margin-top: 1rem; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8125rem; color: var(--muted); padding: 1.5rem 0 1.25rem; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* fotós termékkártya (Shopify-képek) */
.product--photo { padding-top: 1.25rem; min-height: 0; }
.product--photo .product-img { display: block; margin: 0 0 1.25rem; }
.product--photo .product-img img { width: auto; height: 12.5rem; max-width: 100%; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 1.25rem 1.625rem rgba(0,0,0,.55)); transition: transform .25s; }
.product--photo:hover .product-img img { transform: scale(1.04); }
.product--photo .info { top: 12.75rem; }
.product--photo h3 { max-width: none; padding-right: 0.5rem; }
.product--photo h3 a:hover { color: var(--accent); }
.add--text[href] { text-decoration: none; }

/* termékoldal */
.pd { padding-bottom: 2rem; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.pd-media { margin: 0; display: flex; align-items: center; justify-content: center; min-height: 26rem; padding: 1rem; }
.pd-media img { width: 100%; max-height: 32rem; height: auto; object-fit: contain; filter: drop-shadow(0 2.5rem 3.5rem rgba(0,0,0,.65)); }
.pd-info h1 { font-family: var(--font-serif); font-weight: 400; font-size: 2.5rem; line-height: 1.05; margin-bottom: 1rem; }
.pd-price { font-size: 1.5rem; font-weight: 500; margin-bottom: 1.25rem; }
.pd-weight { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pd-desc { color: var(--muted); line-height: 1.55; margin-bottom: 1.5rem; max-width: 34rem; }
.opt-group { border: 0; padding: 0; margin: 0 0 1.5rem; }
.opt-group legend { font-family: var(--font-serif); font-size: 1.125rem; margin-bottom: 0.75rem; }
.opt-group legend small { font-family: var(--font-sans); font-size: 0.8125rem; color: var(--muted); }
.opt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.opt-list--inline { display: flex; flex-wrap: wrap; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.625rem 0.875rem; border-radius: 0.625rem; background: var(--card); border: 1px solid rgba(255,255,255,.1); cursor: pointer; font-size: 0.9375rem; transition: border-color .15s, background .15s; }
.opt:hover { border-color: rgba(255,255,255,.35); }
.opt.is-checked { border-color: var(--accent); background: #24211c; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-price { color: var(--accent); font-size: 0.8125rem; white-space: nowrap; }
.opt--pill { flex-direction: column; align-items: flex-start; gap: 0.125rem; min-width: 7rem; }
.opt--pill small { color: var(--muted); }
.opt.is-out { opacity: .45; cursor: not-allowed; }
.pd-buy { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 0.625rem; height: 3rem; }
.qty button { width: 2.75rem; height: 100%; font-size: 1.25rem; color: var(--accent); }
.qty input { width: 3rem; height: 100%; text-align: center; background: none; border: 0; color: #fff; font: inherit; font-weight: 500; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn--lg { height: 3rem; min-width: 12rem; font-size: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; filter: none; }
.pd-avail { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); min-height: 1.2em; }
.pd-avail.is-ok { color: #8fd18f; }
.pd-avail.is-out { color: var(--heart); }
.pd-note { margin-top: 1.25rem; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }

/* kapcsolat */
.contact { padding-bottom: 2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.contact-card { background: var(--card); border-radius: var(--radius); padding: 2rem; box-shadow: 0 1.5rem 3.75rem rgba(0,0,0,.45); }
.contact-card--wide { margin-top: 2rem; color: var(--muted); line-height: 1.6; }
.contact-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 1.25rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.125rem; }
.contact-list li { display: flex; gap: 0.875rem; align-items: flex-start; }
.contact-list .icon { font-size: 1.5rem; color: var(--accent); flex: none; margin-top: 0.125rem; }
.contact-list strong { display: block; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.125rem; }
.contact-list a:hover { color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours .is-closed td { color: var(--muted); }
.map-wrap { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1.5rem 3.75rem rgba(0,0,0,.45); background: var(--card); }
.map-wrap iframe { display: block; width: 100%; height: 22rem; border: 0; filter: grayscale(.2) contrast(1.05); }

/* lábléc */
.site-footer { margin-top: 3rem; padding: 3rem 0 2rem; border-top: 1px solid rgba(255,255,255,.08); font-size: 0.875rem; color: var(--muted); background: rgba(0,0,0,.35); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.875rem; }
.footer-brand img { width: 4rem; height: 4rem; }
.footer-brand div { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-brand strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; color: #fff; }
.footer-col h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.0625rem; color: #fff; margin-bottom: 0.75rem; }
.footer-col a { display: block; padding: 0.2rem 0; }
.footer-col a:hover { color: var(--accent); }
.footer-col address a { display: inline; }
.footer-col p { line-height: 1.6; }
.site-footer .copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.06); font-size: 0.75rem; }

/* kosár: opciók + megjegyzés */
.cart-line-opts { display: block; font-size: 0.75rem; color: var(--accent); line-height: 1.3; }
.cart-line-variant { color: var(--muted); font-weight: 400; }
.cart-note-field { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.75rem; color: var(--muted); }
.cart-note-field textarea { width: 100%; resize: vertical; background: #111; border: 1px solid rgba(255,255,255,.12); border-radius: 0.5rem; color: #fff; font: inherit; font-size: 0.875rem; padding: 0.5rem 0.625rem; }

@media (max-width: 1080px) {
  body.page { background-position: 62% -700px; --fade-top: 860px; }
  body { --fade-top: 1560px; }
  .bg-fade { height: 240px; }
  body.page .brand img { width: 120px; margin: 0; }
  .page-head { padding: 24px 0 8px; }
  .section-title--sm { font-size: 24px; padding-right: 0; }
  .section-head--left { margin: 32px 0 16px; }
  .product--photo .product-img img { height: 150px; }
  .product--photo .info { top: 152px; }
  .pd-grid { grid-template-columns: 1fr; gap: 24px; }
  .pd-info h1 { font-size: 32px; }
  .opt-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .map-wrap iframe { height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  body.page { background-position: 72% -500px; }
  .product--photo .product-img img { height: 120px; }
  .product--photo .info { top: 122px; }
  .pd-buy { flex-wrap: wrap; }
  .btn--lg { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .product .meta { flex-wrap: wrap; gap: 0.125rem 0.75rem; } }

/* nagyon kis kijelzők (≤360 px, pl. iPhone SE) */
@media (max-width: 360px) {
  .categories { grid-template-columns: 1fr; }
  .cat-card { height: 220px; }
  .contact-card { padding: 20px 16px; }
  .contact-list a, .contact-list span, .footer-col address { overflow-wrap: anywhere; }
  .hero-copy h1 { font-size: 30px; }
  .product-grid { grid-template-columns: 1fr; }
}

/* tablet: 5 kategória 3 + 2 elrendezésben */
@media (min-width: 700px) and (max-width: 1080px) {
  .categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cat-card { grid-column: span 2; height: 260px; }
  .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; }
  .cat-card img { height: 130px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product h3 { font-size: 16px; }
  .hero-copy p br { display: inline; }
}
