/* Termékek oldal – kártyarács + részletes termékablak. A háttér és a fejléc a glass3d.css-ből jön. */
.pt-page { padding-bottom: 20px; }
.pt-hero { max-width: 980px; margin: 0 auto; padding: clamp(40px, 7vw, 84px) 5vw clamp(14px, 3vw, 30px); text-align: center; }
.pt-hero .eyebrow { margin-bottom: 14px; }
.pt-hero h1 { font: 500 clamp(2.6rem, 6vw, 4.6rem)/1.02 var(--serif); letter-spacing: -.02em; }
.pt-hero h1 em { font-style: italic; color: #9b702a; }
.pt-hero p.pt-lead { max-width: 62ch; margin: 18px auto 0; font-size: 1.02rem; line-height: 1.65; color: #4a3626; }

.nav a[aria-current="page"] { color: var(--gold); font-weight: 600; }

/* szűrő */
.pt-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 26px auto 8px; padding: 0 5vw; }
.pt-chip { cursor: pointer; font: 600 12.5px/1 var(--sans); letter-spacing: .02em; color: #3b2a1c; background: rgba(255,255,255,.7); border: 1px solid rgba(167,123,47,.35); border-radius: 99px; padding: 11px 18px; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.pt-chip span { opacity: .6; margin-left: 6px; font-weight: 500; }
.pt-chip:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(120,80,40,.15); }
.pt-chip[aria-pressed="true"] { color: #26170b; background: linear-gradient(180deg, #fbe9b7, #e7c66f 72%, #d9b25a); border-color: transparent; box-shadow: 0 6px 18px rgba(167,123,47,.3), inset 0 1px 0 #fff; }
.pt-chip:focus-visible, .pt-card__link:focus-visible, .pt-x:focus-visible, .pt-nav button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* csoportok és kártyák */
.pt-groups { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.pt-group { margin-top: clamp(36px, 5vw, 64px); }
.pt-group[hidden] { display: none; }
.pt-group__head { display: flex; align-items: baseline; gap: 16px; margin: 0 4px 22px; }
.pt-group__head h2 { font: 500 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--serif); }
.pt-group__head p { font-size: .85rem; color: #6b5544; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(18px, 2.4vw, 30px); }

.pt-card { position: relative; display: flex; flex-direction: column; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9); border-radius: 30px; overflow: hidden; box-shadow: 0 24px 56px rgba(120,80,40,.14), inset 0 1px 0 #fff; transition: transform .35s var(--ease, cubic-bezier(.22,.61,.36,1)), box-shadow .35s; }
.pt-card:hover { transform: translateY(-5px); box-shadow: 0 34px 70px rgba(120,80,40,.22), inset 0 1px 0 #fff; }
.pt-stage { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: radial-gradient(ellipse at 50% 38%, #ffffff 0%, #fff6f2 56%, #fde7df 100%); }
.pt-stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(84,52,30,.28), transparent); filter: blur(5px); }
.pt-stage img { position: absolute; z-index: 1; left: 9%; top: 8%; width: 82%; height: 80%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(80,45,25,.18)); transition: transform .5s var(--ease, cubic-bezier(.22,.61,.36,1)); }
.pt-card:hover .pt-stage img { transform: scale(1.045); }
.pt-badge { position: absolute; z-index: 2; left: 14px; top: 14px; max-width: calc(100% - 28px); font: 600 10.5px/1.2 var(--sans); letter-spacing: .04em; color: #7b5619; background: rgba(255,250,236,.92); border: 1px solid rgba(167,123,47,.45); border-radius: 99px; padding: 6px 11px; }
.pt-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.pt-cat { font: 700 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #b4566a; margin-bottom: 8px; }
.pt-name { font: 600 1.55rem/1.12 var(--serif); }
.pt-card__link { all: unset; cursor: pointer; }
.pt-card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.pt-tagline { margin-top: 8px; font-size: .92rem; line-height: 1.5; color: #4a3626; }
.pt-more { margin-top: auto; padding-top: 18px; font: 600 12.5px/1 var(--sans); color: #8a621c; display: inline-flex; align-items: center; gap: 8px; }
.pt-more i { font-style: normal; transition: transform .25s; }
.pt-card:hover .pt-more i { transform: translateX(4px); }

/* CTA sáv */
.pt-cta { max-width: 1100px; margin: clamp(48px, 7vw, 90px) auto 0; padding: clamp(28px, 4vw, 48px); text-align: center; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.9); border-radius: 34px; box-shadow: 0 30px 70px rgba(120,80,40,.14), inset 0 1px 0 #fff; }
.pt-cta h2 { font: 500 clamp(1.7rem, 3.2vw, 2.5rem)/1.12 var(--serif); }
.pt-cta p { max-width: 56ch; margin: 12px auto 0; color: #4a3626; }
.pt-note { max-width: 860px; margin: 30px auto 0; padding: 0 5vw; text-align: center; font-size: .78rem; line-height: 1.6; color: #6b5544; }

/* részletes termékablak */
.pt-modal { position: fixed; inset: 0; margin: auto; width: min(1120px, 94vw); max-width: none; max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: 34px; overflow: hidden; background: #fffaf5; color: var(--ink); box-shadow: 0 50px 120px rgba(40,25,15,.45); }
.pt-modal::backdrop { background: rgba(40,25,15,.5); backdrop-filter: blur(6px); }
.pt-modal[open] { display: grid; grid-template-columns: minmax(300px, 42%) 1fr; animation: ptIn .35s var(--ease, cubic-bezier(.22,.61,.36,1)); }
@keyframes ptIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.pt-modal__media { position: relative; display: grid; place-items: center; padding: 12% 8%; background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #fff4f1 56%, #fde3dc 100%); }
.pt-modal__media::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 14%; height: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(84,52,30,.26), transparent); filter: blur(6px); }
.pt-modal__media img { position: relative; z-index: 1; max-width: 100%; max-height: 62vh; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(80,45,25,.2)); }
.pt-modal__body { overflow: auto; max-height: min(92vh, 900px); padding: clamp(24px, 3.4vw, 44px); overscroll-behavior: contain; }
.pt-x { position: absolute; z-index: 5; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(167,123,47,.4); background: rgba(255,255,255,.9); color: #3b2a1c; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(120,80,40,.18); }
.pt-modal h2 { font: 600 clamp(1.8rem, 3vw, 2.5rem)/1.08 var(--serif); margin: 2px 0 8px; padding-right: 40px; }
.pt-modal .pt-tagline { font-size: 1.02rem; font-style: italic; color: #7a5a22; margin: 0 0 16px; }
.pt-modal .pt-lead { line-height: 1.7; color: #3b2a1c; }
.pt-modal h3 { font: 700 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #b4566a; margin: 26px 0 12px; }
.pt-points { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 0; }
.pt-points li { background: #fff; border: 1px solid #f3dcd5; border-radius: 16px; padding: 12px 14px; font-size: .85rem; line-height: 1.5; color: #4a3626; }
.pt-points strong { display: block; color: #26170b; font-size: .88rem; margin-bottom: 3px; }
.pt-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.pt-steps li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; font-size: .9rem; line-height: 1.5; }
.pt-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--sans); color: #6b4a14; background: linear-gradient(180deg, #fbe9b7, #e7c66f); }
.pt-text { font-size: .92rem; line-height: 1.7; color: #3b2a1c; margin: 0 0 8px; }
.pt-text-h { font-weight: 700; color: #26170b; margin-top: 14px; }
.pt-proof { margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: #fdf3df; border: 1px solid #f0dcae; font-size: .82rem; line-height: 1.6; color: #6b4a14; }
.pt-proof b { display: block; margin-bottom: 4px; }
.pt-summary { margin-top: 22px; font: 500 1.25rem/1.4 var(--serif); font-style: italic; color: #26170b; }
.pt-modal__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.pt-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 18px; border-top: 1px solid #f0dfd2; }
.pt-nav button { cursor: pointer; font: 600 12.5px/1.2 var(--sans); color: #6b4a14; background: transparent; border: 1px solid rgba(167,123,47,.4); border-radius: 99px; padding: 11px 16px; max-width: 48%; text-align: left; }
.pt-nav button:hover { background: #fff6e0; }
.pt-nav button[hidden] { visibility: hidden; display: block; }
html.pt-lock { overflow: hidden; }

/* belépő animáció a kártyákon */
.pt-card { opacity: 0; transform: translateY(22px); }
.pt-card.in { opacity: 1; transform: none; }
.pt-card.in:hover { transform: translateY(-5px); }

@media (max-width: 860px) {
  .pt-x { position: fixed; top: calc(3vh + 10px); right: calc(3vw + 10px); }
  .pt-modal[open] { grid-template-columns: 1fr; overflow: auto; max-height: 94vh; }
  .pt-modal__media { padding: 40px 8% 22px; }
  .pt-modal__media img { max-height: 240px; }
  .pt-modal__body { overflow: visible; max-height: none; }
  .pt-points { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pt-card { backdrop-filter: none; background: rgba(255,255,255,.85); }
  .pt-chip { padding: 10px 14px; font-size: 12px; }
  .pt-modal { border-radius: 24px; width: 96vw; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-card { opacity: 1; transform: none; transition: none; }
  .pt-modal[open] { animation: none; }
  .pt-stage img { transition: none; }
}

/* fotós termékképek: a kép kitölti a négyzetet, nincs külön kivágás-árnyék */
.pt-stage--photo { aspect-ratio: 1 / 1; background: #eeeef2; }
.pt-stage--photo::after { display: none; }
.pt-stage--photo img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.pt-card:hover .pt-stage--photo img { transform: scale(1.03); }
.pt-modal__media--photo { align-content: center; align-items: center; padding: 0; background: #eeeef2; }
.pt-modal__media--photo { overflow: hidden; isolation: isolate; }
.pt-modal__media--photo::before { content: ""; position: absolute; z-index: -1; inset: -40px; background: var(--bgimg) center / cover; filter: blur(36px); }
.pt-modal__media--photo::after { display: none; }
.pt-modal__media--photo .pt-main-img { width: 100%; max-width: none; max-height: none; height: auto; aspect-ratio: 1 / 1; object-fit: cover; filter: none; }
.pt-thumbs { position: absolute; z-index: 3; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.pt-thumb { width: 58px; height: 58px; padding: 0; border-radius: 14px; border: 2px solid rgba(255,255,255,.9); background: #fff; overflow: hidden; cursor: pointer; box-shadow: 0 6px 16px rgba(60,40,25,.2); opacity: .8; transition: opacity .2s, transform .2s; }
.pt-thumb img { width: 100%; height: 100%; max-height: none; max-width: none; object-fit: cover; display: block; filter: none; }
.pt-thumb[aria-pressed="true"] { opacity: 1; border-color: #c9a24b; }
.pt-thumb:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 760px) { .pt-modal__media--photo .pt-main-img { max-height: 300px; aspect-ratio: auto; } }
.pt-modal__media--photo .pt-main-img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%); }
@media (max-width: 760px) { .pt-modal__media--photo .pt-main-img { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 760px) { .pt-modal__media--photo .pt-main-img { object-fit: contain; max-height: 300px; width: 100%; } .pt-thumbs { left: auto; right: 12px; bottom: 12px; } .pt-thumb { width: 44px; height: 44px; border-radius: 11px; } }
