/* Gallery public pages. No editor, checkout or print-coordinate selectors. */
.ts-gallery-skip{position:fixed;left:16px;top:-100px;z-index:10000;background:#20201f;color:#fff!important;padding:14px 20px;text-decoration:none}
.ts-gallery-skip:focus{top:12px}
body:has(#ts-gallery-page){background:#faf9f6;color:#20201f}
body:has(#ts-gallery-page) a[href="https://www.w3.org/html/logo/"] img{max-width:100%;height:auto}
/* The visible bar and its contents share the catalogue's exact edges. */
body:has(#ts-gallery-page:is([data-kind=home],[data-kind=catalog],[data-kind=designers])) #id-corpo:has(.elem_menu){box-sizing:border-box;width:calc(100% - 96px)!important;max-width:1180px;margin-inline:auto;background:#faf9f6!important;border-color:#dedcd5!important}
body:has(#ts-gallery-page:is([data-kind=home],[data-kind=catalog],[data-kind=designers])) #id-corpo>:is(.c950,.c585):has(.elem_menu){width:100%!important;max-width:none!important;box-sizing:border-box}
body:has(#ts-gallery-page) #id-corpo:has(.elem_menu)>div>ul{box-sizing:border-box;border-left:0!important;border-right:0!important}
body:has(#ts-gallery-page) :is(a,summary,[role=button]):focus-visible{outline:2px solid #a5573e;outline-offset:4px}
body:has(#ts-gallery-page[data-kind=catalog]) :is(.c950,.c585):has(#id-passarella),body:has(#ts-gallery-page[data-kind=designers]) :is(.c950,.c585):has(#id-list-designers){width:100%!important;max-width:none!important;background:#faf9f6;box-sizing:border-box}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-gallery-intro,body:has(#ts-gallery-page[data-kind=designers]) .ts-gallery-intro{text-align:left;max-width:1180px;width:calc(100% - 96px);padding:50px 0 38px}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-gallery-intro>p:last-child,body:has(#ts-gallery-page[data-kind=designers]) .ts-gallery-intro>p:last-child{margin:0;max-width:630px}
body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 28px;max-width:1180px;width:calc(100% - 96px);margin:0 auto!important;padding:0 0 56px!important;text-align:left!important;box-sizing:border-box}
body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella>div:has(.ts-tile-cell),body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella ul:has(>.ts-tile-cell){display:contents!important}
body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella .ts-tile-cell{display:block!important;width:100%!important;min-width:0;padding:0;margin:0}
body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella :is(.ts-tile,.ts-list-card){width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;min-width:0}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-tile .zoom_pic{aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;background-size:contain;background-repeat:no-repeat;background-position:center}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-tile .zoom_pic img{width:100%;height:100%;object-fit:contain}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-tile .ts-catalog-info{padding:20px 0 0;min-height:0;background:transparent}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-tile .ts-catalog-title{font:400 27px/1.18 Georgia,'Times New Roman',serif;letter-spacing:-.025em}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:first-child>ul>li:first-child{display:flex;flex-direction:column}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:first-child>ul>li:first-child>a{order:-1;display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;background:#fff;margin-bottom:20px}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:first-child>ul>li:first-child>a>div{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card img[itemprop=image]{max-width:100%;width:100%;height:100%;object-fit:contain}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-title{font-size:27px;line-height:1.18;letter-spacing:-.025em;margin-bottom:8px}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card .by_name{display:inline;font:12px/1.6 Arial,Helvetica,sans-serif;color:#67665d}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:first-child>ul>li:nth-child(2)>ul{display:flex;flex-wrap:wrap;gap:12px;margin:0!important}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:first-child>ul>li:nth-child(2)>ul>li{display:block!important}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:first-child>ul>li:nth-child(2)>ul>li>a{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:nth-child(2){margin-top:12px;padding-top:12px!important;border-top:1px solid #dedcd5}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:nth-child(2)>ul{gap:5px;justify-content:flex-start}
body:has(#ts-gallery-page[data-kind=catalog]) .ts-list-card>ul>li:nth-child(2)>ul>li{padding:0!important;margin:0!important;min-width:44px;min-height:44px;flex:0 0 auto}
.ts-list-card [role=button]{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer}
body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella>[id^=id-next-pagina-]{grid-column:1/-1;width:100%!important;text-align:center!important}
body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella .button_green{box-sizing:border-box;max-width:100%;margin:20px auto!important;padding:14px 22px;border:1px solid #20201f;border-radius:0;background:#faf9f6;color:#20201f;box-shadow:none;font:13px/1.5 Arial,Helvetica,sans-serif}
.ts-gallery-category-heading{grid-column:1/-1;padding-top:44px;min-width:0}
.ts-gallery-category-heading>h1{font:400 clamp(40px,5vw,68px)/1.08 Georgia,'Times New Roman',serif!important;margin:0 0 28px;letter-spacing:-.04em;color:#20201f!important}
.ts-gallery-themes{border-block:1px solid #dedcd5}
.ts-gallery-themes>summary{font:13px/1.5 Arial,Helvetica,sans-serif;padding:16px 0;min-height:22px;cursor:pointer}
.ts-gallery-themes>ul{display:flex!important;flex-wrap:wrap;gap:8px;padding:16px 0!important;margin:0!important;max-width:100%}
.ts-gallery-themes>ul>li{display:block!important;padding:0!important;margin:0!important}
.ts-gallery-themes a{display:flex;align-items:center;min-height:44px;padding:0 12px;border:1px solid #dedcd5;color:#20201f!important;background:transparent!important;font:13px/1.4 Arial,Helvetica,sans-serif!important}
/* Informational documents retain their original body and form handlers. */
.ts-gallery-document{box-sizing:border-box;max-width:920px;width:calc(100% - 96px);margin:0 auto;padding:48px 0 64px;font:16px/1.75 Arial,Helvetica,sans-serif;overflow-wrap:anywhere;text-align:left}
.ts-gallery-document :is(.c950,.c585){box-sizing:border-box;width:100%!important;max-width:100%;margin:0!important;background:transparent!important}
.ts-gallery-document h1{font:400 clamp(40px,5vw,64px)/1.12 Georgia,'Times New Roman',serif!important;letter-spacing:-.04em;margin:0 0 36px!important;color:#20201f!important}
.ts-gallery-document :is(.c950,.c585)>div:has(>h1){padding:0!important;background:transparent!important;text-align:left!important}
.ts-gallery-document #pagina{padding:0!important;background:transparent!important}
.ts-gallery-document #pagina>ol{margin-left:20px!important;padding:0}
.ts-gallery-document #pagina>ol>li>ol{margin-left:18px!important;padding:0}
.ts-gallery-document h2{font:400 28px/1.3 Georgia,'Times New Roman',serif!important;margin:28px 0 14px;color:#20201f!important}
.ts-gallery-document h3{font:600 17px/1.5 Arial,Helvetica,sans-serif;margin:24px 0 12px}
.ts-gallery-document p{margin:0 0 20px}
.ts-gallery-document a{color:#8b4934!important;text-decoration:underline;text-underline-offset:3px}
.ts-gallery-document img{max-width:100%;height:auto}
.ts-gallery-document table{max-width:100%;box-sizing:border-box}
.ts-gallery-document :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),textarea,select){box-sizing:border-box;max-width:100%;font:16px/1.5 Arial,Helvetica,sans-serif;border:1px solid #b9b7ae;background:#fff;padding:10px 12px;border-radius:0;min-height:44px}
.ts-gallery-document :is(input[type=submit],button){background:#20201f!important;color:#fff!important;border:1px solid #20201f!important;box-shadow:none!important;cursor:pointer}
.ts-gallery-navigation{max-width:920px;width:calc(100% - 96px);margin:0 auto;box-sizing:border-box}
.ts-gallery-navigation #id-corpo{width:100%!important;max-width:100%;box-sizing:border-box;background:transparent!important;border-color:#dedcd5!important}
.ts-gallery-navigation #id-corpo>:is(.c950,.c585){width:100%!important;max-width:100%;box-sizing:border-box}
body:has(#ts-gallery-page[data-kind=catalog]) :is(.c950,.c585):has(.elem_menu),body:has(#ts-gallery-page[data-kind=designers]) :is(.c950,.c585):has(.elem_menu){width:calc(100% - 96px)!important;max-width:1180px!important;box-sizing:border-box;margin-inline:auto!important}
/* Designer tabs and original horizontal image strips. */
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers{max-width:1180px;width:calc(100% - 96px);margin:0 auto!important;box-sizing:border-box}
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers>div:not([id^=id-next]){background:transparent!important;border-top:1px solid #dedcd5;padding:24px 0!important;max-width:100%;box-sizing:border-box}
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers>div>ul{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;width:100%;box-sizing:border-box}
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers>div>ul>li{display:block!important;min-width:0;max-width:100%;padding:0!important}
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers>div>ul>li:first-child{margin-right:auto}
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers>div>ul a{display:flex;align-items:center;min-height:44px}
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers [role=button]{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer}
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers [id^=id-container-designer]{box-sizing:border-box;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain}
body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers .button_green{box-sizing:border-box;max-width:100%}
/* Search results stay within their panel; paging and close remain available. */
body:has(#ts-gallery-page) #id-ris_ricerca{box-sizing:border-box;max-width:1180px!important;width:calc(100% - 48px)!important;margin:20px auto!important;padding:20px!important;background:#f0ede5!important;border:1px solid #dedcd5;overflow:visible}
body:has(#ts-gallery-page) #id-ris_ricerca :is(.c950,.c585){width:100%!important;max-width:100%;box-sizing:border-box}
body:has(#ts-gallery-page) #id-ris_ricerca table,body:has(#ts-gallery-page) #id-ris_ricerca table>tbody{display:block;width:100%!important}
body:has(#ts-gallery-page) #id-ris_ricerca table>tbody>tr{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;width:100%}
body:has(#ts-gallery-page) #id-ris_ricerca table>tbody>tr>td{display:block;min-width:0;padding:0!important}
body:has(#ts-gallery-page) #id-ris_ricerca .class_elem_ricerca{box-sizing:border-box;width:100%!important;min-width:0;float:none!important;margin:0!important}
body:has(#ts-gallery-page) #id-ris_ricerca .class_elem_ricerca img{max-width:100%;width:100%;height:180px;object-fit:contain}
body:has(#ts-gallery-page) #id-ris_ricerca .text_button{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;background:#faf9f6;border:1px solid #d6d2c7;cursor:pointer}
body:has(#ts-gallery-page) #id-ris_ricerca [role=button]:not(.text_button){display:inline-flex;align-items:center;min-height:44px;padding-inline:4px;cursor:pointer}
@media(max-width:1000px){body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 body:has(#ts-gallery-page:is([data-kind=home],[data-kind=catalog],[data-kind=designers])) #id-corpo:has(.elem_menu){width:calc(100% - 48px)!important}
 body:has(#ts-gallery-page:is([data-kind=home],[data-kind=catalog],[data-kind=designers])) #id-corpo>div>ul>li:last-child{display:flow-root!important}
 body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella,body:has(#ts-gallery-page[data-kind=designers]) #id-list-designers{width:calc(100% - 48px);gap:30px 20px}
 body:has(#ts-gallery-page[data-kind=catalog]) .ts-gallery-intro,body:has(#ts-gallery-page[data-kind=designers]) .ts-gallery-intro{width:calc(100% - 48px);padding:32px 0}
 .ts-gallery-document{width:calc(100% - 48px);padding:36px 0 44px}
 .ts-gallery-document table{display:block;overflow-x:auto}
 .ts-gallery-document form table,.ts-gallery-document form tbody,.ts-gallery-document form tr,.ts-gallery-document form td{display:block;width:100%!important;max-width:100%;box-sizing:border-box;padding-left:0!important;padding-right:0!important}
 .ts-gallery-document form :is(input[type=text],input[type=email],textarea){width:100%!important}
 .ts-gallery-navigation{width:calc(100% - 48px)}
 .ts-gallery-navigation #id-corpo>div>table,.ts-gallery-navigation #id-corpo>div>table>tbody,.ts-gallery-navigation #id-corpo>div>table>tbody>tr{display:block;width:100%}
 .ts-gallery-navigation #id-corpo>div>table>tbody>tr>td{display:block;width:100%;box-sizing:border-box;padding:0}
 .ts-gallery-navigation #id-corpo>div>table>tbody>tr>td:first-child{overflow-x:auto}
 .ts-gallery-navigation #id-corpo>div>table>tbody>tr>td:first-child>table{width:max-content}
 .ts-gallery-navigation #id-corpo>div>table>tbody>tr>td:last-child{display:flow-root}
 body:has(#ts-gallery-page) #id-ris_ricerca table>tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body:has(#ts-gallery-page) #id-ris_ricerca{padding:14px!important}
 /* Both legacy navbar branches keep their actions; long menu scrolls inside. */
 body:has(#ts-gallery-page[data-kind=catalog]) :is(.c950,.c585):has(.elem_menu),body:has(#ts-gallery-page[data-kind=designers]) :is(.c950,.c585):has(.elem_menu){width:calc(100% - 48px)!important;max-width:100%;box-sizing:border-box}
 body:has(#ts-gallery-page[data-kind=catalog]) :is(.c950,.c585)>ul:has(.elem_menu),body:has(#ts-gallery-page[data-kind=designers]) :is(.c950,.c585)>ul:has(.elem_menu){display:block!important;max-width:100%}
 body:has(#ts-gallery-page[data-kind=catalog]) :is(.c950,.c585)>ul:has(.elem_menu)>li,body:has(#ts-gallery-page[data-kind=designers]) :is(.c950,.c585)>ul:has(.elem_menu)>li{display:block!important;width:100%!important;max-width:100%;box-sizing:border-box}
 body:has(#ts-gallery-page[data-kind=catalog]) :is(.c950,.c585)>ul:has(.elem_menu)>li:first-child,body:has(#ts-gallery-page[data-kind=designers]) :is(.c950,.c585)>ul:has(.elem_menu)>li:first-child{display:flex!important;align-items:center}
 body:has(#ts-gallery-page[data-kind=catalog]) :is(.c950,.c585)>ul:has(.elem_menu)>li:first-child>ul,body:has(#ts-gallery-page[data-kind=designers]) :is(.c950,.c585)>ul:has(.elem_menu)>li:first-child>ul{display:flex;min-width:0;flex:1;overflow-x:auto;white-space:nowrap}
}
@media(max-width:480px){body:has(#ts-gallery-page[data-kind=catalog]) #id-passarella{grid-template-columns:minmax(0,1fr)}.ts-gallery-document h1{font-size:40px!important}}

.ts-gallery-document :is(.c950,.c585)>div:has(>h2){padding:24px 0!important;background:transparent!important;text-align:left!important}

@media(max-width:760px){
 body:has(#ts-gallery-page) #id-div-feedback{box-sizing:border-box;width:100%!important;max-width:100%}
 body:has(#ts-gallery-page) #id-piede2>div>ul>li>ul{display:flex!important;flex-wrap:wrap;gap:20px;max-width:100%;box-sizing:border-box}
 body:has(#ts-gallery-page) #id-piede2>div>ul>li>ul>li{display:block!important;min-width:0;max-width:100%;padding:0!important;box-sizing:border-box}
}
