/* Stili del feed, separati dai dettagli e dagli editor. */
body.apf-feed-armonia{background:#f2f5f9;color:#142b47}
html body.apf-feed-armonia main.layout{max-width:1216px!important;grid-template-columns:210px minmax(0,620px) 250px!important;gap:18px!important;padding:18px 16px!important;margin:auto!important;align-items:start}
body.apf-feed-armonia main.layout>section{min-width:0;width:100%}
body.apf-feed-armonia main.layout>.left,body.apf-feed-armonia main.layout>.right{position:sticky;top:115px;min-width:0}
body.apf-feed-armonia main.layout>.left .business{margin-top:16px}
body.apf-feed-armonia main.layout>section>.hero{min-height:0!important;height:128px!important;border-radius:14px!important;margin:0 0 12px!important;padding:14px!important}
body.apf-feed-armonia .hero-banner-slide{min-height:128px!important}
body.apf-feed-armonia .hero h1{font-size:23px!important}.apf-feed-armonia .hero p{font-size:12px!important}
body.apf-feed-armonia .apf-category-offers-heading,body.apf-feed-armonia main.layout>section>.community-wrap{display:none!important}
body.apf-feed-armonia #apfV4SearchHub{margin-bottom:12px!important}
body.apf-feed-armonia .feed-title{margin:12px 0!important;gap:8px;flex-wrap:wrap}
body.apf-feed-armonia #feedHeading{font-size:17px!important}
html body.apf-feed-armonia #feed,html body.apf-feed-armonia #feed.apf-v4-vertical-feed{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;max-width:620px!important;margin:0 auto!important}
html body.apf-feed-armonia #feed>*{min-width:0!important;width:100%!important;margin:0!important;box-sizing:border-box}
html body.apf-feed-armonia #feed>.deal,html body.apf-feed-armonia #feed .business-feed-card,html body.apf-feed-armonia #feed>.apf-v4-reels,html body.apf-feed-armonia #feed>.apf-harmony-discovery{border:1px solid #e0e7f0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 2px 9px #17395b08!important;overflow:hidden}
html body.apf-feed-armonia #feed .business-post-feed{display:block!important}
html body.apf-feed-armonia #feed .business-feed-card{margin:0!important}
html body.apf-feed-armonia #feed .business-post-head,html body.apf-feed-armonia #feed .deal>.shop{padding:12px 14px!important;min-height:64px!important;gap:10px!important}
html body.apf-feed-armonia #feed .business-post-head>img,html body.apf-feed-armonia #feed .business-post-logo{width:36px!important;height:36px!important;border-radius:50%!important;object-fit:cover}
html body.apf-feed-armonia #feed .business-post-head strong{font-size:14px!important;line-height:1.3!important}
html body.apf-feed-armonia #feed .business-post-head small{font-size:12px!important;line-height:1.4!important}
html body.apf-feed-armonia #feed .apf-business-post-title{font-size:17px!important;margin:0 16px 7px!important;line-height:1.35!important}
html body.apf-feed-armonia #feed .business-post-copy{font-size:14px!important;line-height:1.5!important;padding:0 16px 12px!important;overflow-wrap:anywhere}
html body.apf-feed-armonia #feed .business-post-media{padding:0!important;gap:4px!important;overflow:hidden}
html body.apf-feed-armonia #feed .business-post-media.one>button{height:320px!important;aspect-ratio:auto!important;max-height:none!important}
html body.apf-feed-armonia #feed .business-post-media img{width:100%!important;height:100%!important;max-height:none!important;border-radius:0!important;object-fit:cover!important}
html body.apf-feed-armonia #feed .business-post-native-video{background:#0c1f33;display:flex;justify-content:center}
html body.apf-feed-armonia #feed .business-post-native-video video{display:block;max-width:100%!important;width:auto!important;height:min(480px,65vh)!important;object-fit:contain!important;background:#0c1f33}
html body.apf-feed-armonia #feed .business-post-actions{margin:0!important;padding:7px 12px!important;min-height:46px}
html body.apf-feed-armonia #feed .business-post-actions button{font-size:12px!important;min-height:36px}
html body.apf-feed-armonia #feed .deal .photo{width:100%!important;height:320px!important;aspect-ratio:auto!important;max-height:none!important;margin:0!important;display:block!important}
html body.apf-feed-armonia #feed .deal .photo img{height:100%!important;width:100%!important;object-fit:cover}
html body.apf-feed-armonia #feed .deal-body{padding:14px 16px!important}
html body.apf-feed-armonia #feed .deal h2{font-size:19px!important;line-height:1.3}
html body.apf-feed-armonia #feed .deal .head p{font-size:13px!important;line-height:1.45}
html body.apf-feed-armonia #feed .deal .actions{gap:6px!important;flex-wrap:wrap}
html body.apf-feed-armonia #feed .deal .actions button{min-height:38px;font-size:12px!important}
html body.apf-feed-armonia #feed .apf-v4-reels{padding:14px!important}
html body.apf-feed-armonia #feed .apf-v4-reels-head h3{font-size:17px!important}
html body.apf-feed-armonia #feed .apf-v4-reel-card{flex:0 0 130px!important;aspect-ratio:9/16!important;border-radius:12px!important}
html body.apf-feed-armonia #feed .apf-v4-reels-track{gap:10px;padding-bottom:4px;scrollbar-width:none}
body.apf-feed-armonia #apfStories{border:1px solid #e0e7f0;background:#fff;border-radius:14px;padding:12px!important;margin:0 0 12px!important}
body.apf-feed-armonia #apfStories .apf-stories-head{margin-bottom:10px!important}
body.apf-feed-armonia #apfStories .apf-stories-head small,body.apf-feed-armonia #apfStories .apf-stories-head>span{display:none}
body.apf-feed-armonia #apfStoriesTitle{font-size:17px!important}
body.apf-feed-armonia #apfStories .apf-story-bubble,body.apf-feed-armonia #apfStories .apf-story-create{flex:0 0 100px!important;width:100px!important;height:170px!important;min-height:170px!important;border-radius:12px!important}
body.apf-feed-armonia .apf-harmony-discovery{padding:14px}
.apf-harmony-discovery h3{font-size:17px;margin:0 0 12px}
.apf-harmony-venues{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;scrollbar-width:none}
.apf-harmony-venue{font:inherit;display:flex;flex-direction:column;gap:6px;flex:0 0 160px;scroll-snap-align:start;overflow:hidden;border:1px solid #e0e7f0;background:#fff;border-radius:12px;padding:0 0 12px;text-align:left;color:#15395c;text-decoration:none;cursor:pointer}
.apf-harmony-venue img{width:100%;height:90px;object-fit:cover}.apf-harmony-venue strong,.apf-harmony-venue small{padding:0 10px}.apf-harmony-venue strong{font-size:13px}.apf-harmony-venue small{font-size:12px;color:#64748b}
.apf-harmony-end{text-align:center;padding:18px;color:#64748b;font-size:12px}
.apf-feed-armonia button:focus-visible,.apf-feed-armonia a:focus-visible{outline:3px solid #ed8d25;outline-offset:2px}
@media(max-width:1120px) and (min-width:821px){html body.apf-feed-armonia main.layout{grid-template-columns:180px minmax(0,620px)!important;max-width:850px!important}body.apf-feed-armonia main.layout>.right{display:none}}
@media(max-width:820px){html body.apf-feed-armonia main.layout{display:block!important;padding:10px!important;max-width:640px!important}body.apf-feed-armonia main.layout>.left,body.apf-feed-armonia main.layout>.right{display:none!important}body.apf-feed-armonia .hero{height:105px!important}body.apf-feed-armonia .hero-banner-slide{min-height:105px!important}html body.apf-feed-armonia #feed .deal .photo{height:auto!important;aspect-ratio:16/10!important}html body.apf-feed-armonia #feed .business-post-media.one>button{height:auto!important;aspect-ratio:16/10!important}body.apf-feed-armonia .mobile-discovery{margin:8px 10px!important}body.apf-feed-armonia .mobile-nav{z-index:100}body.apf-feed-armonia .feed-mode-switch{width:100%}}
@media(prefers-reduced-motion:reduce){body.apf-feed-armonia *,body.apf-feed-armonia *::before{scroll-behavior:auto!important;transition:none!important}}

/* Rifinitura progressione: ricerca compatta, Storie e poi schede singole. */
body.apf-feed-armonia #apfV4SearchHub{padding:12px!important;border-radius:14px!important;min-height:0!important}
body.apf-feed-armonia #apfV4SearchHub .filters{padding:0!important;margin:0!important;border:0!important}
body.apf-feed-armonia #apfV4SearchHub .filters>h3,body.apf-feed-armonia #apfV4SearchHub .filters>strong{display:none!important}
body.apf-feed-armonia #cats{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none!important;padding:0!important;gap:7px!important}
body.apf-feed-armonia #cats button{flex:0 0 auto!important;font-size:12px!important;min-height:34px!important}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-shell{padding:14px!important;margin:0!important;border-radius:14px!important;background:#fff!important;border:1px solid #e0e7f0!important}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-heading h2{font-size:17px!important;line-height:1.3!important}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-heading p{font-size:12px!important}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-eyebrow{display:none}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-grid{display:flex!important;gap:10px!important;overflow-x:auto!important;scrollbar-width:none}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-card{flex:0 0 160px!important;border-radius:12px!important}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-cover{height:90px!important;min-height:90px!important}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-brand-mini,html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-card-body>p{display:none!important}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-card-body{padding:10px!important}
html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-card h3{font-size:14px!important}
html body.apf-feed-armonia #feed>.hero{height:150px!important;min-height:150px!important;border-radius:14px!important;padding:16px!important;background-size:cover}
body.apf-feed-armonia .apf-harmony-end{order:99}
@media(max-width:820px){body.apf-feed-armonia .mobile-discovery{padding:0!important;margin:6px 10px!important}body.apf-feed-armonia .mobile-zone{min-height:0!important;padding:8px 12px!important}body.apf-feed-armonia #mobileRadarTrigger{min-height:0!important;padding:8px 12px!important;margin:6px 10px!important;width:calc(100% - 20px)!important}body.apf-feed-armonia #mobileRadarTrigger small{display:none}body.apf-feed-armonia #apfV4SearchHub .apf-v4-search-row{margin-bottom:10px!important}body.apf-feed-armonia #feed .deal .head{gap:10px!important}body.apf-feed-armonia #feed .deal .price strong{font-size:23px!important}}

body.apf-feed-armonia #apfV4CategoryLabel{display:none!important}
html body.apf-feed-armonia #feed .deal .actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 44px 38px!important;gap:6px!important;align-items:stretch}
html body.apf-feed-armonia #feed .deal .actions button{width:100%!important;min-width:0!important;max-width:none!important;padding:7px 4px!important;line-height:1.25!important;overflow-wrap:anywhere}
html body.apf-feed-armonia #feed .deal .actions .sharepost{font-size:0!important}
html body.apf-feed-armonia #feed .deal .actions .sharepost::after{content:'↗';font-size:20px;line-height:1}

/* V2: intestazioni, azioni, suggerimenti e comunicazioni in una grammatica comune. */
html body.apf-feed-armonia #feed>.deal>.shop{grid-template-columns:36px minmax(0,1fr) auto!important}
html body.apf-feed-armonia #feed>.deal>.shop .shop-logo{width:36px!important;height:36px!important;border-radius:50%!important;object-fit:cover}
html body.apf-feed-armonia #feed>.deal>.shop strong{font-size:14px!important;line-height:1.3!important}
html body.apf-feed-armonia #feed>.deal>.shop small{font-size:12px!important;line-height:1.4!important}
html body.apf-feed-armonia #feed>.deal .photo img{display:block!important}
html body.apf-feed-armonia #feed>.deal[data-media-fit="contain"] .photo{background:#fff!important}
html body.apf-feed-armonia #feed .business-post-head{border:0!important}
html body.apf-feed-armonia #feed>.apf-v4-post-slot{border:1px solid #e0e7f0!important;border-radius:14px!important;overflow:hidden!important;background:#fff}
html body.apf-feed-armonia #feed>.apf-v4-post-slot .business-feed-card{border:0!important;border-radius:0!important;box-shadow:none!important}
html body.apf-feed-armonia #feed .deal .head{grid-template-columns:minmax(0,1fr) auto!important}
html body.apf-feed-armonia #feed .deal .head p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.apf-feed-armonia #feed .deal .meta{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:6px 14px!important;font-size:11px!important;padding:7px 0!important;margin:7px 0!important}
html body.apf-feed-armonia #feed .deal .actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
html body.apf-feed-armonia #feed .deal .actions button{height:40px!important;font-size:13px!important}
html body.apf-feed-armonia #feed .business-post-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;border-top:1px solid #e8edf3!important;padding:8px 12px!important}
html body.apf-feed-armonia #feed .business-post-actions button{height:40px!important;padding:6px!important;background:#f2f6fb!important;color:#1768e5!important;font-size:12px!important;border-radius:9px!important}
.apf-harmony-tools{display:flex;align-items:center;gap:8px;margin-top:7px;border-top:1px solid #edf0f4;padding-top:6px}
html body.apf-feed-armonia #feed .apf-harmony-tools>.deal-guide{width:auto!important;flex:1;min-height:36px!important;background:transparent!important;padding:7px!important;font-size:12px!important;text-align:left!important;justify-content:flex-start!important}
html body.apf-feed-armonia #feed .apf-harmony-tools button{width:38px!important;height:36px!important;min-height:36px!important;border:0!important;border-radius:8px!important;background:#f2f6fb!important;color:#1768e5!important}
html body.apf-feed-armonia #feed .apf-harmony-tools .sharepost{font-size:0!important}
html body.apf-feed-armonia #feed .apf-harmony-tools .sharepost::before{content:none!important}
html body.apf-feed-armonia #feed .apf-harmony-tools .sharepost::after{content:'↗';font-size:20px}
.apf-harmony-allergens{margin:7px 0;color:#76520c;font-size:11px;border-radius:7px;background:#fff8e9;padding:7px 9px}
.apf-harmony-allergens summary{cursor:pointer;min-height:20px;font-weight:650}
.apf-harmony-allergens .allergen-mini{padding:5px 0!important;margin:5px 0 0!important;font-size:12px!important;background:transparent!important}
html body.apf-feed-armonia #feed #apfAggregatedDiscovery .apf-agg-actions--compact{display:none!important}
html body.apf-feed-armonia #feed #apfAggregatedDiscovery .apf-agg-heading{gap:10px;align-items:center}
html body.apf-feed-armonia #feed #apfAggregatedDiscovery .apf-agg-see-all{font-size:12px!important;white-space:nowrap;padding:5px!important}
html body.apf-feed-armonia #feed #apfAggregatedDiscovery .apf-agg-heading h2,html body.apf-feed-armonia #feedHeading,html body.apf-feed-armonia #apfStoriesTitle,html body.apf-feed-armonia #feed .apf-harmony-discovery h3,html body.apf-feed-armonia #feed .apf-v4-reels-head h3{font-size:17px!important;line-height:1.35!important;font-weight:750!important}
html body.apf-feed-armonia #feed #apfAggregatedDiscovery .apf-agg-open-card{height:36px!important;min-height:36px!important;font-size:12px!important;padding:7px 10px!important;border-radius:8px!important}
html body.apf-feed-armonia #feed #apfAggregatedDiscovery .apf-agg-cover small{font-size:10px!important;line-height:1.3!important;max-width:140px!important}
.apf-harmony-banner{overflow:hidden;border-radius:14px;border:1px solid #dce6f0;background:#fff}
.apf-harmony-banner>small{display:block;padding:9px 14px;font-size:11px;font-weight:650;color:#64748b}
html body.apf-feed-armonia #feed .apf-harmony-banner>.hero{height:170px!important;min-height:170px!important;padding:18px!important;border-radius:0!important;width:100%!important}
html body.apf-feed-armonia #feed .apf-harmony-banner .hero h1{font-size:23px!important;line-height:1.15!important}
html body.apf-feed-armonia #feed .apf-harmony-banner .hero .hero-banner-track{height:100%!important}
html body.apf-feed-armonia #feed .apf-harmony-banner .hero.has-banners{padding:0!important}
.apf-harmony-end{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 12px!important;border-top:1px solid #dce6f0}
.apf-harmony-end strong{font-size:17px;color:#193b60}.apf-harmony-end span{font-size:12px}.apf-harmony-end button{border:0;background:#e6eef9;color:#1768e5;padding:10px 16px;border-radius:9px;cursor:pointer;font:600 12px system-ui}
body.apf-feed-armonia .site-footer{margin-top:20px!important}
.apf-harmony-footer-details{max-width:1120px;margin:auto;padding:12px 0}
.apf-harmony-footer-details>summary{cursor:pointer;font:600 13px/1.5 system-ui;padding:8px 0}
@media(max-width:820px){html body.apf-feed-armonia #feed .apf-harmony-banner>.hero{height:160px!important;min-height:160px!important;padding:14px!important}html body.apf-feed-armonia #feed .apf-harmony-banner .hero h1{font-size:19px!important}html body.apf-feed-armonia #feed .apf-harmony-banner .hero>div:first-child{max-width:60%!important}html body.apf-feed-armonia #feed .apf-harmony-banner .hero p:last-child{font-size:11px!important;line-height:1.3!important}html body.apf-feed-armonia #feed .deal-body{padding:12px!important}html body.apf-feed-armonia #feed .deal .price{min-width:75px!important}html body.apf-feed-armonia #feed .deal .price strong{font-size:22px!important}}
@media(hover:none) and (pointer:coarse){body.apf-feed-armonia #feed .apf-v4-reels-controls{display:none!important}}

html body.apf-feed-armonia #feed .business-post-media{background:#fff!important}

/* V3: solo adattamento immagine offerta, struttura approvata invariata. */
html body.apf-feed-armonia #feed>.deal .photo img{object-fit:cover!important;object-position:center!important;background:#fff!important}
body.apf-feed-armonia .apf-story-ring{background:#e7eef7}
@media(min-width:821px){
 html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch}
 html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-card{min-width:0!important;display:flex!important;flex-direction:column!important}
 html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-card-body{flex:1;display:flex;flex-direction:column}
 html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-card-body h3{overflow-wrap:anywhere}
 html body.apf-feed-armonia #feed>#apfAggregatedDiscovery .apf-agg-open-card{margin-top:auto!important;height:auto!important;min-height:44px!important}
}
body.apf-feed-armonia #feed .apf-agg-grid:has(>.apf-agg-card:last-child:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.apf-feed-armonia #feed .apf-agg-grid:has(>.apf-agg-card:last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))!important}
.apf-harmony-single-reel{background:#fff;border:1px solid #e0e7f0;border-radius:14px;overflow:hidden;min-width:0}
.apf-single-reel-owner{padding:14px;border:0;background:#fff;font:700 14px system-ui;color:#15395c;cursor:pointer;width:100%;text-align:left}
.apf-single-reel-stage{position:relative;display:flex;justify-content:center;background:#eef3f8}
.apf-single-reel-stage video{display:block;width:100%;height:min(540px,65vh);object-fit:contain;background:#eef3f8}
.apf-single-reel-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:0;background:#1768e5;color:#fff;padding:13px 20px;border-radius:30px;cursor:pointer;font-weight:700}
.apf-single-reel-play[hidden]{display:none}
.apf-harmony-single-reel>p{padding:0 14px;font-size:14px;overflow-wrap:anywhere;white-space:pre-line}
.apf-single-reel-actions{display:flex;gap:8px;padding:10px 14px}.apf-single-reel-actions button{flex:1;border:0;padding:12px;background:#f2f6fb;color:#1768e5;border-radius:9px;cursor:pointer}
.apf-reel-swipe-hint{display:block;padding:12px;touch-action:pan-y}
.apf-harmony-banner{margin-top:8px;margin-bottom:8px}
.apf-v4-reels-track{touch-action:pan-x pan-y;overscroll-behavior-x:contain}
.apf-video-preview-empty{display:flex;align-items:center;justify-content:center;height:100%;padding:12px;background:#e7eef7;color:#15395c;font-size:12px;text-align:center}

.apf-harmony-menus{border:1px solid #dce6f0;border-radius:14px;padding:14px;background:#fff}
.apf-menu-discovery-head{display:flex;gap:10px;align-items:center;justify-content:space-between}
.apf-menu-discovery-head h3{font:750 17px system-ui;margin:0;color:#15395c}
.apf-menu-discovery-head>small{font:700 10px system-ui;background:#fff2d7;color:#855500;padding:6px 8px;border-radius:7px}
.apf-harmony-menus>p{font:12px/1.5 system-ui;color:#64748b;margin:8px 0 12px}
.apf-menu-discovery-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.apf-menu-discovery-card{display:flex;flex-direction:column;gap:8px;padding:0 0 12px;border:1px solid #e0e7f0;border-radius:12px;overflow:hidden;background:#fff;text-align:left;cursor:pointer;min-width:0;color:#15395c;font:inherit}
.apf-menu-discovery-graphic{width:100%;padding:18px 12px;background:linear-gradient(135deg,#143c68,#1c79ab);color:#fff;display:flex;align-items:center;flex-direction:column;gap:7px}
.apf-menu-discovery-card[data-variant="1"] .apf-menu-discovery-graphic{background:linear-gradient(135deg,#b45413,#efa532)}
.apf-menu-discovery-graphic>span{font-size:44px}.apf-menu-discovery-graphic>strong{font-size:18px;text-align:center}.apf-menu-discovery-graphic>small{font-size:9px;letter-spacing:1px}
.apf-menu-discovery-name,.apf-menu-discovery-card>small,.apf-menu-discovery-cta{margin:0 12px}
.apf-menu-discovery-name{font-size:14px}.apf-menu-discovery-card>small{font-size:11px;color:#64748b}
.apf-menu-discovery-cta{margin-top:auto;padding:9px 8px;background:#edf4ff;color:#1768e5;border-radius:8px;font-size:12px;font-weight:700;text-align:center}
.apf-feed-explore{background:#fff;border:1px solid #e0e7f0;border-radius:14px;padding:14px;margin-bottom:16px}
.apf-feed-explore h3{font-size:14px;margin:0 0 10px}.apf-feed-explore button{display:block;width:100%;border:0;background:#f2f6fb;color:#15395c;border-radius:8px;padding:11px;margin:7px 0;text-align:left;cursor:pointer;font:600 12px system-ui}
@media(max-width:480px){.apf-menu-discovery-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px}.apf-menu-discovery-card{flex:0 0 78%;scroll-snap-align:start}}

body.apf-feed-armonia .apf-category-scroll{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;gap:6px;min-width:0;width:100%;align-items:center}
html body.apf-feed-armonia .apf-category-scroll>#cats{min-width:0;width:100%;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
html body.apf-feed-armonia .apf-category-scroll>#cats button{scroll-snap-align:start}
html body.apf-feed-armonia .apf-category-scroll>.apf-category-arrow{width:30px!important;height:36px!important;min-width:30px!important;padding:0!important;border:1px solid #dce6f0!important;border-radius:10px!important;background:#f3f7ff!important;color:#1768e5!important;font-size:26px!important;line-height:1!important;cursor:pointer}
body.apf-feed-armonia .apf-category-arrow:disabled{opacity:.3;cursor:default!important}
body.apf-feed-armonia .apf-category-scroll:not(.has-overflow)>.apf-category-arrow{visibility:hidden}
@media(hover:none) and (pointer:coarse){body.apf-feed-armonia .apf-category-scroll{grid-template-columns:minmax(0,1fr)}html body.apf-feed-armonia .apf-category-scroll>.apf-category-arrow{display:none!important}}
.apf-menu-discovery-graphic>img{width:100%;height:140px;object-fit:contain;background:#fff;border-radius:8px}.apf-menu-discovery-graphic>strong{overflow-wrap:anywhere}

/* APF_REEL_CONDIVIDI_FEED_V1: separate accessible actions, same 9:16 previews. */
html body.apf-feed-armonia #feed .apf-v4-reel-item{flex:0 0 130px;min-width:0;display:flex;flex-direction:column;gap:6px;scroll-snap-align:start}
html body.apf-feed-armonia #feed .apf-v4-reel-item>.apf-v4-reel-card{flex:0 0 auto!important;width:100%;display:block}
html body.apf-feed-armonia #feed .apf-v4-reel-share{width:100%;min-height:38px;border:1px solid #dce6f4;border-radius:9px;background:#f2f6fb;color:#1768e5;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
html body.apf-feed-armonia #feed .apf-v4-reel-share:focus-visible{outline:3px solid #1768e5;outline-offset:2px}
html body.apf-feed-armonia #feed .apf-single-reel-actions{flex-wrap:wrap}
html body.apf-feed-armonia #feed .apf-single-reel-actions button{flex:1 1 110px}

/* APF_AREA_RADIUS_100_LAB_V1: only controls and Reel action weight. */
html body.apf-feed-armonia #feed .apf-single-reel-actions button{font-weight:850}
.apf-offer-area-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:12px;border:1px solid #dce6f4;background:#fff;border-radius:12px}
.apf-offer-area-controls>button{padding:8px 12px;border:0;border-radius:9px;background:#edf4ff;color:#1768e5;font-weight:750;cursor:pointer}
.apf-offer-area-controls .radius{display:inline-flex;align-items:center;gap:6px;padding:0;font-size:12px}.apf-offer-area-controls select{min-height:36px;border:1px solid #dce6f4;border-radius:8px;background:#fff;padding:4px;color:#1768e5}
.apf-offer-area-note{flex-basis:100%;font-size:12px;color:#64748b;line-height:1.4}
.apf-area-results{display:grid;gap:6px;margin:10px 0;max-height:240px;overflow:auto}.apf-area-choice{display:block;width:100%;text-align:left;padding:11px 12px;border:1px solid #dce6f4;border-radius:9px;background:#f5f8fd;color:#17375d;cursor:pointer;font:inherit;font-size:13px}
.apf-area-choice:focus-visible{outline:3px solid #1768e5;outline-offset:1px}.apf-area-source{display:block;font-size:11px;color:#64748b;margin-top:8px}.apf-area-source a{color:inherit}

/* APF_MOBILE_DETAIL_SCROLL_V1 — collaudo telefono 27 ottobre 2026 */
@media(max-width:820px){
 #pageView[data-apf-content="1"],
 #pageView:has(#viewContent > .detail-grid),
 #businessDealOverlay{
   padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));
   scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));
 }
 #businessDealOverlay{background:#eef1f5;}
}
/* APF_GALLERIA_MULTIFOTO_V3_20261030 — layout unico; foto singole, Reel e Storie esclusi. */
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)),
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:3px!important;padding:0!important;height:auto!important;max-height:none!important;min-width:0!important;overflow:hidden;background:#fff!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)) > button,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)) > button{display:block!important;position:relative;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:4/5!important;grid-row:auto!important;grid-column:auto!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#fff!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)) > button > img,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)) > button > img{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;background:#fff!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).three,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).three{aspect-ratio:4/3!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).three > button,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).three > button{aspect-ratio:auto!important;height:100%!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).three > button:first-child,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).three > button:first-child{grid-row:1 / span 2!important;grid-column:1!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)) > button:focus-visible,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)) > button:focus-visible{outline:3px solid #1768e5;outline-offset:-3px;}

/* Galerie estese: cinque anteprime, tutte le foto nel visualizzatore. */
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-five,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-five{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:3fr 2fr!important;aspect-ratio:1!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-five > button,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-five > button{aspect-ratio:auto!important;height:100%!important;grid-column:span 2!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-five > button:nth-child(-n+2),
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-five > button:nth-child(-n+2){grid-column:span 3!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)) > button.apf-gallery-hidden,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)) > button.apf-gallery-hidden{display:none!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-three-top,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-three-top{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:2fr 1fr!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-three-top > button:first-child,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2)).apf-gallery-three-top > button:first-child{grid-row:1!important;grid-column:1 / -1!important;}

.business-post-media button[data-apf-gallery-more]::after{content:attr(data-apf-gallery-more);position:absolute;inset:0;display:grid;place-items:center;background:#10243b80;color:#fff;font:800 clamp(24px,5vw,42px)/1 Arial,sans-serif;pointer-events:none}
.apf-gallery-lightbox{position:fixed;inset:0;z-index:25000;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;grid-template-rows:64px minmax(0,1fr);background:#fff;color:#142b47;font:15px/1.4 Arial,sans-serif;overscroll-behavior:contain}
.apf-gallery-lightbox .apf-gallery-toolbar{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid #e1e7ef;background:#fff}
.apf-gallery-counter{margin-right:auto;font-weight:700}
.apf-gallery-lightbox button{border:1px solid #d8e2ee;background:#fff;color:#1768e5;border-radius:10px;min-width:44px;min-height:44px;cursor:pointer;font:700 16px Arial,sans-serif;padding:8px 12px}
.apf-gallery-lightbox button:focus-visible{outline:3px solid #1768e5;outline-offset:2px}
.apf-gallery-lightbox .apf-gallery-close{font-size:28px;line-height:1}
.apf-gallery-lightbox .apf-gallery-prev,.apf-gallery-lightbox .apf-gallery-next{align-self:center;margin:4px;font-size:34px;padding:0;}
.apf-gallery-lightbox button[aria-disabled=true]{opacity:.3;cursor:default}
.apf-gallery-lightbox .apf-gallery-stage{grid-column:2;grid-row:2;display:grid;align-items:center;justify-items:center;min-width:0;min-height:0;overflow:auto;touch-action:pan-y pinch-zoom;padding:8px;overscroll-behavior:contain}
.apf-gallery-lightbox .apf-gallery-stage>img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:0;box-shadow:none;user-select:none}
.apf-gallery-lightbox .apf-gallery-prev{grid-column:1;grid-row:2}.apf-gallery-lightbox .apf-gallery-next{grid-column:3;grid-row:2}
.apf-gallery-lightbox [hidden]{display:none!important}
.apf-gallery-lightbox.is-zoomed .apf-gallery-stage{display:block;touch-action:pan-x pan-y pinch-zoom}
.apf-gallery-lightbox.is-zoomed .apf-gallery-stage>img{max-width:none!important;max-height:none!important;margin:0 auto}
@media(max-width:600px){.apf-gallery-lightbox{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:60px minmax(0,1fr);height:100dvh}.apf-gallery-lightbox .apf-gallery-toolbar{padding:8px;gap:6px}.apf-gallery-lightbox .apf-gallery-prev,.apf-gallery-lightbox .apf-gallery-next{min-width:36px;margin:2px}.apf-gallery-lightbox .apf-gallery-stage{padding:2px}}

/* APF complete post V4: dimensions are fixed on the stage, never on the original. */
html body .social-post-dialog.apf-complete-post{height:100dvh;padding:16px;box-sizing:border-box;}
html body .apf-complete-post .social-post-dialog-shell{width:min(940px,100%);max-height:calc(100dvh - 32px);overscroll-behavior:contain;}
html body .apf-complete-post .business-post-media.apf-post-stage-host{display:flex!important;flex-direction:column;gap:0!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;max-height:none!important;background:#f1f4f8;overflow:hidden;}
html body .apf-complete-post .apf-post-photo-stage{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:min(72dvh,720px);min-width:0;min-height:0;overflow:hidden;padding:12px;}
html body .apf-complete-post .apf-post-photo-stage>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:0;}
html body .apf-complete-post .apf-post-photo-controls{display:flex;align-items:center;justify-content:center;gap:16px;padding:8px;background:#fff;font-size:13px;font-weight:700;}
html body .apf-complete-post .apf-post-photo-controls>button{width:42px;height:40px;border:1px solid #d8e2ee;border-radius:9px;background:#fff;color:#1768e5;font-size:24px;cursor:pointer;}
html body .apf-complete-post .apf-post-photo-controls>button:disabled{opacity:.3;cursor:default;}
html body .apf-complete-post .apf-post-photo-thumbs{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;padding:4px 12px 12px;background:#fff;}
html body .apf-complete-post .apf-post-photo-thumbs>button{box-sizing:border-box;flex:0 0 48px;width:48px;height:48px;padding:2px;border:2px solid transparent;border-radius:8px;background:#eef2f7;cursor:pointer;}
html body .apf-complete-post .apf-post-photo-thumbs>button[aria-current=true]{border-color:#1768e5;}
html body .apf-complete-post .apf-post-photo-thumbs img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:4px;}
html body .apf-complete-post [hidden]{display:none!important;}
html body #postPreview .apf-post-preview-image{position:relative;}
html body #postPreview .apf-post-photo-remove{position:absolute;z-index:2;top:7px;right:7px;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid #d8e2ee;border-radius:50%;background:#fff;color:#b42318;font:700 26px/1 Arial,sans-serif;box-shadow:0 2px 8px #0002;cursor:pointer;}
@media(max-width:600px){html body .social-post-dialog.apf-complete-post{padding:8px;}html body .apf-complete-post .social-post-dialog-shell{max-height:calc(100dvh - 16px);}html body .apf-complete-post .apf-post-photo-stage{height:min(60dvh,600px);padding:6px;}html body .apf-complete-post .apf-post-photo-thumbs>button{flex-basis:36px;width:36px;height:36px;}}

html body .apf-complete-post .apf-business-post-title{padding-inline:16px;}

/* APF_EXTERNAL_GRID_V5: dynamic ratio, bounded size, complete photos, no DB writes. */
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout],
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout]{--apf-grid-maxh:min(80dvh,720px);display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:3px!important;width:min(100%,680px,calc(var(--apf-grid-maxh) * var(--apf-external-ratio)))!important;height:auto!important;max-height:var(--apf-grid-maxh)!important;aspect-ratio:var(--apf-external-ratio)!important;margin-inline:auto!important;min-width:0;min-height:0;background:#edf1f6;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout] > button:nth-child(n),
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout] > button:nth-child(n){grid-row:auto!important;grid-column:auto!important;min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;background:#edf1f6!important;overflow:hidden!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout] > button:nth-child(n) > img,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout] > button:nth-child(n) > img{object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important;display:block!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="two-side"],
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="two-side"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="two-stack"],
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="two-stack"]{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="three-left"],
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="three-left"]{grid-template-columns:2fr 1fr!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="three-top"],
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="three-top"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:2fr 1fr!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="five"],
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="five"]{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:3fr 2fr!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="three-left"] > button:first-child,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="three-left"] > button:first-child{grid-row:1 / -1!important;grid-column:1!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="three-top"] > button:first-child,
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="three-top"] > button:first-child{grid-row:1!important;grid-column:1 / -1!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="five"] > button:nth-child(n),
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="five"] > button:nth-child(n){grid-column:span 2!important;}
html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="five"] > button:nth-child(-n+2),
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout][data-apf-external-layout="five"] > button:nth-child(-n+2){grid-column:span 3!important;}
@media(max-width:767px){html body.apf-feed-armonia #feed .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout],
html body .apf-v3-shop-view .business-feed-card:not(.apf-business-kind-story) > .business-post-media:has(>button:nth-child(2))[data-apf-external-layout]{--apf-grid-maxh:min(70dvh,600px);border-radius:8px;}
}

/* V6 explicit natural size is opt-in, never the default. Scroll is confined to the stage. */
html body .apf-complete-post .apf-post-photo-controls{flex-wrap:wrap;}
html body .apf-complete-post .apf-post-photo-controls>button.apf-post-photo-zoom{width:auto;min-height:40px;padding:8px 12px;font-size:13px;}
html body .apf-complete-post .apf-post-photo-stage.is-natural{display:block;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;}
html body .apf-complete-post .apf-post-photo-stage.is-natural>img{max-width:none!important;max-height:none!important;width:auto!important;height:auto!important;margin:0 auto;cursor:zoom-out;}
html body .apf-complete-post .apf-post-photo-stage:not(.is-natural)>img{cursor:zoom-in;}
html body .apf-complete-post .apf-post-photo-controls>button{height:40px!important;min-height:40px!important;max-height:40px!important;aspect-ratio:auto!important;flex:0 0 auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;}
html body .apf-complete-post .apf-post-photo-controls>button.apf-post-photo-zoom{width:auto!important;}

/* APF 20261130 — Full-image shared banner slots. Only advertising selectors. */
html body.apf-feed-armonia #feed .apf-harmony-banner>.hero.apf-ad-host,
html body.apf-feed-armonia main.layout>section>.hero.apf-ad-host{
 display:block!important;height:auto!important;min-height:0!important;padding:0!important;width:100%!important;background:#fff!important;box-sizing:border-box;box-shadow:none;
}
.hero.apf-ad-host::before,.hero.apf-ad-host::after{display:none!important}
html body .hero.apf-ad-host>.apf-ad-carousel,
html body.apf-feed-armonia #feed .apf-harmony-banner .hero.apf-ad-host>div.apf-ad-carousel:first-child{width:100%!important;max-width:none!important;min-width:0!important;flex:0 0 100%!important;box-sizing:border-box}
.apf-ad-carousel{min-width:0;width:100%;background:#fff;color:#142b47}
.apf-ad-stage{width:100%;aspect-ratio:1920/760;background:#f3f6fa;overflow:hidden}
.apf-ad-slide{display:block;width:100%;height:100%;margin:0;padding:0}
.apf-ad-slide img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}
.apf-ad-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:7px 8px;color:#142b47;background:#fff}
.apf-ad-controls[hidden]{display:none!important}
.apf-ad-controls button{border:1px solid #d8e5f8;background:#eef5ff;color:#1768e5;border-radius:9px;min-width:32px;min-height:32px;font:inherit;font-weight:700;cursor:pointer}
.apf-ad-controls button:focus-visible,.apf-ad-slide:focus-visible{outline:3px solid #1768e5;outline-offset:-3px}
.apf-ad-signup-link{display:block;text-align:center;padding:10px;color:#1768e5;font-size:12px}
