/* Global refresh: Montserrat + rounded controls. */

:root {
	--mtb-font: "Montserrat", Helvetica, Arial, sans-serif;
	--mtb-radius: 999px;
	--mtb-radius-sm: 8px;
	--mtb-card-radius: 12px;
	--the7-base-font-family: var(--mtb-font);
	--the7-additional-logo-elements-font-family: var(--mtb-font);
	--the7-additional-menu-elements-font-family: var(--mtb-font);
	--the7-breadcrumbs-font-family: var(--mtb-font);
	--the7-btn-l-font-family: var(--mtb-font);
	--the7-btn-m-font-family: var(--mtb-font);
	--the7-btn-s-font-family: var(--mtb-font);
	--the7-close-menu-caption-font-family: var(--mtb-font);
	--the7-close-mobile-menu-caption-font-family: var(--mtb-font);
	--the7-filter-font-family: var(--mtb-font);
	--the7-h1-font-family: var(--mtb-font);
	--the7-h2-font-family: var(--mtb-font);
	--the7-h3-font-family: var(--mtb-font);
	--the7-h4-font-family: var(--mtb-font);
	--the7-h5-font-family: var(--mtb-font);
	--the7-h6-font-family: var(--mtb-font);
	--the7-mega-menu-desc-font-family: var(--mtb-font);
	--the7-mega-menu-title-font-family: var(--mtb-font);
	--the7-menu-caption-font-family: var(--mtb-font);
	--the7-menu-font-family: var(--mtb-font);
	--the7-microwidget-button-2-font-family: var(--mtb-font);
	--the7-microwidget-button-font-family: var(--mtb-font);
	--the7-microwidgets-in-top-line-font-family: var(--mtb-font);
	--the7-mobile-menu-caption-font-family: var(--mtb-font);
	--the7-mobile-menu-font-family: var(--mtb-font);
	--the7-mobile-menu-microwidgets-font-family: var(--mtb-font);
	--the7-mobile-microwidgets-font-family: var(--mtb-font);
	--the7-mobile-microwidgets-icon-color: #235070;
	--the7-mobile-menu-microwidgets-icon-color: #235070;
	--the7-mobile-sub-menu-font-family: var(--mtb-font);
	--the7-mw-search-font-family: var(--mtb-font);
	--the7-page-title-font-family: var(--mtb-font);
	--the7-product-microwidget-content-font-family: var(--mtb-font);
	--the7-sub-subtitle-font-family: var(--mtb-font);
	--the7-submenu-font-family: var(--mtb-font);
	--the7-subtitle-font-family: var(--mtb-font);
	--the7-top-bar-font-family: var(--mtb-font);
	--the7-widget-content-font-family: var(--mtb-font);
	--the7-widget-title-font-family: var(--mtb-font);
	--the7-woo-content-font-family: var(--mtb-font);
	--the7-woo-title-font-family: var(--mtb-font);
	--the7-base-border-radius: var(--mtb-radius);
	--the7-border-radius-size: var(--mtb-radius);
	--the7-btn-l-border-radius: var(--mtb-radius);
	--the7-btn-m-border-radius: var(--mtb-radius);
	--the7-btn-s-border-radius: var(--mtb-radius);
	--the7-input-border-radius: var(--mtb-radius-sm);
	--the7-breadcrumbs-border-radius: var(--mtb-radius-sm);
}

body,
button,
input,
select,
textarea,
.dt-btn,
.btn-link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	font-family: var(--mtb-font);
}

.dt-btn,
.btn-link,
button.button,
a.button,
input.button,
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.single_add_to_cart_button,
.sr7-btn,
a.rev-btn,
.rev-btn {
	border-radius: var(--mtb-radius) !important;
}

.searchform input[type="text"],
.searchform input[type="search"],
.dgwt-wcas-search-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
.woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
	border-radius: var(--mtb-radius);
}

textarea,
.woocommerce form .form-row textarea {
	border-radius: var(--mtb-radius-sm);
}

