/* Réparation par modèle - pages of the website (works with the classic theme and its children) */
.teqm { --teqm-accent: #1f6feb; --teqm-border: #d8dde3; --teqm-muted: #5f6b76; --teqm-soft: #f5f7f9; }
.teqm-h2 { font-size: 1.35rem; margin: 1.5rem 0 .75rem; }
.teqm-h3 { font-size: 1.1rem; margin: 0 0 .75rem; }
.teqm-small { color: var(--teqm-muted); font-size: .9rem; }

.teqm-head { display: flex; gap: 1.25rem; align-items: center; margin-bottom: .5rem; }
.teqm-photo { flex: 0 0 auto; width: 120px; display: flex; justify-content: center; }
.teqm-photo img { max-width: 120px; height: auto; }
.teqm-photo-icon { color: var(--teqm-muted); display: inline-flex; }
.teqm-photo-icon svg { width: 72px; height: 72px; }
.teqm-head h1 { font-size: 1.75rem; margin: 0 0 .25rem; }
.teqm-refs { color: var(--teqm-muted); font-size: .9rem; margin: 0 0 .5rem; }
.teqm-intro { margin: 0 0 .5rem; }
.teqm-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.teqm-trust li { background: var(--teqm-soft); border-radius: 1rem; padding: .2rem .7rem; font-size: .85rem; }

.teqm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .75rem; }
.teqm-card { border: 1px solid var(--teqm-border); border-radius: .75rem; background: #fff; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.teqm-card:hover { border-color: #9aa5b1; }
.teqm-card.on { border-color: var(--teqm-accent); box-shadow: 0 0 0 2px rgba(31, 111, 235, .2); }
.teqm-card-main { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; text-align: left; background: none; border: 0; padding: .9rem 1rem .6rem; cursor: pointer; color: inherit; width: 100%; flex: 1; }
.teqm-icon { color: var(--teqm-accent); display: inline-flex; margin-bottom: .2rem; }
.teqm-check { position: absolute; top: .8rem; right: .8rem; width: 1.3rem; height: 1.3rem; border: 1.5px solid var(--teqm-border); border-radius: 50%; }
.teqm-card.on .teqm-check { background: var(--teqm-accent); border-color: var(--teqm-accent); }
.teqm-card.on .teqm-check::after { content: ""; position: absolute; left: .38rem; top: .17rem; width: .35rem; height: .65rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.teqm-name { font-weight: 600; font-size: 1.02rem; }
.teqm-desc { color: var(--teqm-muted); font-size: .82rem; line-height: 1.3; }
.teqm-price { font-size: 1.3rem; font-weight: 700; margin-top: .3rem; }
.teqm-onquote .teqm-price { font-size: 1.05rem; color: var(--teqm-muted); }
.teqm-meta { color: var(--teqm-muted); font-size: .8rem; }
.teqm-tiers { display: flex; gap: .3rem; padding: 0 .75rem; flex-wrap: wrap; }
.teqm-tier { flex: 1 1 0; min-width: 60px; border: 1px solid var(--teqm-border); background: #fff; border-radius: .4rem; padding: .25rem .3rem; font-size: .8rem; line-height: 1.2; cursor: pointer; color: inherit; }
.teqm-tier small { display: block; color: var(--teqm-muted); font-size: .75rem; }
.teqm-tier.on { border-color: var(--teqm-accent); background: rgba(31, 111, 235, .08); color: var(--teqm-accent); font-weight: 600; }
.teqm-tier-text { color: var(--teqm-muted); font-size: .78rem; margin: .35rem .9rem .7rem; min-height: 1em; }

.teqm-box { border: 1px solid var(--teqm-border); border-radius: .75rem; padding: 1rem 1.25rem; background: #fff; margin-top: 1rem; }
.teqm-acc { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; margin: 0; cursor: pointer; font-weight: normal; }
.teqm-acc img { border-radius: .3rem; object-fit: cover; }
.teqm-acc-name { flex: 1; }
.teqm-acc-price { color: var(--teqm-muted); white-space: nowrap; }

.teqm-offer { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 0; padding: .7rem 1rem; border: 1px dashed #1a7f37; border-radius: .75rem; background: #e6f4ea; color: #14602a; font-weight: 600; }
.teqm-refurb { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.teqm-offer-icon { display: inline-flex; flex: 0 0 auto; }
.teqm-summary { position: sticky; bottom: 0; z-index: 20; margin-top: 1rem; background: #fff; border: 1px solid var(--teqm-border); border-radius: .75rem; padding: .9rem 1.1rem; box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.teqm-summary-text { flex: 1 1 240px; display: flex; flex-direction: column; }
.teqm-summary-list { color: var(--teqm-muted); font-size: .88rem; }
.teqm-total { font-size: 1.5rem; }
.teqm-discount { font-size: .85rem; color: #1a7f37; }
.teqm-trust li.teqm-promo { background: #e6f4ea; color: #1a7f37; font-weight: 600; }
.teqm-summary-note { font-size: .8rem; color: var(--teqm-muted); }
.teqm-actions { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: .5rem; flex: 1 1 340px; }
.teqm-actions .btn { white-space: normal; }
.teqm-actions [disabled] { opacity: .5; }
.teqm-error { flex-basis: 100%; margin: 0; color: #b42318; font-size: .9rem; }

.teqm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 1rem; }
.teqm-hours { font-size: .9rem; }
#teqm-shop.flash { box-shadow: 0 0 0 3px rgba(31, 111, 235, .35); }
.teqm-reviews blockquote { margin: .6rem 0; padding: 0 0 0 .75rem; border-left: 3px solid var(--teqm-border); font-size: .9rem; }
.teqm-reviews footer { color: var(--teqm-muted); font-size: .8rem; }
.teqm-stars { color: #e3a008; display: block; letter-spacing: 1px; }
.teqm-faq { margin-top: 1.5rem; }
.teqm-faq details { border-bottom: 1px solid var(--teqm-border); padding: .6rem 0; }
.teqm-faq summary { cursor: pointer; font-weight: 600; }
.teqm-faq p { margin: .5rem 0 0; }
.teqm-others { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.teqm-others .teqm-h3 { flex-basis: 100%; }
.teqm-others a { border: 1px solid var(--teqm-border); border-radius: 1rem; padding: .2rem .75rem; font-size: .88rem; }

.teqm-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin: .5rem 0 1.5rem; }
.teqm-type { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.4rem 1rem; border: 1px solid var(--teqm-border); border-radius: .75rem; background: #fff; color: inherit; text-align: center; transition: border-color .15s, box-shadow .15s; }
.teqm-type:hover { border-color: var(--teqm-accent); box-shadow: 0 0 0 2px rgba(31, 111, 235, .15); text-decoration: none; color: inherit; }
.teqm-type-icon { color: var(--teqm-accent); display: inline-flex; }
.teqm-type-name { font-weight: 600; font-size: 1.15rem; }
.teqm-type-info { color: var(--teqm-muted); font-size: .85rem; }
.teqm-brands { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.teqm-brands .teqm-type { padding: 1.1rem .75rem; }
.teqm-types-compact { margin: .75rem 0 0; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; }
.teqm-types-compact .teqm-type { padding: .7rem .5rem; flex-direction: row; justify-content: center; gap: .5rem; }
.teqm-types-compact .teqm-type-name { font-size: 1rem; }
.teqm-types-compact svg { width: 24px; height: 24px; }
.teqm-type-empty .teqm-price { font-size: 1.2rem; }
.teqm-filter { max-width: 380px; margin-bottom: 1rem; }
.teqm-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.teqm-model { display: flex; flex-direction: column; align-items: center; gap: .4rem; border: 1px solid var(--teqm-border); border-radius: .6rem; padding: .75rem .5rem; text-align: center; color: inherit; background: #fff; }
.teqm-model:hover { border-color: var(--teqm-accent); text-decoration: none; }
.teqm-model img { max-height: 80px; width: auto; }
.teqm-model-icon { width: 30px; height: 50px; border: 2px solid #9aa5b1; border-radius: 6px; }

@media (max-width: 575px) {
  .teqm-head { flex-direction: column; align-items: flex-start; }
  .teqm-photo { width: auto; }
  .teqm-head h1 { font-size: 1.4rem; }
  .teqm-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .teqm-card-main { padding: .7rem .7rem .5rem; }
  .teqm-tiers { padding: 0 .5rem; }
  .teqm-tier-text { margin: .3rem .6rem .6rem; }
  .teqm-summary { padding: .7rem .8rem; border-radius: .75rem .75rem 0 0; }
  .teqm-actions { grid-template-columns: 1fr 1fr; flex-basis: 100%; }
}
.teqm-avail { font-size: .8rem; font-weight: 600; color: #1a7f37; }
.teqm-avail::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; margin-right: .35rem; vertical-align: .05rem; }
.teqm-avail-order { color: #9a6700; }
