/*
 Theme Name:   Motutop
 Description:  Motutop store theme - motor oils, spare parts and accessories for cars and motorcycles.
 Author:       Motutop
 Author URI:   https://motutop.co.il
 Template:     woodmart
 Version:      1.0.32
 Text Domain:  motutop
*/

/* Custom styles for Motutop go below. */

/* Image hotspot popups: same-size, smaller product image that fits inside the card */
.hotspot-product.hotspot-content {
	width: 220px;
}
.hotspot-product .hotspot-content-image {
	margin-bottom: 10px;
}
.hotspot-product .hotspot-content-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
	background: #fff;
	border-radius: var(--wd-brd-radius);
	overflow: hidden;
}
.hotspot-product .hotspot-content-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Shop sidebar filters: options past the first 10 stay hidden until "show more" (js/filter-show-more.js) */
.motutop-filter-extra {
	display: none !important;
}
.motutop-filter-open > .motutop-filter-extra {
	display: flex !important;
}
.motutop-filter-more {
	margin-top: 8px;
	padding: 0;
	min-height: 0;
	background: none;
	border: 0;
	color: var(--wd-primary-color);
	font-weight: 600;
	font-size: 14px;
	text-transform: none;
	cursor: pointer;
}
.motutop-filter-more:hover {
	background: none;
	text-decoration: underline;
}

/* Product page: riding-style tags are internal grouping only (noindex), not shown to shoppers. */
.single-product .product_meta .tagged_as { display: none; }

/* Size guide link under add to cart */
.motutop-size-guide { margin: 6px 0 14px; font-size: 14px; }
.motutop-size-guide a { text-decoration: underline; }

