/* Isolated weekly-promotion layout: compact product cards and one scroll area. */
.weekly-promotions-modal{position:fixed!important;inset:0!important;z-index:10040!important;display:grid!important;place-items:center!important;padding:18px!important;background:#18191ca8!important;backdrop-filter:blur(5px)}
.weekly-promotions-modal form{display:flex!important;flex-direction:column!important;width:min(100%,560px)!important;max-width:560px!important;height:min(820px,calc(100dvh - 36px))!important;max-height:calc(100dvh - 36px)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border-radius:24px!important;border:1px solid #ffffff50!important;background:#f7f7f5!important;color:#18191c!important;box-shadow:0 24px 80px #0004!important}
.weekly-promotions-modal .modalhead{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;padding:16px!important;margin:0!important;background:#18191c!important;color:#fff!important;border-bottom:3px solid #ff7063!important;box-shadow:none!important;min-height:76px!important;border-radius:0!important}
.weekly-promotions-modal .modalhead h2{min-width:0!important;margin:0!important;padding:0!important;font-size:17px!important;line-height:1.3!important;letter-spacing:-.02em!important;text-align:left!important;color:#fff!important;white-space:normal!important}
.weekly-promotions-modal .modalhead :is(.universal-form-back,#close){position:static!important;inset:auto!important;display:grid!important;place-items:center!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;border:1px solid #ffffff40!important;border-radius:12px!important;background:#ffffff12!important;color:#fff!important;font-size:24px!important;line-height:1!important;box-shadow:none!important;transform:none!important}
.weekly-promotion-body{min-height:0!important;flex:1 1 auto!important;overflow:auto!important;overscroll-behavior:contain;scroll-padding:16px;padding:18px!important}
.weekly-promotion-intro{padding:0 2px 16px!important;margin:0!important}.weekly-promotion-intro>span{color:#006c69;font-size:10px;font-weight:800;letter-spacing:.12em}.weekly-promotion-intro>p{margin:7px 0 14px;font-size:14px;color:#59616a;line-height:1.5}
.weekly-promotion-progress{display:flex;align-items:center;gap:12px}.weekly-promotion-progress>span{font-size:11px;font-weight:700;color:#59616a;white-space:nowrap}.weekly-promotion-progress>div{height:5px;flex:1;background:#dfe6e2;border-radius:10px;overflow:hidden}.weekly-promotion-progress i{display:block;width:0;height:100%;background:#009d99;border-radius:10px;transition:width .15s}
.weekly-promotion-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:0;margin:0}
.weekly-product-card{min-width:0;padding:16px!important;margin:0!important;border:1px solid #e2e4e1!important;border-radius:18px!important;background:#fff!important;box-shadow:0 3px 10px #18191c04!important;scroll-margin:14px}
.weekly-product-heading{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:13px}.weekly-product-image{display:grid;place-items:center;width:68px;height:78px;border-radius:12px;border:1px solid #eaede9;background:#fbfcfa;overflow:hidden;padding:5px}.weekly-product-image img{display:block;width:100%!important;height:100%!important;max-height:68px!important;object-fit:contain!important;border:0!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important}.weekly-image-fallback{display:grid;place-items:center;gap:3px;color:#7d8987}.weekly-image-fallback svg{width:28px;height:28px}.weekly-image-fallback small{font-size:9px;color:#59616a}
.weekly-product-copy{min-width:0}.weekly-product-copy h3{margin:0!important;font-size:15px!important;line-height:1.35!important;font-weight:750!important;color:#18191c!important;overflow-wrap:anywhere}.weekly-product-copy>p{margin:4px 0 6px!important;font-size:12px!important;line-height:1.4!important;color:#59616a!important}.weekly-product-status{display:inline-block;font-size:10px;line-height:1.4;font-weight:700;padding:3px 7px;border-radius:6px;color:#685519;background:#fff6d9}.weekly-product-card[data-answer] .weekly-product-status{color:#006c69;background:#e8f5f1}.weekly-product-card[data-answer="Sim"]{border-color:#a7cfc3!important}
.weekly-promotions-modal .weekly-product-choice{display:block!important;border:0!important;padding:0!important;margin:13px 0 0!important;min-width:0}.weekly-promotions-modal .weekly-product-choice legend{display:block;float:none;width:100%;margin:0 0 8px!important;padding:0!important;font-size:12px!important;line-height:1.4!important;font-weight:700;color:#343c41!important}.weekly-product-choice>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.weekly-promotions-modal .weekly-product-choice label{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:44px!important;padding:9px 12px!important;margin:0!important;border:1px solid #dce2df!important;border-radius:11px!important;background:#f8faf8!important;box-shadow:none!important;cursor:pointer;color:#455451!important;font-size:13px!important;line-height:1.3!important;font-weight:700!important}.weekly-promotions-modal .weekly-product-choice input[type=radio]{appearance:auto!important;-webkit-appearance:auto!important;position:static!important;opacity:1!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;accent-color:#006c69;flex:0 0 16px}.weekly-promotions-modal .weekly-product-choice label:has(input:checked){border-color:#007c73!important;background:#e9f6f1!important;color:#006c69!important;box-shadow:inset 0 0 0 1px #007c73!important}.weekly-product-choice label:focus-within{outline:2px solid #006c69;outline-offset:3px}
.weekly-promotion-fields{padding-top:14px;margin-top:14px;border-top:1px solid #e6eee9}.weekly-promotions-modal .weekly-promotion-price{position:relative;display:block!important;margin:0 0 12px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:12px!important;line-height:1.4!important;font-weight:700;color:#343c41!important}.weekly-promotion-price>span{position:absolute;left:13px;bottom:14px;font-size:13px;color:#59616a}.weekly-promotions-modal .weekly-promotion-price input{display:block!important;width:100%!important;min-height:46px!important;margin:7px 0 0!important;padding:12px 12px 12px 38px!important;border:1px solid #ccd8d1!important;border-radius:11px!important;background:#fff!important;font-size:16px!important;line-height:1.4!important;color:#18191c!important}
.weekly-promotions-modal .weekly-promotion-camera{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px!important;padding:12px!important;margin:0!important;border:1px dashed #6c9e91!important;border-radius:11px!important;background:#eef7f3!important;color:#006c69!important;font-size:12px!important;font-weight:700;box-shadow:none!important}.weekly-photo-status{display:block;margin-top:8px;font-size:11px;color:#59616a;line-height:1.5}.weekly-promotions-modal .weekly-promotion-preview{display:block;width:100%!important;max-height:180px!important;object-fit:contain!important;margin:12px 0 0!important;padding:4px;border-radius:10px;background:#f3f6f2;border:1px solid #e2e4e1}
.weekly-promotions-modal .weekly-promotion-footer{position:static!important;inset:auto!important;flex:0 0 auto!important;margin:0!important;padding:12px 18px 16px!important;border-top:1px solid #e2e4e1;background:#fff!important;box-shadow:0 -5px 20px #18191c04}.weekly-promotion-footer>span{display:block;font-size:11px;color:#59616a;line-height:1.4;margin-bottom:8px}.weekly-promotions-modal .weekly-promotion-footer>.primary{position:static!important;inset:auto!important;display:block!important;width:100%!important;min-height:48px!important;margin:0!important;padding:13px 16px!important;border:1px solid #e56155!important;border-radius:12px!important;background:#ff7063!important;color:#241714!important;font-size:14px!important;line-height:1.4!important;font-weight:800!important;box-shadow:none!important;transform:none!important}.weekly-promotion-footer>.primary:disabled{opacity:.65;cursor:wait}.weekly-promotion-empty{font-size:14px;color:#59616a;padding:16px;line-height:1.6}
.weekly-promotions-modal [hidden]{display:none!important}.weekly-promotions-modal #modalmsg:empty{display:none}.weekly-promotions-modal #modalmsg .msg{margin:0 0 12px;padding:12px;font-size:13px;line-height:1.5}
@media(max-width:600px){.weekly-promotions-modal{padding:0!important}.weekly-promotions-modal form{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;border:0!important}.weekly-promotion-body{padding:16px!important}.weekly-promotions-modal .modalhead{padding:12px 16px!important;min-height:68px!important}.weekly-promotions-modal .weekly-promotion-footer{padding:11px 16px calc(14px + env(safe-area-inset-bottom))!important}}
@media(prefers-reduced-motion:reduce){.weekly-promotion-progress i{transition:none}}

.weekly-promotions-modal #modalmsg:not(:empty){position:sticky;top:0;z-index:3;background:#f7f7f5;padding-top:1px}
