
/* Production UI additions: scoped to existing components. */
.promotion-editor .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.promotion-editor .field{min-width:0;align-self:start}.promotion-editor .field.wide{grid-column:1/-1}.promotion-editor input:not([type=checkbox]):not([type=color]),.promotion-editor select,.promotion-editor textarea{width:100%;max-width:100%;box-sizing:border-box}.promotion-editor .promotion-section-choices{max-height:250px;overflow:auto;display:grid;gap:8px}.promotion-editor .check-line,.promotion-placement-options .check-line{display:flex;align-items:center;gap:8px}.promotion-editor label .config-help{display:inline-block}.promotion-editor select[multiple]{min-height:125px}.promotion-product-picker{font-size:12px}.promotion-list-card .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px}.promotion-list-card .form-grid strong{display:block;font-size:18px}.promotion-apply-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.promotion-apply-form .promotion-apply{padding:7px 12px!important;min-height:32px;font-size:11px;line-height:1.2;background:var(--teal,#087f80);color:#fff;border-radius:8px}.promotion-applied{display:grid;gap:4px;padding:8px 12px;background:rgba(0,0,0,.13);border-radius:10px}.promotion-applied strong{font-size:13px}.promotion-applied span{font-size:12px}.offer-access,.offer-access-modal{max-width:520px;margin:30px auto}.offer-access-modal{width:calc(100% - 32px);box-sizing:border-box;padding:24px}.offer-access-modal label{display:grid;gap:8px;margin:16px 0}.offer-access-modal .check-line{display:flex;font-size:12px}.offer-access-modal h2{font-size:23px}.impersonation-banner{position:sticky;top:0;z-index:10000;background:#fff3c4;color:#382600;display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:12px 20px;border-bottom:1px solid #bf9c3b}.impersonation-banner span{flex:1}.impersonation-banner form{margin:0}.account-initial{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--teal,#087f80);color:#fff;font-weight:700}.qty-stepper{display:inline-flex;align-items:center;border:1px solid var(--border,#ccc);border-radius:9px;max-width:140px;overflow:hidden}.qty-stepper input{width:45px!important;min-width:0;text-align:center;border:0!important;padding:7px!important;-moz-appearance:textfield}.qty-stepper input::-webkit-inner-spin-button{appearance:none}.qty-stepper button{border:0;background:transparent;color:inherit;width:31px;min-height:34px;cursor:pointer}.qty-stepper button:disabled{opacity:.4;cursor:default}.qty-stepper :focus-visible{outline:2px solid var(--teal,#087f80);outline-offset:-2px}.section-layout-grid_2{grid-template-columns:repeat(2,minmax(0,1fr))}.section-layout-grid_3{grid-template-columns:repeat(3,minmax(0,1fr))}.section-layout-grid_4{grid-template-columns:repeat(4,minmax(0,1fr))}.section-layout-list,.section-layout-compact_list,.section-layout-description_list,.section-layout-single_row,.section-layout-spotlight{grid-template-columns:1fr}.section-layout-list .product-card,.section-layout-compact_list .product-card,.section-layout-description_list .product-card,.section-layout-single_row .product-card{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:20px}.section-layout .product-card .product-info{min-width:0}.section-layout-list .product-visual,.section-layout-compact_list .product-visual,.section-layout-description_list .product-visual,.section-layout-single_row .product-visual{aspect-ratio:1;grid-row:1}.section-layout-single_row .product-card{grid-template-columns:minmax(0,1fr) 130px}.section-layout-single_row .product-visual{grid-column:2}.section-layout-single_row .product-info{grid-row:1;grid-column:1}.section-layout-compact_list .product-card{grid-template-columns:85px minmax(0,1fr);gap:12px}.section-layout-spotlight .product-card{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:24px}.section-product-description{font-size:12px;line-height:1.6;max-width:70ch}.section-layout-compact_slider{grid-auto-columns:minmax(170px,220px)}.section-layout-list .quick-add,.section-layout-compact_list .quick-add,.section-layout-description_list .quick-add,.section-layout-single_row .quick-add,.section-layout-spotlight .quick-add{display:none}.reward-editor .reward-row{display:grid;grid-template-columns:minmax(100px,2fr) minmax(60px,1fr) minmax(100px,2fr);gap:10px;border-bottom:1px solid var(--border,#ddd);padding:15px 0}.reward-row label{font-size:11px;display:grid;gap:5px;min-width:0}.reward-row small{grid-column:1/-1}.reward-row select{max-width:100%;min-width:0}.issue-filters{display:flex;flex-wrap:wrap;gap:12px}.issue-filters label{min-width:120px}.whop-checkout,.checkout-embed,[data-whop-checkout-plan-id]{width:100%;max-width:100%;box-sizing:border-box}.payment-panel{padding-inline:12px}.store-select,select{border-radius:8px}button:disabled{cursor:not-allowed}.offer-success{animation:offer-confirm .35s ease-out}@keyframes offer-confirm{from{transform:translateY(5px);opacity:.4}to{transform:none;opacity:1}}@media(max-width:760px){.promotion-editor .form-grid{grid-template-columns:1fr}.promotion-editor .field.wide{grid-column:auto}.reward-editor .reward-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.reward-row select{grid-column:1/-1}.section-layout-grid_3,.section-layout-grid_4{grid-template-columns:repeat(2,minmax(0,1fr))}.section-layout-spotlight .product-card{grid-template-columns:1fr}.section-layout-list .product-card,.section-layout-description_list .product-card{grid-template-columns:95px minmax(0,1fr);gap:12px}.section-layout-single_row .product-card{grid-template-columns:minmax(0,1fr) 95px}.impersonation-banner{font-size:12px}}@media(prefers-reduced-motion:reduce){.offer-success,#offer-wheel{animation:none!important;transition:none!important}}

.payment-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr)}.payment-grid>.panel:first-child{padding:12px;min-width:0}#whop-payment{width:100%;max-width:100%;min-width:0}#whop-payment iframe{max-width:100%;border:0}@media(max-width:800px){.payment-grid{grid-template-columns:minmax(0,1fr)}.payment-grid>.panel:first-child{padding:8px}}

