/* v0.6 — multi-item offers, stronger public pricing, and poster layout fixes */
.offer-items-column{display:grid;gap:14px;min-width:0}.offer-items{display:grid;gap:14px}.offer-item-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 4px 16px rgba(22,32,50,.025)}.offer-item-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.offer-item-head h2{font-size:22px;margin:2px 0 0}.offer-item-kicker{font-size:10px;letter-spacing:.12em;font-weight:900;color:#8b95a7;text-transform:uppercase}.offer-item-remove{padding:8px 11px;font-size:11px}.offer-item-remove[hidden]{display:none}.add-offer-item{justify-self:start}.offer-customer-preview{margin-top:-8px}.offer-item-preview{max-width:170px;max-height:170px;object-fit:contain}.public-offers-stack{display:grid;gap:14px}.public-offers-stack .public-offer-card{box-shadow:0 16px 46px rgba(25,34,53,.09)}.public-offers-stack .public-offer-copy h1{font-size:clamp(34px,8vw,44px)}.public-badge-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.discount-badge{display:inline-flex;background:#111827;color:#fff;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.02em}.public-offers-stack .price-line{gap:12px;margin:14px 0 20px}.public-offers-stack .price-line strong{font-size:clamp(48px,12vw,64px);line-height:.88;letter-spacing:-.06em}.public-offers-stack .price-line .old-price{font-size:16px}.public-offer-timing{font-size:12px;font-weight:750;color:#7c8798;padding:8px 4px 2px;text-align:center}.owner-preview-note{margin:0 0 12px;padding:10px 13px;border-radius:12px;background:#fff;border:1px solid #dde2e9;color:#596579;font-size:12px;font-weight:800;text-align:center}

/* Poster v0.6: logo owns a safe zone and never overlaps the small label. */
.poster-preview-brand{height:10%;min-height:0;max-height:none;display:flex;align-items:center;justify-content:center;margin-bottom:4%;flex:0 0 auto}.poster-preview-logo{max-width:46%;max-height:100%;width:auto;height:auto;object-fit:contain}.poster-preview-label{margin-top:0}.poster-preview-qr-shell{max-width:84%;min-width:34%;flex:0 0 auto}.poster-preview-card.qr-large{padding-top:6.4%}.poster-preview-card.qr-large .poster-preview-brand{height:8%;margin-bottom:2.2%}.poster-preview-card.qr-large .poster-preview-label{font-size:clamp(8px,1vw,11px)}.poster-preview-card.qr-large .poster-preview-headline{font-size:clamp(26px,3.45vw,42px);margin:1.8% 0 3%}.poster-preview-card.qr-large .poster-preview-subtitle{margin-top:2.7%}.poster-preview-card.qr-xlarge{padding-top:5.2%}.poster-preview-card.qr-xlarge .poster-preview-brand{height:7%;margin-bottom:1.5%}.poster-preview-card.qr-xlarge .poster-preview-headline{font-size:clamp(23px,3vw,36px);margin:1.3% 0 2.2%}.poster-preview-card.qr-xlarge .poster-preview-subtitle{font-size:clamp(10px,1.2vw,13px);margin-top:2.1%}

/* v0.6.1 — pre-release polish */
.offer-badge-field{align-self:start;align-content:start;grid-auto-rows:max-content;max-width:360px}.offer-badge-field input{height:46px}.offer-badge-field small{line-height:1.35;max-width:320px}

.poster-public-link{display:grid;gap:11px;margin-top:14px;padding:15px;border:1px solid #dfe4eb;border-radius:16px;background:#f8fafc;box-shadow:0 4px 16px rgba(25,34,53,.035)}.poster-public-link-head{display:grid;gap:3px}.poster-public-link-head strong{font-size:12px;color:#273244}.poster-public-link-head small{font-size:10px;line-height:1.45;color:#8b95a7}.poster-public-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}.poster-public-url{display:block;min-width:0;padding:10px 12px;border:1px solid #dfe4eb;border-radius:11px;background:#fff;color:#344054;font-size:11px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poster-public-url:hover{border-color:#c6ced9}.poster-public-link .btn{white-space:nowrap;padding:10px 14px}

/* v0.6.2 — customer page polish. Keep the page minimal, but move the offer value higher and make it easier to scan. */
.public-body{background:#f4f5f7}.public-shell{--offer-accent:#c64b1f;max-width:680px;padding-top:22px}.public-header{padding:6px 6px 18px}.public-offers-stack{gap:18px}.public-offers-stack .public-offer-card{border-color:#e2e6eb;border-radius:26px;box-shadow:0 14px 42px rgba(25,34,53,.075)}.public-offer-media{width:100%;aspect-ratio:16/10;display:grid;place-items:center;overflow:hidden;background:linear-gradient(180deg,#fbfbfa 0%,#f4f5f3 100%);border-bottom:1px solid #eef0f3}.public-offer-media .offer-image{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;background:transparent}.public-offer-media .offer-image.placeholder{display:grid;place-items:center;background:radial-gradient(circle at 30% 10%,#39475f 0,#101827 55%)}.public-offers-stack .public-offer-copy{padding:25px 28px 30px}.public-badge-row{margin:0 0 14px;gap:7px}.public-offers-stack .public-badge{background:#fff1eb;color:#c94b1f;border:1px solid #fbd9ca;padding:7px 11px}.public-offers-stack .discount-badge{background:#172033;color:#fff;padding:7px 11px}.public-offers-stack .public-offer-copy h1{font-size:clamp(33px,7.8vw,43px);line-height:.96;letter-spacing:-.052em;margin:0 0 15px;max-width:18ch;text-wrap:balance}.public-offers-stack .price-line{align-items:baseline;gap:13px;margin:0 0 20px;flex-wrap:wrap}.public-offers-stack .price-line .current-price{color:var(--offer-accent);font-size:clamp(52px,12vw,66px);line-height:.86;letter-spacing:-.058em}.public-offers-stack .price-line .current-price.price-color-black{color:#111827}.public-offers-stack .price-line .old-price{font-size:16px;color:#7a8492;text-decoration-thickness:2px;text-decoration-color:#8f99a8}.public-offers-stack .public-description{max-width:47ch;margin:0;padding-top:18px;border-top:1px solid #edf0f3;color:#566174;font-size:15.5px;line-height:1.65}.public-offer-timing{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:0 0 11px;padding:0 4px;text-align:center}.public-offer-timing span{display:inline-flex;align-items:center;min-height:29px;padding:6px 10px;border:1px solid #dfe4ea;border-radius:999px;background:#eaedf2;color:#667184;font-size:11px;font-weight:800;line-height:1.2}.public-actions{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:16px}.public-actions a{background:#fff;border-color:#dde2e9;border-radius:15px;padding:14px 13px;box-shadow:0 4px 14px rgba(25,34,53,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.public-actions a:hover{transform:translateY(-1px);border-color:#cbd2dc;box-shadow:0 7px 20px rgba(25,34,53,.065)}.public-footer{padding-top:22px}.owner-preview-note{margin-bottom:11px}

/* Compact per-item price color choice next to New price. */
.new-price-with-color{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.price-color-field{min-width:0;margin:0;padding:0;border:0}.price-color-field legend{margin:0 0 7px;color:#596579;font-size:12px;font-weight:750}.price-color-options{display:flex;gap:6px;align-items:center}.price-color-choice{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:46px;padding:0 10px;border:1px solid #d9e0e8;border-radius:12px;background:#fff;color:#596579;font-size:11px;font-weight:750;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.price-color-choice input{position:absolute;opacity:0;pointer-events:none}.price-color-choice:has(input:checked){border-color:#aeb8c7;background:#f7f9fb;box-shadow:0 0 0 2px rgba(23,32,51,.06)}.price-color-dot{width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #ccd3dd}.price-color-dot.price-color-orange{background:#c64b1f}.price-color-dot.price-color-black{background:#111827}

/* Custom poster styles: brand color or an uploaded full-bleed image. */
.poster-template-row{grid-template-columns:repeat(5,minmax(0,1fr))}.poster-template-option[data-value="custom"] .poster-template-swatch{background:var(--custom-swatch,#2f6fed);color:var(--custom-swatch-text,#fff)}.poster-custom-color-panel{display:grid;grid-template-columns:minmax(0,1fr) auto 132px;gap:12px;align-items:end;margin-top:14px;padding:14px;border:1px solid #e4e8ee;border-radius:14px;background:#f8fafc}.poster-custom-color-panel[hidden]{display:none!important}.poster-custom-color-copy{align-self:center}.poster-custom-color-copy strong,.poster-custom-color-copy small{display:block}.poster-custom-color-copy strong{font-size:12px;color:#273244}.poster-custom-color-copy small{margin-top:3px;font-size:10px;line-height:1.4;color:#8792a4}.poster-color-picker{display:flex;align-items:center;gap:8px;min-height:46px;padding:6px 10px;border:1px solid #d9e0e8;border-radius:12px;background:#fff;color:#596579;font-size:11px;font-weight:800;cursor:pointer}.poster-color-picker input[type=color]{width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer}.poster-color-picker input[type=color]::-webkit-color-swatch-wrapper{padding:0}.poster-color-picker input[type=color]::-webkit-color-swatch{border:0;border-radius:7px}.poster-hex-field{min-width:0}.poster-hex-field input{text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.poster-template-custom{background:var(--custom-bg,#2f6fed);color:var(--custom-text,#fff)}.poster-template-custom .poster-preview-label{color:var(--custom-label,#fff);opacity:.82}.poster-template-custom .poster-preview-subtitle{color:var(--custom-text,#fff)}.poster-template-custom .poster-preview-address{color:var(--custom-muted,#e7ecf4)}
.poster-image-swatch{position:relative;overflow:hidden;background:linear-gradient(135deg,#e9edf3,#cfd7e2);color:#556174}.poster-image-swatch img{display:block;width:100%;height:100%;object-fit:cover}.poster-image-swatch span{font-size:22px;font-weight:700}.poster-custom-image-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.8fr);gap:12px;align-items:center;margin-top:14px;padding:14px;border:1px solid #e4e8ee;border-radius:14px;background:#f8fafc}.poster-custom-image-panel[hidden]{display:none!important}.poster-custom-image-copy strong,.poster-custom-image-copy small{display:block}.poster-custom-image-copy strong{font-size:12px;color:#273244}.poster-custom-image-copy small{margin-top:3px;font-size:10px;line-height:1.4;color:#8792a4}.poster-custom-image-panel input[type=file]{width:100%;font-size:11px;border:1px dashed #cfd6e0;border-radius:12px;padding:10px;background:#fff}.poster-custom-image-panel .poster-remove-background{grid-column:1/-1;margin-top:-2px}.poster-template-image{background:#fff5f8;color:#101827}.poster-template-image .poster-preview-label{color:#bf315f;opacity:1}.poster-template-image .poster-preview-headline,.poster-template-image .poster-preview-name{color:#101827;text-shadow:0 1px 12px rgba(255,255,255,.82)}.poster-template-image .poster-preview-subtitle{color:#101827;text-shadow:0 1px 10px rgba(255,255,255,.88)}.poster-template-image .poster-preview-address{color:#566174;text-shadow:0 1px 8px rgba(255,255,255,.92)}.poster-template-image.has-background .poster-background-overlay{opacity:0;background:transparent}.poster-template-image .poster-preview-qr-shell{border-radius:7px;box-shadow:0 8px 24px rgba(0,0,0,.18)}

@media(max-width:980px){.offer-editor{grid-template-columns:1fr}.offer-editor .schedule-panel{order:-1}}
@media(max-width:650px){
  .poster-public-link-row{grid-template-columns:1fr}.poster-public-link .btn{width:100%}.offer-badge-field{max-width:none}.offer-item-card{padding:18px}.offer-item-head{margin-bottom:16px}.offer-item-remove{font-size:10px}.add-offer-item{width:100%}.new-price-with-color{grid-template-columns:1fr}.price-color-field{justify-self:start}
  .poster-template-row{grid-template-columns:1fr 1fr}.poster-custom-color-panel{grid-template-columns:1fr 1fr}.poster-custom-color-copy{grid-column:1/-1}.poster-hex-field{min-width:0}.poster-custom-image-panel{grid-template-columns:1fr}.poster-custom-image-panel .poster-remove-background{grid-column:auto}
  .public-shell{padding:18px 12px 36px}.public-header{padding:4px 6px 16px}.public-offer-media{aspect-ratio:1.55/1}.public-offers-stack .public-offer-copy{padding:22px 22px 26px}.public-offers-stack .public-offer-copy h1{font-size:clamp(31px,9.4vw,40px);line-height:.97;margin-bottom:14px}.public-offers-stack .price-line .current-price{font-size:clamp(50px,15vw,62px)}.public-offers-stack .public-description{font-size:15px;line-height:1.62}.public-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){.public-actions{grid-template-columns:1fr}.public-offers-stack .public-offer-copy{padding-left:19px;padding-right:19px}.price-color-options{flex-wrap:wrap}.poster-custom-color-panel{grid-template-columns:1fr}.poster-custom-color-copy{grid-column:auto}}

@media print{
  .poster-preview-card{padding:12mm 13mm 10mm!important;display:flex!important;flex-direction:column!important}
  .poster-preview-brand{height:20mm!important;min-height:20mm!important;max-height:20mm!important;margin:0 0 5mm!important;flex:0 0 20mm!important}
  .poster-preview-logo{max-width:78mm!important;max-height:20mm!important;width:auto!important;height:auto!important}
  .poster-preview-label{margin-top:0!important}
  .poster-preview-qr-shell{max-width:176mm!important;min-width:68mm!important}
  .poster-preview-card.qr-large .poster-preview-brand,.poster-preview-card.qr-xlarge .poster-preview-brand{height:17mm!important;min-height:17mm!important;max-height:17mm!important;flex-basis:17mm!important;margin-bottom:3mm!important}
  .poster-preview-card.qr-large .poster-preview-headline{font-size:10.5mm!important;margin:2mm 0 4mm!important}
  .poster-preview-card.qr-xlarge .poster-preview-headline{font-size:9mm!important;margin:1.5mm 0 3mm!important}
  .poster-preview-card.qr-large .poster-preview-subtitle,.poster-preview-card.qr-xlarge .poster-preview-subtitle{font-size:4mm!important;margin-top:4mm!important}
}
