/* ApexTrux equipment pages. Mobile first. Uses tokens from the child theme. */
.apx-eq{padding-bottom:var(--apx-section)}
.apx-crumbs{font-size:14px;color:var(--apx-muted);padding:16px 0}
.apx-crumbs a{color:var(--apx-orange-link);text-decoration:none;display:inline-block;min-height:24px}
.apx-crumbs a:focus-visible{text-decoration:underline}
@media(hover:hover){.apx-crumbs a:hover{text-decoration:underline}}

.apx-eq-top{display:grid;gap:28px;grid-template-columns:minmax(0,1fr)}
@media(min-width:1025px){.apx-eq-top{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px;align-items:start}.apx-eq-info{position:sticky;top:96px}}

.apx-eq-stage{background:var(--apx-light);border:1px solid var(--apx-border);border-radius:var(--apx-r-m);overflow:hidden;aspect-ratio:4/3}
.apx-eq-stage img{width:100%;height:100%;object-fit:cover;display:block}
.apx-ph{width:100%;height:100%;min-height:200px;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(135deg,#eef0f2,#eef0f2 14px,#e6e9ec 14px,#e6e9ec 28px);color:var(--apx-muted);font-weight:600;font-size:16px;text-align:center;padding:16px}
.apx-eq-thumbs{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.apx-eq-thumbs button{display:block;width:100%;padding:0;border:2px solid var(--apx-border);border-radius:var(--apx-r-s);background:#fff;cursor:pointer;overflow:hidden;aspect-ratio:4/3;transition:border-color .3s}
.apx-eq-thumbs button[aria-current=true]{border-color:var(--apx-orange)}
.apx-eq-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
@media(hover:hover){.apx-eq-thumbs button:hover{border-color:var(--apx-orange)}}
.apx-eq-note{font-size:14px;color:var(--apx-muted);margin:12px 0}

.apx-badge{display:inline-block;padding:4px 12px;border-radius:var(--apx-r-s);font-size:14px;font-weight:600;line-height:1.4;background:var(--apx-pale);color:var(--apx-charcoal)}
.apx-badge.is-in-stock{background:#E3F4E8;color:#14532D}
.apx-badge.is-sold{background:#E5E7EB;color:#374151}
.apx-badge.is-reserved{background:#FEF3C7;color:#78350F}
.apx-eq-brand{margin:12px 0 4px;font-weight:600;color:var(--apx-orange-link)}
.apx-eq-brand a{color:inherit;text-decoration:none}
.apx-eq-info h1{margin:0 0 12px}
.apx-eq-lead{font-size:18px;color:var(--apx-muted);margin:0 0 20px}
.apx-eq-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:0 0 24px;padding:16px 0;border-top:1px solid var(--apx-border);border-bottom:1px solid var(--apx-border)}
.apx-eq-meta dt{font-size:13px;color:var(--apx-muted);font-weight:500}
.apx-eq-meta dd{margin:0;font-weight:600}

.apx-keyspecs{list-style:none;margin:0 0 24px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.apx-keyspecs li{display:grid;grid-template-columns:28px 1fr;column-gap:10px;align-items:start;background:var(--apx-light);border-radius:var(--apx-r-m);padding:14px}
.apx-keyspecs .material-symbols-outlined{grid-row:span 2;color:var(--apx-orange-link)}
.apx-keyspecs-l{font-size:13px;color:var(--apx-muted)}
.apx-keyspecs-v{font-weight:600;line-height:1.3;overflow-wrap:anywhere}

.apx-actions{display:grid;gap:10px}
.apx-actions .apx-btn{justify-content:flex-start;width:100%;box-sizing:border-box}
.apx-actions .apx-btn:first-child{justify-content:center}

.apx-eq-sec{margin-top:56px}
@media(min-width:1025px){.apx-eq-sec{margin-top:80px}}
.apx-eq-sec h2{margin:0 0 24px}
.apx-eq-sec h3{margin:32px 0 12px}
.apx-spec-wrap{overflow-x:auto;border:1px solid var(--apx-border);border-radius:var(--apx-r-m)}
.apx-spec{width:100%;border-collapse:collapse;min-width:320px}
.apx-spec th,.apx-spec td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--apx-border);vertical-align:top}
.apx-spec tr:last-child th,.apx-spec tr:last-child td{border-bottom:0}
.apx-spec th{width:42%;background:var(--apx-light);font-weight:600;color:var(--apx-ink)}
.apx-spec td.is-empty{color:var(--apx-muted);font-style:italic}
.apx-source{font-size:14px;color:var(--apx-muted);margin-top:16px}
.apx-source a{color:var(--apx-orange-link)}

.apx-chips{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.apx-chips a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid var(--apx-border);border-radius:var(--apx-r-s);color:var(--apx-ink);text-decoration:none;font-weight:500;background:#fff;transition:background-color .3s,border-color .3s}
.apx-chips a:focus-visible{background:var(--apx-pale);border-color:#F6B98C}
@media(hover:hover){.apx-chips a:hover{background:var(--apx-pale);border-color:#F6B98C;color:var(--apx-charcoal)}}
.apx-docs{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.apx-docs a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--apx-orange-link);font-weight:600}
.apx-docs span:not(.material-symbols-outlined){color:var(--apx-muted);font-size:14px}

.apx-eq-panels{display:grid;gap:var(--apx-gap);grid-template-columns:1fr}
@media(min-width:768px){.apx-eq-panels{grid-template-columns:1fr 1fr}}
.apx-eq-panels h2{font-size:30px;margin-bottom:12px}
.apx-eq-panels .apx-btn{margin-top:8px}
.apx-faq{border:1px solid var(--apx-border);border-radius:var(--apx-r-m);padding:0 20px;margin-bottom:12px;background:#fff}
.apx-faq summary{cursor:pointer;font-weight:600;padding:16px 0;min-height:24px}
.apx-faq p{margin:0 0 16px}

.apx-eq-grid{display:grid;gap:var(--apx-gap);grid-template-columns:1fr}
@media(min-width:700px){.apx-eq-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1025px){.apx-eq-grid{grid-template-columns:repeat(3,1fr)}}
.apx-eq-card{background:#fff;border:1px solid var(--apx-border);border-radius:var(--apx-r-m);overflow:hidden;display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s,border-color .3s}
@media(hover:hover){.apx-eq-card:hover{transform:translateY(-6px);box-shadow:0 14px 30px rgba(19,23,27,.1);border-color:#F6B98C}}
.apx-eq-card-img{display:block;aspect-ratio:16/10;background:var(--apx-light);overflow:hidden}
.apx-eq-card-img img,.apx-eq-card-img .apx-ph{width:100%;height:100%;object-fit:cover;display:block;min-height:0}
.apx-eq-card-body{padding:24px;display:flex;flex-direction:column;flex:1}
.apx-eq-card-body .apx-eq-brand{margin:12px 0 2px}
.apx-eq-card h3{margin:0 0 12px;font-size:28px}
.apx-eq-card h3 a{color:var(--apx-ink);text-decoration:none}
.apx-eq-card h3 a:focus-visible{text-decoration:underline}
.apx-eq-card-specs{list-style:none;margin:0 0 20px;padding:0;font-size:15px;color:var(--apx-ink)}
.apx-eq-card-specs li{padding:4px 0;border-bottom:1px solid var(--apx-border)}
.apx-eq-card-specs span{color:var(--apx-muted);margin-right:6px}
.apx-eq-card-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}
.apx-eq-card-cta .apx-btn{flex:1 1 auto;min-height:44px;padding:10px 16px}
.apx-eq-head{margin-bottom:24px}
.apx-eq-head h1{margin:0 0 12px}
.apx-eq-head p{max-width:70ch;color:var(--apx-muted);font-size:18px;margin:0}
.apx-pager{margin-top:40px}
.apx-pager .page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border:1px solid var(--apx-border);border-radius:var(--apx-r-s);margin-right:6px;color:var(--apx-ink);text-decoration:none}
.apx-pager .current{background:var(--apx-charcoal);color:#fff;border-color:var(--apx-charcoal)}

.apx-eq-cta{margin-top:56px;background:var(--apx-orange);border-radius:var(--apx-r-l);padding:40px 24px;color:var(--apx-charcoal)}
@media(min-width:1025px){.apx-eq-cta{margin-top:80px;padding:64px}}
.apx-eq-cta h2{color:var(--apx-charcoal);margin:0 0 12px}
.apx-eq-cta p{max-width:60ch;margin:0 0 20px;color:var(--apx-charcoal)}
.apx-eq-cta-btns{display:flex;flex-wrap:wrap;gap:12px}

.apx-toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);background:var(--apx-charcoal);color:#fff;padding:12px 20px;border-radius:var(--apx-r-s);z-index:400;font-weight:600}
/* Beat Elementor kit link colours */
html body .apx-chips a{color:#1B2127}
html body .apx-eq-card h3 a{color:#1B2127}
html body .apx-docs a{color:#B84A00}
html body .apx-eq-brand a{color:inherit}
html body .apx-crumbs a{color:#B84A00}
@media(hover:hover){html body .apx-chips a:hover{color:#13171B}}
/* Tap targets: at least 44px */
html body .apx-eq-card h3 a{display:inline-block;padding:7px 0;min-height:44px;box-sizing:border-box}
html body .apx-card-compare{min-height:44px;height:auto;line-height:1.3;padding:10px 0;box-sizing:border-box}

/* Photo placeholder fills the card image and is centred */
html body .apx-eq-card-img{display:flex;text-decoration:none}
html body .apx-eq-card-img .apx-ph{display:flex;align-items:center;justify-content:center;flex:1;height:auto;min-height:0;text-decoration:none;color:#566069}

/* Add to compare sits below the buttons with a divider */
html body .apx-card-compare{display:flex;align-items:center;width:100%;margin:20px 0 0;padding:14px 0 0;border:0;border-top:1px solid var(--apx-border);border-radius:0;min-height:48px;box-sizing:border-box;background:transparent;color:#B84A00;font-weight:600;text-align:left}

.apx-eq-credit{font-size:13px;color:#566069;margin:0 0 12px}
html body .apx-eq-credit a{color:#B84A00}
