/* CM4 R54 2026-11-20: uniform category captions; composition above purchase/price; preserve full photos and excluded duplicates. */
/* CM4 R35: ONLY already checked complete-composition category tiles. */
.cm22-category-tile .cm22-category-price.cm-r35-dual {
display:grid!important;grid-template-columns:minmax(112px,35%) minmax(0,65%)!important;
gap:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;
align-items:stretch!important;justify-content:initial!important;background:#fff!important;
white-space:normal!important;overflow:hidden!important;text-align:center!important;
}
.cm22-category-tile .cm-r35-dual a {box-sizing:border-box!important;text-decoration:none!important;color:#312a23!important;}
.cm22-category-tile .cm-r35-model{
display:flex!important;align-items:center!important;justify-content:center!important;
gap:5px!important;padding:9px!important;font-size:14px!important;line-height:1.3!important;
border-right:1px solid #d6cdc0!important;text-align:center!important;min-width:0!important;
}
.cm22-category-tile .cm-r35-complete{
display:flex!important;align-items:center!important;justify-content:center!important;
flex-direction:column!important;gap:4px!important;text-align:center!important;padding:8px 10px!important;
min-width:0!important;line-height:1.3!important;
}
.cm22-category-tile .cm-r35-included{font-size:14px!important;line-height:1.3!important;font-weight:400!important;}
.cm22-category-tile .cm-r35-buy{font-size:14px!important;font-weight:500!important;line-height:1.3!important;}
.cm22-category-tile .cm-r35-buy strong{font-size:14px!important;font-weight:500!important;white-space:nowrap!important;}
.cm22-category-tile .cm-r35-dual a:hover{background:#f2ede5!important;}
.cm22-category-tile .cm-r35-dual a:focus-visible{outline:2px solid #9f8667!important;outline-offset:-3px!important;}
@media(max-width:640px){
 .cm22-category-tile .cm22-category-price.cm-r35-dual{grid-template-columns:minmax(103px,34%) minmax(0,66%)!important;min-height:0!important;}
 .cm22-category-tile .cm-r35-model{font-size:14px!important;padding:7px!important}
 .cm22-category-tile .cm-r35-complete{padding:7px!important;gap:3px!important}
 .cm22-category-tile .cm-r35-included{font-size:14px!important}
 .cm22-category-tile .cm-r35-buy{font-size:14px!important}
 .cm22-category-tile .cm-r35-buy strong{font-size:14px!important}
}


/* R37 — miniature categoria: foto completa; fascia prezzi soltanto SOTTO l'immagine.
   Regola comune per Schlafzimmer/Wohnzimmer/Esszimmer/Sofas, modern e klassisch, DE/IT/RU. */
html.cm-r26 body main #imContent .cm22-category-tile,
html.cm-r26 body main .cm-category-filtered-grid > .cm22-category-tile{
  display:flex!important;flex-direction:column!important;
  min-height:0!important;height:auto!important;max-height:none!important;
  align-self:stretch!important;box-sizing:border-box!important;
}
html.cm-r26 body main #imContent .cm22-category-tile .cm-category-media,
html.cm-r26 body main .cm22-category-tile .cm-category-media{
  display:block!important;position:relative!important;width:100%!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:1024 / 600!important;overflow:hidden!important;
  margin:0!important;padding:0!important;flex:0 0 auto!important;
}
html.cm-r26 body main #imContent .cm22-category-tile .cm-category-media img,
html.cm-r26 body main .cm22-category-tile .cm-category-media img{
  object-fit:contain!important;object-position:center!important;
  transform:none!important;max-height:none!important;
}
html.cm-r26 body main #imContent .cm22-category-tile > .cm22-category-price,
html.cm-r26 body main .cm22-category-tile > .cm22-category-price{
  position:static!important;inset:auto!important;bottom:auto!important;
  transform:none!important;float:none!important;z-index:auto!important;
  margin:0!important;margin-top:0!important;flex:1 0 auto!important;
  height:auto!important;max-height:none!important;
  box-sizing:border-box!important;
}
html.cm-r26 body main #imContent .cm22-category-tile > .cm22-category-price.cm-r35-dual,
html.cm-r26 body main .cm22-category-tile > .cm22-category-price.cm-r35-dual,
html.cm-r26 body main #imContent .cm22-category-tile > .cm22-category-price.cm-r32-dual,
html.cm-r26 body main .cm22-category-tile > .cm22-category-price.cm-r32-dual{
  display:grid!important;grid-template-columns:minmax(100px,35%) minmax(0,65%)!important;
  min-height:0!important;height:auto!important;max-height:none!important;
  margin:0!important;padding:0!important;gap:0!important;
  white-space:normal!important;overflow:visible!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
}
html.cm-r26 body main .cm22-category-tile .cm-r35-model,
html.cm-r26 body main .cm22-category-tile .cm-r32-choice{
  display:flex!important;min-height:0!important;
  align-items:center!important;justify-content:center!important;
  padding:8px 10px!important;gap:0!important;
  font:500 14px/1.25 "Segoe UI",Arial,sans-serif!important;
  text-align:center!important;min-width:0!important;
  border-right:1px solid #d6cdc0!important;
}
html.cm-r26 body main .cm22-category-tile .cm-r35-complete,
html.cm-r26 body main .cm22-category-tile .cm-r32-complete{
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  align-content:center!important;align-items:center!important;justify-content:center!important;
  padding:8px 10px!important;gap:4px!important;min-width:0!important;
  text-align:center!important;line-height:1.2!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
}
html.cm-r26 body main .cm22-category-tile .cm-r35-included,
html.cm-r26 body main .cm22-category-tile .cm-r32-includes{
  display:block!important;min-width:0!important;flex:0 0 auto!important;width:100%!important;
  padding:0!important;margin:0!important;
  font:500 14px/1.25 "Segoe UI",Arial,sans-serif!important;
}
html.cm-r26 body main .cm22-category-tile .cm-r35-buy,
html.cm-r26 body main .cm22-category-tile .cm-r32-buyline{
  display:block!important;flex:0 0 auto!important;width:100%!important;
  white-space:normal!important;margin:0!important;padding:0!important;
  font:500 14px/1.25 "Segoe UI",Arial,sans-serif!important;
}
html.cm-r26 body main .cm22-category-tile .cm-r35-buy strong,
html.cm-r26 body main .cm22-category-tile .cm-r32-buyline strong{
  font:500 14px/1.25 "Segoe UI",Arial,sans-serif!important;
  white-space:nowrap!important;
}
html.cm-r26 body main #imContent .cm22-category-tile > .cm22-category-price:not(.cm-r35-dual):not(.cm-r32-dual),
html.cm-r26 body main .cm22-category-tile > .cm22-category-price:not(.cm-r35-dual):not(.cm-r32-dual){
  min-height:0!important;max-height:none!important;padding:4px 7px!important;
  font:500 14px/1.25 "Segoe UI",Arial,sans-serif!important;
  text-align:center!important;white-space:normal!important;
}
@media(max-width:700px){
 html.cm-r26 body main .cm22-category-tile > .cm22-category-price.cm-r35-dual,
 html.cm-r26 body main .cm22-category-tile > .cm22-category-price.cm-r32-dual{min-height:0!important}
 html.cm-r26 body main .cm22-category-tile .cm-r35-model,
 html.cm-r26 body main .cm22-category-tile .cm-r32-choice{min-height:0!important;font-size:14px!important}
 html.cm-r26 body main .cm22-category-tile .cm-r35-included,
 html.cm-r26 body main .cm22-category-tile .cm-r32-includes{font-size:14px!important}
 html.cm-r26 body main .cm22-category-tile .cm-r35-buy,
 html.cm-r26 body main .cm22-category-tile .cm-r32-buyline{font-size:14px!important}
 html.cm-r26 body main .cm22-category-tile .cm-r35-buy strong,
 html.cm-r26 body main .cm22-category-tile .cm-r32-buyline strong{font-size:14px!important}
 html.cm-r26 body main .cm22-category-tile > .cm22-category-price:not(.cm-r35-dual):not(.cm-r32-dual){min-height:0!important}
}


 /* R37b: maggiore specificità SOLO per immagini delle categorie, senza tagliare il mobile. */
html.cm-r26 body main #imContent .cm22-category-tile .cm-category-media img:not(#cm-r37-never),
html.cm-r26 body main .cm22-category-tile .cm-category-media img:not(#cm-r37-never){
  object-fit:contain!important;object-position:center!important;transform:none!important;
}

/* R54: the image frame touches the caption; no inherited caption spacer. */
html.cm-r26 body main #imContent .cm22-category-tile > .cm22-category-price,
html.cm-r26 body main .cm22-category-tile > .cm22-category-price{
  min-height:0!important; margin-top:0!important;
}
html.cm-r26 body main .cm22-category-tile .cm-r35-model,
html.cm-r26 body main .cm22-category-tile .cm-r32-choice,
html.cm-r26 body main .cm22-category-tile .cm-r35-complete,
html.cm-r26 body main .cm22-category-tile .cm-r32-complete,
html.cm-r26 body main .cm22-category-tile .cm-r35-included,
html.cm-r26 body main .cm22-category-tile .cm-r32-includes,
html.cm-r26 body main .cm22-category-tile .cm-r35-buy,
html.cm-r26 body main .cm22-category-tile .cm-r32-buyline,
html.cm-r26 body main .cm22-category-tile .cm-r35-buy strong,
html.cm-r26 body main .cm22-category-tile .cm-r32-buyline strong{
  font:500 14px/1.25 "Segoe UI",Arial,sans-serif!important;
}
@media(max-width:700px){
 html.cm-r26 body main .cm22-category-tile .cm-r35-model,
 html.cm-r26 body main .cm22-category-tile .cm-r32-choice{padding:6px!important}
 html.cm-r26 body main .cm22-category-tile .cm-r35-complete,
 html.cm-r26 body main .cm22-category-tile .cm-r32-complete{padding:6px 8px!important}
}
/* Existing Camelgroup duplicates remain excluded. */
html.cm-r26 body main #imContent .cm22-category-tile.cm-camel-duplicate,
html.cm-r26 body main .cm22-category-tile.cm-camel-duplicate{
  display:none!important;
}
