/* Homepage merchandising only; catalog pages, chat and original artwork stay independent. */
#main .ref-store{background:#f6f6f8;color:var(--theme-ink,var(--text))}
#main .ref-store .rf-wrap{width:calc(100% - 40px);max-width:1320px;margin:auto}
#main .ref-store .rf-section{margin-top:20px}
#main .ref-store .rf-heading{margin-bottom:12px;gap:10px}
#main .ref-store .rf-heading h2{font-size:22px;line-height:1.5;gap:8px}
#main .ref-store .rf-heading h2>i{width:30px;height:30px;padding:5px;border:0;box-shadow:none}
#main .ref-store .rf-heading>a{font-size:12px;white-space:nowrap}
#main .rf-promo-hub{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:14px}
#main .rf-promo-hub>[hidden]{display:none!important}
#main .rf-promo-hub:not(:has([data-founding-home]:not([hidden]))){grid-template-columns:1fr}
#main .rf-promo-hub .founding-invite{height:100%;min-height:120px;margin:0;padding:12px;gap:12px;border-radius:14px;box-shadow:none}
#main .rf-promo-hub .founding-invite-art{width:72px;height:88px}
#main .rf-promo-hub .founding-kicker{font-size:9px;letter-spacing:1px}
#main .rf-promo-hub .founding-invite h2{font-size:16px;line-height:1.5;margin:2px 0}
#main .rf-promo-hub .founding-invite p{font-size:11px;line-height:1.5;margin:3px 0 5px}
#main .rf-promo-hub .founding-count{font-size:10px;gap:4px}
#main .rf-promo-hub .founding-progress{height:4px;margin:5px 0 7px}
#main .rf-promo-hub .founding-actions{gap:8px}
#main .rf-promo-hub .founding-actions .btn{min-height:34px;padding:6px 10px;font-size:11px;border-radius:9px}
#main .rf-promo-hub .founding-invite-copy>small{display:none}
#main .rf-promo-hub .founding-terms-link{font-size:10px}
.rf-member-compact{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--theme-line,#e6d9ef);border-radius:14px;background:linear-gradient(115deg,var(--theme-soft,#f7edff),white)}
.home-member-icon{display:grid;place-items:center;flex:none;width:66px;height:66px;border-radius:18px;background:var(--theme-accent,var(--y));color:white}.home-member-icon svg{width:34px;height:34px}
.rf-member-compact small{font-size:11px;color:var(--muted)}.rf-member-compact h2{font-size:20px;margin:3px 0;line-height:1.4}.rf-member-compact p{font-size:12px;margin:5px 0;line-height:1.6}.rf-member-compact a{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:500;color:var(--theme-strong,var(--y));min-height:30px}.rf-member-compact a svg{width:14px;height:14px}
#main #rf-offers .rf-heading{margin-bottom:8px}#main #rf-offers .rf-heading h2{font-size:17px}
.home-coupons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-coupon{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;padding:12px;background:white;border:1px solid var(--theme-line,#e6d9ef);border-radius:12px;min-width:0}
.home-coupon-value{display:flex;flex-direction:column;justify-content:center;min-width:58px;color:var(--theme-accent,var(--y));font:600 27px/1.2 var(--head)}.home-coupon-value small{font:400 10px/1.5 var(--font)}
.home-coupon-copy{min-width:0}.home-coupon-copy>b{font-size:12px;line-height:1.5;display:block}.home-coupon-copy>small{font-size:10px;line-height:1.5;display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}
.home-coupon-actions{display:flex;align-items:center;gap:6px;grid-column:1/-1;border-top:1px dashed var(--line);padding-top:7px}.home-coupon-actions button,.home-coupon-actions a{font:500 10px/1.4 var(--font);padding:6px 7px;min-height:30px;border-radius:8px;border:0;cursor:pointer}.home-coupon-actions [data-copy]{display:flex;align-items:center;gap:4px;min-width:0;overflow-wrap:anywhere;background:none;color:var(--theme-strong,var(--y))}.home-coupon-actions [data-save],.home-coupon-actions>a{margin-left:auto;background:var(--theme-accent,var(--y));color:white;white-space:nowrap}.home-coupon-actions [disabled]{opacity:.65;cursor:default}
#main .ref-store .rf-categories{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
#main .ref-store .rf-category.category-photo{display:flex;flex-direction:row;gap:8px;align-items:center;padding:8px;border-radius:12px;border-color:#eae5ef;box-shadow:none;text-align:left;min-height:70px}
#main .rf-category .category-photo-art{width:52px;aspect-ratio:1/1;border-radius:8px}
#main .rf-category .category-photo-footer>b{font-size:12px;line-height:1.5;color:var(--theme-ink,var(--text))}
#main .rf-category .category-soon{font-size:7px;top:auto;bottom:4px;right:5px;padding:1px 4px}
#main #home-recommended.rf-home-grid{display:grid;grid-auto-flow:row;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-columns:auto;gap:14px;overflow:visible;padding:0;align-items:stretch;scroll-snap-type:none}
#main #home-recommended>.rf-product{min-width:0;width:100%;border-radius:12px;border:1px solid #eae5ef;background:white;box-shadow:0 2px 6px #28153b04;overflow:hidden;position:relative;transition:box-shadow .2s}
#main #home-recommended>.rf-product:hover{box-shadow:0 5px 18px #2b173216;border-color:var(--theme-line,#d9c4eb)}
#main #home-recommended .rf-product>a{display:flex;flex-direction:column;height:100%}
#main #home-recommended .rf-product-image{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:auto;aspect-ratio:1/1.05;min-height:0;overflow:hidden;background:var(--theme-soft,#faf7fd)}
#main #home-recommended .rf-product-image img{display:block;position:static;width:100%;height:100%;object-fit:contain;transform:none;min-height:0}
#main #home-recommended .rf-product-image>.flag-mockup,#main #home-recommended .rf-product-image>.menu-mockup{flex:none;position:relative;width:auto;height:100%;max-width:100%}
#main #home-recommended .rf-product-image>.vinyl-mockup{flex:none;width:100%;height:auto;max-height:100%;aspect-ratio:2/1}
#main #home-recommended .flag-mockup-print>img,#main #home-recommended .menu-mockup-print>img,#main #home-recommended .vinyl-mockup-print>img{object-fit:fill}
#main #home-recommended .rf-product-info{position:relative;display:flex;flex-direction:column;gap:5px;padding:10px;height:auto;min-height:100px;flex:1}
#main #home-recommended .rf-product-info h3{font-size:13px;line-height:1.5;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:3em;margin:0;color:var(--theme-ink,var(--text))}
#main #home-recommended .rf-product-info small{font-size:10px;line-height:1.5;white-space:normal;color:var(--muted)}
#main #home-recommended .rf-product-info strong{font-size:18px;line-height:1.4;padding-right:25px;color:var(--theme-accent,var(--y));margin-top:auto}
#main #home-recommended .rf-product-info i{width:27px;height:27px;right:8px;bottom:9px;border-radius:8px}
#main #home-recommended .rf-favorite{width:30px;height:30px;top:7px;right:7px}
#main #home-recommended>.skel{height:310px;border-radius:12px}
#main #home-recommended>p{grid-column:1/-1}
#main .ref-store .rf-services{height:auto;padding:12px;gap:12px;margin-top:22px;border-radius:12px;box-shadow:none}
#main .ref-store .rf-services i{width:32px;height:32px;box-shadow:none;border:0}#main .ref-store .rf-services svg{width:20px;height:20px}
#main .ref-store .rf-services b{font-size:11px}#main .ref-store .rf-services small{font-size:10px}
#main .ref-store .rf-perks-section{margin-top:14px}#main .ref-store .rf-perks-section .rf-heading h2{font-size:18px}
@media(max-width:1100px){#main #home-recommended.rf-home-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#main .ref-store .rf-categories{grid-template-columns:repeat(4,minmax(0,1fr))!important}.home-coupons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 #main .ref-store .rf-wrap{width:calc(100% - 20px)}#main .ref-store .rf-section{margin-top:14px}
 #main .ref-store .rf-heading{margin-bottom:9px}#main .ref-store .rf-heading h2{font-size:18px;gap:5px}#main .ref-store .rf-heading h2>i{width:23px;height:23px;padding:3px}#main .ref-store .rf-heading>a{font-size:11px}
 #main .rf-promo-hub{gap:8px;margin-top:10px}
 #main .rf-promo-hub .founding-invite{padding:9px;min-height:0;gap:5px;align-items:flex-start;border-radius:12px}
 #main .rf-promo-hub .founding-invite-art{width:35px;height:46px}
 #main .rf-promo-hub .founding-kicker{display:none}#main .rf-promo-hub .founding-invite h2{font-size:11px;line-height:1.5;margin:0}
 #main .rf-promo-hub .founding-invite p{font-size:9px;line-height:1.5;margin:3px 0}
 #main .rf-promo-hub .founding-count{font-size:8px}#main .rf-promo-hub .founding-count>span{display:none}
 #main .rf-promo-hub .founding-progress{margin:4px 0;height:3px}
 #main .rf-promo-hub .founding-actions .btn{min-height:28px;padding:5px 7px;font-size:9px}
 #main .rf-promo-hub .founding-actions .btn svg{display:none}#main .rf-promo-hub .founding-terms-link{font-size:8px}
 .rf-member-compact{padding:10px;gap:7px;align-items:flex-start}.home-member-icon{width:28px;height:32px;border-radius:9px}.home-member-icon svg{width:20px;height:20px}.rf-member-compact small{font-size:9px}.rf-member-compact h2{font-size:13px;line-height:1.5}.rf-member-compact p{font-size:10px;line-height:1.5}.rf-member-compact a{font-size:10px;min-height:32px}
 #main #rf-offers .rf-heading h2{font-size:15px}.home-coupons{grid-auto-flow:column;grid-auto-columns:calc((100% - 8px)/2);grid-template-columns:none;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px;scrollbar-width:thin}
 .home-coupon{gap:5px;padding:8px;scroll-snap-align:start}.home-coupon-value{font-size:23px;min-width:42px}.home-coupon-copy>b{font-size:10px}.home-coupon-copy>small{font-size:9px;line-height:1.5}.home-coupon-actions{gap:3px;padding-top:5px}.home-coupon-actions button{font-size:8px;padding:5px;min-height:30px}
 #main .ref-store .rf-categories{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
 #main .ref-store .rf-category.category-photo{flex-direction:column;padding:5px 2px;min-height:0;gap:4px;border-radius:10px;text-align:center}
 #main .rf-category .category-photo-art{width:44px;height:40px;aspect-ratio:auto;border-radius:7px}#main .rf-category .category-photo-footer>b{font-size:9px;line-height:1.5;min-height:27px;display:flex;align-items:center;justify-content:center}
 #main .rf-category .category-soon{font-size:6px;bottom:auto;top:4px;right:2px;padding:1px 3px}
 #main #home-recommended.rf-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #main #home-recommended .rf-product-info{padding:9px;min-height:100px}#main #home-recommended .rf-product-info h3{font-size:12px}#main #home-recommended .rf-product-info strong{font-size:17px}#main #home-recommended .rf-product-info small{font-size:9px}
 #main .ref-store .rf-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#main .ref-store .rf-services>div{gap:8px}
}
@media(max-width:680px){
 #main .ref-store .rf-categories{grid-template-columns:none!important;grid-template-rows:repeat(2,76px);grid-auto-flow:column;grid-auto-columns:calc((100% - 20px)/5);overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:3px;scrollbar-width:thin}
 #main .rf-category .category-photo-art{height:36px;width:40px}
 .home-coupon-actions button{font-size:10px;min-height:34px}
}
#main .ref-store .rf-heading{display:flex;align-items:center;justify-content:space-between;min-height:0;padding:0}
#main .ref-store .rf-heading h2{margin:0}
#main .rf-promo-hub .founding-actions .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
@media(max-width:1100px){.home-coupons{grid-template-columns:repeat(3,minmax(0,1fr))}#main .ref-store .rf-categories{grid-template-columns:repeat(6,minmax(0,1fr))!important}#main .rf-promo-hub .founding-invite h2{font-size:14px}}
@media(max-width:680px){
 body.home-page .topbar-in{padding-block:6px;row-gap:5px}body.home-page .brand img{height:30px}
 body.home-page .topbar .tools .kw-icon,body.home-page .topbar .tools .kw-avatar{width:32px;height:32px}body.home-page .tool{padding:3px 4px}
 body.home-page .search{height:34px}body.home-page .search button{width:28px;height:28px;margin:2px}body.home-page .search input{font-size:12px}
 body.home-page #shop-announcements,body.home-page .ob-ticker{min-height:40px}
 body.home-page #shop-announcements .ob-controls button{height:34px;width:32px}
 body.home-page #shop-announcements .ob-paused .ob-window{max-height:36px;overflow-y:auto}
 body.home-page #shop-announcements .ob-badge{padding:5px 8px;color:white}
 body.home-page #shop-announcements .ob-message{font-size:11px;line-height:1.6}
 #main .rf-promo-hub .founding-invite h2{font-size:11px}
 #main .rf-promo-hub .founding-invite p{font-size:9px}
 #main .ref-store .rf-categories{grid-template-columns:none!important}
 .home-coupons{grid-template-columns:none}
}
/* Wide signs use two cells so their complete printed design stays large. */
#main #home-recommended.rf-home-grid{grid-auto-flow:row dense}
#main #home-recommended>[data-home-type="vinyl"]{grid-column:span 2}
#main #home-recommended [data-home-type="vinyl"] .rf-product-image{aspect-ratio:2/1.05}
body.home-page>.notification-nudge{display:none!important}
@media(max-width:680px){
 #main .rf-promo-hub .founding-invite{display:block;position:relative}
 #main .rf-promo-hub .founding-invite-art{position:absolute;left:9px;top:9px;width:28px;height:32px}
 #main .rf-promo-hub .founding-invite h2{padding-left:34px}
 #main .rf-promo-hub .founding-actions{gap:6px;align-items:center}
 .rf-member-compact{display:block;position:relative}.rf-member-compact .home-member-icon{position:absolute;right:8px;top:8px;width:18px;height:20px;border-radius:6px}.rf-member-compact .home-member-icon svg{width:13px;height:13px}
 .rf-member-compact>div>small{padding-right:18px;display:block}.rf-member-compact h2{font-size:12px}
}
