/* Bikeingo site-wide buttons: the shop's button look (wp-mu/bikeingo-tienda/views/*.markup.html)
   applied to the Divi site, keeping the brand orange #fe5915.
   Shop tokens: ink #17181b, cream #fffaf0, Archivo 900 at font-stretch 90%, uppercase .04em,
   2.5px ink border, 12px radius, 4px 4px 0 ink hard shadow, pressed = translate(2px,2px) + 2px shadow.
   The page buttons are <a> tags with inline styles, so every rule needs !important. */

/* ---------- Shared base ---------- */
body a[style*="inline-block"][style*="padding:14px 28px"],
body #page-container .et_pb_button,
body .et_pb_contact_submit,
body.woocommerce a.button, body.woocommerce button.button, body.woocommerce input.button,
body.woocommerce-page a.button, body.woocommerce-page button.button, body.woocommerce-page input.button,
body .cmplz-cookiebanner .cmplz-btn,
html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn {
	box-sizing: border-box !important;
	min-height: 52px !important;
	height: auto !important;
	padding: 0 24px !important;
	border: 2.5px solid #17181b !important;
	border-radius: 12px !important;
	background: #fe5915 !important;
	color: #17181b !important;
	font-family: 'Archivo', sans-serif !important;
	font-weight: 900 !important;
	font-stretch: 90% !important;
	font-size: 16px !important;
	line-height: 1.1 !important;
	letter-spacing: .04em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	text-align: center !important;
	box-shadow: 4px 4px 0 #17181b !important;
	cursor: pointer !important;
	transition: background-color .2s ease, color .2s ease !important;
}

/* Layout. Not on .cmplz-btn: Complianz hides some of its buttons with display:none and lays the rest out itself. */
body a[style*="inline-block"][style*="padding:14px 28px"],
body #page-container .et_pb_button,
body .et_pb_contact_submit,
body.woocommerce a.button, body.woocommerce button.button, body.woocommerce input.button,
body.woocommerce-page a.button, body.woocommerce-page button.button, body.woocommerce-page input.button,
html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn {
	display: inline-flex !important;
}
body a[style*="inline-block"][style*="padding:14px 28px"],
body #page-container .et_pb_button,
body .et_pb_contact_submit,
body.woocommerce .button, body.woocommerce-page .button,
body .cmplz-cookiebanner .cmplz-btn,
html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn {
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
}

/* Pressed (shop: style-active) */
body a[style*="inline-block"][style*="padding:14px 28px"]:active,
body #page-container .et_pb_button:active,
body .et_pb_contact_submit:active,
body.woocommerce a.button:active, body.woocommerce button.button:active, body.woocommerce input.button:active,
body.woocommerce-page a.button:active, body.woocommerce-page button.button:active, body.woocommerce-page input.button:active,
body .cmplz-cookiebanner .cmplz-btn:active,
html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn:active {
	transform: translate(2px, 2px) !important;
	box-shadow: 2px 2px 0 #17181b !important;
}

/* Keyboard focus (shop: 3px ink outline, 3px offset) */
body a[style*="inline-block"][style*="padding:14px 28px"]:focus-visible,
body #page-container .et_pb_button:focus-visible,
body .et_pb_contact_submit:focus-visible,
body.woocommerce .button:focus-visible, body.woocommerce-page .button:focus-visible,
body .cmplz-cookiebanner .cmplz-btn:focus-visible,
html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn:focus-visible {
	outline: 3px solid #17181b !important;
	outline-offset: 3px !important;
}

/* Divi: no icon arrow, no hover padding shift, no hover background swap */
body #page-container .et_pb_button:after,
body #page-container .et_pb_button:before,
body .et_pb_contact_submit:after,
body .et_pb_contact_submit:before { display: none !important; }
body #page-container .et_pb_button:hover,
body .et_pb_contact_submit:hover { padding: 0 24px !important; }

/* ---------- Primary: orange fill, ink text (also the former green WhatsApp buttons) ---------- */
body a[style*="padding:14px 28px"][style*="background:#fe5915"]:hover,
body a[style*="padding:14px 28px"][style*="background:#25d366"]:hover,
body #page-container .et_pb_button:hover,
body .et_pb_contact_submit:hover,
body.woocommerce .button:hover, body.woocommerce-page .button:hover,
body .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
	background: #17181b !important;
	color: #fffaf0 !important;
	border-color: #fe5915 !important; /* an ink button needs an orange edge to show on dark sections */
	box-shadow: 4px 4px 0 #fe5915 !important;
}