/* Pages without a dark title bar (404): give the transparent header its own dark background */
.error404 .whb-header .whb-general-header, .error404 .whb-header .whb-general-header-inner { background-color: #111 !important; }
.error404 .wd-page-content { padding-top: 90px; }

/* Checkout: Israel is the only shipping country */
.motutop-hidden-field { display: none !important; }

/* Brand tab on product pages */
.motutop-brand-tab .motutop-brand-logo { max-width: 160px; height: auto; margin-bottom: 15px; display: block; }

/* Brand strip (pre-footer) sits flush on the footer on every page, as on the home page */
body .wd-prefooter { padding-bottom: 0; }

/* Contact page (19020): WoodMart Bikes demo layout – FAQ | form with a divider, details strip below */
body .mt-contact-main > .e-con-inner { align-items: stretch; }
body .mt-contact-faq { padding-inline-end: 40px; border-inline-end: 1px solid var(--brdcolor-gray-300); }
body .mt-contact-form-col { padding-inline-start: 40px; }
body .mt-contact-main .wd-title { margin-bottom: 20px; }
body .mt-contact-faq .wd-accordion { border-top: 1px solid var(--brdcolor-gray-300); }
body .mt-contact-more { margin-top: 20px; font-size: 14px; }
body .mt-contact-more a { text-decoration: underline; }
body .mt-contact-form-col .wpcf7 label { display: block; margin-bottom: 5px; color: var(--wd-title-color, #242424); font-size: 14px; }
body .mt-contact-form-col .wpcf7 p { margin-bottom: 0; }
body .mt-contact-form-col .wpcf7 .wd-grid-g { --wd-col-gap: 20px; --wd-row-gap: 20px; }
body .mt-contact-form-col .wpcf7 textarea { min-height: 150px; }
body .mt-contact-form-col .mt-cf-consent { font-size: 13px; color: var(--color-gray-500); }
body .mt-contact-form-col .mt-cf-consent .wpcf7-list-item { margin: 0; }
body .mt-contact-form-col .mt-cf-consent input { margin-inline-end: 6px; vertical-align: middle; }
body .mt-contact-form-col .mt-cf-consent a { text-decoration: underline; }
body .mt-contact-details > .e-con-inner { gap: 20px; }
body .mt-contact-details .mt-contact-detail { --width: auto; width: auto; flex: 1 1 0; min-width: 0; padding: 25px 18px; background: var(--bgcolor-gray-100, #f7f7f7); border-top: 3px solid var(--wd-primary-color); }
body .mt-contact-detail .wd-title { margin-bottom: 0; }
body a.mt-contact-detail { color: inherit; text-decoration: none; transition: background-color .2s, box-shadow .2s; }
body a.mt-contact-detail:hover { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
body a.mt-contact-detail:hover .title { color: var(--wd-primary-color); }
body .mt-contact-detail .title { margin-top: 6px; margin-bottom: 6px; font-size: 17px; overflow-wrap: anywhere; }
body a.mt-contact-detail[href^="mailto"] .title { font-size: 14px; }
body .mt-contact-faq .wd-accordion-title { text-align: right; }
@media (max-width: 1024px) {
	body .mt-contact-details .mt-contact-detail { flex: 1 1 calc(50% - 20px); }
}
@media (max-width: 767px) {
	body .mt-contact-details .mt-contact-detail { flex-basis: 100%; }
	body .mt-contact-faq { padding-inline-end: 0; border-inline-end: 0; }
	body .mt-contact-form-col { padding-inline-start: 0; }
}

/* ---------------------------------------------------------------------------
   Accessibility (IS 5568 / WCAG 2.0 AA). See build plan "Accessibility (IS 5568)".
   Palette for text: red #d32f2f (4.98:1 on white), text #242424, grey #6b6b6b (5.3:1).
   --------------------------------------------------------------------------- */

/* Brand red #e83a3a was 4.11:1 against white; #d32f2f passes for prices, links and white button text */
html body {
	--wd-primary-color: #d32f2f;
	--btn-accented-bgcolor: #d32f2f;
	--btn-accented-bgcolor-hover: #b71c1c;
	--wd-text-color: #6b6b6b;
}
html body[class*="elementor-kit-"] { --e-global-color-text: #6b6b6b; }
body .wd-btn-arrow, body .btn-color-primary { --btn-color-bg: #d32f2f; }

/* Light grey text: filter counts, brand link on product cards, small meta */
body .wd-widget .count, body .widget .count, body .wc-layered-nav-term .count { color: #6b6b6b !important; }
body .title-subtitle.subtitle-color-default { color: #6b6b6b; }
body del, body del .amount, body .price del bdi, body label .optional { color: #6b6b6b; }
body .wd-product-brands-links, body .wd-product-brands-links a { color: #6b6b6b; }
body .wd-product-brands-links a:hover { color: #242424; }

/* Yellow warning notice: white on #e0b252 was 2:1; use dark text */
body .woocommerce-info, body .woocommerce-info a, body .woocommerce-info::before,
body .wd-notice.wd-info, body .wd-notice.wd-info a { color: #242424; }

/* Links inside running text must not rely on colour alone */
body .entry-content p a:not(.btn):not(.button), body .entry-content li a:not(.btn):not(.button),
body .elementor-widget-text-editor p a:not(.btn), body .elementor-widget-text-editor li a:not(.btn),
body .term-description a, body .woocommerce-product-details__short-description a,
body .woocommerce-Tabs-panel p a, body .woocommerce-privacy-policy-text a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Cart count badge was 9px */
body .whb-header .wd-tools-count, body .wd-header-cart .wd-tools-count { font-size: 11px !important; }
body .woocommerce-LostPassword a, body a.woocommerce-LostPassword { color: #d32f2f; }

/* Footer and pre-footer link lists are navigation, not running text: keep the template look */
body .footer-container li a:not(.btn), body .wd-prefooter li a:not(.btn) { text-decoration: none; }

/* Mega menu: open a dropdown when focus is inside it, as on hover (js/a11y.js adds Esc and aria-expanded) */
body .wd-nav > li.menu-item-has-children:focus-within:not(.mt-dropdown-closed) > .wd-dropdown {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: visible;
}

body .wd-nav > li.mt-dropdown-closed > .wd-dropdown { visibility: hidden !important; opacity: 0 !important; transition: none !important; }

/* Slider pause / play button (js/a11y.js) */
.mt-slider-pause {
	position: absolute;
	z-index: 5;
	bottom: 18px;
	inset-inline-start: 18px;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}
.mt-slider-pause:hover, .mt-slider-pause:focus-visible { background: #000; }

/* Focus ring: the theme's own !important outline is driven by these variables. Solid instead of dotted,
   and white with a dark halo on the slider photos, where the default black ring disappears. */
html body { --wd-otl-style: solid; --wd-otl-width: 2px; }
body .wd-slider { --wd-otl-color: #fff; }
body .wd-slider :focus-visible { box-shadow: 0 0 0 4px rgba(0, 0, 0, .85); }

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Headings inside product tabs (shipping tab) are H2 for structure but keep a small size */
body .woocommerce-Tabs-panel .mt-tab-heading { font-size: 18px; margin: 20px 0 10px; }

/* Form fields had no focus indicator (the theme's ring covers links and buttons only) */
body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
body select:focus-visible, body textarea:focus-visible, body .ui-slider-handle:focus-visible {
	outline: 2px solid #242424 !important;
	outline-offset: 1px;
}
body .color-scheme-light input:focus-visible, body .wd-search-full-screen input:focus-visible { outline-color: #fff !important; }

/* Product card hover buttons (add to cart, quick view, wishlist, compare): reachable and visible from the keyboard */
body .wd-product.wd-hover-icons .wrapp-buttons { visibility: visible; }
body .wd-product.wd-hover-icons:focus-within .wrapp-buttons { opacity: 1; transform: none; }

/* Error notices and form errors: dark text on the yellow notice; CF7 red tip was 3.99:1 */
body .woocommerce-error, body .woocommerce-error a, body .woocommerce-error li, body .woocommerce-error strong,
body .woocommerce-error::before { color: #242424; }
body .wpcf7-not-valid-tip { color: #c00000; }

/* Full-screen search: the suggestion chosen with the arrow keys must be visible */
body .wd-suggestion.wd-active, body .autocomplete-suggestion.wd-active, body .autocomplete-suggestion.autocomplete-selected {
	outline: 2px solid currentColor;
	outline-offset: -2px;
	background-color: rgba(127, 127, 127, .15);
}
.mt-carousel-pause { width: 32px; height: 32px; bottom: -4px; font-size: 11px; }
body .wd-carousel-container:has(> .mt-carousel-pause) { position: relative; }

/* Compare / wishlist "added" badge: WoodMart serves the LTR rule (translate -50%) on the RTL site, which pushed
   the red check a full badge-width off its own icon and onto the neighbouring one. Mirror the shift for RTL. */
body.rtl .wd-action-btn .wd-check-icon { transform: translate(50%, 50%); }

/* Product grids (shop, wishlist, related): equal-height cards, with the price and button pinned to the bottom
   so short titles don't lift them above their neighbours. */
body .wd-products.wd-grid-g { align-items: stretch; }
body .wd-products .wd-product { display: flex; flex-direction: column; }
body .wd-products .wd-product .product-wrapper { flex: 1 1 auto; display: flex; flex-direction: column; }
body .wd-products .wd-product .product-wrapper > .price,
body .wd-products .wd-product .product-element-bottom > .price { margin-top: auto; }
body .wd-products .wd-product .product-element-bottom { flex: 1 1 auto; display: flex; flex-direction: column; }

/* Compare table: same image box and title height in every column, so prices and buttons line up */
body .wd-compare-table .compare-basic td { vertical-align: top; }
body .wd-compare-table .compare-basic .product-image { display: flex; align-items: center; justify-content: center; height: 200px; }
body .wd-compare-table .compare-basic .product-image img { max-height: 100%; width: auto; object-fit: contain; }
body .wd-compare-table .compare-basic .wd-entities-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; height: 4.2em; }

/* Quick view: the summary text is right-aligned, in the left-hand column of the popup */
body.rtl .product-quick-view .summary,
body.rtl .product-quick-view .summary-inner { direction: rtl; text-align: right; }

/* Footer over the photo: 70–80% white dipped to 3.7:1 over the light parts on mobile. Solid white + soft shadow. */
body .footer-container, body .footer-container p, body .footer-container li, body .footer-container a:not(.btn),
body .footer-container .wd-list-content, body .footer-container .info-box-inner {
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

/* Login side panel is dark (#0f0f0f): the red "lost password" link was 3.9:1 there */
body .color-scheme-light .woocommerce-LostPassword, body .color-scheme-light .woocommerce-LostPassword a { color: #fff; text-decoration: underline; }

/* Password rules checklist under new-password fields (js/password-rules.js) */
body .mt-pw-rules { margin-top: 8px; font-size: 14px; line-height: 1.5; }
body .mt-pw-rules__title { margin: 0 0 4px; font-weight: 600; }
body .mt-pw-rules ul { list-style: none; margin: 0; padding: 0; }
body .mt-pw-rules li { display: flex; align-items: center; gap: 8px; margin: 2px 0; color: #555; }
body .mt-pw-rules__icon { flex: none; width: 16px; height: 16px; border: 2px solid #999; border-radius: 50%; position: relative; }
body .mt-pw-rules li.is-met { color: #1b7a36; }
body .mt-pw-rules li.is-met .mt-pw-rules__icon { border-color: #1b7a36; background: #1b7a36; }
body .mt-pw-rules li.is-met .mt-pw-rules__icon::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
body .mt-pw-rules li.is-missing { color: #c62828; }
body .mt-pw-rules li.is-missing .mt-pw-rules__icon { border-color: #c62828; }
body .color-scheme-light .mt-pw-rules li { color: #ddd; }
body .color-scheme-light .mt-pw-rules li.is-met { color: #7fd99a; }
body .color-scheme-light .mt-pw-rules li.is-met .mt-pw-rules__icon { border-color: #7fd99a; background: #7fd99a; }
body .color-scheme-light .mt-pw-rules li.is-missing { color: #ff8a80; }

/* "Reset email sent" card (woocommerce/myaccount/lost-password-confirmation.php), same width as the reset form */
body .mt-reset-sent { max-width: 470px; margin: 0 auto; text-align: center; }
body .mt-reset-sent__icon { display: block; position: relative; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #e8f5ec; }
body .mt-reset-sent__icon::after { content: ""; position: absolute; left: 21px; top: 14px; width: 12px; height: 22px; border: solid #1b7a36; border-width: 0 3px 3px 0; transform: rotate(45deg); }
body .mt-reset-sent__title { margin-bottom: 12px; font-size: 24px; }
body .mt-reset-sent__tips { margin: 0 0 24px; padding: 14px 18px; list-style: none; background: #f5f5f5; text-align: start; font-size: 14px; color: #333; }
body .mt-reset-sent__tips li { margin: 0; }
body .mt-reset-sent__tips li + li { margin-top: 6px; }
body .mt-reset-sent__actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
body .mt-reset-sent__back { width: 100%; min-height: var(--btn-accented-height, 42px); color: var(--btn-accented-color); background-color: var(--btn-accented-bgcolor); border-radius: var(--btn-accented-brd-radius); }
body .mt-reset-sent__back:hover { color: var(--btn-accented-color-hover); background-color: var(--btn-accented-bgcolor-hover); }
body .mt-reset-sent__again { text-decoration: underline; }

/* ===== Account pages (2026-10-03): woocommerce/myaccount/navigation.php + dashboard.php ===== */
body .wd-my-account-sidebar > .woocommerce-MyAccount-title { display: none; }
body .mt-acc-nav { position: sticky; top: 100px; border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; overflow: hidden; }
body .mt-acc-nav a, body .entry-content .mt-acc-nav a:not(.btn):not(.button),
body .entry-content .mt-acc-cards a:not(.btn):not(.button), body .entry-content .mt-acc-order a:not(.btn):not(.button) { text-decoration: none; }
body .mt-acc-nav__profile { display: flex; align-items: center; gap: 12px; padding: 18px; background: #111; color: #fff; }
body .mt-acc-nav__profile:hover, body .mt-acc-nav__profile:focus { color: #fff; background: #000; }
body .mt-acc-nav__avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #d32f2f; color: #fff; font-size: 20px; font-weight: 700; }
body .mt-acc-nav__who { display: flex; flex-direction: column; min-width: 0; }
body .mt-acc-nav__name { font-weight: 700; font-size: 16px; color: #fff; }
body .mt-acc-nav__email { font-size: 13px; color: #ccc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; text-align: right; }
body .mt-acc-nav__list { list-style: none; margin: 0; padding: 8px; }
body .mt-acc-nav__list li { margin: 0; }
body .mt-acc-nav__list a, body .mt-acc-nav__logout { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 10px; color: #222; font-weight: 500; transition: background .15s, color .15s; }
body .mt-acc-nav__list a:hover { background: #f4f4f4; color: #111; }
body .mt-acc-nav__list .is-active a, body .mt-acc-nav__list a[aria-current="page"] { background: #fdecec; color: #b71c1c; font-weight: 700; box-shadow: inset -3px 0 0 #d32f2f; }
body .mt-acc-nav .mt-acc-icon { flex: none; width: 21px; height: 21px; }
body .mt-acc-nav__logout { margin: 0 8px 8px; border-top: 1px solid #eee; border-radius: 0; color: #6b6b6b; }
body .mt-acc-nav__logout:hover { color: #b71c1c; }

body .mt-acc-home__hello { margin-bottom: 24px; }
body .mt-acc-home__hello h2 { margin: 0 0 6px; font-size: 28px; }
body .mt-acc-home__hello p { margin: 0; color: #555; }
body .mt-acc-home h2 { font-size: 20px; }

body .mt-acc-cards { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body .mt-acc-cards li { margin: 0; }
body .mt-acc-card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px; border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; color: #111; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
body .mt-acc-card:hover, body .mt-acc-card:focus-visible { border-color: #d32f2f; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); transform: translateY(-2px); color: #111; }
body .mt-acc-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 12px; background: #fdecec; color: #c62828; }
body .mt-acc-card__title { font-size: 17px; font-weight: 700; }
body .mt-acc-card__meta { font-size: 14px; color: #555; }

body .mt-acc-recent { padding: 22px; border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; }
body .mt-acc-recent__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
body .mt-acc-recent__head h2 { margin: 0; }
body .mt-acc-recent__head a { color: #b71c1c; font-weight: 600; }
body .mt-acc-orders { list-style: none; margin: 0; padding: 0; }
body .mt-acc-order { display: grid; grid-template-columns: 1.2fr 1fr auto 1fr auto; align-items: center; gap: 12px; margin: 0; padding: 14px 0; border-top: 1px solid #eee; }
body .mt-acc-order:first-child { border-top: 0; }
body .mt-acc-order__num { font-weight: 700; }
body .mt-acc-order__date { color: #555; font-size: 14px; }
body .mt-acc-order__status { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #eee; color: #333; }
body .mt-acc-order__status--processing, body .mt-acc-order__status--on-hold { background: #fff4e0; color: #8a5300; }
body .mt-acc-order__status--completed { background: #e8f5ec; color: #1b6b30; }
body .mt-acc-order__status--cancelled, body .mt-acc-order__status--failed, body .mt-acc-order__status--refunded { background: #fdecec; color: #b71c1c; }
body .mt-acc-order__total { font-weight: 700; }
body .mt-acc-order__view { padding: 7px 14px; border: 1px solid #111; border-radius: 8px; color: #111; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
body .mt-acc-order__view:hover { background: #111; color: #fff; }
body .mt-acc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px 8px; }
body .mt-acc-empty__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; border-radius: 50%; background: #f4f4f4; color: #6b6b6b; }
body .mt-acc-empty__icon .mt-acc-icon { width: 28px; height: 28px; }
body .mt-acc-empty p { margin-bottom: 16px; color: #555; }
body .mt-acc-empty p strong { color: #111; }
body .mt-acc-empty__cta { color: var(--btn-accented-color); background-color: var(--btn-accented-bgcolor); border-radius: var(--btn-accented-brd-radius); }
body .mt-acc-empty__cta:hover { color: var(--btn-accented-color-hover); background-color: var(--btn-accented-bgcolor-hover); }
body .mt-acc-help { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; background: #f5f5f5; color: #333; }
body .mt-acc-help .mt-acc-icon { flex: none; color: #c62828; }
body .mt-acc-help a { font-weight: 700; color: #b71c1c; }

@media (max-width: 1024px) {
	body .mt-acc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .mt-acc-nav { position: static; }
}
@media (max-width: 768px) {
	body .mt-acc-nav { display: flex; flex-wrap: wrap; border: 0; border-radius: 0; overflow: visible; background: none; }
	body .mt-acc-nav__profile { flex: 1 0 100%; border-radius: 14px; padding: 14px; }
	body .mt-acc-nav__list { display: grid; grid-template-columns: 1fr 1fr; flex: 1 0 100%; gap: 8px; padding: 12px 0 0; }
	body .mt-acc-nav__list a { min-height: 44px; padding: 0 12px; gap: 8px; border: 1px solid #e6e6e6; white-space: nowrap; }
	body .mt-acc-nav__list .is-active a, body .mt-acc-nav__list a[aria-current="page"] { box-shadow: none; border-color: #d32f2f; }
	body .mt-acc-nav__logout { flex: 1 0 100%; justify-content: center; margin: 4px 0 0; min-height: 40px; border: 0; font-size: 14px; }
	body .mt-acc-home__hello h2 { font-size: 24px; }
	body .mt-acc-cards { gap: 12px; }
	body .mt-acc-card { padding: 16px; }
	body .mt-acc-recent { padding: 16px; }
	body .mt-acc-order { grid-template-columns: 1fr auto; row-gap: 6px; }
	body .mt-acc-order__date { grid-column: 1; }
	body .mt-acc-order__status { grid-row: 1; grid-column: 2; justify-self: end; }
	body .mt-acc-order__view { grid-column: 1 / -1; text-align: center; }
}
/* Info notices inside account pages (no orders yet, email check): soft card instead of the full yellow bar */
body .woocommerce-MyAccount-content .woocommerce-info, body .woocommerce-MyAccount-content .wd-notice.wd-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 20px; padding-inline-start: 52px; border: 1px solid #e6e6e6; border-radius: 14px; background: #fafafa; color: #333; }
body .woocommerce-MyAccount-content .woocommerce-info::before, body .woocommerce-MyAccount-content .wd-notice.wd-info::before { color: #c62828; }
body .woocommerce-MyAccount-content .woocommerce-info a, body .woocommerce-MyAccount-content .wd-notice.wd-info a { color: #b71c1c; font-weight: 700; }
body .mt-acc-nav__list .is-active a, body .mt-acc-nav__list a[aria-current="page"] { background-color: #fdecec !important; }
@media (max-width: 768px) {
	body .mt-acc-nav--home .mt-acc-nav__list { display: none; }
	body .mt-acc-nav--home .mt-acc-nav__logout { order: 3; }
}
/* Header account hover menu (functions.php woodmart_get_my_account_menu): greeting, orders, sign out */
body .wd-dropdown-my-account { min-width: 210px; }
body .mt-hdr-acc .mt-hdr-acc__hello > a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(128, 128, 128, .3); }
body .mt-hdr-acc__name { font-weight: 700; color: #111; font-size: 15px; }
body .mt-hdr-acc__sub { font-size: 13px; color: #6b6b6b; }
body .color-scheme-light .mt-hdr-acc__name { color: #fff; }
body .color-scheme-light .mt-hdr-acc__sub { color: #bbb; }
body .color-scheme-light .mt-hdr-acc .mt-hdr-acc__logout > a { color: #ff8a80; }
body .mt-hdr-acc .mt-hdr-acc__logout > a { color: #b71c1c; }

/* Home service cards (shipping/returns/support/payment): keep the link buttons on one line
   even when a card's text is shorter. Container 8e55d01 on home page 5524. */
body .elementor-element-8e55d01 > .e-con-inner{align-items:stretch}
body .elementor-element-8e55d01 .elementor-widget-wd_infobox > .elementor-widget-container,
body .elementor-element-8e55d01 .elementor-widget-wd_infobox .info-box-wrapper,
body .elementor-element-8e55d01 .elementor-widget-wd_infobox .wd-info-box{height:100%}
body .elementor-element-8e55d01 .elementor-widget-wd_infobox .wd-info-box{display:flex;flex-direction:column}
body .elementor-element-8e55d01 .elementor-widget-wd_infobox .info-box-content{flex:1 1 auto;display:flex;flex-direction:column}
body .elementor-element-8e55d01 .elementor-widget-wd_infobox .info-btn-wrapper{margin-top:auto}

/* Phones: footer link columns two per row (categories|brands, info|service) under the full-width about
   column (footer block container 9d1b5bc). The bikes-footer-bg photo was stretched to `cover` over a
   ~1900px-tall column and turned into a blurry grey smear, so it now sits at its natural width at the
   bottom and fades into the plain #202020 above. */
@media (max-width: 767px) {
	/* Home service cards, two per row: smaller icon, text and side padding so each card stays short */
	body .elementor-element-8e55d01 { row-gap: 24px; --row-gap: 24px; }
	body .elementor-element-8e55d01 .wd-info-box { padding: 0 6px !important; gap: 10px !important; }
	body .elementor-element-8e55d01 .info-box-icon,
	body .elementor-element-8e55d01 .info-svg-wrapper,
	body .elementor-element-8e55d01 .info-box-icon img { width: 56px !important; height: 56px !important; }
	body .elementor-element-8e55d01 .box-icon-wrapper { margin-bottom: 0 !important; }
	body .elementor-element-8e55d01 .info-box-title { font-size: 14px; margin-bottom: 4px; }
	body .elementor-element-8e55d01 .info-box-inner { margin-top: 4px !important; }
	body .elementor-element-8e55d01 .info-box-inner p { font-size: 13px; line-height: 1.5; }
	body .elementor-element-8e55d01 .info-btn-wrapper { padding-top: 6px; }
	body .elementor-element-9d1b5bc > .e-con:not(:first-child) { width: calc(50% - 10px); --width: calc(50% - 10px); }
	body .wd-footer.footer-container {
		background-image: linear-gradient(#202020 0, rgba(32,32,32,.55) 100%), url("/wp-content/uploads/2021/09/bikes-footer-bg.jpg") !important;
		background-size: 100% 100%, 100% auto !important;
		background-position: center, center bottom !important;
		background-repeat: no-repeat !important;
	}
}

/* Dark side panels (side cart): red prices were 3.9:1 on #0f0f0f; a lighter red keeps the brand colour at 6.9:1 */
body .color-scheme-light .amount, body .color-scheme-light .price, body .color-scheme-light .woocommerce-Price-amount { color: #ff6b6b; }

/* Info pages (built in Elementor by import/info_pages_elementor.php): headings typed inside a text block
   stay below the section title in size; the table of contents stays in view while reading. */
body .elementor-widget-text-editor h3 { font-size: 18px; margin: 18px 0 8px; }
body .elementor-widget-text-editor h4 { font-size: 16px; margin: 14px 0 6px; }
body .elementor-widget-text-editor table { width: 100%; margin-bottom: 15px; }
@media (min-width: 1025px) { body .mt-page-toc { position: sticky; top: 100px; align-self: flex-start; } }
body .mt-info-card .info-box-title { margin-bottom: 6px; }

/* Vehicle hub ([motutop_vehicles]): a card per make, in a grid */
.mt-vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.mt-vehicle-make { background: #f7f7f7; border-top: 3px solid var(--wd-primary-color); padding: 18px 20px; }
.mt-vehicle-make h3 { font-size: 18px; margin: 0 0 10px; }
.mt-vehicle-make h3 a { text-decoration: none; }
.mt-vehicle-make ul { list-style: none; margin: 0; padding: 0; }
.mt-vehicle-make li { margin: 0 0 6px; }
.mt-vehicle-make .mt-count { color: #6b6b6b; font-size: 13px; }
/* Info pages: cards as light boxes like the policy pages the owner liked */
body .mt-info-card { background: #f7f7f7; border-top: 3px solid var(--wd-primary-color); padding: 22px 20px; }
/* Home gear section rider cutout (widget 23d9b13): WoodMart's scroll parallax is off at <=1024px,
   so phones/tablets get a continuous float instead. Runs always, also under reduced motion (owner's choice). */
@keyframes mt-rider-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
@media (max-width: 1024px) {
	body .elementor-element-23d9b13 > .elementor-widget-container { animation: mt-rider-float 4s ease-in-out infinite !important; will-change: transform; }
}

/* Product reviews tab: WoodMart orders #comments 1 but leaves the "only verified buyers can review" notice at 0,
   so the notice jumped ahead of the heading into the form column. Without a review form, use one column:
   heading, reviews/empty state, then the notice. */
body .woocommerce-Reviews > .woocommerce-verification-required { order: 2; margin-bottom: 0; color: var(--color-gray-500, #6b6b6b); }
@media (min-width: 1025px) {
	body .wd-single-reviews.wd-layout-two-column .woocommerce-Reviews:not(:has(#review_form_wrapper)) > :is(div, p) { flex-basis: 100%; }
}

/* Cart totals card: rows are label/value lines (no cramped 80px label column), shipping row
   puts its title above full-width selectable method cards; selected card gets the brand red.
   Overrides WoodMart's mobile column layout and hides the duplicate td::before labels. */
body .cart_totals .shop_table, body .cart_totals .shop_table tbody { display: block; width: 100%; }
body .cart_totals .shop_table tr { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: 0; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
body .cart_totals .shop_table tr.order-total { border-bottom: 0; }
body .cart_totals .shop_table tr > th, body .cart_totals .shop_table tr > td { display: block; width: auto; padding: 0; border: 0; white-space: nowrap; }
body .cart_totals .shop_table tr > th { text-align: start; }
body .cart_totals .shop_table tr > td::before { display: none; }
body .cart_totals .shop_table tr.woocommerce-shipping-totals > th, body .cart_totals .shop_table tr.woocommerce-shipping-totals > td { flex: 0 0 100%; text-align: start; white-space: normal; }
body .cart_totals .shop_table tr.woocommerce-shipping-totals > th { margin-bottom: 6px; }
body .cart_totals .shop_table tr.order-total > td { text-align: end; }
body .cart_totals .woocommerce-shipping-destination, body .cart_totals .woocommerce-shipping-calculator { text-align: start; font-size: 14px; margin-bottom: 4px; }
/* Shipping method cards (cart and checkout) */
body .woocommerce-shipping-methods { margin: 0 0 10px; padding: 0; list-style: none; }
body .woocommerce-shipping-methods li { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; text-align: start; transition: border-color .2s, background-color .2s; }
body .woocommerce-shipping-methods li:last-child { margin-bottom: 0; }
body .woocommerce-shipping-methods li:hover { border-color: #bbb; }
body .woocommerce-shipping-methods li:has(input:checked) { border-color: #d32f2f; background: #fdf3f3; }
body .woocommerce-shipping-methods li:has(input:focus-visible) { outline: 2px solid #d32f2f; outline-offset: 2px; }
body .woocommerce-shipping-methods li input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: #d32f2f; }
body .woocommerce-shipping-methods li label { flex: 1 1 auto; margin: 0; text-align: start; line-height: 1.4; font-weight: 600; color: #242424; cursor: pointer; }
body .woocommerce-shipping-methods li label::after { content: ""; position: absolute; inset: 0; }

/* Cookie banner on phones/tablets: keep its text and buttons clear of the floating
   accessibility button (right) and scroll-to-top button (left), which sit over the banner. */
@media (max-width: 1024px) {
	body .wd-cookies-popup .wd-cookies-inner { padding-inline: 64px; }
}
