@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');
:root{color-scheme:light;--purple:#583799;--purple2:#7a51c0;--pink:#ff6eaa;
 --ink:#3c3058;--muted:#74688b;--line:#e9dff6;--paper:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:linear-gradient(145deg,#f4f0ff,#fdf9ff 48%,#ecf9ff);
 color:var(--ink);font:15px/1.5 "Nunito",system-ui,sans-serif}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.5;cursor:not-allowed}
#lv-public-quote{max-width:1040px;margin:0 auto;padding:18px 12px 44px}
.pq-loading{text-align:center;margin:80px 0;color:#68479b}
.pq-header{display:flex;align-items:center;gap:14px;max-width:950px;margin:0 auto 15px;padding:8px 12px}
.pq-header img{object-fit:contain;max-width:75px}
.pq-header div{flex:1;min-width:0}
.pq-header h1{font-size:clamp(18px,4vw,26px);font-weight:900;letter-spacing:.5px;margin:0;color:#4e3385}
.pq-header p{margin:0;color:#6e5b9f;font-weight:800}
.pq-header nav{display:flex;gap:5px;border-radius:12px;padding:4px;background:#fff;border:1px solid var(--line)}
.pq-header nav button{padding:7px 9px;border:0;border-radius:8px;color:var(--purple);background:transparent;font-weight:800;font-size:12px}
.pq-header nav button[aria-pressed=true]{background:var(--purple);color:#fff}
.pq-card{max-width:950px;margin:auto;background:var(--paper);border:1px solid var(--line);
 border-radius:22px;box-shadow:0 14px 50px rgba(67,34,125,.09);padding:clamp(14px,3vw,30px)}
.pq-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;border-bottom:1px solid var(--line);
 padding:0 0 19px;margin:0 0 22px}
.pq-progress-step{display:flex;align-items:center;gap:7px;min-width:0;color:#9990a8}
.pq-progress-step>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;
 background:#ede7f6;color:#81749a;font-size:12px;font-weight:900}
.pq-progress-step small{font-size:11px;font-weight:800;line-height:1.1}
.pq-progress-step.is-current>span{background:var(--purple);color:#fff}
.pq-progress-step.is-current{color:var(--purple)}
.pq-progress-step.is-done>span{background:#def5ea;color:#1f8060}
.pq-step h2{font-size:clamp(18px,2.8vw,24px);font-weight:900;color:#47317a;margin:0 0 10px}
.pq-step h3{margin:14px 0 10px;font-size:16px;color:#563992}
.pq-hint{font-size:13px;color:var(--muted);margin:9px 0 19px}
.pq-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px}
.pq-product{min-width:0;overflow:hidden;border:1px solid #e8def3;border-radius:16px;background:#fff;
 box-shadow:0 3px 11px rgba(72,41,121,.045);display:flex;flex-direction:column}
.pq-product-img{height:155px;display:grid;place-items:center;background:linear-gradient(155deg,#faf5ff,#eaf8ff)}
.pq-product-img img{width:100%;height:100%;object-fit:contain;padding:4px}
.pq-placeholder{font-size:65px}
.pq-product-content{padding:13px;display:grid;gap:8px;flex:1}
.pq-product-content>strong{font-size:13px;font-weight:900;line-height:1.3;min-height:28px}
.pq-stock{display:block;font-size:11px;font-weight:900}
.pq-stock.yes{color:#157c56}
.pq-stock.not{color:#b23b56}
.pq-stock.pending{color:#796e87}
.pq-product-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:space-between;margin-top:auto}
.pq-product-actions>label{font-size:12px;font-weight:800;display:flex;align-items:center;gap:6px}
.pq-product-actions input[type=checkbox],.pq-consent input{width:17px;height:17px;accent-color:var(--purple)}
.pq-product-actions input[type=number]{width:64px;min-height:36px;padding:6px;border-radius:8px;border:1px solid #ddd2ea}
.pq-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pq-field{display:grid;gap:6px;margin:0 0 11px;min-width:0;color:#493566;font-size:12px;font-weight:850}
.pq-field input,.pq-field textarea,.pq-question input,.pq-question select,.pq-question textarea{
 min-width:0;width:100%;min-height:45px;padding:10px 12px;border:1px solid #d8cde7;
 border-radius:10px;background:#fff;color:#392b52;font-size:14px;outline-offset:2px}
.pq-field input:focus,.pq-field textarea:focus,.pq-question input:focus,.pq-question select:focus{
 border-color:var(--purple2);outline:2px solid #e9dcfa}
.pq-question{border:1px solid #e8dff1;border-radius:12px;background:#fff;padding:13px;margin:10px 0}
.pq-question>label{display:block;margin-bottom:10px;font-weight:850;font-size:13px}
.pq-question>label b{color:var(--purple2)}
.pq-answer{display:grid;gap:8px}
.pq-additional{border-top:1px solid #ece6f4;margin-top:4px;padding-top:7px}
.pq-additional summary{font-size:11px;color:#5d4284;font-weight:800;cursor:pointer}
.pq-additional textarea{margin-top:9px;min-height:65px}
.pq-safety{padding:14px;background:#fff8ea;border:1px solid #f5dca7;color:#765218;
 font-size:12px;font-weight:750;line-height:1.6;border-radius:12px;margin-top:17px}
.pq-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--line);
 padding-top:19px;margin-top:22px}
.pq-next{background:linear-gradient(110deg,#6c43b0,#8c56be);border:0;color:#fff;padding:12px 18px;
 min-height:44px;font-weight:900;border-radius:11px}
.pq-back{background:#f6f0fc;border:1px solid #d4c4e9;color:#583c8c;padding:11px 17px;
 min-height:44px;font-weight:850;border-radius:11px}
.pq-footer{text-align:center;margin:15px 0 0;font-size:11px;color:#7b7188}
.pq-error{color:#a61f48;background:#fff0f4;border:1px solid #f7c5d4;
 border-radius:10px;padding:11px;font-size:12px;font-weight:800}
.pq-consent{display:flex;align-items:start;gap:10px;font-size:12px;margin:14px 0 0;color:#635379}
.pq-consent input{flex-shrink:0;margin-top:3px}
.pq-honey{position:absolute;left:-9999px;opacity:0;width:1px;height:1px;pointer-events:none}
.pq-summary{background:#f8f5fc;padding:14px;border:1px solid #e7ddf4;border-radius:12px;
 margin-bottom:17px;font-size:13px}
.pq-summary ul{padding-left:20px;margin:6px 0}
.pq-summary p{margin:5px 0}
.pq-success{text-align:center;padding:40px 20px;max-width:680px}
.pq-success h2{font-size:22px;color:#48318a}
.pq-success p{font-size:14px}
.pq-bigcheck{display:inline-grid;place-items:center;width:66px;height:66px;
 background:#d8f6e7;color:#16805a;font-weight:900;border-radius:50%;font-size:38px}
.pq-empty{padding:24px;text-align:center;border-radius:12px;background:#f8f6fb}
@media(max-width:620px){
 #lv-public-quote{padding:10px 8px 22px}
 .pq-header{padding:7px;gap:8px}
 .pq-header img{max-width:55px;height:67px}
 .pq-header h1{font-size:17px}
 .pq-header p{font-size:12px}
 .pq-header nav button{font-size:11px;padding:6px 7px}
 .pq-card{padding:14px 11px;border-radius:16px}
 .pq-progress{gap:4px}
 .pq-progress-step{display:grid;justify-items:center;gap:3px;text-align:center}
 .pq-progress-step small{font-size:9px}
 .pq-progress-step>span{width:25px;height:25px;flex:auto}
 .pq-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .pq-product-img{height:120px}
 .pq-product-content{padding:9px;gap:6px}
 .pq-product-content>strong{font-size:11px;min-height:40px}
 .pq-product-actions{align-items:start}
 .pq-product-actions>label{font-size:10px}
 .pq-stock{font-size:10px;min-height:32px}
 .pq-fields{grid-template-columns:1fr}
 .pq-step h2{font-size:19px}
 .pq-hint{font-size:12px}
 .pq-next{font-size:12px;padding:12px}
}


/* Date-first quotation journey: context always visible above date-checked stock. */
.pq-date-context{display:flex;align-items:center;justify-content:space-between;gap:14px;
 background:linear-gradient(115deg,#f4ecff,#eaf8ff);border:1px solid #dccff5;
 border-radius:13px;padding:12px 14px;margin:12px 0}
.pq-date-context>div{display:grid;gap:2px;min-width:0}
.pq-date-context strong{font-weight:900;color:#483080;font-size:14px}
.pq-date-context span{font-size:12px;color:#62537a;overflow-wrap:anywhere}
.pq-date-context small{font-size:11px;color:#6a5f82}
.pq-date-context button{flex-shrink:0;min-height:38px;padding:8px 10px;
 border:1px solid #cfbce9;border-radius:9px;background:#fff;color:#56368a;
 font-weight:900;font-size:12px;cursor:pointer}
.pq-product.pq-unavailable{background:#f8f7fa;border-color:#e4e0e9}
.pq-product.pq-unavailable .pq-product-img{filter:grayscale(.65);opacity:.75}
.pq-product.pq-unavailable .pq-product-content{opacity:.82}
.pq-product.pq-unavailable input[type=checkbox]:disabled{cursor:not-allowed}
.pq-availability-notice{padding:11px;background:#fff8e7;border:1px solid #f1d6a4;
 border-radius:10px;font-size:12px;font-weight:850;color:#765218}
@media(max-width:620px){
 .pq-date-context{flex-wrap:wrap;align-items:start;padding:10px}
 .pq-date-context button{width:100%}
}


/* Quotation wizard: four steps and Back/Next remain visible while scrolling.
   No transform/overflow is used on ancestors, so iOS Safari sticky works. */
.pq-sticky-steps{
 position:sticky;top:0;z-index:30;
 background:rgba(255,255,255,.98);background:color-mix(in srgb,#fff 96%,#f5efff);
 border-bottom:1px solid #e6daf4;box-shadow:0 6px 16px rgba(64,31,119,.09);
 margin:-10px -10px 18px;padding:10px 10px 9px;
 border-radius:13px 13px 4px 4px;
}
@supports (top:env(safe-area-inset-top)){
 .pq-sticky-steps{top:env(safe-area-inset-top)}
}
.pq-sticky-steps .pq-progress{
 margin:0 0 7px;padding:0 0 8px;border-bottom:1px solid #eee6f7;
}
.pq-nav{display:flex;gap:9px;align-items:center;justify-content:space-between;min-width:0}
.pq-nav button{min-width:0;display:inline-flex;align-items:center;justify-content:center;
 gap:6px;text-align:center;font-weight:900}
.pq-nav .pq-back,.pq-nav .pq-next{min-height:42px;line-height:1.2}
.pq-nav .pq-back span,.pq-nav .pq-next span{font-size:18px;font-weight:900;line-height:1}
.pq-nav-top .pq-back,.pq-nav-top .pq-next{padding:8px 13px;font-size:12px}
.pq-nav-bottom{border-top:1px solid var(--line);padding-top:17px;margin-top:22px}
.pq-cart-shortcut{border:1px solid #d9c9ef;color:#573997;background:#f7f1ff;
 font-size:12px;padding:8px 10px;min-height:42px;border-radius:10px;
 white-space:nowrap}
.pq-cart-shortcut span{font-size:18px;line-height:1}
.pq-cart{border:1px solid #d7c7ea;border-radius:15px;padding:14px;
 margin:14px 0 18px;background:linear-gradient(150deg,#fcfaff,#f5efff);
 scroll-margin-top:136px}
.pq-cart-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pq-cart-head h3{display:flex;gap:7px;align-items:center;font-weight:900;
 font-size:16px;margin:0;color:#56358b}
.pq-cart-head>span{font-size:12px;font-weight:850;color:#66547e;white-space:nowrap}
.pq-cart-count{display:inline-grid;place-items:center;border-radius:100px;
 padding:2px 8px;min-width:28px;background:#633da4;color:#fff;font-size:11px}
.pq-cart-empty{margin:8px 0 0;font-size:12px;color:#74678a}
.pq-cart-notice{font-size:12px;font-weight:850;color:#247b58;
 margin:10px 0 6px}
.pq-cart-items{margin:11px 0 0;padding:0;list-style:none;display:grid;gap:7px}
.pq-cart-items li{display:flex;justify-content:space-between;align-items:center;
 gap:12px;padding:9px 10px;border:1px solid #e7dff3;border-radius:10px;
 background:#fff}
.pq-cart-items li>span{font-size:12px;font-weight:750;overflow-wrap:anywhere}
.pq-cart-items li strong{white-space:nowrap}
.pq-cart-items button{min-height:34px;flex-shrink:0;border:1px solid #f2ced9;
 background:#fff4f6;color:#9f385f;font-weight:900;font-size:11px;
 padding:7px 10px;border-radius:9px}
.pq-product.pq-in-cart{border-color:#9e80ce;box-shadow:0 0 0 1px #dac9f4}
.pq-in-cart-label{font-size:10px;color:#5b3c95;background:#f1eaff;
 padding:3px 8px;border-radius:100px;justify-self:start;font-weight:900}
.pq-product-actions{display:grid;grid-template-columns:1fr;gap:8px}
.pq-product-actions>.pq-qty{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pq-product-actions .pq-qty input{width:72px;min-height:38px;
 background:#fff;border:1px solid #cfc0e3;text-align:center;font-size:13px}
.pq-add-cart{min-height:42px;border:0;border-radius:10px;
 padding:9px 7px;color:#fff;font-size:12px;font-weight:900;
 background:linear-gradient(115deg,#744bb5,#9a65c7);
 width:100%;display:flex;align-items:center;justify-content:center;gap:6px;
 white-space:normal}
.pq-add-cart span{font-size:17px}
.pq-add-cart:disabled{background:#d8d2df;color:#676272;opacity:.8}
.pq-product.pq-unavailable .pq-add-cart{cursor:not-allowed}
.pq-sticky-steps button:focus-visible,.pq-add-cart:focus-visible,
.pq-cart button:focus-visible{outline:3px solid #a88bd7;outline-offset:2px}
@media(max-width:620px){
 .pq-sticky-steps{margin:-8px -6px 16px;padding:8px 6px 8px;
  border-radius:10px 10px 3px 3px}
 .pq-sticky-steps .pq-progress{padding:0 0 6px;margin:0 0 6px}
 .pq-nav{gap:5px}
 .pq-nav-top .pq-back,.pq-nav-top .pq-next{padding:8px 9px;
  min-height:40px;font-size:11px;max-width:46%}
 .pq-cart-shortcut{min-height:40px;font-size:10px;padding:6px 7px}
 .pq-cart-shortcut span{font-size:14px}
 .pq-cart{padding:11px;margin:12px 0 15px;scroll-margin-top:124px}
 .pq-cart-head h3{font-size:13px}
 .pq-cart-head>span{font-size:10px}
 .pq-cart-items li{gap:7px;padding:8px}
 .pq-cart-items li>span{font-size:11px}
 .pq-cart-items button{font-size:10px;padding:6px}
 .pq-product-actions>.pq-qty{font-size:11px}
 .pq-product-actions .pq-qty input{width:62px;min-height:36px}
 .pq-add-cart{font-size:11px;padding:8px 5px;min-height:42px}
 .pq-nav-bottom .pq-back,.pq-nav-bottom .pq-next{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
}


/* Compact quotation product cards. Full-width uncropped photos in two columns.
   Source product photos are predominantly square, so the visible photo frame
   must also be square to remove empty space along the left and right edges. */
.pq-products{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 width:100%;
 max-width:840px;
 margin-inline:auto;
 align-items:stretch;
 gap:10px;
}
.pq-product{
 height:100%;
 min-width:0;
 min-height:0;
 display:flex;
 flex-direction:column;
 border-radius:13px;
 overflow:hidden;
}
.pq-product-img{
 position:relative;
 display:block;
 width:100%;
 aspect-ratio:1 / 1;
 height:auto;
 min-height:0;
 max-height:none;
 flex:0 0 auto;
 overflow:hidden;
 background:linear-gradient(155deg,#faf5ff,#eaf8ff);
}
.pq-product-img img{
 position:absolute;
 inset:0;
 display:block;
 width:100%;
 height:100%;
 max-width:100%;
 max-height:100%;
 padding:0;
 object-fit:contain;
 object-position:center center;
}
.pq-product-img .pq-placeholder{
 position:absolute;
 inset:0;
 display:grid;
 place-items:center;
 width:100%;
 height:100%;
 font-size:clamp(40px,7vw,68px);
 line-height:1;
}
.pq-product-content{
 display:flex;
 flex-direction:column;
 flex:1 1 auto;
 min-width:0;
 gap:5px;
 padding:10px 11px 11px;
}
.pq-product-name{
 display:block;
 min-width:0;
 min-height:0;
}
.pq-product-name strong{
 display:block;
 max-width:100%;
 font-size:13px;
 font-weight:900;
 line-height:1.32;
 overflow-wrap:anywhere;
 white-space:normal;
 word-break:normal;
 hyphens:auto;
}
.pq-product-stock{
 display:block;
 min-height:0;
 min-width:0;
 width:100%;
}
.pq-product-stock .pq-stock{
 font-size:10.5px;
 line-height:1.3;
 min-height:0;
 max-width:100%;
 overflow-wrap:anywhere;
}
.pq-in-cart-label{
 position:absolute;
 top:7px;
 right:7px;
 z-index:1;
 font-size:10px;
 font-weight:900;
 border-radius:100px;
 background:#efe7ff;
 color:#53348b;
 padding:3px 8px;
 max-width:calc(100% - 14px);
 overflow-wrap:anywhere;
 box-shadow:0 1px 4px #0001;
}
.pq-product-actions{
 width:100%;
 min-width:0;
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:6px;
 align-self:stretch;
 margin-top:auto;
 padding-top:3px;
}
.pq-product-actions .pq-qty{
 min-width:0;
 max-width:100%;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:7px;
}
.pq-product-actions .pq-qty input{
 min-height:34px;
 width:62px;
 max-width:70%;
 padding:5px;
 font-size:12px;
 background:#fff;
 text-align:center;
}
.pq-add-cart{
 min-height:39px;
 width:100%;
 max-width:100%;
 padding:7px 6px;
 font-size:11.5px;
 line-height:1.25;
 overflow-wrap:anywhere;
 white-space:normal;
}
.pq-add-cart span{font-size:16px}
@media(max-width:620px){
 .pq-products{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:100%;
  gap:7px;
 }
 .pq-product-img{
  aspect-ratio:1 / 1;
  height:auto;
  min-height:0;
  max-height:none;
  flex-basis:auto;
 }
 .pq-product-img img{padding:0}
 .pq-product-img .pq-placeholder{font-size:42px}
 .pq-product-content{padding:7px;gap:4px}
 .pq-product-name{min-height:0}
 .pq-product-name strong{font-size:11px;line-height:1.28}
 .pq-product-stock{min-height:0}
 .pq-product-stock .pq-stock{font-size:9.5px}
 .pq-product-actions{gap:5px;padding-top:2px}
 .pq-product-actions .pq-qty{font-size:10px}
 .pq-product-actions .pq-qty input{
  width:52px;
  min-height:33px;
  max-width:55%;
 }
 .pq-add-cart{font-size:10.5px;min-height:38px;padding:7px 4px}
 .pq-in-cart-label{top:5px;right:5px;font-size:9px;padding:2px 5px}
}
@media(max-width:350px){
 /* Keep exactly two photos per row even on smaller phones. */
 .pq-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .pq-product-content{padding:6px}
 .pq-product-img{aspect-ratio:1 / 1;flex-basis:auto}
 .pq-product-name strong{font-size:10.5px}
 .pq-product-stock .pq-stock{font-size:9.5px}
 .pq-product-actions .pq-qty input{width:45px}
 .pq-add-cart{font-size:10px;padding:6px 3px}
}

/* Sticky quotation logo and language switcher sit ABOVE the step navigation.
   Dynamic heights support HU/EN wrapping, iOS safe area and device rotation. */
#lv-public-quote{--pq-header-height:86px;--pq-sticky-stack-height:220px}
#lv-public-quote .pq-header{
 position:sticky;
 top:env(safe-area-inset-top,0px);
 z-index:60;
 background:rgba(255,255,255,.97);
 -webkit-backdrop-filter:blur(12px);
 backdrop-filter:blur(12px);
 border:1px solid #e8def4;
 border-radius:15px;
 box-shadow:0 5px 18px rgba(64,31,119,.11);
}
#lv-public-quote .pq-sticky-steps{
 top:calc(env(safe-area-inset-top,0px) + var(--pq-header-height,86px) + 6px);
 z-index:40;
}
#lv-public-quote .pq-cart{
 scroll-margin-top:calc(env(safe-area-inset-top,0px) + var(--pq-sticky-stack-height,220px));
}
@media(max-width:620px){
 #lv-public-quote .pq-header{border-radius:11px}
}
