/* Termékoldal: modern, grafikus elrendezés. Csak az adhd-havi-naplo.html töltheti be. */

body[data-page="product"]{background:#FAF7F2;color:#594D52;font:17px/1.7 'Vesper Libre',serif}
body[data-page="product"] p{color:#594D52;line-height:1.7}
body[data-page="product"] h1,
body[data-page="product"] h2,
body[data-page="product"] h3{color:#594D52;font-family:'Vesper Libre',serif;letter-spacing:-.4px}
body[data-page="product"] .pd-wrap{max-width:1184px;margin:0 auto;padding:0 24px}
body[data-page="product"] .pd-eyebrow{display:inline-block;margin:0 0 14px;font-size:13px;letter-spacing:1.6px;font-weight:700;color:#B77E88}

/* Hős rész */
body[data-page="product"] .pd-hero{position:relative;overflow:hidden;padding:24px 0 96px}
body[data-page="product"] .pd-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 0 36px;padding:0 20px;border:1px solid #D9AFA5;border-radius:999px;background:#FAF7F2;color:#594D52;font-size:15px;font-weight:700;text-decoration:none;transition:background .2s ease,transform .2s ease}
body[data-page="product"] .pd-back:focus-visible{outline:3px solid #C49A70;outline-offset:4px}
@media(hover:hover){body[data-page="product"] .pd-back:hover{background:#EAD1C5;transform:translateX(-3px)}}
body[data-page="product"] .pd-hero__grid{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:64px;align-items:start}
body[data-page="product"] .pd-kicker{display:inline-block;margin:0 0 22px;padding:8px 16px;border-radius:999px;background:#EAD1C5;font-size:13px;font-weight:700;letter-spacing:1.4px}
body[data-page="product"] .pd-hero h1{font-size:clamp(42px,5.6vw,70px);line-height:1.04;font-weight:900;margin:0 0 20px}
body[data-page="product"] .pd-lead{font-size:21px;line-height:1.6;max-width:470px;margin:0 0 32px}
body[data-page="product"] .pd-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:0 0 36px}
body[data-page="product"] .pd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 30px;border-radius:999px;background:#594D52;color:#FAFAF7;font-size:18px;font-weight:700;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
body[data-page="product"] .pd-link{color:#594D52;font-size:17px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#C49A70}
body[data-page="product"] .pd-badges{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
body[data-page="product"] .pd-badges li{padding:9px 16px;border:1px solid #E8DDD0;border-radius:999px;background:#FAFAF7;font-size:14px;line-height:1.4}

body[data-page="product"] .pd-hero__art{position:relative;justify-self:center;width:min(100%,520px);margin-top:12px}
body[data-page="product"] .pd-cover{position:relative;display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 24px 40px -26px rgba(89,77,82,.6);transition:transform .35s ease}
@media(hover:hover){body[data-page="product"] .pd-hero__art:hover .pd-cover{transform:translateY(-4px)}}

/* Vásárlás */
body[data-page="product"] .pd-buy{background:#FAFAF7;padding:88px 0;border-top:1px solid #E8DDD0}
body[data-page="product"] .pd-buy__head{max-width:640px;margin:0 0 30px}
body[data-page="product"] .pd-buy h2{font-size:clamp(34px,4vw,46px);line-height:1.12;font-weight:700;margin:0 0 14px}
body[data-page="product"] .pd-buy__head p{font-size:18px;margin:0}
body[data-page="product"] .pd-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;margin:0 0 36px;padding:0}
body[data-page="product"] .pd-features li{position:relative;padding:14px 18px 14px 40px;border-radius:14px;background:#EAD1C5;font-size:16px;line-height:1.45}
body[data-page="product"] .pd-features li::before{content:"";position:absolute;left:18px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:#B77E88}
body[data-page="product"] .pd-features li:nth-child(2)::before{background:#A5B5A0}
body[data-page="product"] .pd-features li:nth-child(3)::before{background:#B9A9C8}
body[data-page="product"] .pd-features li:nth-child(4)::before{background:#C49A70}

body[data-page="product"] .pd-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 26px}
body[data-page="product"] .pd-plan{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:230px;padding:34px 30px 28px;border:2px solid transparent;border-radius:30px 10px 30px 10px;background:#FAF7F2;color:#594D52;font:inherit;text-align:left;cursor:pointer;box-shadow:0 16px 32px -26px rgba(89,77,82,.7);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body[data-page="product"] .pd-plan[data-plan="sub"]{background:#C6CFD9}
body[data-page="product"] .pd-plan b{padding-right:44px;font-size:26px;line-height:1.2;font-weight:700}
body[data-page="product"] .pd-plan small{font-size:15px;line-height:1.5}
body[data-page="product"] .pd-price{margin-top:auto;padding-top:18px;font-size:36px;line-height:1.1;font-weight:900}
body[data-page="product"] .pd-tag{position:absolute;top:-13px;left:26px;padding:6px 12px;border-radius:999px;background:#B77E88;color:#FAFAF7;font-size:11px;font-weight:700;letter-spacing:1.2px}
body[data-page="product"] .pd-plan.active{border-color:#594D52;box-shadow:0 22px 40px -26px rgba(89,77,82,.85)}
body[data-page="product"] .pd-plan.active::after{content:"✓";position:absolute;top:24px;right:24px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#594D52;color:#FAFAF7;font-size:16px;font-weight:700}
body[data-page="product"] .pd-plan:focus-visible{outline:3px solid #C49A70;outline-offset:4px}
@media(hover:hover){body[data-page="product"] .pd-plan:hover{transform:translateY(-4px)}}

body[data-page="product"] .pd-buyrow{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:10px}
body[data-page="product"] .pd-qty{display:flex;align-items:center;gap:10px;margin:0;font-size:16px}
body[data-page="product"] .pd-qty select{height:56px;padding:0 16px;border:1px solid #D9AFA5;border-radius:999px;background:#FAF7F2;color:#594D52;font:inherit;font-size:16px}
body[data-page="product"] .pd-buy-btn{flex:1 1 240px;min-height:56px;padding:0 32px;border:0;border-radius:999px;background:#594D52;color:#FAFAF7;font:700 18px 'Vesper Libre',serif;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
body[data-page="product"] .pd-buy-btn:focus-visible{outline:3px solid #C49A70;outline-offset:4px}
@media(hover:hover){body[data-page="product"] .pd-btn:hover,body[data-page="product"] .pd-buy-btn:hover{transform:translateY(-3px);box-shadow:0 16px 28px -18px rgba(89,77,82,.9)}}

/* Részletek */
body[data-page="product"] .pd-details{padding:96px 0}
body[data-page="product"] .pd-details__head{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:48px;align-items:center;margin:0 0 48px}
body[data-page="product"] .pd-details__head h2{font-size:clamp(34px,4vw,46px);line-height:1.12;font-weight:700;margin:0 0 14px}
body[data-page="product"] .pd-details__head p{margin:0;font-size:18px}
body[data-page="product"] .pd-details__art{margin:0;padding:12px;background:#FAFAF7;border-radius:24px 8px 24px 8px;box-shadow:0 22px 40px -30px rgba(89,77,82,.7);transform:rotate(3deg)}
body[data-page="product"] .pd-details__art img{display:block;width:100%;height:auto;border-radius:14px}
body[data-page="product"] .pd-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body[data-page="product"] .pd-card{padding:34px 32px;border-radius:28px;background:#FAFAF7;border:1px solid #E8DDD0}
body[data-page="product"] .pd-card:first-child{border-top:6px solid #B77E88}
body[data-page="product"] .pd-card:last-child{border-top:6px solid #B9A9C8}
body[data-page="product"] .pd-card h3{font-size:28px;line-height:1.2;font-weight:700;margin:0 0 16px}
body[data-page="product"] .pd-card ul{margin:0;padding:0 0 0 20px}
body[data-page="product"] .pd-card li{margin:0 0 8px;font-size:17px;line-height:1.5}
body[data-page="product"] .pd-note{margin:28px 0 0;font-size:15px;line-height:1.6}

/* Vásárlási módok, szállítás */
body[data-page="product"] .pd-info{background:#EAD1C5;padding:88px 0}
body[data-page="product"] .pd-info h2{font-size:clamp(34px,4vw,46px);line-height:1.12;font-weight:700;margin:0 0 40px;max-width:620px}
body[data-page="product"] .pd-info__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body[data-page="product"] .pd-info__item{padding:30px 30px 28px;border-radius:24px;background:#FAF7F2}
body[data-page="product"] .pd-info__item h3{font-size:24px;line-height:1.2;font-weight:700;margin:0 0 12px}
body[data-page="product"] .pd-info__item p{font-size:16px;line-height:1.65;margin:0 0 10px}
body[data-page="product"] .pd-info__item p:last-child{margin-bottom:0}
body[data-page="product"] .pd-info .pd-btn{margin-top:36px}

/* Belenézés */
body[data-page="product"] .pd-inside{padding:96px 0;background:linear-gradient(135deg,rgba(185,169,200,.35) 0%,rgba(232,221,208,.7) 55%,rgba(234,209,197,.6) 100%)}
body[data-page="product"] .pd-inside__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
body[data-page="product"] .pd-inside h2{font-size:clamp(34px,4vw,46px);line-height:1.12;font-weight:700;margin:0 0 18px}
body[data-page="product"] .pd-inside p{font-size:18px}
body[data-page="product"] .pd-inside .pd-small{font-size:15px;color:#594D52}
body[data-page="product"] .pd-sample-link{display:block;padding:14px;background:#FAFAF7;border-radius:28px 10px 28px 10px;box-shadow:0 28px 50px -32px rgba(89,77,82,.75);transition:transform .3s ease}
body[data-page="product"] .pd-sample{display:block;width:100%;height:auto;border-radius:16px}
@media(hover:hover){body[data-page="product"] .pd-sample-link:hover{transform:rotate(-1deg) translateY(-5px)}}

/* Kérdések */
body[data-page="product"] .pd-faq{padding:96px 0}
body[data-page="product"] .pd-faq h2{font-size:clamp(34px,4vw,46px);line-height:1.12;font-weight:700;margin:0 0 36px}
body[data-page="product"] .pd-faq__list{max-width:860px}
body[data-page="product"] .pd-faq details{border-bottom:1px solid #E8DDD0;padding:6px 0}
body[data-page="product"] .pd-faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;cursor:pointer;list-style:none;font-size:21px;font-weight:700;line-height:1.3;color:#594D52}
body[data-page="product"] .pd-faq summary::-webkit-details-marker{display:none}
body[data-page="product"] .pd-faq summary::after{content:"+";flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#EAD1C5;font-size:24px;font-weight:700;line-height:1}
body[data-page="product"] .pd-faq details[open] summary::after{content:"–"}
body[data-page="product"] .pd-faq details p{margin:0 0 22px;font-size:17px;line-height:1.7}

/* Asztali: a vásárlás szekció két oszlop, bal oldalon a leírás, jobb oldalon a választás */
@media(min-width:901px){
  body[data-page="product"] .pd-buy .pd-wrap{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:64px;align-items:start}
  body[data-page="product"] .pd-buy__intro{position:sticky;top:32px}
  body[data-page="product"] .pd-buy__head{margin:0 0 0}
  body[data-page="product"] .pd-features{grid-template-columns:minmax(0,1fr);margin:28px 0 0}
  body[data-page="product"] .pd-plans{margin-top:0}
}

/* Asztali: a kosárba gomb ne nyúljon a teljes sor szélére */
@media(min-width:641px){
  body[data-page="product"] .pd-buy-btn{flex:0 0 320px}
}

/* Közepes és kisebb képernyő */
@media(max-width:900px){
  body[data-page="product"] .pd-hero{padding:8px 0 72px}
  body[data-page="product"] .pd-hero__grid,
  body[data-page="product"] .pd-details__head,
  body[data-page="product"] .pd-inside__grid{grid-template-columns:minmax(0,1fr);gap:40px}
  body[data-page="product"] .pd-hero__art{order:-1;width:min(100%,380px)}
  body[data-page="product"] .pd-details__art{max-width:300px;margin:0 auto}
  body[data-page="product"] .pd-cards,
  body[data-page="product"] .pd-info__grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
  body[data-page="product"] .pd-wrap{padding:0 16px}
  body[data-page="product"] .pd-lead{font-size:19px}
  body[data-page="product"] .pd-plans,
  body[data-page="product"] .pd-features{grid-template-columns:minmax(0,1fr)}
  body[data-page="product"] .pd-plan{min-height:0}
  body[data-page="product"] .pd-buy,
  body[data-page="product"] .pd-details,
  body[data-page="product"] .pd-info,
  body[data-page="product"] .pd-inside,
  body[data-page="product"] .pd-faq{padding-top:64px;padding-bottom:64px}
  body[data-page="product"] .pd-card,
  body[data-page="product"] .pd-info__item{padding:26px 22px}
  body[data-page="product"] .pd-faq summary{font-size:19px}
}
@media(prefers-reduced-motion:reduce){body[data-page="product"] *{transition:none!important}}

/* A landinggel egyező rajzolt varázslat a vásárlási gombokon. */
body[data-page="product"] .magic-preview-button{position:relative;isolation:isolate;overflow:visible;z-index:2;background:var(--palette-blue);color:var(--ink);box-shadow:0 3px 0 color-mix(in srgb,var(--ink) 15%,transparent);transition:transform .25s ease,box-shadow .25s ease}
body[data-page="product"] .magic-preview-button .button-magic{display:block;position:absolute;inset:-28px -38px;pointer-events:none;background:url('gomb-varazslat.svg?v=2') center / 100% 100% no-repeat;opacity:0;transform:scale(.7) rotate(-3deg);transition:opacity .22s ease,transform .45s cubic-bezier(.2,.8,.2,1)}
body[data-page="product"] .magic-preview-button:is(:hover,:focus-visible,.touch-hover){background:var(--palette-blue);color:var(--ink);transform:translateY(-3px) scale(1.025);box-shadow:0 9px 20px -10px color-mix(in srgb,var(--ink) 35%,transparent)}
body[data-page="product"] .magic-preview-button:is(:hover,:focus-visible,:active,.touch-hover) .button-magic{opacity:1;transform:scale(1.04) rotate(0)}
body[data-page="product"] .magic-preview-button:active{transform:translateY(0) scale(.99);box-shadow:none}
body[data-page="product"] .magic-preview-button:focus-visible{outline:3px solid var(--palette-clay);outline-offset:4px}
@media(prefers-reduced-motion:reduce){body[data-page="product"] .magic-preview-button,body[data-page="product"] .magic-preview-button .button-magic{transition:none;transform:none}}

/* Valódi termékfotók: nagy főnézet és kézzel választható részletek. */
body[data-page="product"] .pd-hero__grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px;align-items:center}
body[data-page="product"] .pd-hero__art.pd-gallery{width:100%;max-width:660px;margin-top:0;min-width:0}
body[data-page="product"] .pd-gallery__stage{margin:0;padding:12px 12px 0;background:var(--cream);border:1px solid var(--line);border-radius:10px 28px 10px 28px;overflow:hidden}
body[data-page="product"] .pd-gallery__image{display:block;width:100%;height:auto;aspect-ratio:4 / 3;object-fit:contain;border:0;border-radius:5px 18px 5px 18px;box-shadow:none;mask-image:none;-webkit-mask-image:none}
body[data-page="product"] .pd-gallery__caption{padding:15px 10px 17px;font-size:14px;line-height:1.5;color:var(--ink);min-height:53px}
body[data-page="product"] .pd-gallery__choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
body[data-page="product"] .pd-gallery__choice{display:flex;flex-direction:column;gap:8px;align-items:stretch;padding:7px 7px 10px;border:2px solid transparent;border-radius:6px 15px 6px 15px;background:var(--cream);color:var(--ink);font:inherit;cursor:pointer;transition:border-color .2s ease,background-color .2s ease}
body[data-page="product"] .pd-gallery__choice img{display:block;width:100%;height:auto;aspect-ratio:4 / 3;object-fit:cover;border-radius:3px 9px 3px 9px}
body[data-page="product"] .pd-gallery__choice span{font-size:14px;line-height:1.4;text-align:center}
body[data-page="product"] .pd-gallery__choice[aria-pressed="true"]{border-color:var(--ink);background:var(--palette-blue)}
@media(hover:hover){body[data-page="product"] .pd-gallery__choice:hover{border-color:var(--palette-clay)}}
body[data-page="product"] .pd-gallery__choice:focus-visible{outline:3px solid var(--palette-clay);outline-offset:3px}
@media(max-width:900px){body[data-page="product"] .pd-hero__grid{grid-template-columns:1fr;gap:32px}body[data-page="product"] .pd-hero__art.pd-gallery{justify-self:center}}
@media(max-width:640px){body[data-page="product"] .pd-gallery__choices{gap:8px;margin-top:12px}body[data-page="product"] .pd-gallery__choice{padding:5px 5px 8px}body[data-page="product"] .pd-gallery__choice span{font-size:13px}body[data-page="product"] .pd-gallery__caption{font-size:13px}}
@media(prefers-reduced-motion:reduce){body[data-page="product"] .pd-gallery__choice{transition:none}}

body[data-page="product"] .pd-gallery__choices{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Ár és a hozzá tartozó megjegyzés egy sorban, egy vonalon */
body[data-page="product"] .pd-price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:auto;padding-top:18px}
body[data-page="product"] .pd-price-row .pd-price{margin:0;padding:0}
body[data-page="product"] .pd-price-note{font-size:15px;line-height:1.4;opacity:.85}

/* Kedvezőbb ár címke: feltűnőbb */
body[data-page="product"] .pd-tag{top:-18px;left:22px;padding:9px 18px;background:#C49A70;color:#FAFAF7;font-size:13px;letter-spacing:1.4px;box-shadow:0 10px 18px -10px rgba(89,77,82,.85);transform:rotate(-4deg)}

/* Erősebb, kontrasztos kedvezményjelzés az előfizetésnél. */
body[data-page="product"] .pd-plan[data-plan="sub"] .pd-tag{display:inline-flex;align-items:center;gap:8px;top:-21px;left:20px;padding:10px 18px;background:var(--ink);color:var(--cream);border:2px solid var(--palette-peach);border-radius:7px 16px 7px 16px;font-size:14px;font-weight:900;line-height:1.3;letter-spacing:1px;box-shadow:0 6px 0 var(--palette-peach),0 12px 20px -13px color-mix(in srgb,var(--ink) 50%,transparent);transform:rotate(-3deg)}
body[data-page="product"] .pd-plan[data-plan="sub"] .pd-tag::before{content:"✦";color:var(--palette-peach);font-size:18px;line-height:1}
body[data-page="product"] .pd-plan[data-plan="sub"] .pd-price{font-size:34px;font-weight:900;color:var(--ink)}

/* Részletek szekció: rendezettebb, szebb kártyák */
body[data-page="product"] .pd-details{padding:88px 0;background:rgba(232,221,208,.45)}
body[data-page="product"] .pd-cards{gap:28px}
body[data-page="product"] .pd-card{position:relative;padding:42px 40px 36px;border:1px solid #E8DDD0;border-radius:32px 12px 32px 12px;background:#FAF7F2;box-shadow:0 22px 40px -30px rgba(89,77,82,.6);transition:transform .25s ease,box-shadow .25s ease}
body[data-page="product"] .pd-card:first-child,body[data-page="product"] .pd-card:last-child{border-top:1px solid #E8DDD0}
body[data-page="product"] .pd-card::before{content:"";position:absolute;left:40px;top:0;width:64px;height:6px;border-radius:0 0 6px 6px;background:#B77E88}
body[data-page="product"] .pd-card:last-child::before{background:#B9A9C8}
body[data-page="product"] .pd-card h3{font-size:30px;line-height:1.2;margin:0 0 22px}
body[data-page="product"] .pd-card ul{list-style:none;margin:0;padding:0}
body[data-page="product"] .pd-card li{position:relative;margin:0;padding:12px 0 12px 30px;font-size:17px;line-height:1.5;border-bottom:1px dashed #D9AFA5}
body[data-page="product"] .pd-card li:last-child{border-bottom:0}
body[data-page="product"] .pd-card li::before{content:"";position:absolute;left:4px;top:50%;width:9px;height:9px;margin-top:-4px;border-radius:50%;background:#C49A70}
body[data-page="product"] .pd-card:last-child li::before{background:#A5B5A0}
@media(hover:hover){body[data-page="product"] .pd-card:hover{transform:translateY(-5px);box-shadow:0 30px 50px -30px rgba(89,77,82,.7)}}
@media(max-width:640px){body[data-page="product"] .pd-details{padding:64px 0}body[data-page="product"] .pd-card{padding:34px 26px 28px}body[data-page="product"] .pd-card::before{left:26px}}

body[data-page="product"] .pd-details__title{font-size:clamp(34px,4vw,46px);line-height:1.12;font-weight:700;margin:0 0 40px}
