/* What the voucher holds (ku-ertek), prefix kue-. A sticky side (title + two floating photos) beside a paper receipt.
   Rows wait faded (runtime on), the row at the reading line (is-on) and the ones read (is-past) show, their dotted
   leader runs out (scaleX) and a gold check is stamped on (scale + rotate with overshoot). The total row lands last.
   Durations carry !important against variation-one.css's reduced-motion reset (Matt wants motion for everyone). */
.kue{background:var(--alt)}
.kue-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:72px;align-items:start}
.kue-side{position:sticky;top:120px}
.kue-side h2{font-size:clamp(2.1rem,3vw,3rem)}
.kue-side .lh-lede{margin-top:1rem;max-width:30rem}
.kue-photos{position:relative;height:340px;margin-top:40px}
.kue-photo{position:absolute;border-radius:var(--radius);box-shadow:0 24px 40px -24px rgba(40,30,15,.5)}
.kue-photo img{width:100%;height:100%;object-fit:cover}
.kue-photo-1{left:0;top:0;width:62%;height:280px;rotate:-3deg}
.kue-photo-2{right:0;bottom:0;width:52%;height:200px;rotate:4deg}

.kue-receipt{position:relative;padding:40px 40px 36px;background:var(--card);border-radius:6px;box-shadow:0 30px 60px -30px rgba(60,45,25,.35);
  -webkit-mask:radial-gradient(circle 9px at 50% 0,#0000 98%,#000) 0 0/26px 100% repeat-x;mask:radial-gradient(circle 9px at 50% 0,#0000 98%,#000) 0 0/26px 100% repeat-x;padding-top:48px}
.kue-receipt-head{display:flex;justify-content:space-between;gap:1rem;padding-bottom:18px;margin-bottom:8px;border-bottom:2px dashed var(--line-strong);
  font:600 .74rem/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.kue-row{position:relative;display:grid;grid-template-columns:52px 1fr 34px;gap:18px;align-items:start;padding:22px 0;
  transition:opacity .6s ease,transform .6s ease!important}
.kue-row::after{content:"";position:absolute;left:70px;right:0;bottom:0;border-bottom:2px dotted var(--line-strong);transform-origin:0 50%;transition:transform .9s cubic-bezier(.4,0,.2,1)!important}
.kue-row h3{font-size:1.15rem;margin-bottom:.3rem}
.kue-row p{font-size:.96rem;line-height:1.6}
.kue-stamp{width:30px;height:30px;margin-top:10px;stroke:var(--accent);stroke-width:2.4;transition:transform .55s cubic-bezier(.3,1.8,.5,1),opacity .3s!important}
.ku-js .kue-row{opacity:.72;transform:translateX(14px)}
.ku-js .kue-row::after{transform:scaleX(0)}
.ku-js .kue-stamp{opacity:0;transform:scale(2.2) rotate(-30deg)}
.ku-js .kue-row:is(.is-on,.is-past){opacity:1;transform:none}
.ku-js .kue-row:is(.is-on,.is-past)::after{transform:none}
.ku-js .kue-row:is(.is-on,.is-past) .kue-stamp{opacity:1;transform:none}

.kue-total{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:.2rem 1rem;margin-top:16px;padding:24px 22px;border-radius:12px;background:var(--forest);color:var(--on-forest);
  transition:transform .8s cubic-bezier(.2,1.4,.4,1),opacity .5s!important}
.kue-total span{font:600 .78rem/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--accent-dark)}
.kue-total strong{grid-row:span 2;font:500 2.2rem/1 var(--serif);color:#fff}
.kue-total small{font-size:.9rem}
.ku-js .kue-total{opacity:.6;transform:translateY(24px) scale(.96)}
.ku-js .kue-total:is(.is-on,.is-past){opacity:1;transform:none}
.lh .kue-plus{display:flex;gap:.6rem;align-items:flex-start;margin:22px 0 26px;font-size:.95rem;line-height:1.6}
.kue-plus .lh-ico{flex:none;width:22px;height:22px;stroke:var(--accent);margin-top:2px}
[data-sv-review="on"] .kue :is(.kue-row,.kue-total,.kue-stamp){opacity:1!important;transform:none!important}
[data-sv-review="on"] .kue-row::after{transform:none!important}

@media (max-width:991px){
  .kue-grid{grid-template-columns:1fr;gap:40px}
  .kue-side{position:static}
  .kue-photos{height:260px}
  .kue-photo-1{height:210px}.kue-photo-2{height:150px}
}
@media (max-width:599px){
  .kue-receipt{padding:40px 20px 28px}
  .kue-row{grid-template-columns:52px 1fr 26px;gap:12px}
  .kue-receipt-head{flex-direction:column;gap:.2rem}
}
/* 2026-11-12: the farmhouse photo carries a caption (lodging is booked separately), the lodging row has no check. */
figure.kue-photo{margin:0;box-shadow:none;display:flex;flex-direction:column;gap:8px}
figure.kue-photo .kue-photo-in{flex:1;min-height:0;border-radius:var(--radius);box-shadow:0 24px 40px -24px rgba(40,30,15,.5)}
figure.kue-photo figcaption{font-size:.85rem;line-height:1.3;color:var(--muted);rotate:3deg;padding-left:6px}
.kue-row-extra{opacity:.85}
.kue-row-extra h3::after{content:" · külön foglalható";font-weight:400;font-size:.85rem;color:var(--muted)}
figure.kue-photo figcaption{max-width:74%;color:var(--ink);font-weight:500}
.kue-receipt>.lh-btn{margin-top:28px}
