/* Blocchi: approved Cordoli components, scoped refinements for this family. */
.blocchi-catalog .cordoli-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.blocchi-navigation{display:block;border-bottom:1px solid var(--line);background:#fff}
.blocchi-navigation .wrap{display:flex;align-items:center;flex-wrap:wrap;gap:12px 26px;padding-block:17px}
.blocchi-navigation a{font-size:var(--ggm-type-label);line-height:1.5;color:var(--ggm-secondary-color);text-underline-offset:5px}
.blocchi-navigation a[aria-current="page"]{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--green)}
.blocchi-navigation a:hover{text-decoration:underline}
.blocchi-navigation a:focus-visible{outline:2px solid var(--green);outline-offset:5px}
.blocchi-product-page .product-gallery-module .product-gallery-main{position:relative}
.blocchi-product-page .product-gallery-module .product-gallery-main-image{position:absolute;inset:0;margin:auto;width:82%;height:82%;max-width:360px;object-fit:contain;transform:none}
.blocchi-product-page .product-gallery-module .product-gallery-main-image[data-fit="cover"]{width:100%;height:100%;max-width:none;object-fit:cover;transform:none}
.blocchi-product-page .product-gallery-module .product-gallery-thumb[data-fit="cover"]{padding:0!important}
.blocchi-product-page .product-gallery-module .product-gallery-thumb[data-fit="cover"] img{transform:none;object-fit:cover}
.blocchi-product-page .product-gallery-caption{min-height:2.8em;margin:10px 0 0;color:#50574e;font-size:12px;line-height:1.4}
.ggm-product-colors{margin-top:24px}
.ggm-color-samples{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 14px;margin-top:15px}
.ggm-color-sample{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding:0;background:none;border:0;border-radius:0;text-align:left;color:#30352f;font:inherit;cursor:zoom-in}
.ggm-color-sample img{display:block;width:100%;max-width:106px;aspect-ratio:254/138;object-fit:contain;border:1px solid #d9dcd5;border-radius:0}
.ggm-color-sample span{font-size:13px;line-height:1.4;font-weight:500}
.ggm-color-sample:hover img,.ggm-color-sample[aria-expanded="true"] img{outline:2px solid var(--green);outline-offset:2px}
.ggm-color-sample:focus-visible{outline:2px solid var(--green);outline-offset:5px}
.ggm-color-note{margin:17px 0 0;color:#50574e;font-size:12px;line-height:1.6}
.ggm-color-preview{position:fixed;z-index:10020;width:278px;max-width:calc(100vw - 24px);padding:12px;background:#fff;border:1px solid #d4d9d0;box-shadow:0 10px 32px #17251e30;color:#242b24;font-family:inherit}
.ggm-color-preview[hidden]{display:none}
.ggm-color-preview>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.ggm-color-preview strong{font-size:14px;font-weight:600}
.ggm-color-preview button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid #dce0d8;background:#fff;color:#283329;font-family:inherit;font-size:24px;line-height:1;cursor:pointer}
.ggm-color-preview button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.ggm-color-preview>img{display:block;width:100%;aspect-ratio:254/138;object-fit:contain}
.ggm-color-preview>small{display:block;font-size:11px;line-height:1.5;margin-top:8px;color:#566050}
@media(max-width:1000px){.blocchi-catalog .cordoli-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.blocchi-catalog .cordoli-product-grid{grid-template-columns:1fr}.blocchi-navigation .wrap{gap:12px 20px}.blocchi-product-page .product-gallery-module .product-gallery-main-image{max-width:270px}.ggm-color-samples{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 14px}}

.ggm-color-samples[data-color-count="9"]{grid-template-columns:repeat(3,minmax(0,1fr))}
