/* Route-based shared shell also covers invitation signup and subsequent pages. */
body[data-nfn-shell="public"] :is(#nfn-auth-header,#nfn-auth-footer){display:block!important;}
body[data-nfn-shell="public"] :is(#nfn-profile-header,#nfn-profile-footer){display:none!important;}
body[data-nfn-shell="member"] :is(#nfn-profile-header,#nfn-profile-footer){display:block!important;}
body[data-nfn-shell="member"] :is(#nfn-auth-header,#nfn-auth-footer){display:none!important;}
body[data-nfn-shell="public"]>header:not([id]){display:none;}
#app [data-ww-uid="327db667-e94b-46c3-9532-8b9c68d44ff5"],#app [data-ww-uid="6755d20a-b69f-429b-9fd6-33a37be242be"]{display:none!important;}
.nfn-deal-gifts{box-sizing:border-box;width:100%;max-width:100%;scroll-margin-top:24px;font-family:Inter,Arial,sans-serif;color:#193d35;}
.nfn-deal-gifts *{box-sizing:border-box;min-width:0;}
.nfn-deal-note{font-size:15px;line-height:1.6;color:#53695f;margin:0 0 16px;}
.nfn-deal-status{font-size:14px;line-height:1.5;margin:12px 0 0;color:#193d35;}.nfn-deal-status:empty{display:none;}
.nfn-deal-gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.nfn-deal-gift{border:1px solid #d9e1d8;border-radius:14px;padding:10px;background:#fff;overflow:hidden;display:flex;flex-direction:column;}
.nfn-deal-gift-art{aspect-ratio:1;background:#f7f5ef;border-radius:8px;overflow:hidden;}
.nfn-deal-gift-art img{width:100%;height:100%;object-fit:contain;display:block;}
.nfn-deal-gift-body{padding:12px 0 0;display:flex;flex-direction:column;gap:10px;flex:1;}
.nfn-deal-gift h4{font-size:16px;line-height:1.4;margin:0;font-weight:750;overflow-wrap:anywhere;}
.nfn-deal-gift-description{font-size:14px;line-height:1.5;margin:0;color:#53695f;}
.nfn-deal-gift-price{font-size:14px;line-height:1.5;margin:0;font-weight:700;}
.nfn-deal-gifts :is(.nfn-deal-primary,.nfn-deal-secondary){font:650 14px/1.4 Inter,Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:10px;cursor:pointer;text-decoration:none;}
.nfn-deal-primary{background:#a9471f;border:1px solid #a9471f;color:#fff;}.nfn-deal-primary:hover{background:#87391a;}
.nfn-deal-secondary{background:#fff;border:1px solid #d9e1d8;color:#193d35;}
.nfn-deal-gifts button:disabled{opacity:.55;cursor:wait;}.nfn-deal-gifts :is(a,button):focus-visible{outline:3px solid #245e50;outline-offset:3px;}
.nfn-deal-gift-body button{margin-top:auto;}
.nfn-deal-date{display:grid;gap:8px;font-weight:650;margin:16px 0;}.nfn-deal-date input{font:inherit;font-size:16px;min-height:44px;padding:10px;border:1px solid #d9e1d8;border-radius:10px;}
@media(max-width:600px){.nfn-deal-gift-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.nfn-deal-gifts :is(.nfn-deal-primary,.nfn-deal-secondary){padding:10px;font-size:13px;}}
@media(max-width:380px){.nfn-deal-gift-grid{grid-template-columns:1fr;}}
/* The invited registration form uses a separate WeWeb component and route. */
body[data-nfn-shell="public"] .ww-section:has(form[data-ww-uid="271d730f-9897-48af-98a1-cac67cd34769"]){padding:40px 20px!important;min-height:calc(100dvh - 88px)!important;}
body[data-nfn-shell="public"] .section-base:has(> form[data-ww-uid="271d730f-9897-48af-98a1-cac67cd34769"]){box-sizing:border-box;max-width:680px!important;width:100%!important;margin:0 auto!important;padding:28px!important;gap:16px!important;border:1px solid #d9e1d8;border-radius:20px;background:#fff;}
body[data-nfn-shell="public"] form[data-ww-uid="271d730f-9897-48af-98a1-cac67cd34769"]{box-sizing:border-box;width:100%!important;padding:0!important;border:0!important;}
@media(max-width:600px){body[data-nfn-shell="public"] .ww-section:has(form[data-ww-uid="271d730f-9897-48af-98a1-cac67cd34769"]){padding:24px 16px!important;}body[data-nfn-shell="public"] .section-base:has(> form[data-ww-uid="271d730f-9897-48af-98a1-cac67cd34769"]){padding:20px!important;}}
/* The dynamic deal route can share a generated wrapper with other pages. */
#app .ww-section:has([data-ww-uid="ef03eff0-62b5-48ed-a424-3e5d3968fb85"]){box-sizing:border-box;padding:40px 24px 64px!important;}
#app .ww-section:has([data-ww-uid="ef03eff0-62b5-48ed-a424-3e5d3968fb85"])>.section-base{width:100%!important;max-width:680px!important;padding:0!important;margin-inline:auto!important;min-width:0;}
@media(max-width:600px){#app .ww-section:has([data-ww-uid="ef03eff0-62b5-48ed-a424-3e5d3968fb85"]){padding:24px 16px 40px!important;}#app [data-ww-uid="194fb73f-e042-4167-972b-b3f55cd3d170"]{width:100%!important;padding:20px!important;box-sizing:border-box;}#app .ww-section:has([data-ww-uid="ef03eff0-62b5-48ed-a424-3e5d3968fb85"]) h1{font-size:32px!important;line-height:1.2!important;}}
/* WeWeb text display rules must not override the hidden legacy reward summary. */
#app [data-ww-uid="ef03eff0-62b5-48ed-a424-3e5d3968fb85"][hidden]{display:none!important;}

/* Purchase action follows the confirmation control and spans its full field. */
.nfn-deal-purchase{margin:24px 0 0;width:100%;}
.nfn-deal-purchase .nfn-deal-primary{display:flex;width:100%;min-height:50px;font-size:16px;background:#376b52;border-color:#376b52;color:#fff;}
.nfn-deal-purchase .nfn-deal-primary:hover{background:#245e50;border-color:#245e50;}
@media(max-width:600px){.nfn-deal-purchase .nfn-deal-primary{font-size:15px;}}
.nfn-deal-purchase .nfn-deal-note{margin:12px 0 0;}