/* ---------- Secondary: cream fill (former white buttons, cookie deny/preferences, review widget) ---------- */
body a[style*="padding:14px 28px"][style*="background:#ffffff"],
body .cmplz-cookiebanner .cmplz-btn:not(.cmplz-accept),
html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn {
	background: #fffaf0 !important;
	color: #17181b !important;
}
body a[style*="padding:14px 28px"][style*="background:#ffffff"]:hover,
body .cmplz-cookiebanner .cmplz-btn:not(.cmplz-accept):hover,
html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn:hover {
	background: #17181b !important;
	color: #fffaf0 !important;
	border-color: #fe5915 !important; /* also beats Trustindex's white hover border */
	box-shadow: 4px 4px 0 #fe5915 !important;
}

/* Pressed while hovered (hover turns ink buttons orange-edged). Must come after every
   :hover rule above: same specificity as the cookie-banner hovers, so order decides. */
body a[style*="padding:14px 28px"][style*="background:#fe5915"]:hover:active,
body a[style*="padding:14px 28px"][style*="background:#25d366"]:hover:active,
body a[style*="padding:14px 28px"][style*="background:#ffffff"]:hover:active,
body #page-container .et_pb_button:hover:active,
body .et_pb_contact_submit:hover:active,
body.woocommerce .button:hover:active, body.woocommerce-page .button:hover:active,
body .cmplz-cookiebanner .cmplz-btn:hover:active,
html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn:hover:active {
	box-shadow: 2px 2px 0 #fe5915 !important;
}

/* ---------- Dark: ink fill, cream text (former black buttons) ---------- */
body a[style*="padding:14px 28px"][style*="background:#171717"] {
	background: #17181b !important;
	color: #fffaf0 !important;
	box-shadow: 4px 4px 0 rgba(23, 24, 27, .35) !important;
}
body a[style*="padding:14px 28px"][style*="background:#171717"]:hover {
	background: #fe5915 !important;
	color: #17181b !important;
}

/* ---------- Ghost on dark: cream border and text (former white outline on the hero) ---------- */
body a[style*="padding:14px 28px"][style*="background:transparent"] {
	background: transparent !important;
	color: #fffaf0 !important;
	border-color: #fffaf0 !important;
	box-shadow: 4px 4px 0 rgba(255, 250, 240, .35) !important;
}
body a[style*="padding:14px 28px"][style*="background:transparent"]:hover {
	background: #fffaf0 !important;
	color: #17181b !important;
}
body a[style*="padding:14px 28px"][style*="background:transparent"]:focus-visible {
	outline-color: #fffaf0 !important;
}

/* Cookie banner: keep its buttons in one row/column layout, just shorter */
body .cmplz-cookiebanner .cmplz-btn {
	min-height: 44px !important;
	padding: 0 16px !important;
	font-size: 14px !important;
	box-shadow: 3px 3px 0 #17181b !important;
}

@media (max-width: 600px) {
	body a[style*="inline-block"][style*="padding:14px 28px"],
	body #page-container .et_pb_button,
	body .et_pb_contact_submit,
	body #page-container .et_pb_button:hover,
	body .et_pb_contact_submit:hover { font-size: 15px !important; padding: 0 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
	body a[style*="inline-block"][style*="padding:14px 28px"],
	body #page-container .et_pb_button,
	body .et_pb_contact_submit,
	body .cmplz-cookiebanner .cmplz-btn,
	html body .ti-widget.ti-goog .ti-header-write-btn-container a.ti-header-write-btn { transition: none !important; }
}

/* S57: the site header (and its open menu) always above the page. */
/* Divi 5 gives the theme-builder header's .et_builder_inner_content `position:relative; z-index:2`: a root-level
   stacking context of only 2, so the open dropdown (z 9999) is trapped at 2. Divi page content sits in its own
   z 1 context and stays under it, but the shop/product views (shadow roots outside the Divi content: sticky bar
   z 20, deck cards z 35-40, stickers up to 80) and the scroll-rider layer (z 50) stack in the root context and
   painted over the menu. Ladder: page content < 99000 header < 99990 shop lightbox / quick view < 99999 cookie
   banner. The floating WhatsApp button (9999) and consent tab (9998) never overlap the header area. The <header>
   gets the same z-index without a forced position, so a Divi sticky/fixed header setting keeps working. */
body .et-l--header {
	z-index: 99000 !important;
}
body .et-l--header > .et_builder_inner_content {
	position: relative;
	z-index: 99000 !important;
}
/* /S57 */
