/* MyRepair Optimisations: readability, cards, header, catalogue. Loaded after the theme. */

/* ---------- Readability: minimum sizes ---------- */
body{font-size:16px}
.topbar{font-size:11px}
.site-nav a{font-size:14px}
.cart-count{font-size:10px}
.eyebrow{font-size:12px!important}
.hero-copy>p:not(.eyebrow){font-size:17px;max-width:460px;color:#4b5a5f}
.hero-note{font-size:13px}
.photo-caption .caption-city{font-size:12px}
.wp-block-button__link,.btn,button.button,a.button,input.button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{font-size:14px}
.text-link{font-size:14px}
.brand-strip small{font-size:11px}
.section-head>p{font-size:15px}
.choice-card p,.finder-band p,.category-tile p,.shop-card p{font-size:15px}
.choice-card .card-number{font-size:13px}
.service-no{font-size:12px}
.pill{font-size:12px}
.shop-card a.phone{font-size:16px}
.section-caption{font-size:13px}
.footer p,.footer li{font-size:14px}
.footer h3{font-size:12px}
.footer-bottom{font-size:12px}
.page-intro p:not(.eyebrow){font-size:16px}
.empty-state p{font-size:15px}
.widget-header small{font-size:13px}
label{font-size:13px}
.filter-bar label{font-size:12px}
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=search],select,textarea{font-size:16px}
.radio-card{font-size:15px}
.help-text{font-size:13px}
.notice{font-size:14px}
.estimate-box p,.estimate-box .price-note{font-size:13px}
.form-consent{font-size:13px}
.filter-reset{font-size:13px}
.woocommerce-result-count{font-size:13px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px}
.woocommerce ul.products li.product .price{font-size:18px}
.woocommerce table.shop_table{font-size:14px}
.woocommerce form .form-row label{font-size:13px}
.recommend-card ul{font-size:13px}
.compatibility-box{font-size:14px}
.blog-card p{font-size:15px}
.faq summary{font-size:16px}
.faq details p{font-size:15px}

/* Product pages */
.mrp-enabled .mrp-kicker{font-size:12px}
.mrp-enabled .mrp-intro,.mrp-enabled .mrp-intro p{font-size:16px}
.mrp-enabled .mrp-figures dt{font-size:12px}
.mrp-enabled .mrp-caption{font-size:12px}
.mrp-enabled .woocommerce div.product .single_add_to_cart_button,.mrp-enabled .mrp-button{font-size:15px}
.mrp-enabled .mrp-secondary{font-size:14px}
.mrp-enabled .mrp-availability{font-size:14px}
.mrp-enabled .mrp-trust span{font-size:13px}
.mrp-enabled .mrp-photo-note{font-size:13px}
.mrp-enabled .mrp-sections-nav a{font-size:13px}
.mrp-enabled .mrp-section-heading p:not(.mrp-kicker){font-size:15px}
.mrp-enabled .mrp-story{font-size:16px}
.mrp-enabled .mrp-benefits p,.mrp-enabled .mrp-services p,.mrp-enabled .mrp-muted{font-size:15px}
.mrp-enabled table.mrp-specs th,.mrp-enabled table.mrp-specs td{font-size:15px}
.mrp-enabled .mrp-fit > div > p:not(.mrp-kicker){font-size:15px}
.mrp-enabled .mrp-fit-facts span{font-size:12px}
.mrp-enabled .mrp-fit-facts p{font-size:13px}
.mrp-enabled .mrp-usage{font-size:13px}
.mrp-enabled .mrp-inline-link{font-size:14px}

