/* Selectors stay inside the existing plugin containers; plugin data and forms remain untouched. */
body.tifam-one .tifam-native-shop{max-width:min(1180px,calc(100vw - 24px));--forest:var(--one-accent);--ink:var(--one-ink)}
body.tifam-one .tifam-native-shop .tifam-shop-grid{grid-template-columns:repeat(var(--one-columns),minmax(0,1fr))}
body.tifam-one .tifam-native-shop .tifam-shop-card{min-width:0}
body.tifam-one .tifam-native-shop :is(button,input,select,textarea,a):focus-visible,body.tifam-one .tifam-trail :is(button,input,select,textarea,a):focus-visible{outline:3px solid #b58a32;outline-offset:3px}
body.tifam-one .tifam-trail{max-width:min(1180px,calc(100vw - 24px));--forest:var(--one-accent)}
body.tifam-one .tifam-trail .tifam-trail-hero :is(h2,p,span,a),body.tifam-one .tifam-trail .tifam-trail-hero-facts span{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.tifam-one .tifam-trail .tifam-trail-hero :is(em,strong){color:#f3d995!important;-webkit-text-fill-color:#f3d995!important}
body.tifam-one-shop-premium .tifam-native-shop .tifam-shop-card{background:#fffdf7;border-color:#d9ceb8;border-radius:4px;box-shadow:0 12px 35px #5b42251c}
body.tifam-one-shop-premium .tifam-newsagent .tifam-shop-card>a:first-child{background:#f8f3e9}
body.tifam-one-shop-editorial .tifam-native-shop .tifam-shop-card{border-radius:0;box-shadow:none;border-width:0 0 2px;border-color:#1a2930;padding:8px 0 18px}
body.tifam-one-shop-editorial .tifam-newsagent .tifam-shop-card>a:first-child{border-radius:0}
body.tifam-one-shop-compact .tifam-native-shop .tifam-shop-card{padding:10px;box-shadow:none;border-radius:5px}
body.tifam-one-shop-compact .tifam-newsagent .tifam-shop-card>a:first-child{min-height:145px}
body.tifam-one-shop-compact .tifam-newsagent .tifam-shop-card>a:first-child img{max-height:150px}
body.tifam-one-shop-covers .tifam-newsagent .tifam-shop-card>a:first-child{background:#edf0ed;min-height:310px}
body.tifam-one-shop-covers .tifam-newsagent .tifam-shop-card>a:first-child img{max-height:300px;object-fit:contain}
body.tifam-one-shop-dark .tifam-newsagent{color:#e7ece9}
body.tifam-one-shop-dark .tifam-newsagent :is(.tifam-shop-card,.tifam-shop-filter,.tifam-newsagent-highlight,.tifam-newsagent-letter){background:#202d33;color:#e7ece9;border-color:#405052}
body.tifam-one-shop-dark .tifam-newsagent :is(h2,h3,p,a,small,strong){color:#e7ece9}
body.tifam-one-shop-dark .tifam-newsagent .tifam-shop-card>a:first-child{background:#314147}
body.tifam-one-shop-dark .tifam-newsagent input,body.tifam-one-shop-dark .tifam-newsagent select{background:#fff;color:#17212b}
body.tifam-one-shop-bookshop .tifam-native-shop .tifam-shop-card{border-color:transparent;border-radius:0;box-shadow:none;background:transparent;text-align:center}
body.tifam-one-shop-bookshop .tifam-newsagent .tifam-shop-card>a:first-child{background:#f2efe8}
body.tifam-one-shop-bookshop .tifam-newsagent .tifam-shop-card h3{font-size:1.3rem}
@media(max-width:920px){body.tifam-one .tifam-native-shop .tifam-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body.tifam-one .tifam-native-shop .tifam-shop-grid{grid-template-columns:1fr}body.tifam-one .tifam-native-shop{padding-inline:12px}body.tifam-one .tifam-trail{width:calc(100vw - 24px)}body.tifam-one .tifam-trail .tifam-trail-grid{grid-template-columns:1fr}body.tifam-one.tifam-one-has-portal .wp-block-post-content{min-width:0;overflow-wrap:anywhere}}
/* Phone and tablet adjustments are scoped to the corresponding existing plugin. */
@media(max-width:800px){
 body.tifam-one .tifam-native-shop :is(.tifam-shop-grid,.tifam-shop-card,.tifam-shop-checkout,.tifam-shop-cart){min-width:0;max-width:100%}
 body.tifam-one .tifam-native-shop :is(.tifam-shop-cart,.tifam-shop-orders,.tifam-shop-table){overflow-x:auto;-webkit-overflow-scrolling:touch}
 body.tifam-one .tifam-trail :is(.tifam-trail-grid,.tifam-trail-form,.tifam-trail-card){min-width:0;max-width:100%}
}
@media(max-width:620px){
 body.tifam-one .tifam-native-shop,body.tifam-one .tifam-trail{width:100%;max-width:100%;box-sizing:border-box}
 body.tifam-one .tifam-native-shop :is(input,select,textarea),body.tifam-one .tifam-trail :is(input,select,textarea){max-width:100%;box-sizing:border-box}
 body.tifam-one .tifam-native-shop :is(button,.button),body.tifam-one .tifam-trail :is(button,.button){min-height:44px}
 body.tifam-one.tifam-one-has-portal .wp-block-post-content>*{max-width:100%;min-width:0}
}