.woocommerce .dt-products:not(.wc-layout-list) .wf-cell {
	z-index: 1;
}

.woocommerce .dt-products:not(.wc-layout-list) .wf-cell:hover {
	z-index: 3;
}

.woocommerce .dt-products:not(.wc-layout-list) .woocom-project {
	background: #fff;
	border-radius: var(--mtb-card-radius);
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(35, 80, 112, 0.1);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.woocommerce .dt-products:not(.wc-layout-list) .wf-cell:hover .woocom-project {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(35, 80, 112, 0.16);
}

.woocommerce .dt-products:not(.wc-layout-list) .woocom-list-content {
	padding: 12px 14px 16px;
}

.woocommerce .dt-products:not(.wc-layout-list) .woo-buttons-on-img img,
.woocommerce .dt-products:not(.wc-layout-list) img {
	border-radius: 0;
}

.woocommerce div.product div.images img {
	border-radius: var(--mtb-card-radius);
}

/* The7 compiles `font:` with Roboto Condensed — force Montserrat. */
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.widget-title,
.page-title h1,
.page-title h1 *,
#page .page-title .entry-title,
.main-nav > li > a,
.main-nav .menu-text,
.mini-nav a,
.mini-nav .menu-text,
.mobile-main-nav a,
.dt-mobile-header .menu-text,
.breadcrumbs,
.uvc-heading .uvc-main-heading,
.uvc-heading .uvc-main-heading *,
.uvc-heading h1,
.uvc-heading h2,
.uvc-heading h3,
.uvc-heading .uvc-sub-heading,
.uvc-heading .uvc-sub-heading *,
.ultimate-heading,
.woocommerce-loop-product__title,
.product .entry-title,
.main-nav > li > a .menu-text,
.mini-login,
.mini-login a,
.mini-login .submit,
.wc-ico-cart,
.wc-ico-cart .amount,
.wc-ico-cart bdi,
.wc-ico-cart .woocommerce-Price-amount,
.shopping-cart,
.masthead .top-bar,
.masthead .top-bar .text-area,
.masthead .top-bar .text-area *,
.page-title .breadcrumbs,
.page-title .breadcrumbs a,
.page-title .breadcrumbs span,
.page-title .breadcrumbs li {
	font-family: var(--mtb-font) !important;
}

.main-nav > li > a .menu-text {
	font-size: 13px !important;
	line-height: 1.2 !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em;
}

/* Compact classic header: one row, hours/phones moved to footer. */
@media (min-width: 992px) {
	:root {
		--the7-header-height: 78px;
		--the7-top-bar-height: 36px;
	}

	.masthead.classic-header .header-bar {
		flex-wrap: nowrap !important;
		align-items: center;
		min-height: 72px !important;
		height: auto !important;
	}

	.classic-header .branding,
	.classic-header .navigation {
		flex: 0 1 auto;
		flex-basis: auto;
		flex-wrap: nowrap !important;
		width: auto;
		max-width: none;
	}

	.classic-header .branding {
		flex: 0 0 auto;
		padding: 8px 28px 8px 0 !important;
	}

	.masthead.classic-header .branding > .mini-widgets {
		display: none !important;
	}

	.classic-header .branding img {
		max-height: 44px;
		width: auto;
		height: auto;
	}

	.classic-header .navigation {
		flex: 1 1 auto;
		margin: 0 !important;
		padding: 0 !important;
		min-width: 0;
	}

	.classic-header .navigation:before {
		display: none;
	}

	.classic-header .navigation .main-nav {
		flex: 0 0 auto;
	}

	.classic-header .navigation .main-nav > li > a {
		padding-left: 8px;
		padding-right: 8px;
	}

	.classic-header .navigation > .mini-widgets {
		flex: 1 1 auto;
		justify-content: flex-end;
		min-width: 0;
		padding-left: 12px !important;
		margin-left: auto;
	}

	.masthead .mini-search,
	.masthead .mini-search.classic-search {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		flex: 1 1 340px;
		width: 340px !important;
		max-width: 380px !important;
	}

	.masthead .mini-login,
	.masthead .mini-login a {
		white-space: nowrap;
		flex-shrink: 0;
	}

	.masthead .mini-search .dgwt-wcas-search-wrapp {
		width: 100% !important;
		max-width: 100% !important;
	}

	.top-bar {
		min-height: 36px;
	}
}

.page-title {
	min-height: 0 !important;
	padding-top: 14px !important;
	padding-bottom: 14px !important;
}

.page-title h1,
.page-title h1 *,
#page .page-title .entry-title {
	font-size: 20px !important;
	line-height: 1.3 !important;
	letter-spacing: 0.04em;
}

