/* CCA Avvento con spirito v1.0.31 — grafica approvata 01/12/2026.
   Componente isolato nella terza banda, preserva gli altri moduli. */
.cca-homebands [data-cca-original-strisce][hidden],
.cca-homebands .cca-avvento[hidden],
.cca-homebands .cca-avvento__overlay[hidden],
.cca-homebands .cca-avvento__greeting[hidden],
.cca-homebands .cca-avvento__navigation[hidden]{display:none!important}
.cca-homebands .cca-avvento{position:relative;width:100%;margin:0 auto 2px;padding:0;background:#fff;border:0;box-sizing:border-box;font-family:Georgia,serif;color:#342e28}
.cca-homebands .cca-avvento__artboard{position:relative;width:100%;max-width:100%;margin:0 auto;overflow:visible;aspect-ratio:2027 / 409}
.cca-homebands .cca-avvento__board-image{display:block;width:100%;height:100%;object-fit:contain;max-width:none;filter:none;border:0;background:transparent}
.cca-homebands .cca-avvento__days{position:absolute;inset:0;pointer-events:none}
.cca-homebands .cca-avvento__day{position:absolute;width:5.85%;height:31.7%;min-width:0;min-height:0;box-sizing:border-box;padding:0;background:transparent;border:0;border-radius:8px;cursor:pointer;pointer-events:auto;font:inherit;transition:box-shadow .16s,background .16s}
.cca-homebands .cca-avvento__day--locked{cursor:not-allowed;background:rgba(255,255,255,.52)}
.cca-homebands .cca-avvento__day--today{box-shadow:inset 0 0 0 2px #e0b15d,0 0 5px 2px rgba(173,119,38,.22)}
.cca-homebands .cca-avvento__day--available:hover{box-shadow:inset 0 0 0 3px #8f2b38,0 1px 5px rgba(94,35,34,.18);background:rgba(253,236,190,.16)}
.cca-homebands .cca-avvento__day:focus-visible{outline:3px solid #175849;outline-offset:1px;z-index:2}
.cca-homebands .cca-avvento__visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cca-homebands .cca-avvento__greeting{text-align:center;padding:5px;font:italic 14px Georgia,serif;color:#842a39;background:#fff7e7;margin:0 auto;border-radius:4px}
.cca-avvento-modal-open{overflow:hidden!important}
.cca-homebands .cca-avvento__overlay{position:fixed;inset:0;z-index:100500;background:rgba(19,22,18,.12);display:block}
.cca-homebands .cca-avvento__dialog{position:fixed;top:15px;left:15px;box-sizing:border-box;overflow:visible;width:min(400px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:11px 15px 9px;border:1px solid #d5a467;border-radius:16px;background:linear-gradient(120deg,#fffdfa,#fff4df);box-shadow:0 6px 21px rgba(81,49,21,.29),inset 0 0 0 3px rgba(255,252,239,.9);color:#284b39;text-align:center}
.cca-homebands .cca-avvento__dialog:after{content:'';position:absolute;bottom:-13px;left:calc(50% - 13px);width:24px;height:24px;transform:rotate(45deg);border-right:1px solid #d5a467;border-bottom:1px solid #d5a467;background:#fff7e7;z-index:-1}
.cca-homebands .cca-avvento__dialog--below:after{top:-13px;bottom:auto;border:0;border-top:1px solid #d5a467;border-left:1px solid #d5a467;background:#fffaf0}
.cca-homebands .cca-avvento__close{position:absolute;z-index:3;top:-11px;right:-10px;width:28px;height:28px;display:grid;place-items:center;border:1px solid #b98f54;border-radius:50%;background:#fffaf0;color:#6b3924;font:25px/1 Georgia,serif;cursor:pointer;box-shadow:0 1px 5px #7f5a4444}
.cca-homebands .cca-avvento__close:hover,.cca-homebands .cca-avvento__close:focus-visible{color:#8b223a;outline:2px solid #c09e65}
.cca-homebands .cca-avvento__decor{color:#3f6744;font:normal 14px/1.1 Georgia,serif;letter-spacing:5px;margin:0 auto 1px}
.cca-homebands .cca-avvento__decor span{color:#af8b45}
.cca-homebands .cca-avvento__date{display:inline-block;margin:0 auto 6px;padding:3px 20px;border-radius:40px;background:#822839;color:#fff4e5;font:normal bold 15px/1.25 Georgia,serif}
.cca-homebands .cca-avvento__dialog-body{display:grid;grid-template-columns: minmax(0,1fr) 100px;align-items:center;gap:6px;max-height:190px}
.cca-homebands .cca-avvento__quote{font:italic 16px/1.22 Georgia,serif;color:#284635;margin:0;min-width:0;max-height:148px;overflow:auto}
.cca-homebands .cca-avvento__drawing{margin:0;width:100px;height:93px;display:flex;justify-content:center;align-items:center}
.cca-homebands .cca-avvento__drawing svg{max-width:100%;max-height:100%;height:100%;width:100%}
.cca-homebands .cca-avvento__navigation{display:flex;justify-content:center;align-items:center;gap:7px;border-top:1px solid #dfcfb3;padding-top:6px;margin-top:8px}
.cca-homebands .cca-avvento__navigation button{border:1px solid #d1b58b;border-radius:7px;background:#fffaf0;color:#793041;font:normal 11px Georgia,serif;padding:3px 8px;cursor:pointer}
.cca-homebands .cca-avvento__navigation button:disabled{opacity:.42;cursor:not-allowed}
.cca-homebands .cca-avvento__navigation button:not(:disabled):hover{background:#fbeacb}
.cca-homebands .cca-avvento__navigation span{font-size:11px;color:#8d7b61;min-width:40px}
@media (max-width:680px){
 .cca-homebands .cca-avvento{overflow-x:auto;}
 .cca-homebands .cca-avvento__artboard{width:max(720px,100%);max-width:none;min-width:720px;}
 .cca-homebands .cca-avvento__day{border-radius:3px}
 .cca-homebands .cca-avvento__day--today{box-shadow:inset 0 0 0 1px #e0b15d}
 .cca-homebands .cca-avvento__dialog{width:min(360px,calc(100vw - 20px));}
 .cca-homebands .cca-avvento__dialog-body{grid-template-columns:minmax(0,1fr) 84px}
 .cca-homebands .cca-avvento__drawing{width:84px;height:85px}
 .cca-homebands .cca-avvento__quote{font-size:15px}
}
@media (max-width:400px){
 .cca-homebands .cca-avvento__dialog{padding:10px 11px 8px}
 .cca-homebands .cca-avvento__date{font-size:14px}
 .cca-homebands .cca-avvento__quote{font-size:13px}
 .cca-homebands .cca-avvento__dialog-body{grid-template-columns:minmax(0,1fr) 74px}
 .cca-homebands .cca-avvento__drawing{width:74px;height:74px}
}
@media (prefers-reduced-motion:reduce){.cca-homebands .cca-avvento__day{transition:none!important}}