/* 51.0.1: offer capture field and centred small-screen promotion banners. */
.offer-access-modal{background:var(--paper,#fff);color:var(--ink,#171d1d);border:1px solid var(--line,#e4e9e7);border-radius:18px;max-height:calc(100dvh - 32px);overflow-y:auto}
.offer-access-modal .modal-heading{align-items:flex-start;gap:12px}
.offer-access-modal .modal-heading h2{min-width:0;line-height:1.3;overflow-wrap:anywhere}
.offer-access-modal .modal-close{flex:0 0 auto}
.offer-access-modal>p{font-size:13px;line-height:1.6}
.offer-access-modal .offer-email-field{display:block;min-width:0;width:100%;margin:20px 0 16px}
.offer-access-modal .offer-email-field label{display:block;margin:0 0 8px;font-size:12px;font-weight:500;line-height:1.4;color:var(--ink,#171d1d)}
.offer-access-modal .offer-email-field input[type=email]{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:46px;min-height:46px;padding:11px 13px;border:1px solid var(--line,#d6dfdb);border-radius:10px;background:var(--paper,#fff);color:var(--ink,#171d1d);font-family:inherit;font-size:16px;line-height:1.4;appearance:none;transition:border-color .15s,box-shadow .15s}
.offer-access-modal .offer-email-field input::placeholder{color:var(--muted,#788080);opacity:1}
.offer-access-modal .offer-email-field input:focus{outline:2px solid var(--teal,#087f80);outline-offset:2px;border-color:var(--teal,#087f80);box-shadow:none}
.offer-access-modal .check-line{align-items:flex-start;line-height:1.5}
.offer-access-modal .check-line input{flex:0 0 auto;margin-top:3px}
.offer-access-modal form>.btn{width:100%;min-height:42px;line-height:1.35;white-space:normal}
@media(max-width:600px){
 .promotion-announcement{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:13px 16px}
 .promotion-announcement>strong,.promotion-announcement>span{display:block;flex:none;order:initial;width:100%;max-width:100%;min-width:0;margin:0;text-align:center;overflow-wrap:anywhere}
 .promotion-announcement>strong{font-size:13px;line-height:1.4}
 .promotion-announcement>strong a{line-height:inherit}
 .promotion-announcement>span{font-size:12px;line-height:1.5}
 .promotion-announcement .promotion-apply-form{display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:100%;max-width:100%;min-width:0;margin:3px 0 0;text-align:center}
 .promotion-announcement .promotion-apply-form .promotion-apply{flex:none;order:initial;align-self:center;max-width:100%;margin:0;line-height:1.4;white-space:normal}
 .promotion-announcement .promotion-apply-form small,.promotion-announcement .offer-minimum{display:block;flex:none;order:initial;align-self:center;width:100%;max-width:100%;margin:0;text-align:center;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
 .promotion-announcement .promotion-applied{width:100%;max-width:100%;justify-items:center;text-align:center;line-height:1.5}
 .store-body .homepage-promotion-top .promotion-heading{flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
 .store-body .homepage-promotion-top .promotion-heading>div{width:100%;min-width:0;max-width:100%}
 .store-body .homepage-promotion-top .promotion-heading h2{line-height:1.3;overflow-wrap:anywhere}
 .store-body .homepage-promotion-top .promotion-heading p{line-height:1.55}
 .store-body .homepage-promotion-top .promotion-heading .eyebrow{line-height:1.5}
 .store-body .homepage-promotion-top .promotion-heading .promotion-apply-form{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:100%;gap:8px;margin:0;text-align:center}
 .store-body .homepage-promotion-top .promotion-heading .promotion-applied{justify-items:center;text-align:center}
 .offer-access-modal{padding:20px;width:calc(100% - 24px);margin:auto}
 .offer-access-modal h2{font-size:22px}
}
