/* Final black editorial theme loaded after all legacy theme files. */
.page-hero,
.directory-hero,
.npf-modern-store-hero{
    background:
        radial-gradient(circle at 82% 16%,color-mix(in srgb,var(--ui-accent,#a0a632) 14%,transparent),transparent 30%),
        linear-gradient(135deg,#050608,#151a22 72%) !important;
}

.page-hero h1,
.directory-hero h1,
.npf-modern-store-hero h1{color:#fff !important}

.page-hero p,
.directory-hero p{color:#cbd2dc !important}

.page-hero .eyebrow,
.directory-hero .eyebrow,
.directory-hero .back-link,
.npf-modern-store-hero .npf-kicker{color:var(--ui-accent,#d9df4a) !important}

.managed-banners{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    overflow:hidden !important;
    border:0 !important;
    border-radius:0 !important;
    background:#080a0e !important;
    box-shadow:none !important;
}

.managed-banner{min-height:clamp(260px,30vw,420px) !important;background:#080a0e !important}

.managed-banner:before{
    inset:-32px !important;
    background-color:#080a0e !important;
    background-image:var(--banner-image) !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:cover !important;
    opacity:.62 !important;
    transform:scale(1.08) !important;
    filter:blur(22px) saturate(.9) brightness(.62) !important;
}

.managed-banner:after{
    content:"" !important;
    position:absolute !important;
    z-index:0 !important;
    inset:0 !important;
    width:auto !important;
    height:auto !important;
    border:0 !important;
    border-radius:0 !important;
    background-color:transparent !important;
    background-image:linear-gradient(90deg,rgba(4,6,9,.9) 0%,rgba(4,6,9,.64) 31%,rgba(4,6,9,.16) 65%,rgba(4,6,9,.04) 100%),var(--banner-image) !important;
    background-repeat:no-repeat !important;
    background-position:center,center !important;
    background-size:100% 100%,contain !important;
    box-shadow:none !important;
    pointer-events:none !important;
}

.managed-banner-content{position:relative;z-index:1;padding:60px 0 70px !important}
.managed-banner-content h2{max-width:50% !important;color:#fff !important;font-size:clamp(2rem,3.2vw,3rem) !important}
.managed-banner-content p{max-width:48% !important;color:#cbd2dc !important}
.managed-banner-content>span{color:var(--ui-accent,#d9df4a) !important}
.managed-banner-content h2{text-shadow:0 3px 18px rgba(0,0,0,.5)}
.managed-banner-content a{box-shadow:0 10px 28px rgba(0,0,0,.28) !important}

/* Modern unified header search. */
.nav-search.live-search{
    flex:0 1 400px !important;
    min-height:52px;
    padding:5px !important;
    overflow:visible !important;
    border:1px solid rgba(255,255,255,.2) !important;
    border-radius:17px !important;
    background:#f7f8fa !important;
    box-shadow:0 10px 30px rgba(0,0,0,.2) !important;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.nav-search.live-search:focus-within{border-color:color-mix(in srgb,var(--ui-accent,#d9df4a) 72%,#fff) !important;box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-accent,#d9df4a) 18%,transparent),0 14px 34px rgba(0,0,0,.24) !important;transform:translateY(-1px)}
.nav-search .live-search-field{align-items:center}
.nav-search-icon{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;color:#687386}
.nav-search-icon svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.nav-search .live-search-field>input{height:40px !important;padding:0 8px 0 0 !important;color:#151b26 !important;font-size:.9rem !important;font-weight:600}
.nav-search .live-search-field>input::placeholder{color:#8a93a2;opacity:1}
.nav-search.live-search>button{display:inline-flex;min-width:98px;height:40px;align-items:center;justify-content:center;gap:7px;padding:0 15px !important;border:0 !important;border-radius:12px !important;background:var(--ui-accent,#d9df4a) !important;color:#0b0d11 !important;font-size:.82rem;font-weight:900;cursor:pointer;transition:filter .18s ease,transform .18s ease}
.nav-search.live-search>button svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.nav-search.live-search>button:hover{filter:brightness(1.08);transform:none}
.nav-search.live-search>button:hover svg{transform:translateX(2px)}
.nav-search .search-suggestions{top:calc(100% + 10px) !important;right:-103px !important;left:-6px !important;border:1px solid #e0e5ec !important;border-radius:17px !important;box-shadow:0 24px 60px rgba(5,10,20,.24) !important}
.nav-search .search-suggestion{padding:10px 12px !important}
.category-card{min-height:116px!important;gap:16px!important}
.category-card .category-icon{width:72px!important;height:72px!important;min-width:72px!important;flex:0 0 72px!important;overflow:hidden!important;padding:0!important;border-radius:16px!important}
.category-card .category-icon img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.category-card .category-icon.has-image b{display:none}
.category-card .category-icon b{font:inherit;font-weight:900}
.category-card small{margin-top:5px;color:#718096;font-size:.82rem}
@media(max-width:620px){.category-card{min-height:100px!important}.category-card .category-icon{width:60px!important;height:60px!important;min-width:60px!important;flex-basis:60px!important;border-radius:14px!important}}
.home-page .tint .section-heading h2{font-size:clamp(1.55rem,2.3vw,2.15rem)!important;font-weight:650!important;line-height:1.15!important;letter-spacing:-.025em!important}
.home-page .coupon-card{grid-template-columns:86px minmax(0,1fr)!important;align-items:start!important}
.home-page .coupon-card .store-avatar{width:86px!important;height:56px!important;min-width:86px!important;overflow:hidden!important;padding:0!important;border:1px solid #dce4ef!important;border-radius:12px!important}
.home-page .coupon-card .store-avatar img{display:block;width:100%;height:100%;padding:3px;object-fit:contain;object-position:center;background:#fff}
.home-page .coupon-card .store-avatar.has-image b{display:none}
.home-page .coupon-card .store-avatar b{font:inherit;font-weight:850}
.home-page .coupon-body h3{font-size:1rem!important;font-weight:700!important;line-height:1.35!important}
.popular-stores-band{position:relative;overflow:hidden;padding-block:52px!important;background:radial-gradient(circle at 84% 12%,color-mix(in srgb,var(--ui-accent,#d9df4a) 18%,transparent),transparent 25%),linear-gradient(135deg,#080b11,#141b25 72%,#1a2230);border-block:1px solid rgba(255,255,255,.08)}
.popular-stores-band:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0 60%,rgba(255,255,255,.025) 60% 61%,transparent 61%)}
.popular-stores-section{position:relative;z-index:1}
.popular-stores-band .section-heading{margin-bottom:24px}.popular-stores-band .section-heading h2{color:#fff!important;font-size:clamp(1.8rem,3vw,2.55rem)!important}.popular-stores-band .eyebrow{color:var(--ui-accent,#d9df4a)!important}.popular-stores-band .section-heading>a{color:var(--ui-accent,#d9df4a)!important;border-color:color-mix(in srgb,var(--ui-accent,#d9df4a) 68%,transparent)!important}
.popular-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,180px));justify-content:start;gap:16px}
.popular-store-card{display:grid;place-items:center;gap:11px;min-height:140px;padding:16px 12px;border:1px solid rgba(255,255,255,.17);border-radius:18px;background:rgba(255,255,255,.08);color:#fff;text-align:center;box-shadow:0 14px 32px rgba(0,0,0,.2);backdrop-filter:blur(9px);transition:transform .18s,border-color .18s,background .18s,box-shadow .18s}
.popular-store-card:hover{transform:translateY(-4px);border-color:var(--ui-accent,#d9df4a);background:rgba(255,255,255,.13);box-shadow:0 18px 38px rgba(0,0,0,.3)}
.popular-store-logo{display:grid;width:122px;height:68px;place-items:center;overflow:hidden;border:1px solid #dce4ef;border-radius:14px;background:#f3f6fa;color:var(--ui-brand);font-size:1.35rem}
.popular-store-logo img{display:block;width:100%;height:100%;padding:4px;object-fit:contain;object-position:center;background:#fff}.popular-store-logo.has-image b{display:none}.popular-store-logo b{font:inherit;font-weight:850}
.popular-store-card>strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:#fff;font-size:.9rem;white-space:nowrap}
@media(max-width:700px){.popular-stores-band{padding-block:40px!important}.popular-store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.popular-store-card{min-height:120px}.popular-store-logo{width:104px;height:58px}}

.npf-modern-store-hero{padding-top:22px !important}
.npf-dark-store .npf-crumbs{margin-bottom:12px !important;font-size:.76rem}
.npf-modern-store-grid{grid-template-columns:210px minmax(0,1fr) !important;gap:24px !important;align-items:start !important}
.npf-store-profile{gap:3px !important;padding:10px 12px 11px !important;border-radius:15px 15px 0 0 !important}
.npf-store-profile .npf-store-logo{height:86px !important;margin-bottom:2px !important;border-radius:11px !important}
.npf-store-profile .npf-store-logo img{display:block !important;width:100% !important;height:100% !important;padding:4px !important;object-fit:contain !important;object-position:center !important}
.npf-store-profile>strong{font-size:.9rem !important;line-height:1.25}
.npf-store-profile>span,.npf-store-profile>small{font-size:.7rem !important;line-height:1.35 !important}
.npf-store-profile .npf-profile-rule{margin:5px 0 !important}
.npf-modern-heading{align-self:start !important;padding-top:16px !important}
.npf-modern-heading h1{width:100% !important;max-width:none !important;margin:5px 0 10px !important;font-size:clamp(1.7rem,2.25vw,2.2rem) !important;font-weight:650!important;line-height:1.08 !important;letter-spacing:-.025em !important;text-wrap:pretty !important}
.npf-modern-heading .npf-kicker{font-size:.69rem !important}
.npf-store-stats{gap:6px 14px !important;font-size:.7rem !important}
.npf-section-tabs{gap:20px !important;margin-top:12px !important}
.npf-section-tabs a{padding:8px 0 !important;font-size:.82rem !important}
.npf-profile-rate-form{display:grid;gap:4px;margin-top:4px;padding:6px 0 0;border-top:1px solid #e0e5ec}
.npf-profile-rate-head,.npf-profile-rate-controls{display:flex;align-items:center;justify-content:space-between;gap:8px}
.npf-profile-rate-head>span{color:#172033;font-size:.72rem;font-weight:800}
.npf-profile-rate-head>small{color:#707b8d;font-size:.68rem;white-space:nowrap}
.npf-profile-star-input{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.npf-profile-star-input input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.npf-profile-star-input label{color:#a3adba;font-size:1rem;line-height:1;cursor:pointer;transition:color .15s ease,transform .15s ease}
.npf-profile-star-input label:hover,.npf-profile-star-input label:hover~label,.npf-profile-star-input input:checked~label{color:#f0b90b;transform:translateY(-1px)}
.npf-profile-star-input input:focus-visible+label{border-radius:3px;outline:2px solid #172033;outline-offset:3px}
.npf-profile-rate-form button{width:auto;min-width:50px;padding:5px 8px;border:0;border-radius:7px;background:var(--ui-brand,#080a0e);color:#fff;font-size:.65rem;font-weight:800;cursor:pointer}
.npf-profile-rate-form button:hover{background:#252b35}
.npf-rating-error{color:#b42318 !important}
.npf-dark-store .npf-offer-toolbar h2{font-size:1.4rem!important;font-weight:700!important;letter-spacing:-.02em!important}
.npf-dark-store .npf-about-card h2{font-size:1.3rem!important;font-weight:700!important}
.npf-dark-store .npf-coupon-copy h3{font-size:1.05rem!important;font-weight:650!important;line-height:1.35!important}
.logo-store-card{grid-template-columns:112px minmax(0,1fr) auto!important;gap:14px!important}
.logo-store-media{width:112px!important;height:64px!important;border:1px solid #dce4ef!important;border-radius:12px!important}
.logo-store-media img{width:100%!important;height:100%!important;padding:4px!important;object-fit:contain!important;object-position:center!important}
.npf-offer-title-row{grid-template-columns:84px minmax(0,1fr)!important;gap:13px!important}
.npf-mini-store-logo{width:84px!important;height:54px!important;border-radius:11px!important}
.npf-mini-store-logo img{width:100%!important;height:100%!important;padding:3px!important;object-fit:contain!important;object-position:center!important}
.npf-related-card{grid-template-columns:84px minmax(0,1fr) 20px!important}
.npf-related-logo{width:84px!important;height:52px!important;border-radius:10px!important}
.npf-related-logo img{width:100%!important;height:100%!important;padding:3px!important;object-fit:contain!important;object-position:center!important}
@media(max-width:620px){.logo-store-card{grid-template-columns:92px minmax(0,1fr) auto!important}.logo-store-media{width:92px!important;height:56px!important}.npf-offer-title-row{grid-template-columns:72px minmax(0,1fr)!important}.npf-mini-store-logo{width:72px!important;height:50px!important}.npf-related-card{grid-template-columns:72px minmax(0,1fr) 18px!important}.npf-related-logo{width:72px!important;height:48px!important}.home-page .coupon-card{grid-template-columns:74px minmax(0,1fr)!important}.home-page .coupon-card .store-avatar{width:74px!important;height:52px!important;min-width:74px!important}}
.npf-dark-store .npf-type{border:1px solid #2d3440 !important;background:#11161d !important;color:#fff !important}
.npf-dark-store .npf-type.deal{border-color:var(--ui-accent,#d9df4a) !important;background:var(--ui-accent,#d9df4a) !important;color:#0b0d11 !important}
.npf-dark-store .npf-action.primary,.npf-dark-store .npf-action.primary.deal{border-color:var(--ui-accent,#d9df4a) !important;background:var(--ui-accent,#d9df4a) !important;color:#0b0d11 !important;box-shadow:0 8px 20px color-mix(in srgb,var(--ui-accent,#d9df4a) 20%,transparent) !important}
.npf-dark-store .npf-action.primary:hover,.npf-dark-store .npf-action.primary.deal:hover{filter:brightness(1.08)}
.npf-related-stores{margin-top:34px;padding-top:28px;border-top:1px solid var(--store-line,#dce3ed)}
.npf-related-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:15px}
.npf-related-heading h2{margin:3px 0 0;color:var(--store-text,#172033);font-size:1.5rem}
.npf-related-heading>a{color:var(--ui-brand,#111827);font-size:.8rem;font-weight:850}
.npf-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.npf-related-card{display:grid;grid-template-columns:54px minmax(0,1fr) 20px;gap:11px;align-items:center;padding:12px;border:1px solid var(--store-line,#dce3ed);border-radius:14px;background:#fff;color:var(--store-text,#172033);box-shadow:0 6px 18px rgba(19,34,65,.045);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.npf-related-card:hover{border-color:color-mix(in srgb,var(--ui-accent,#d9df4a) 65%,#dce3ed);transform:translateY(-2px);box-shadow:0 12px 26px rgba(19,34,65,.1)}
.npf-related-logo{display:grid;width:54px;height:54px;place-items:center;overflow:hidden;border:1px solid #dce3ed;border-radius:11px;background:#f7f8fa;color:#111827}
.npf-related-logo img{display:block;width:100%;height:100%;padding:5px;object-fit:contain}.npf-related-logo.has-image b{display:none}
.npf-related-copy{display:grid;gap:3px;min-width:0}.npf-related-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem}.npf-related-copy small{color:#738096;font-size:.68rem}
.npf-related-card>i{color:var(--ui-accent,#b5bb32);font-style:normal;font-weight:900}
.footer-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.footer-social a{display:grid;width:36px;height:36px;place-items:center;border:1px solid color-mix(in srgb,var(--footer-text,#c9d3e3) 28%,transparent);border-radius:10px;background:color-mix(in srgb,var(--footer-text,#c9d3e3) 8%,transparent);color:var(--footer-text,#c9d3e3) !important;font-size:1rem;font-weight:900;line-height:1;text-decoration:none;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease}
.footer-social a:hover,.footer-social a:focus-visible{border-color:var(--ui-accent,#d9df4a);background:var(--ui-accent,#d9df4a);color:#0b0d11 !important;transform:translateY(-2px);outline:0}
.footer-social .social-in{font-size:.72rem;letter-spacing:-.04em}

@media(max-width:720px){
    .managed-banners{width:100% !important;margin-top:0 !important;border-radius:0 !important}
    .managed-banner{min-height:240px !important}
    .managed-banner:before{filter:blur(16px) saturate(.9) brightness(.58) !important}
    .managed-banner:after{display:block !important;background-image:linear-gradient(90deg,rgba(4,6,9,.86),rgba(4,6,9,.32)),var(--banner-image) !important}
    .managed-banner-content{padding:42px 0 54px !important}
    .managed-banner-content h2,.managed-banner-content p{max-width:100% !important}
    .nav-search.live-search{min-height:48px;padding:4px !important;border-radius:14px !important}
    .nav-search.live-search>button{min-width:46px;width:46px;height:38px;padding:0 !important;border-radius:10px !important}
    .nav-search.live-search>button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
    .nav-search .live-search-field>input{height:38px !important}
    .nav-search .search-suggestions{right:-51px !important;left:-5px !important}
    .npf-modern-store-grid{grid-template-columns:1fr !important;gap:16px !important}
    .npf-modern-heading{padding-top:0 !important}
    .npf-modern-heading h1{font-size:clamp(1.85rem,9vw,2.55rem) !important}
    .npf-profile-rate-form{grid-column:1/-1}
    .npf-related-grid{grid-template-columns:1fr}
    .npf-related-heading{align-items:start}
}

@media(min-width:721px) and (max-width:1050px){.npf-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V37: compact desktop store hero without unused vertical space */
@media(min-width:721px){
    .npf-modern-store-hero{min-height:0!important;padding-top:12px!important}
    .npf-dark-store .npf-crumbs{margin-bottom:7px!important;font-size:.72rem!important}
    .npf-modern-store-grid{grid-template-columns:188px minmax(0,1fr)!important;gap:22px!important;min-height:0!important}
    .npf-store-profile{gap:1px!important;padding:7px 10px 8px!important;border-radius:13px 13px 0 0!important}
    .npf-store-profile .npf-store-logo{height:58px!important;margin-bottom:2px!important;border-radius:9px!important}
    .npf-store-profile .npf-store-logo img{padding:2px!important}
    .npf-store-profile>strong{font-size:.82rem!important;line-height:1.18!important}
    .npf-store-profile>span,.npf-store-profile>small{font-size:.63rem!important;line-height:1.25!important}
    .npf-store-profile .npf-profile-rule{margin:3px 0!important}
    .npf-profile-rate-form{gap:2px!important;margin-top:2px!important;padding-top:4px!important}
    .npf-profile-rate-head>span{font-size:.65rem!important}
    .npf-profile-rate-head>small{font-size:.61rem!important}
    .npf-profile-star-input label{font-size:.85rem!important}
    .npf-profile-rate-form button{min-width:44px;padding:4px 7px!important;font-size:.6rem!important}
    .npf-modern-heading{padding-top:8px!important}
    .npf-modern-heading .npf-kicker{font-size:.63rem!important}
    .npf-modern-heading h1{margin:4px 0 7px!important;font-size:clamp(1.55rem,2.05vw,1.95rem)!important;line-height:1.06!important}
    .npf-store-stats{gap:5px 12px!important;font-size:.64rem!important}
    .npf-section-tabs{gap:18px!important;margin-top:8px!important}
    .npf-section-tabs a{padding:6px 0!important;font-size:.74rem!important}
}

/* V38: wide horizontal store profile keeps the hero shallow */
@media(min-width:721px){
    .npf-modern-store-grid{grid-template-columns:minmax(430px,470px) minmax(0,1fr)!important;gap:24px!important}
    .npf-store-profile{
        display:grid!important;
        grid-template-columns:124px 125px minmax(155px,1fr)!important;
        grid-template-rows:repeat(4,auto)!important;
        column-gap:12px!important;
        row-gap:1px!important;
        align-items:center!important;
        align-self:start!important;
        padding:8px 10px!important;
        border-radius:13px!important;
    }
    .npf-store-profile .npf-store-logo{
        grid-column:1!important;
        grid-row:1/5!important;
        width:124px!important;
        height:72px!important;
        margin:0!important;
    }
    .npf-store-profile>strong{grid-column:2!important;grid-row:1!important;align-self:end!important}
    .npf-store-profile>span{grid-column:2!important;grid-row:2!important;align-self:start!important}
    .npf-store-profile>.npf-profile-rate-form{
        grid-column:3!important;
        grid-row:1/5!important;
        align-self:stretch!important;
        justify-content:center!important;
        margin:0!important;
        padding:0 0 0 12px!important;
        border-top:0!important;
        border-left:1px solid #e0e5ec!important;
    }
    .npf-store-profile>.npf-profile-rule{display:none!important}
    .npf-store-profile>small:first-of-type{grid-column:2!important;grid-row:3!important;align-self:end!important}
    .npf-store-profile>small:last-of-type{grid-column:2!important;grid-row:4!important;align-self:start!important}
    .npf-modern-heading{padding-top:3px!important}
}

@media(min-width:721px) and (max-width:980px){
    .npf-modern-store-grid{grid-template-columns:minmax(380px,420px) minmax(0,1fr)!important;gap:18px!important}
    .npf-store-profile{grid-template-columns:110px 112px minmax(140px,1fr)!important;column-gap:9px!important}
    .npf-store-profile .npf-store-logo{width:110px!important;height:66px!important}
}

/* V39: balanced profile proportions and fully centered, unclipped logos */
.npf-store-profile .npf-store-logo img,
.npf-mini-store-logo img,
.logo-store-media img,
.popular-store-logo img,
.home-page .coupon-card .store-avatar img,
.npf-related-logo img,
.search-suggestion-visual img{
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:auto!important;
    object-fit:contain!important;
    object-position:50% 50%!important;
}

@media(min-width:721px){
    .npf-modern-store-grid{grid-template-columns:440px minmax(0,1fr)!important;gap:24px!important}
    .npf-store-profile{
        grid-template-columns:116px 126px minmax(154px,1fr)!important;
        min-height:94px!important;
        padding:8px 10px!important;
    }
    .npf-store-profile .npf-store-logo{
        width:116px!important;
        height:76px!important;
        place-items:center!important;
        overflow:hidden!important;
    }
    .npf-store-profile .npf-store-logo img{padding:5px!important}
    .npf-store-profile>strong{font-size:.78rem!important}
    .npf-store-profile>span,.npf-store-profile>small{font-size:.61rem!important}
    .npf-profile-rate-head>span{font-size:.62rem!important}
    .npf-profile-rate-head>small{font-size:.59rem!important}
    .npf-profile-star-input label{font-size:.82rem!important}
}

.npf-mini-store-logo{width:76px!important;height:62px!important;place-items:center!important}
.npf-mini-store-logo img{padding:5px!important}
.npf-offer-title-row{grid-template-columns:76px minmax(0,1fr)!important}

@media(min-width:721px) and (max-width:980px){
    .npf-modern-store-grid{grid-template-columns:400px minmax(0,1fr)!important;gap:18px!important}
    .npf-store-profile{grid-template-columns:104px 112px minmax(146px,1fr)!important;column-gap:8px!important}
    .npf-store-profile .npf-store-logo{width:104px!important;height:72px!important}
}

/* V40: logo and rating only, aligned to the hero content */
@media(min-width:721px){
    .npf-modern-store-grid{
        grid-template-columns:200px minmax(0,1fr)!important;
        gap:24px!important;
        align-items:start!important;
    }
    .npf-store-profile{
        display:grid!important;
        grid-template-columns:1fr!important;
        grid-template-rows:auto auto!important;
        gap:6px!important;
        min-height:0!important;
        padding:8px!important;
        border-radius:13px!important;
    }
    .npf-store-profile .npf-store-logo{
        grid-column:1!important;
        grid-row:1!important;
        width:100%!important;
        height:72px!important;
        margin:0!important;
        place-items:center!important;
    }
    .npf-store-profile .npf-store-logo img{padding:4px!important}
    .npf-store-profile>.npf-profile-rate-form{
        grid-column:1!important;
        grid-row:2!important;
        align-self:auto!important;
        width:100%!important;
        margin:0!important;
        padding:6px 0 0!important;
        border-top:1px solid #e0e5ec!important;
        border-left:0!important;
    }
    .npf-profile-rate-head>span{font-size:.63rem!important}
    .npf-profile-rate-head>small{font-size:.6rem!important}
    .npf-profile-star-input label{font-size:.84rem!important}
    .npf-modern-heading{padding-top:7px!important}
}

@media(min-width:721px) and (max-width:980px){
    .npf-modern-store-grid{grid-template-columns:184px minmax(0,1fr)!important;gap:18px!important}
}
