/* 1.9.1 – Template WooCommerce indipendente dal tema Vonaco.
   Stili limitati a questa vista: non interferiscono con checkout/carrello. */
html:has(body.mtt-shop-standalone){background:#eee8df}
body.mtt-shop-standalone{margin:0!important;padding:0!important;background:#eee8df!important;color:#211b16!important;min-width:320px}
body.mtt-shop-standalone #mtt-shop-app{display:block!important;width:100%!important;max-width:none!important;min-height:50vh;margin:0!important;padding:0!important;background:#eee8df!important;overflow:clip;color:#211b16!important}
#mtt-shop-app,#mtt-shop-app *{box-sizing:border-box}
#mtt-shop-app .mtt-shop-shell{width:min(1240px,calc(100% - 72px));max-width:1240px;margin:0 auto}
#mtt-shop-app .mtt-shop-hero{background:#191613!important;color:#fff!important;padding:94px 0 88px;text-align:center;margin:0;border:0;position:relative}
#mtt-shop-app .mtt-shop-kicker{font:700 11px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:.22em;color:#d8b78e!important;margin:0 0 20px}
#mtt-shop-app .mtt-shop-hero h1{font:400 clamp(46px,5.6vw,84px)/1.05 Georgia,'Times New Roman',serif!important;letter-spacing:-.04em;color:#fff!important;margin:0 0 21px!important;text-transform:none}
#mtt-shop-app .mtt-shop-description{font:400 16px/1.7 Arial,Helvetica,sans-serif;color:#d6cdc4!important;max-width:680px;margin:0 auto}
#mtt-shop-app .mtt-shop-description p{color:inherit!important;margin:0 0 8px}
#mtt-shop-app .mtt-shop-catalog{padding:70px 0 105px;background:#eee8df!important}
#mtt-shop-app .mtt-shop-taxonomy{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:10px 12px;width:100%!important;max-width:none!important;padding:0 0 32px;margin:0 0 26px!important;border-bottom:1px solid #d9cec2}
#mtt-shop-app .mtt-shop-taxonomy-link{display:inline-flex;align-items:center;text-decoration:none!important;white-space:normal;min-height:40px;padding:9px 15px;background:transparent!important;color:#2a231d!important;border:1px solid #cbbfb2;font:700 11px/1.35 Arial,Helvetica,sans-serif!important;letter-spacing:.035em;text-transform:uppercase;transition:background .2s,color .2s}
#mtt-shop-app .mtt-shop-taxonomy-link:hover,#mtt-shop-app .mtt-shop-taxonomy-link.is-selected{background:#221b16!important;color:#fff!important;border-color:#221b16!important}
#mtt-shop-app .mtt-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 28px}
#mtt-shop-app .mtt-shop-results{margin:0;color:#705c4a!important;font:400 13px/1.5 Arial,Helvetica,sans-serif!important}
#mtt-shop-app .mtt-shop-order,.mtt-shop-standalone #mtt-shop-app .woocommerce-ordering{float:none!important;width:auto!important;margin:0!important;padding:0!important}
#mtt-shop-app .mtt-shop-order select{min-height:44px;border:1px solid #c7b8a8;background:#fffdf9!important;color:#241d17!important;max-width:100%;font-size:13px;border-radius:0;padding:8px 14px}
#mtt-shop-app .mtt-shop-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:27px;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;align-items:stretch}
#mtt-shop-app .mtt-shop-card{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;height:100%!important;padding:0!important;margin:0!important;background:#fffdfa!important;border:1px solid #dcd1c5;overflow:hidden;float:none!important;box-shadow:0 1px 1px rgba(42,28,17,.03)}
#mtt-shop-app .mtt-shop-card-photo{display:block;position:relative;aspect-ratio:4/3;background:#efe7dc;overflow:hidden;line-height:0}
#mtt-shop-app .mtt-shop-card-photo img{display:block;width:100%!important;max-width:none!important;height:100%!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;filter:none!important;transition:transform .2s}
#mtt-shop-app .mtt-shop-card:hover .mtt-shop-card-photo img{transform:scale(1.035)}
#mtt-shop-app .mtt-shop-sale{position:absolute;top:13px;left:13px;z-index:1;background:#24201d!important;color:#fff!important;padding:8px 11px;font:700 10px/1 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase}
#mtt-shop-app .mtt-shop-card-info{display:flex;flex-direction:column;align-items:flex-start;gap:0;flex:1;min-width:0;padding:22px 23px 25px}
#mtt-shop-app .mtt-shop-card h2{font:400 clamp(20px,1.8vw,26px)/1.2 Georgia,'Times New Roman',serif!important;color:#211b16!important;letter-spacing:-.02em;margin:0 0 15px!important;padding:0!important;word-wrap:break-word;overflow-wrap:anywhere}
#mtt-shop-app .mtt-shop-card h2 a{color:#211b16!important;text-decoration:none!important}
#mtt-shop-app .mtt-shop-card h2 a:hover{color:#9b6c45!important}
#mtt-shop-app .mtt-shop-price{font:700 17px/1.4 Arial,Helvetica,sans-serif!important;color:#875f3d!important;margin:0 0 23px!important}
#mtt-shop-app .mtt-shop-price :is(span,bdi,ins){color:inherit!important}
#mtt-shop-app .mtt-shop-price del{opacity:.58;margin-right:8px}
#mtt-shop-app .mtt-shop-buy{display:inline-flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:45px;margin-top:auto;padding:13px 16px;background:#211b17!important;color:#fff!important;border:1px solid #211b17;text-decoration:none!important;text-transform:uppercase;font:700 10px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:.09em;white-space:normal}
#mtt-shop-app .mtt-shop-buy:hover{background:#956a46!important;border-color:#956a46!important;color:#fff!important}
#mtt-shop-app .mtt-shop-buy span{font-size:18px;line-height:1}
#mtt-shop-app .mtt-shop-pagination{margin:45px 0 0;padding:0}
#mtt-shop-app .mtt-shop-pagination ul{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:0!important;padding:0!important;list-style:none!important}
#mtt-shop-app .mtt-shop-pagination li{display:block;list-style:none;padding:0!important;margin:0!important}
#mtt-shop-app .mtt-shop-pagination a,#mtt-shop-app .mtt-shop-pagination span{display:block;min-width:43px;padding:11px 15px;text-align:center;color:#211b16!important;background:#fffdfa!important;text-decoration:none!important;border:1px solid #d7c8b7}
#mtt-shop-app .mtt-shop-pagination .current{color:#fff!important;background:#211b16!important;border-color:#211b16}
#mtt-shop-app .mtt-shop-empty{padding:60px 25px;background:#fffefa;text-align:center}
#mtt-shop-app .mtt-shop-empty h2{font:400 30px/1.3 Georgia,serif;color:#211b16}
#mtt-shop-app .mtt-shop-empty p{color:#645649}
#mtt-shop-app .mtt-shop-empty a{color:#754d31}
.mtt-shop-standalone .mtt-shop-skip{position:absolute;top:-110px;left:16px;z-index:99999;background:#fff;color:#222;padding:10px 14px}
.mtt-shop-standalone .mtt-shop-skip:focus{top:10px}
#mtt-shop-app :is(a,select):focus-visible{outline:3px solid #a67545!important;outline-offset:3px}
/* Il footer esiste fuori dal contenitore del catalogo ed è sempre su larghezza piena. */
body.mtt-shop-standalone .mtt-home-footer{display:block!important;position:relative!important;clear:both!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important}
body.mtt-shop-standalone .mtt-home-footer .mtt-footer-main{display:grid!important;width:min(1216px,calc(100% - 72px))!important;max-width:1216px!important;margin-inline:auto!important;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(28px,5vw,70px)!important}
body.mtt-shop-standalone .mtt-home-footer .mtt-footer-main>*{width:auto!important;min-width:0!important;float:none!important;max-width:none!important;writing-mode:horizontal-tb!important}
@media(max-width:1000px){#mtt-shop-app .mtt-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:800px){body.mtt-shop-standalone .mtt-home-footer .mtt-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.mtt-shop-standalone .mtt-home-footer .mtt-footer-identity{grid-column:1 / -1}}
@media(max-width:620px){#mtt-shop-app .mtt-shop-shell{width:calc(100% - 30px)}#mtt-shop-app .mtt-shop-hero{padding:65px 0 62px}#mtt-shop-app .mtt-shop-hero h1{font-size:clamp(42px,10vw,61px)!important}#mtt-shop-app .mtt-shop-catalog{padding:40px 0 60px}#mtt-shop-app .mtt-shop-grid{gap:12px!important}#mtt-shop-app .mtt-shop-card-photo{aspect-ratio:1/1}#mtt-shop-app .mtt-shop-card-info{padding:14px 12px 17px}#mtt-shop-app .mtt-shop-card h2{font-size:18px!important}#mtt-shop-app .mtt-shop-price{font-size:14px!important;margin-bottom:14px!important}#mtt-shop-app .mtt-shop-buy{width:100%;font-size:10px!important;letter-spacing:0;padding:10px!important;min-height:46px}#mtt-shop-app .mtt-shop-taxonomy{gap:7px}#mtt-shop-app .mtt-shop-taxonomy-link{font-size:10px!important;padding:8px 10px}body.mtt-shop-standalone .mtt-home-footer .mtt-footer-main{grid-template-columns:minmax(0,1fr)!important;width:calc(100% - 36px)!important}body.mtt-shop-standalone .mtt-home-footer .mtt-footer-identity{grid-column:auto}}

/* 1.10.0 — Selettore compatto su smartphone, categorie desktop intatte. */
#mtt-shop-app .mtt-shop-mobile-categories{display:none}
@media (max-width:767px){
  #mtt-shop-app .mtt-shop-mobile-categories{
    display:block!important;
    padding:0 0 20px;
    margin:0 0 18px;
    border-bottom:1px solid #d9cec2;
  }
  #mtt-shop-app .mtt-shop-mobile-categories label{
    display:block!important;
    margin:0 0 10px;
    font:700 11px/1.35 Arial,Helvetica,sans-serif!important;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#6a5848!important;
  }
  #mtt-shop-app .mtt-shop-mobile-categories select{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:50px!important;
    padding:12px 43px 12px 15px!important;
    border:1px solid #bfae9b!important;
    border-radius:0!important;
    background-color:#fffdfa!important;
    color:#241d17!important;
    font:600 14px/1.45 Arial,Helvetica,sans-serif!important;
    letter-spacing:0!important;
    box-shadow:none!important;
    cursor:pointer;
  }
  #mtt-shop-app .mtt-shop-mobile-categories + .mtt-shop-taxonomy{display:none!important}
  #mtt-shop-app .mtt-shop-toolbar{gap:10px;align-items:center;margin-bottom:20px}
  #mtt-shop-app .mtt-shop-order select{width:100%;max-width:100%;min-height:45px}
}