/* Footer columns. */
#footer #custom_html-1 .widget-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#footer #custom_html-1 .widget-title::before {
	content: "";
	display: block;
	width: 168px;
	height: 36px;
	margin: 0 0 14px;
	background: url("https://shop.martecbalt.eu/wp-content/uploads/2024/01/mtb-logo1.png") left center / contain no-repeat;
	filter: brightness(0) invert(1);
}

#footer .widget-title {
	font-family: var(--mtb-font) !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 18px;
}

#footer .mtb-footer-text,
#footer .mtb-footer-text p {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	margin: 0 0 10px;
}

#footer .mtb-footer-text p:last-child {
	margin-bottom: 0;
}

#footer .mtb-footer-text a,
#footer .widget_presscore-custom-menu-two a,
#footer .custom-nav a {
	color: rgba(255, 255, 255, 0.86);
}

#footer .mtb-footer-text a:hover,
#footer .widget_presscore-custom-menu-two a:hover,
#footer .custom-nav a:hover {
	color: #e40045;
}

#footer .mtb-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer .mtb-footer-list li {
	margin: 0 0 10px;
	padding: 0;
	line-height: 1.45;
}

#footer .mtb-footer-list a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

#footer .mtb-footer-list a:hover {
	color: #e40045;
}

#footer .wf-container-footer {
	padding-bottom: 36px;
}

#footer .widget_presscore-custom-menu-two .custom-nav {
	margin: 0;
}

#footer .widget_presscore-custom-menu-two .custom-nav li {
	margin: 0 0 10px;
}

.mtb-about-page {
	max-width: 820px;
	margin: 0 auto;
	padding: 20px 0 40px;
	font-size: 16px;
	line-height: 1.75;
}

.mtb-about-page .mtb-about-lead {
	font-size: 18px;
	line-height: 1.7;
	color: #235070;
	margin-bottom: 22px;
}

.mtb-about-page .mtb-about-actions {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Mobile header: smaller logo so search + cart stay on one row. */
@media (max-width: 1199px) {
	.mobile-header-bar {
		flex-wrap: nowrap !important;
		align-items: center;
	}

	.mobile-branding {
		flex: 0 1 auto;
		min-width: 0;
		max-width: calc(100% - 148px);
	}

	.mobile-branding img {
		width: auto !important;
		max-width: 158px !important;
		max-height: 34px !important;
		height: auto !important;
	}

	.mobile-header-bar .mobile-mini-widgets {
		flex: 1 0 auto;
		flex-wrap: nowrap !important;
		justify-content: flex-end;
		align-items: center;
		min-width: 0;
	}

	.mobile-header-bar .dt-mobile-menu-icon {
		flex: 0 0 auto;
	}
}

#bottom-bar .wf-float-left,
#bottom-bar .mtb-bottom-cookies {
	font-family: var(--mtb-font) !important;
}

#bottom-bar .mtb-bottom-cookies {
	display: inline-block;
	margin-top: 4px;
	color: inherit;
	text-decoration: none;
	opacity: 0.85;
}

#bottom-bar .mtb-bottom-cookies:hover {
	color: #e40045;
	opacity: 1;
}
