.footer-bottom-inner{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;gap:12px}
.footer-copy{margin:0;font-size:12px}.vf-footer-legal{margin:0;gap:12px;font-size:12px;justify-content:flex-end}
.vf-back-top{position:fixed;left:18px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:9997;width:46px;height:46px;border:2px solid #ff3152;border-radius:50%;background:#fff;color:#ff3152;box-shadow:0 3px 12px #0001;cursor:pointer}.vf-back-top[hidden]{display:none}
.vf-category-select{display:none}
@media(max-width:991px){
.footer-bottom-inner{flex-direction:column!important;text-align:center}.vf-footer-legal{justify-content:center;flex-wrap:wrap}.footer-copy{text-align:center}
.vf-back-top{left:14px;bottom:calc(14px + env(safe-area-inset-bottom))}
.share-floating{bottom:calc(14px + env(safe-area-inset-bottom))}
.category-page .sidebar-categorie-box{width:100%;padding:0;background:transparent;border:0}.category-page .sidebar-categorie-box>h3,.category-page .sidebar-categorie-box>.sidebar-category-list{display:none}
.vf-category-select{display:block;width:100%;min-height:46px;border:2px solid #ff3152;border-radius:24px;background:#fff;color:#444;padding:8px 16px;font:inherit}
.mobile-category-toggle{background:#fff!important;border:2px solid #ff3152!important;color:#444!important;min-height:46px}
.download-actions-wrapper{width:100%;max-width:100%;min-width:0;position:relative}.download-actions-row{width:100%;min-width:0}.btn-action-download{min-width:0!important;flex:1!important;justify-content:flex-start!important}.btn-action-download .btn-action-icon{flex-shrink:0}.btn-action-download .btn-action-text{flex:1;text-align:center}
.dropdown-lingue-full{left:0!important;right:0!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;border-radius:18px!important}.dropdown-lingue-full .dropdown-item{width:100%;min-width:0;box-sizing:border-box;display:flex;justify-content:space-between;gap:8px}.download-language-label{min-width:0;display:flex;align-items:center;gap:8px}.dropdown-item>i{flex-shrink:0}
.download-related-head h2{text-align:center;text-transform:uppercase;width:100%}#related-downloads{scroll-margin-top:95px}
.continua-colorare-popular,.continua-colorare-new,.downloads-section .continua-colorare{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.downloads-section .mini-card{width:100%!important;min-width:0!important}
}
@media(max-width:768px){
.lang-current{height:46px!important;min-width:46px;padding:0 10px!important;border:2px solid #ff3152!important;border-radius:24px;background:#fff!important;box-sizing:border-box}
body.menu-open .logo{position:relative;z-index:2001;visibility:visible!important;opacity:1!important;display:block!important}
.menu .submenu{display:none!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}.menu .has-submenu.submenu-open>.submenu{display:block!important}.menu .submenu-arrow{min-width:44px;min-height:44px;display:inline-flex!important;align-items:center;justify-content:center}
}
@media(max-width:768px){.menu .menu-link-disabled{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 10px 0 16px;font-size:18px;font-weight:700;cursor:pointer}.menu .submenu .menu-link-disabled{font-size:15px}.menu .submenu-open>.menu-link-disabled .submenu-arrow{transform:rotate(180deg)}}
/* Override the legacy six-column rule, including its specificity. */
@media(max-width:991px){
.downloads-section .continua-colorare.cards-6{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
}
/* Mobile revision 2026-10-10: all overrides share the actual production selectors. */
.vf-menu-expand{display:none}
.vf-download-heading{grid-column:2;grid-row:1;min-width:0}
.download-card>.download-preview-column{grid-column:1;grid-row:1 / span 2}
.download-card>.download-content{grid-column:2;grid-row:2}
.download-card{row-gap:0}
.vf-download-heading h1{margin:0 0 14px;font-size:25px;line-height:1.12;color:#ff3152;font-weight:500}
@media(min-width:992px){.continua-colorare.continua-colorare-related{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:991px){
.download-card{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
.vf-download-heading{grid-column:1;grid-row:1}
.download-card>.download-preview-column{grid-column:1;grid-row:2}
.download-card>.download-content{grid-column:1;grid-row:3}
.vf-download-heading h1{font-size:26px;margin-bottom:10px}.vf-download-heading .difficulty-box{margin-bottom:0}
body .downloads-section .continua-colorare.cards-6,
body .continua-colorare.continua-colorare-related{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
main .related-nav{grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) minmax(0,1.15fr);gap:8px;padding-bottom:10px}
main .related-nav .nav-btn{width:100%;min-width:0;min-height:44px;padding:10px 8px;font-size:14px;gap:5px;box-sizing:border-box}
main .downloads-section{padding-top:20px;padding-bottom:20px}
main .new-downloads{padding-bottom:24px}
main .amazon-section:empty{display:none}
}
@media(max-width:768px){
.vf-lang-current,.menu-toggle,.menu-close{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;border:2px solid #ff3152!important;border-radius:50%!important;box-sizing:border-box;flex-shrink:0}
.vf-lang-current{padding:0!important;justify-content:center;gap:0;background:white}.vf-lang-current>span{display:none}.vf-lang-current>img{width:24px;height:24px;margin:0}.vf-lang-switcher{align-self:center}
.menu li,.menu .submenu li{position:relative!important;display:block!important;float:none!important;height:auto!important;min-width:0}
.menu .submenu,.menu .submenu .submenu{position:static!important;inset:auto!important;transform:none!important;width:100%!important;min-width:0!important;max-width:100%!important;display:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:transparent!important;padding:6px 0!important;margin:0!important;z-index:auto!important;box-sizing:border-box}
.menu .has-submenu.submenu-open>.submenu{display:block!important}
.menu .submenu .submenu{padding-left:12px!important}
.menu .submenu-arrow{display:none!important}
.menu .vf-menu-label{display:flex!important;align-items:center;justify-content:flex-start!important;width:100%;min-height:46px!important;height:auto!important;padding:12px 52px 12px 16px!important;border-radius:24px!important;box-sizing:border-box;line-height:1.3;background:white!important;color:#333!important}
.menu .submenu .vf-menu-label,.menu .submenu a{background:#f9f9f9!important;color:#333!important;border:0!important;font-size:15px!important;margin-bottom:4px}
.menu .vf-menu-label.active,.menu .submenu a.active{color:#ff3152!important;background:#fff3f6!important}
.menu>ul>li>.vf-menu-label.active{border:2px solid #ff3152!important;background:white!important}
.menu .vf-menu-expand{position:absolute;top:2px;right:2px;display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;margin:0!important;border:0!important;border-radius:50%;background:transparent!important;color:#555!important;box-shadow:none!important;cursor:pointer;z-index:2}
.menu .vf-menu-expand i{transform:none}.menu .submenu-open>.vf-menu-expand i{transform:rotate(180deg)}
.menu .vf-menu-expand:focus-visible{outline:2px solid #ff3152;outline-offset:-4px}
}
@media(max-width:768px){
.menu .vf-menu-expand i{display:none}
.menu .vf-menu-expand::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px}
.menu .submenu-open>.vf-menu-expand::before{transform:rotate(225deg);margin-top:4px}
}
/* Localized labels and compact mobile controls, 2026-10-10 revision 3. */
.vf-lang-dropdown{min-width:200px;max-width:calc(100vw - 24px);right:0;left:auto;box-sizing:border-box}.vf-lang-dropdown a{white-space:nowrap}
@media(max-width:991px){
.download-content .download-text{text-align:center}.download-content .download-tags{justify-content:center}
main .related-nav{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);gap:8px}
main .related-nav .nav-btn{min-height:40px;padding:9px 10px;font-size:13px;line-height:1.2;white-space:nowrap}
main .related-nav .related-nav-side:first-child{justify-content:flex-start;text-align:left}
main .related-nav .related-nav-side:last-child{justify-content:flex-end;text-align:right}
main .related-nav .related-nav-all{justify-content:center;text-align:center}
main .download-related-head h2,main .downloads-section h2{font-size:20px;font-weight:600;line-height:1.05;color:#1f2937;text-transform:uppercase;text-align:center}
.share-floating .share-floating-toggle{background:#ff3152}.share-floating .share-floating-toggle:hover{background:#e82b49}
.mobile-category-toggle .arrow{background:transparent!important;color:#555!important;box-shadow:none!important}
.mobile-category-toggle:focus-visible{outline:2px solid #ff3152;outline-offset:3px}
.mobile-category-dropdown .side-box{padding:12px;border:1px solid #ececec;border-radius:18px;background:white}
.mobile-category-dropdown .sidebar-categorie-title{display:none}
.mobile-category-dropdown .sidebar-category-row{position:relative;background:#f9f9f9;border-radius:24px;margin-bottom:4px}
body .mobile-category-dropdown .sidebar-category-link{border-radius:24px!important;background:#f9f9f9!important;color:#333!important;font-weight:500;padding:12px 16px;min-height:44px;box-sizing:border-box;margin-bottom:4px}
body .mobile-category-dropdown .sidebar-category-row .sidebar-category-link{margin-bottom:0;background:transparent!important}
body .mobile-category-dropdown .sidebar-category-link.active,
body .mobile-category-dropdown .sidebar-category-item.is-open>.sidebar-category-row{background:#fff3f6!important;color:#ff3152!important}
body .mobile-category-dropdown .sidebar-category-link.active .sidebar-category-name,body .mobile-category-dropdown .sidebar-category-link.active .sidebar-category-count{color:#ff3152!important}
body .mobile-category-dropdown .sidebar-category-toggle{background:transparent!important;border:0!important;border-radius:50%!important;min-width:44px;min-height:44px;padding:10px;gap:8px;color:#555!important}
.mobile-category-dropdown .sidebar-category-children{padding-left:12px}
body .mobile-category-dropdown .sidebar-category-item.is-subcategory .sidebar-category-link{background:#f9f9f9!important;color:#333!important}
body .mobile-category-dropdown .sidebar-category-item.is-subcategory .sidebar-category-link.active{background:#fff3f6!important;color:#ff3152!important}
}
main .download-related-head h2{font-size:22px;font-weight:600;line-height:1.05;color:#1f2937;text-transform:uppercase}
@media(max-width:991px){
main .download-related-head h2{font-size:20px}
main .downloads-section .continua-nav .nav-btn{min-height:40px;padding:9px 12px;font-size:13px;line-height:1.2;white-space:nowrap}
}

/* VIMAFUN | Stabilizzazione header mobile / CLS | 2026-10-21
   Si applica solo agli schermi fino a 768px. */
@media (max-width:768px) {
  .header .header-inner {
    height:82px;
    min-height:82px;
    padding-top:0;
    padding-bottom:0;
    align-items:center;
    flex-direction:row;
    flex-wrap:nowrap;
  }
  .header .header-left {
    min-width:0;
    flex:1 1 auto;
    flex-direction:row;
    align-items:center;
  }
  .header .logo {
    flex:0 0 auto;
  }
  .header .logo img {
    display:block;
    width:174px;
    height:30px;
    max-width:100%;
    object-fit:contain;
  }
  .header .header-right {
    flex:0 0 auto;
    align-items:center;
  }
  .header .menu:not(.open) {
    display:none;
  }
  .header .menu.open {
    display:block;
  }
}
@media (max-width:360px) {
  .header .logo img {
    width:150px;
    height:auto;
    aspect-ratio:174 / 30;
  }
  .header .header-right {gap:8px;}
}

/* VIMAFUN: mobile content-first refresh (2026-10-24). Desktop untouched. */
@media (max-width: 991px) {
  /* The illustration is the primary content; title/difficulty belong immediately below. */
  .download-card > .download-preview-column { grid-column:1!important; grid-row:1!important; }
  .download-card > .vf-download-heading { grid-column:1!important; grid-row:2!important; margin-top:2px; }
  .download-card > .download-content { grid-column:1!important; grid-row:3!important; }
  .vf-download-heading h1 { margin:0 0 8px!important; font-size:23px!important; line-height:1.22; }
  .vf-download-heading .difficulty-box { margin:0!important; }
  .mobile-category-toggle { padding-right:12px!important; }
  .mobile-category-toggle .arrow { width:32px!important; height:32px!important; flex:0 0 32px; border:1px solid #e5e8ec!important; border-radius:50%!important; display:inline-flex; align-items:center; justify-content:center; margin-left:14px; background:#fff!important; }
  .mobile-category-toggle .arrow i { font-size:12px; }
  .mobile-category-bar.open .mobile-category-toggle .arrow { background:#fff1f4!important; color:#f32f55!important; }
}
@media (max-width: 600px) {
  /* Intro: only two lines unless a visitor explicitly expands it. Bottom SEO remains full. */
  .category-page .category-seo-text-top { padding:12px 14px!important; margin:0 0 12px!important; border-radius:16px!important; }
  .category-page .category-seo-text-top .category-seo-content { max-height:3.15em; overflow:hidden; line-height:1.575; }
  .category-page .category-seo-text-top.is-expanded .category-seo-content { max-height:none; }
  .category-page .category-seo-text-top .category-seo-content p { margin:0 0 8px; }
  .category-page .category-seo-more { display:inline-flex; align-items:center; gap:6px; margin:5px 0 0; padding:4px 0; border:0; background:none; color:#ef3053; font:inherit; font-size:13px; font-weight:750; cursor:pointer; }
  .category-page .category-seo-more[hidden] { display:none; }
  .category-page .category-seo-more:focus-visible { outline:2px solid #ef3053; outline-offset:3px; }
  .category-page .category-seo-text-bottom { padding:15px 16px!important; }
  /* More usable width and less dead air ahead of the first drawing. */
  main.container > .category-page { margin-left:-5px; margin-right:-5px; padding-top:10px; }
  .category-page .category-grid { margin-top:8px!important; margin-bottom:16px; gap:10px!important; }
  .category-page .category-grid.cols-3,
  .category-page .category-grid.cols-4,
  .category-page .category-grid.cols-5 { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; }
  .category-page .category-card-thumb { border-radius:12px; }
  .category-page .category-toolbar { margin:6px 0 10px; gap:8px; }
  .category-page .category-toolbar-top { display:flex; flex-direction:column; }
  .category-page .category-toolbar-left { width:100%; display:block; }
  .category-page .category-filters { display:flex; flex-direction:column; align-items:stretch; gap:9px; width:100%; }
  .category-page .category-mobile-difficulty { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; width:100%; }
  .category-page .category-difficulty-chip { min-width:0; padding:10px 3px; text-align:center; line-height:1.2; background:#fff; border:1px solid #e6e9ed; border-radius:24px; text-decoration:none; color:#485264; font-size:12px; font-weight:700; white-space:nowrap; }
  .category-page .category-difficulty-chip.is-active { background:#f32f55; border-color:#f32f55; color:#fff; }
  .category-page .category-difficulty-chip:focus-visible { outline:2px solid #f32f55; outline-offset:2px; }
  .category-page .filter-inline-difficulty { display:none!important; }
  .category-page .filter-inline-per-page { justify-content:flex-start; align-self:flex-start; gap:9px; }
  .category-page .filter-inline-per-page label { font-size:13px; }
  .category-page .filter-select.filter-select-per-page { height:36px; }
  .category-page .toolbar-pagination-wrap { width:100%; justify-content:center; }
  .category-page .category-pagination { gap:6px; flex-wrap:wrap; }
  .category-page .page-number,.category-page .page-arrow { min-width:34px; width:34px; height:34px; font-size:13px; }
  .category-page .category-toolbar-right { justify-content:center; margin:0; }
  .category-page .category-results-count { font-size:13px; }
  .category-page .layout-switch { display:none!important; }
  .category-page .category-toolbar-bottom .category-filters > .filter-inline { display:none!important; }
  .category-page .category-toolbar-bottom .category-toolbar-right { display:none!important; }
  /* Hero: illustrations are visible early, instead of under a full viewport of copy. */
  .vf-home { padding-top:12px; }
  .vf-home-hero { padding:17px 17px 14px; gap:4px; border-radius:22px; }
  .vf-home-hero h1 { font-size:31px; line-height:1.12; margin:5px 0 7px; }
  .vf-home-eyebrow { font-size:12px; }
  .vf-home-hero-copy > p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:14px; line-height:1.45; margin:0 0 10px; }
  .vf-home-primary { min-height:42px; padding:9px 15px; }
  .vf-home-features { margin-top:10px; gap:7px 12px; font-size:11px; }
  .vf-home-drawings { padding:2px 10px 4px; margin:0 auto; }
  .vf-home-drawing { width:35%; flex-basis:35%; }
  .vf-home-art-dot { width:10px; height:10px; }
}
@media (min-width: 601px) {
  .category-page .category-mobile-difficulty,
  .category-page .category-seo-more { display:none; }
}
/* Colora (sezione): make category covers larger without changing two-column layout. */
@media (max-width: 600px) {
  main.section-page-simple { padding-top:13px!important; }
  main.section-page-simple .section-simple-box { padding:16px 12px; border-radius:16px; }
  main.section-page-simple .section-simple-box h1 { font-size:28px; margin:0 0 15px; }
  main.section-page-simple .section-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 11px; }
  main.section-page-simple .section-category-card { gap:8px; }
  main.section-page-simple .section-category-card img { padding:5px; border-radius:15px; }
}
/* Home mobile: previews genuinely come before the full welcome copy. */
@media (max-width:600px) {
  .vf-home-hero { display:flex; flex-direction:column; align-items:stretch; }
  .vf-home-hero .vf-home-drawings { order:-1; width:100%; margin:0 auto 7px; padding:2px 8px 4px; }
  .vf-home-hero .vf-home-hero-copy { order:0; width:100%; }
}

/* V2 category mobile: count heading, four chips, one compact pagination row. */
.category-pagination-mobile{display:none!important}
@media(max-width:600px){
 .category-page .category-toolbar-top .category-toolbar-right{display:none!important}
 .category-page .category-toolbar-top .category-filters{display:grid!important;grid-template-columns:max-content minmax(0,1fr);align-items:center;column-gap:8px;row-gap:9px;width:100%}
 .category-page .category-mobile-difficulty{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:9px}
 .category-page .category-mobile-summary{grid-column:1/-1;text-align:center;font-size:14px;color:#596474;line-height:1.3;white-space:normal}
 .category-page .category-mobile-summary strong{color:#3c4959}
 .category-page .filter-inline-per-page{grid-column:1;align-self:center;gap:5px!important}
 .category-page .filter-inline-per-page label{font-size:12px;white-space:nowrap}
 .category-page .filter-select.filter-select-per-page{width:63px;min-width:63px;padding:0 23px 0 10px;background-position:right 6px center}
 .category-page .toolbar-pagination-wrap{grid-column:2;width:auto!important;min-width:0;justify-content:flex-end!important}
 .category-page .category-pagination-desktop{display:none!important}
 .category-page .category-pagination-mobile{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;justify-content:flex-end}
 .category-page .category-pagination-mobile .page-number,.category-page .category-pagination-mobile .page-arrow{width:30px!important;min-width:30px!important;height:32px!important;font-size:12px!important}
 .category-page .category-pagination-mobile .page-dots{font-size:12px;flex:none}
 .category-page .vf-download-heading,.download-card .vf-download-heading{text-align:center!important}
 .category-page .vf-download-heading .difficulty-box,.download-card .vf-download-heading .difficulty-box{justify-content:center!important;align-items:center!important}
 .download-actions-row .btn-action-download{touch-action:manipulation}
}
@media(max-width:360px){
 .category-page .category-toolbar-top .category-filters{column-gap:5px}
 .category-page .category-pagination-mobile{gap:3px!important}
 .category-page .category-pagination-mobile .page-number,.category-page .category-pagination-mobile .page-arrow{width:28px!important;min-width:28px!important;height:30px!important}
}

@media(max-width:991px){.download-card .vf-download-heading{text-align:center!important}.download-card .vf-download-heading .difficulty-box{justify-content:center!important;align-items:center!important;gap:7px}}