/* Specs are shown once: tiles at the top and the table below. */
.mrp-enabled .mrp-benefits{display:none}
.mrp-enabled #mrp-discover:not(:has(.mrp-story)){display:none}
.mrp-enabled:has(#mrp-discover:not(:has(.mrp-story))) .mrp-sections-nav a[href="#mrp-discover"]{display:none}
.mrp-enabled .mrp-story p:last-child{margin-bottom:0}

/* ---------- Layout fixes ---------- */
/* Grid children no longer inherit the block "flow" top margin (cards were shifted). */
.dual-grid>*,.three-grid>*{margin-block-start:0!important}
.choice-card .art-word,.photo-caption .arrow-circle{display:none}

/* Brand strip: real, clickable brands */
.brand-strip a{font-size:16px;font-weight:700;letter-spacing:-.035em;color:#46545a;transition:color .15s}
.brand-strip a:hover,.brand-strip a:focus-visible{color:var(--blue)}

/* ---------- Header: call a shop ---------- */
.header-actions{position:relative}
.mro-call{position:absolute;top:calc(100% + 12px);right:0;z-index:60;width:min(300px,calc(100vw - 32px));background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 40px #12323f24;padding:18px 18px 16px}
.mro-call[hidden]{display:none!important}
.mro-call-title{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.mro-call ul{list-style:none;margin:0;padding:0}
.mro-call li a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:15px}
.mro-call li:first-child a{border-top:0}
.mro-call li a strong{color:var(--blue);white-space:nowrap}
.mro-call li a:hover span{color:var(--blue)}
.mro-call-more{display:block;margin-top:10px;font-size:13px;font-weight:600;text-decoration:underline}

/* ---------- Product cards ---------- */
.woocommerce ul.products li.product{position:relative;display:flex;flex-direction:column}
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:inherit}
.woocommerce ul.products li.product .price{margin-bottom:12px}
.mro-badge{position:absolute;top:12px;left:12px;z-index:2;background:#e2f5ee;color:#13634a;font-size:12px;font-weight:700;line-height:1;padding:7px 10px;border-radius:30px}
.mro-specs{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.mro-specs li{background:var(--paper);border-radius:4px;padding:7px 10px;font-size:14px;font-weight:600;line-height:1.3;color:var(--ink)}
.mro-specs li span{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-bottom:2px}
.mro-more{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--blue);border-bottom:1px solid currentColor;padding-bottom:4px}
.mro-more:after{content:'→';transition:transform .15s}
.woocommerce ul.products li.product:hover .mro-more:after{transform:translateX(3px)}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title{color:var(--blue)}

/* ---------- Catalogue filters ---------- */
.mro-filter-toggle{display:none}
.mro-filter-bar{grid-template-columns:1.3fr 1fr 1fr 1fr auto}
.catalog-guide{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin-bottom:24px}
.catalog-guide>p{margin:0;font-size:16px;font-weight:600}
.catalog-guide .wp-block-buttons{margin:0}
@media(max-width:1120px){
	.site-nav a{font-size:13px}
	.mro-filter-bar{grid-template-columns:1fr 1fr}
	.mro-filter-bar .btn{grid-column:auto}
}
@media(max-width:850px){
	.site-nav a{font-size:16px}
}
@media(max-width:760px){
	.mro-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:50px;padding:12px 16px;margin:0 0 14px;border:1px solid #bdcdd1;border-radius:4px;background:#fff;color:var(--ink);font-size:15px;font-weight:600;cursor:pointer}
	.mro-filter-toggle:after{content:'+';font-size:22px;line-height:1;color:var(--blue)}
	.mro-filters.is-open .mro-filter-toggle:after{content:'−'}
	.mro-filter-on{margin-left:auto;font-size:12px;font-weight:600;color:var(--blue)}
	.mro-filters:not(.is-open) .mro-filter-bar{display:none}
	.mro-filter-bar{grid-template-columns:1fr}
	.catalog-guide{margin-bottom:18px}
	.catalog-guide>p{font-size:15px}
}
@media(max-width:600px){
	body{font-size:16px}
	.topbar{font-size:10px}
	.header-actions .contact-icon{display:inline-flex}
	.hero-copy>p:not(.eyebrow){font-size:16px}
	.hero-copy>.eyebrow{font-size:11px!important}
	.eyebrow{font-size:11px!important}
	.wp-block-button__link,.btn{font-size:14px}
	.brand-strip a{font-size:15px}
	.pill{font-size:12px}
	.shop-card a.phone{font-size:17px}
	.page-intro p:not(.eyebrow){font-size:15px}
	.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}
	.woocommerce ul.products li.product .price{font-size:16px}
	.mro-specs li{font-size:13px;padding:6px 8px}
	.mro-specs li.mro-spec-power{display:none}
	.mro-badge{top:8px;left:8px;font-size:11px;padding:6px 8px}
	.mro-more{font-size:13px}
	.mrp-enabled table.mrp-specs th,.mrp-enabled table.mrp-specs td{font-size:14px}
	.mrp-enabled .mrp-intro,.mrp-enabled .mrp-intro p{font-size:15px}
	.mrp-enabled .mrp-sections-nav a{font-size:13px}
	.mrp-enabled .mrp-mobile-bar>div>span{font-size:12px}
	.mrp-enabled .mrp-mobile-bar .mrp-button{font-size:14px}
}

/* Filter fields: same height for search box and selects */
.mro-filter-bar input[type=search],.mro-filter-bar select{height:50px;min-height:50px;padding-top:0;padding-bottom:0}
@media(max-width:600px){.topbar{letter-spacing:.02em}}

/* Homepage hero: longer, clearer title */
.mr-hero .hero-copy h1{font-size:clamp(44px,5.3vw,80px)}
@media(max-width:850px){.mr-hero .hero-copy h1{font-size:48px}}
@media(max-width:600px){.mr-hero .hero-copy h1{font-size:42px}}

/* Homepage: scooters in stock */
.mro-featured .woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
.mro-featured .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px}
@media(max-width:1120px){.mro-featured .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Parts and accessories on request */
.mro-on-request{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;padding:44px;background:var(--paper);border:1px solid var(--line)}
.mro-on-request h2{font-size:clamp(30px,3.2vw,44px);margin-bottom:16px}
.mro-on-request p:not(.eyebrow){font-size:16px;color:var(--muted);margin:0}
.mro-on-request-shops{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.mro-on-request-shops li{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);padding:12px 12px 12px 18px;font-weight:600;font-size:16px}
.mro-on-request-shops .btn{min-height:44px;padding:10px 16px;white-space:nowrap}
@media(max-width:760px){.mro-on-request{grid-template-columns:1fr;padding:26px 20px;gap:24px}.mro-on-request-shops li{flex-wrap:wrap}}

/* The placeholder image already says the photo is coming */
.mrp-enabled .mrp-photo-note{display:none}

/* "Sur commande" badge and cart button on cards */
.mro-badge-order{background:#eef3f5;color:#38545e}
.woocommerce ul.products li.product .button.add_to_cart_button{margin-top:14px;align-self:flex-start}
.woocommerce ul.products li.product .added_to_cart{display:inline-block;margin:10px 0 0;font-size:14px;font-weight:600;text-decoration:underline}
.woocommerce div.product .stock.available-on-backorder{font-size:14px;color:#38545e;margin:0 0 6px}
