/* Landing Studio Pro 1.5.4 — Precision SVG / POS Studio / CTA Contrast Engine
   Intentionally scoped to .ltfnb-root. Loaded AFTER v1.5.3 by WP and Admin Live Preview. */

.ltfnb-root{--ltfnb-cta-title:#ffffff;--ltfnb-cta-body:#f9e8e9;--ltfnb-cta-accent:#ffe3b7}
/* 1. BRAND TYPOGRAPHY / THEME ISOLATION
   Text under 16px: do not use 700+, even if theme tries to force it. */
body .ltfnb-root :is(button,.btn,small,.demo-live,.pos-tags button,.product-tile strong,.product-tile small,.summary-item,.qty-btn,.demo-hint,.pos-subhead,.pos-cart-heading,.badge,.chip,.step-label,.hero-proof span,.faq-question,.head-actions a,.desktop-nav a){font-weight:600!important}
body .ltfnb-root :is(.product-tile,.summary-item,.pos-demo,.pos-tags button,.demo-head,.cta-section) {font-family:var(--ltfnb-font-family,system-ui,sans-serif)}
body .ltfnb-root :is(.pos-demo small,.pos-demo .demo-hint,.pos-demo .pos-subhead span){font-weight:400!important}
body .ltfnb-root :is(.btn,.pos-tags button,.product-tile,.qty-btn,.pos-summary button,.cta-section .btn){letter-spacing:0!important;text-transform:none!important}
body .ltfnb-root :is(.btn,.product-tile,.pos-summary button,.pos-tags button):focus-visible{outline:2px solid var(--blue)!important;outline-offset:3px!important}

/* Legacy component typography reset: text below 16px previously used 700–900.
   Prefer 600 for all labels, in-widget headings and simulated device controls;
   keep large h1/h2 under the Admin headingWeight setting. */
body .ltfnb-root :is(
 .mock-top,.mock-label,.mock-pos h4,.mock-pos .selected,.mini-product b,.mini-pay,
 .pain-no,.pain-foot,.device-head,.phone-status,.hardware-sim-note,
 .phone-stat small,.report-head h4,.hardware-option strong,.table-cell strong,
 .business-card strong,.story h3,.story-card h3,.faq-item h3,
 .mock-pos b,.mock-pos strong,.device-model strong,.phone-model strong,
 h3,h4,h5,h6,b,strong,em,label
){font-weight:600!important}
/* 2. CTA CONTRAST ENGINE — independent of global h1/h2 / theme heading color */
body .ltfnb-root section[data-ltfnb-template="cta"].cta-section{
  isolation:isolate;
  background:linear-gradient(112deg,color-mix(in srgb,var(--blue) 87%,#141724),color-mix(in srgb,var(--blue2) 83%,var(--blue))) ;
  border:0;
  padding-block:clamp(54px,6vw,78px);
}
/* Explicit section background from Admin must win over preset gradient. */
body .ltfnb-root section[data-ltfnb-template="cta"][data-ltfnb-bg-custom="1"]{background-image:none!important}
body .ltfnb-root section[data-ltfnb-template="cta"]::before,
body .ltfnb-root section[data-ltfnb-template="cta"]::after{display:none!important;content:none!important}
body .ltfnb-root section[data-ltfnb-template="cta"] .cta-wrap{
  gap:clamp(25px,4vw,70px);max-width:var(--container);align-items:center;position:relative;
}
body .ltfnb-root section[data-ltfnb-template="cta"] :is(h2,h2 lt-fnb-text,h2 span:not(.ltfnb-cta-accent)){
  color:var(--ltfnb-cta-title,#ffffff)!important;
  -webkit-text-fill-color:var(--ltfnb-cta-title,#ffffff)!important;
  text-shadow:none!important;
  opacity:1!important;
}
body .ltfnb-root section[data-ltfnb-template="cta"] h2{
  font-family:var(--ltfnb-font-family,system-ui,sans-serif)!important;
  font-weight:var(--ltfnb-heading-weight,700)!important;
  font-size:clamp(30px,3vw,47px)!important;
  letter-spacing:-.035em!important;
  line-height:1.20!important;
  text-wrap:balance;
  margin:0 0 12px;
}
body .ltfnb-root section[data-ltfnb-template="cta"] :is(h2 .ltfnb-cta-accent,h2 .ltfnb-cta-accent lt-fnb-text){
  color:var(--ltfnb-cta-accent,#ffe3b7)!important;
  -webkit-text-fill-color:var(--ltfnb-cta-accent,#ffe3b7)!important;
}
body .ltfnb-root section[data-ltfnb-template="cta"] :is(.cta-wrap p,.cta-wrap p lt-fnb-text){
  color:var(--ltfnb-cta-body,#f9e8e9)!important;
  -webkit-text-fill-color:var(--ltfnb-cta-body,#f9e8e9)!important;
  font-size:clamp(13px,1.15vw,15px)!important;
  font-weight:400!important;
  line-height:1.7!important;
  opacity:1!important;
}
body .ltfnb-root section[data-ltfnb-template="cta"] .btn.btn-white{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:13px;
  background:#fff!important;color:var(--blue)!important;
  -webkit-text-fill-color:var(--blue)!important;
  border:1px solid rgba(255,255,255,.94)!important;
  border-radius:var(--ltfnb-button-radius,14px)!important;
  font-family:var(--ltfnb-font-family,system-ui,sans-serif)!important;
  font-size:14px!important;font-weight:600!important;
  padding:15px 25px!important;min-height:55px!important;
  text-shadow:none!important;text-decoration:none!important;
  box-shadow:0 10px 24px rgba(26,17,40,.13)!important;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease!important;
}
body .ltfnb-root section[data-ltfnb-template="cta"] .btn.btn-white lt-fnb-text{color:inherit!important;-webkit-text-fill-color:inherit!important;font-weight:600!important}
body .ltfnb-root section[data-ltfnb-template="cta"] .btn.btn-white .icon{color:inherit!important;stroke-width:2;width:19px;height:19px;transition:transform .25s}
body .ltfnb-root section[data-ltfnb-template="cta"] .btn.btn-white:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(26,17,40,.21)!important}
body .ltfnb-root section[data-ltfnb-template="cta"] .btn.btn-white:hover .icon{transform:translateX(3px)}

/* 3. POS PREMIUM WORKSPACE — comfortable two-column products, intentional hierarchy. */
body .ltfnb-root [data-ltfnb-template="sales"] .visual-panel{background:transparent;border:0;box-shadow:none;padding:0}
body .ltfnb-root .pos-demo{
  --ltfnb-pos-border:#e4ebf3;--ltfnb-pos-ink:#162b46;--ltfnb-pos-muted:#667a92;
  background:#fff;border:1px solid var(--ltfnb-pos-border);border-radius:20px;
  box-shadow:0 16px 48px rgba(18,37,69,.065);overflow:hidden;
}
body .ltfnb-root .pos-demo .demo-head{padding:14px clamp(14px,1.8vw,20px);background:#fff;min-height:76px;gap:12px;border-bottom:1px solid var(--ltfnb-pos-border)}
body .ltfnb-root .pos-head-title{gap:11px}
body .ltfnb-root .pos-head-icon{width:43px;height:43px;flex:0 0 auto;display:grid;place-items:center;border-radius:13px;background:var(--ltfnb-ui-tint);border:1px solid color-mix(in srgb,var(--blue) 14%,#fff)}
body .ltfnb-root .pos-head-icon .icon{width:23px;height:23px;stroke-width:1.75;color:var(--blue)}
body .ltfnb-root .pos-demo .demo-head b{font-size:14px!important;color:var(--ltfnb-pos-ink)!important;font-weight:600!important;line-height:1.3!important}
body .ltfnb-root .pos-demo .demo-head small{font-size:11px!important;color:var(--ltfnb-pos-muted)!important;margin-top:4px;line-height:1.5}
body .ltfnb-root .pos-demo .demo-live{font-size:11px!important;font-weight:600!important;background:#eaf7f1!important;color:#087551!important;min-height:32px;padding:7px 11px;border-radius:999px;white-space:nowrap}
body .ltfnb-root .pos-demo .pos-content{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(0,1fr);align-items:stretch;gap:0}
body .ltfnb-root .pos-demo .pos-products{padding:clamp(13px,1.6vw,19px);border-right:1px solid var(--ltfnb-pos-border);container-type:inline-size;min-width:0}
body .ltfnb-root .pos-demo .pos-summary{padding:clamp(13px,1.6vw,19px);min-width:0;background:#fbfcfe;display:flex;flex-direction:column}
body .ltfnb-root .pos-demo .pos-subhead{align-items:center;gap:7px;margin-bottom:12px}
body .ltfnb-root .pos-demo .pos-subhead strong,
body .ltfnb-root .pos-demo .pos-cart-heading{font-size:13px!important;font-weight:600!important;color:var(--ltfnb-pos-ink)!important}
body .ltfnb-root .pos-demo .pos-subhead span{display:inline-flex;align-items:center;gap:5px;color:var(--ltfnb-pos-muted)!important;font-size:10.5px}
body .ltfnb-root .pos-demo .pos-subhead span .icon{width:13px;height:13px;color:var(--blue);stroke-width:1.8}
body .ltfnb-root .pos-demo .pos-tags{display:flex;align-items:center;gap:7px;margin:0 0 15px;flex-wrap:wrap}
body .ltfnb-root .pos-demo .pos-tags button{
  background:#f3f5f9!important;color:#566a83!important;min-height:34px;border:1px solid #edf0f5!important;
  border-radius:10px!important;padding:7px 12px!important;font-size:11px!important;font-weight:600!important;
  box-shadow:none!important;letter-spacing:0!important;
}
body .ltfnb-root .pos-demo .pos-tags button.active{background:var(--ltfnb-ui-tint-strong)!important;color:var(--blue)!important;border-color:color-mix(in srgb,var(--blue) 23%,#fff)!important}
body .ltfnb-root .pos-demo .pos-tags button:hover{border-color:color-mix(in srgb,var(--blue) 50%,#fff)!important}
body .ltfnb-root .pos-demo .product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0}
body .ltfnb-root .pos-demo .product-tile{
  display:grid;grid-template-columns:clamp(38px,4vw,52px) minmax(0,1fr) 17px;
  align-items:center;text-align:left;gap:8px;position:relative;min-width:0;min-height:80px;
  padding:9px;border-radius:13px;border:1px solid var(--ltfnb-pos-border);background:#fff;
  box-shadow:0 2px 6px rgba(18,39,69,.02);transition:transform .27s,border-color .27s,box-shadow .27s;
}
body .ltfnb-root .pos-demo .product-tile:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--blue) 35%,#fff);box-shadow:0 10px 24px rgba(18,39,69,.085)}
body .ltfnb-root .pos-demo .product-tile .food-emoji{
  width:100%;height:clamp(38px,4vw,52px);background:var(--ltfnb-ui-tint);border:1px solid color-mix(in srgb,var(--blue) 8%,#fff);
  border-radius:11px;display:grid;place-items:center;margin:0;
}
body .ltfnb-root .pos-demo .product-tile .food-emoji .icon{width:27px;height:27px;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
body .ltfnb-root .pos-demo .product-tile .product-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-width:0;height:100%}
body .ltfnb-root .pos-demo .product-tile .product-info strong{font-size:11px!important;line-height:1.36!important;color:var(--ltfnb-pos-ink)!important;font-weight:600!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0;max-width:100%;text-transform:none!important}
body .ltfnb-root .pos-demo .product-tile .product-info small{color:var(--blue)!important;font-size:11px!important;font-weight:600!important;margin:0;padding:0}
body .ltfnb-root .pos-demo .product-tile .pos-add-mark{
  width:20px;height:20px;position:static;display:grid;place-items:center;flex:0 0 auto;
  border-radius:7px;background:var(--ltfnb-ui-tint);color:var(--blue);border:1px solid color-mix(in srgb,var(--blue) 19%,#fff);box-shadow:none;
}
body .ltfnb-root .pos-demo .product-tile .pos-add-mark .icon{width:12px;height:12px;stroke-width:2}
body .ltfnb-root .pos-demo .pos-summary>.pos-cart-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;margin:0;border-bottom:1px solid var(--ltfnb-pos-border)}
body .ltfnb-root .pos-demo .pos-cart-heading #cartCount{background:var(--ltfnb-ui-tint);font-size:11px;color:var(--blue);font-weight:600;min-width:30px}
body .ltfnb-root .pos-demo .summary-list{flex:1;min-height:155px;max-height:260px;overflow:auto;margin:10px 0 12px}
body .ltfnb-root .pos-demo .summary-empty{background:#fff;border:1px dashed #dce5f0;border-radius:14px;min-height:155px;padding:17px 10px;gap:7px}
body .ltfnb-root .pos-demo .summary-empty-icon{height:43px;width:43px;background:var(--ltfnb-ui-tint);border-radius:13px}
body .ltfnb-root .pos-demo .summary-empty .icon{height:22px;width:22px;stroke-width:1.8}
body .ltfnb-root .pos-demo .summary-empty strong{font-size:12px!important;font-weight:600!important;color:var(--ltfnb-pos-ink)!important}
body .ltfnb-root .pos-demo .summary-empty>span:not(.summary-empty-icon){font-size:11px;max-width:220px;color:var(--ltfnb-pos-muted);line-height:1.45}
body .ltfnb-root .pos-demo .pos-empty-choose{font-size:11px!important;font-weight:600!important;padding:6px 8px;color:var(--blue)!important;min-height:28px;background:transparent!important;border:0!important;box-shadow:none!important}
body .ltfnb-root .pos-demo .summary-item{font-size:11px!important;color:var(--ltfnb-pos-ink)!important;padding:10px 0;gap:6px}
body .ltfnb-root .pos-demo .summary-item :is(b,strong){font-weight:600!important;font-size:11px;color:var(--ltfnb-pos-ink)!important}
body .ltfnb-root .pos-demo .summary-item b{color:var(--blue)!important}
body .ltfnb-root .pos-demo .summary-item small{font-size:10px!important;font-weight:400!important;color:var(--ltfnb-pos-muted)!important}
body .ltfnb-root .pos-demo .qty-btn{display:inline-grid!important;place-items:center!important;width:27px;min-width:27px;height:27px;min-height:27px;border:1px solid var(--ltfnb-pos-border)!important;border-radius:8px!important;background:#fff!important;color:var(--blue)!important;padding:0!important;box-shadow:none!important}
body .ltfnb-root .pos-demo .qty-btn .icon{width:13px;height:13px;stroke-width:2;pointer-events:none}
body .ltfnb-root .pos-demo .sum-footer{margin-top:auto;padding-top:13px}
body .ltfnb-root .pos-demo .sum-footer .total{font-size:12px!important;font-weight:600;color:var(--ltfnb-pos-muted)!important}
body .ltfnb-root .pos-demo .sum-footer .total strong{font-size:20px!important;color:var(--blue)!important;font-weight:700!important}
body .ltfnb-root .pos-demo .sum-footer button#posCheckout{
  background:linear-gradient(115deg,var(--blue),color-mix(in srgb,var(--blue2) 30%,var(--blue)))!important;
  border:1px solid var(--blue)!important;border-radius:var(--ltfnb-button-radius,12px)!important;
  color:var(--ltfnb-on-primary,#fff)!important;font-size:11px!important;font-weight:600!important;
  letter-spacing:0!important;min-height:43px!important;padding:11px 12px!important;
  box-shadow:0 7px 18px color-mix(in srgb,var(--blue) 15%,transparent)!important;
}
body .ltfnb-root .pos-demo .sum-footer button#posCheckout[aria-disabled="true"]{opacity:.67;box-shadow:none!important}
body .ltfnb-root .pos-demo .demo-hint{font-size:10.5px!important;font-weight:400!important;padding:10px 13px;background:#f8fafc}

/* Container responsive: never squeeze three thin, illegible menu tiles. */
@container (max-width:400px){
 body .ltfnb-root .pos-demo .product-tile{grid-template-columns:1fr 18px;gap:7px;align-content:start;min-height:112px;grid-template-rows:auto auto}
 body .ltfnb-root .pos-demo .product-tile .food-emoji{width:43px;height:43px;grid-column:1;grid-row:1}
 body .ltfnb-root .pos-demo .product-tile .product-info{grid-column:1/-1;grid-row:2;gap:3px}
 body .ltfnb-root .pos-demo .product-tile .pos-add-mark{position:absolute;top:10px;right:9px}
}
@media(max-width:850px){body .ltfnb-root .pos-demo .pos-content{grid-template-columns:1fr}body .ltfnb-root .pos-demo .pos-products{border-right:0;border-bottom:1px solid var(--ltfnb-pos-border)}body .ltfnb-root .pos-demo .pos-summary{min-height:230px}}
@media(max-width:640px){
 body .ltfnb-root section[data-ltfnb-template="cta"] .cta-wrap{gap:23px}
 body .ltfnb-root section[data-ltfnb-template="cta"] h2{font-size:clamp(28px,7vw,38px)!important}
 body .ltfnb-root section[data-ltfnb-template="cta"] .btn.btn-white{width:100%;min-height:49px!important;font-size:13px!important}
 body .ltfnb-root .pos-demo .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .ltfnb-root .pos-demo .demo-head{gap:7px}
 body .ltfnb-root .pos-demo .demo-live{font-size:10px!important;padding:6px 9px}
}
@media(prefers-reduced-motion:reduce){body .ltfnb-root .pos-demo *,body .ltfnb-root section[data-ltfnb-template="cta"] .btn{transition:none!important;animation:none!important}}
.ltfnb-root[data-motion="off"] .pos-demo *,.ltfnb-root[data-motion="off"] section[data-ltfnb-template="cta"] .btn{transition:none!important;animation:none!important}
/* Remaining legacy micro-labels and responsive navigation weights. */
body .ltfnb-root :is(.mock-filters span,.bill-row span,.mobile-panel a,.mobile-panel a lt-fnb-text){font-weight:600!important}

body .ltfnb-root .proof-stat span{font-weight:600!important}
