/* Barshop Wave D (safe): brand palette + typography + visual consistency.
 * No payment/shipping/business logic changes.
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
	--barshop-primary: #7b599b;
	--barshop-primary-deep: #5a4175;
	--barshop-accent: #f5a623;
	--barshop-success: #27ae60;
	--barshop-warning: #f39c12;
	--barshop-error: #e74c3c;
	--barshop-text: #1f2430;
	--barshop-muted: #6f7480;
	--barshop-border: #e7e8ee;
	--barshop-surface: #ffffff;
	--barshop-surface-soft: #f7f8fc;
}

body {
	color: var(--barshop-text);
	line-height: 1.65;
}

h1,
h2,
h3,
.woocommerce .woocommerce-shop-header--title h1,
.woocommerce .woocommerce-shop-header--title h2,
.woocommerce section.related.products > h2 {
	font-family: "Montserrat", "Roboto", "Segoe UI", Arial, sans-serif;
	letter-spacing: 0;
}

h1,
.woocommerce .woocommerce-shop-header--title h1 {
	font-size: 52px;
	line-height: 1.05;
	font-weight: 700;
}

h2,
.woocommerce .woocommerce-shop-header--title h2 {
	font-size: 40px;
	line-height: 1.12;
	font-weight: 600;
}

h3 {
	font-size: 30px;
	line-height: 1.2;
	font-weight: 500;
}

p,
li,
.woocommerce .products .product .item-info h3 + span,
.woocommerce .summary.entry-summary .product_meta {
	font-size: 16px;
	line-height: 1.65;
}

.top-menu,
header.site-header {
	background: #fff;
}

header.site-header ul.nav > li > a,
header.site-header div.nav > ul > li > a {
	font-weight: 500;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 8px;
}

.woocommerce-message {
	border-color: rgba(39, 174, 96, 0.45);
}

.woocommerce-info {
	border-color: rgba(123, 89, 155, 0.35);
}

.woocommerce-error {
	border-color: rgba(231, 76, 60, 0.45);
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #respond input#submit {
	background: linear-gradient(180deg, var(--barshop-primary) 0%, var(--barshop-primary-deep) 100%);
	border-color: var(--barshop-primary-deep);
	color: #fff;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
.woocommerce #respond input#submit:hover {
	background: linear-gradient(180deg, #8a67ab 0%, var(--barshop-primary) 100%);
	border-color: var(--barshop-primary);
	color: #fff;
}

.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
	background: linear-gradient(180deg, #2a3040 0%, #1f2430 100%);
	border-color: #1f2430;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
	background: linear-gradient(180deg, var(--barshop-primary) 0%, var(--barshop-primary-deep) 100%);
	border-color: var(--barshop-primary-deep);
}

.woocommerce .products .product .onsale {
	background: var(--barshop-error);
}

.woocommerce .products .product .featured {
	background: var(--barshop-warning);
}

.woocommerce .products .product .out-of-stock {
	background: #5d626d;
}

.woocommerce .summary.entry-summary .price,
.woocommerce .products .product .item-info .price,
.woocommerce-Price-amount {
	color: var(--barshop-text);
}

.products-archive--sidebar .sidebar .sidebar-entry .sidebar-entry-title,
.products-archive--sidebar .widget_product_categories .product-categories > li > a {
	color: var(--barshop-text);
}

.products-archive--sidebar .widget_product_categories .product-categories > li > a:hover,
.products-archive--sidebar .widget_product_categories .product-categories > li.current-cat > a,
.products-archive--sidebar .widget_product_categories .product-categories > li.current-cat-parent > a {
	color: var(--barshop-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
	border-color: #d8dbe5;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
	border-color: var(--barshop-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(123, 89, 155, 0.12);
}

.breadcrumbs {
	color: var(--barshop-muted);
}

.breadcrumbs a {
	color: #606774;
}

.breadcrumbs a:hover {
	color: var(--barshop-primary);
}

footer.site-footer .footer-widgets .sidebar .widget-title,
footer.site-footer .footer-widgets .sidebar h3 {
	font-family: "Montserrat", "Roboto", "Segoe UI", Arial, sans-serif;
	font-weight: 600;
}

/* Wave D.2: header/topbar/mobile menu */
.top-menu {
	border-bottom: 1px solid var(--barshop-border);
}

.top-menu .top-menu--widget,
.top-menu .top-menu--widget a {
	font-size: 13px;
	color: #656c79;
}

.top-menu .top-menu--widget a:hover {
	color: var(--barshop-primary);
}

header.site-header {
	border-bottom: 1px solid var(--barshop-border);
	box-shadow: 0 6px 16px rgba(20, 26, 36, 0.04);
}

header.site-header .header-menu .logo a {
	padding-top: 12px;
	padding-bottom: 12px;
}

header.site-header ul.nav > li > a,
header.site-header div.nav > ul > li > a {
	font-size: 15px;
	padding-left: 16px;
	padding-right: 16px;
	position: relative;
}

header.site-header ul.nav > li > a:after,
header.site-header div.nav > ul > li > a:after {
	height: 2px;
	background: var(--barshop-primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
}

header.site-header ul.nav > li:hover > a:after,
header.site-header div.nav > ul > li:hover > a:after,
header.site-header ul.nav > li.current-menu-item > a:after,
header.site-header div.nav > ul > li.current-menu-item > a:after,
header.site-header ul.nav > li.current_page_item > a:after,
header.site-header div.nav > ul > li.current_page_item > a:after {
	transform: scaleX(1);
}

header.site-header .header-widgets li + li {
	margin-left: 14px;
}

header.site-header .header-widgets .search-form .search-btn,
header.site-header .header-widgets .cart-counter {
	width: 32px;
	height: 32px;
}

header.site-header .header-widgets .cart-counter .badge {
	background: var(--barshop-primary);
	border: 2px solid #fff;
	font-size: 11px;
	line-height: 17px;
	width: 21px;
	height: 21px;
	left: -5px;
}

header.mobile-menu {
	border-bottom: 1px solid var(--barshop-border);
	box-shadow: 0 5px 14px rgba(20, 26, 36, 0.05);
}

header.mobile-menu .mobile-logo {
	background: #fff;
}

header.mobile-menu .mobile-logo .cart-counter,
header.mobile-menu .mobile-logo .search-btn {
	width: 30px;
	height: 30px;
}

header.mobile-menu .mobile-logo .cart-counter .badge {
	background: var(--barshop-primary);
	border: 2px solid #fff;
}

header.mobile-menu .mobile-menu-wrapper {
	background: #fff;
	border-left: 1px solid var(--barshop-border);
}

header.mobile-menu .mobile-menu-wrapper ul li a {
	font-size: 18px;
	letter-spacing: 0;
	padding-top: 13px;
	padding-bottom: 13px;
}

header.mobile-menu .mobile-menu-wrapper .mobile-menu-search {
	border-bottom: 1px solid var(--barshop-border);
	padding: 12px;
}

/* Wave D.2: catalog/listing polish */
.woocommerce .products .product.shop-item,
.woocommerce ul.products li.product.shop-item {
	border-color: var(--barshop-border);
	background: var(--barshop-surface);
}

.woocommerce .products .product.shop-item:hover,
.woocommerce ul.products li.product.shop-item:hover {
	border-color: #d9d4e6;
	box-shadow: 0 12px 26px rgba(21, 28, 38, 0.11);
}

.woocommerce .products .product .item-image {
	background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
}

.woocommerce .products .product .item-image .wp-post-image,
.woocommerce .products .product .item-image .shop-image {
	object-fit: contain;
}

.woocommerce .products .product .item-info {
	padding: 16px 16px 18px;
}

.woocommerce .products .product .item-info h3 {
	font-size: 24px;
	line-height: 1.14;
	min-height: 56px;
	margin-bottom: 7px;
}

.woocommerce .products .product .item-info h3 + span {
	font-size: 12px;
	color: #7a808d;
	min-height: 19px;
}

.woocommerce .products .product .item-info .price {
	margin-top: 13px;
	font-size: 21px;
	font-weight: 700;
}

.woocommerce .products .product .item-info .price del {
	font-size: 15px;
	font-weight: 400;
	color: #9499a3;
}

.woocommerce .products .product .item-info a[data-product_id] {
	border-color: #d7dbe5;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(15, 19, 27, 0.08);
}

.woocommerce .products .product .item-info a[data-product_id]:hover {
	box-shadow: 0 6px 12px rgba(123, 89, 155, 0.28);
}

.woocommerce .products .product .onsale,
.woocommerce .products .product .featured,
.woocommerce .products .product .out-of-stock {
	border-radius: 999px;
	min-width: 48px;
	min-height: 48px;
	padding: 10px 7px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.woocommerce .products .product .onsale {
	background: var(--barshop-error);
}

.woocommerce .products .product .featured {
	background: var(--barshop-warning);
	color: #222;
}

.woocommerce .products .product .out-of-stock {
	background: #5f6673;
}

.products-archive--sidebar .sidebar {
	border-color: var(--barshop-border);
	background: linear-gradient(180deg, #ffffff 0%, #fcfcff 100%);
}

.products-archive--sidebar .sidebar .sidebar-entry .sidebar-entry-title {
	font-size: 20px;
	padding-bottom: 9px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--barshop-border);
}

.products-archive--sidebar .widget_product_categories .product-categories > li {
	padding: 3px 0;
}

.products-archive--sidebar .widget_product_categories .product-categories > li > a {
	font-size: 14px;
	font-weight: 700;
}

.products-archive--sidebar .widget_product_categories .product-categories ul.children > li > a {
	font-size: 13px;
	color: #5f6674;
}

.products-archive--sidebar .barshop-catalog-filter__input,
.products-archive--sidebar .widget_price_filter .price_slider_amount .button {
	border-radius: 6px;
}

@media screen and (max-width: 992px) {
	h1,
	.woocommerce .woocommerce-shop-header--title h1 {
		font-size: 42px;
	}

	h2,
	.woocommerce .woocommerce-shop-header--title h2 {
		font-size: 34px;
	}

	h3 {
		font-size: 26px;
	}

	header.site-header ul.nav > li > a,
	header.site-header div.nav > ul > li > a {
		padding-left: 12px;
		padding-right: 12px;
		font-size: 14px;
	}

	.woocommerce .products .product .item-info h3 {
		font-size: 22px;
		min-height: 50px;
	}
}

@media screen and (max-width: 768px) {
	h1,
	.woocommerce .woocommerce-shop-header--title h1 {
		font-size: 34px;
	}

	h2,
	.woocommerce .woocommerce-shop-header--title h2 {
		font-size: 30px;
	}

	h3 {
		font-size: 22px;
	}

	p,
	li {
		font-size: 15px;
	}

	.top-menu .top-menu--widget,
	.top-menu .top-menu--widget a {
		font-size: 12px;
	}

	header.mobile-menu .mobile-menu-wrapper ul li a {
		font-size: 17px;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.woocommerce .products .product .item-info {
		padding: 12px 12px 14px;
	}

	.woocommerce .products .product .item-info h3 {
		font-size: 19px;
		min-height: 44px;
	}

	.woocommerce .products .product .onsale,
	.woocommerce .products .product .featured,
	.woocommerce .products .product .out-of-stock {
		min-width: 42px;
		min-height: 42px;
		font-size: 9px;
	}
}

/* ===== Merged from former barshop-live-hotfix.css ===== */
/* Footer language switcher readability on dark footer */
footer.site-footer .widget_icl_lang_sel_widget select,
footer.site-footer .wpml-ls select,
footer.site-footer .lang_sel_sel,
footer.site-footer .wpml-ls-current-language > a,
footer.site-footer .wpml-ls-legacy-dropdown a,
footer.site-footer .wpml-ls-legacy-dropdown-click a,
footer.site-footer .widget select {
	background: #ffffff !important;
	color: #2a3040 !important;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
	min-height: 36px;
}

footer.site-footer .wpml-ls-sub-menu a {
	color: #2a3040 !important;
	background: #ffffff !important;
}

/* Smaller widget typography (footer + sidebar) */
footer.site-footer .footer-widgets .sidebar .widget-title,
footer.site-footer .footer-widgets .sidebar h3 {
	font-size: 18px !important;
	line-height: 1.2 !important;
	margin-bottom: 10px !important;
}

footer.site-footer .footer-widgets .sidebar,
footer.site-footer .footer-widgets .sidebar li,
footer.site-footer .footer-widgets .sidebar a,
footer.site-footer .footer-widgets .sidebar p {
	font-size: 14px !important;
	line-height: 1.45 !important;
}

/* Sidebar compactness and button alignment */
.products-archive--sidebar .sidebar .sidebar-entry .sidebar-entry-title,
.products-archive--sidebar .sidebar .sidebar-entry > h3,
.products-archive--sidebar .sidebar .sidebar-entry .widget-title {
	font-size: 18px !important;
	line-height: 1.2 !important;
	margin-bottom: 10px !important;
}

.products-archive--sidebar .sidebar .sidebar-entry.widget_shopping_cart .buttons {
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
}

.products-archive--sidebar .sidebar .sidebar-entry.widget_shopping_cart .buttons .button,
.products-archive--sidebar .sidebar .sidebar-entry.widget_shopping_cart .buttons .button.btn-bordered {
	float: none !important;
	position: static !important;
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	min-height: 38px !important;
	padding: 9px 12px !important;
	font-size: 12px !important;
	line-height: 1.1 !important;
	text-align: center !important;
	white-space: nowrap !important;
}

.products-archive--sidebar .sidebar .sidebar-entry .price_slider_wrapper .price_slider_amount {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
}

.products-archive--sidebar .sidebar .sidebar-entry .price_slider_wrapper .price_slider_amount .button,
.products-archive--sidebar .sidebar .sidebar-entry .price_slider_wrapper .price_slider_amount .button.btn-bordered {
	float: none !important;
	margin: 0 !important;
	min-height: 34px !important;
	padding: 7px 12px !important;
	font-size: 11px !important;
	line-height: 1 !important;
}

/* Single product summary scaling */
.single-product .product .summary > h1,
.woocommerce .summary.entry-summary .product_title {
	font-size: 46px !important;
	line-height: 1.1 !important;
	margin-bottom: 8px !important;
	overflow-wrap: anywhere;
}

.single-product .product .summary > .price,
.woocommerce .summary.entry-summary .price {
	font-size: 46px !important;
	line-height: 1 !important;
}

.single-product .product .summary form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.single-product .product .summary form.cart .quantity {
	margin: 0 !important;
}

.single-product .product .summary form.cart .button {
	min-height: 42px !important;
	padding: 9px 16px !important;
	font-size: 13px !important;
	line-height: 1.1 !important;
}

/* ===== 2026-05-07 targeted polish (catalog/header/minicart/checkout) ===== */
/* 1) Catalog headings: reduce oversize h2 on /catalog */
body.page-id-3782 .post-formatting h2.vc_custom_heading {
	font-size: 30px !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
}

body.page-id-3782 .post-formatting h2.vc_custom_heading a {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
}

/* 2) Header uses Inter and 5) proportional menu buttons */
header.site-header .top-menu,
header.site-header .top-menu *,
header.site-header .header-menu,
header.site-header .header-menu *,
header.mobile-menu .top-menu,
header.mobile-menu .top-menu *,
header.mobile-menu .mobile-menu,
header.mobile-menu .mobile-menu * {
	font-family: "Inter", "Roboto", "Segoe UI", Arial, sans-serif !important;
}

header.site-header .header-menu .main-menu > ul.nav > li > a,
header.site-header .header-menu .main-menu > .nav > li > a {
	display: inline-flex !important;
	align-items: center !important;
	height: 44px !important;
	padding: 0 17px !important;
	font-size: 15px !important;
	line-height: 1 !important;
	border-radius: 4px !important;
}

/* 3) Catalog menu item highlight (both languages, desktop + mobile) */
header.site-header .header-menu .main-menu > ul.nav > li.topheaderhighlight > a,
header.site-header .header-menu .main-menu > .nav > li.topheaderhighlight > a {
	background: #f2eef8 !important;
	box-shadow: inset 0 0 0 1px #e2d9f0 !important;
	color: #2a2f3b !important;
}

header.site-header .header-menu .main-menu > ul.nav > li.topheaderhighlight > a:hover,
header.site-header .header-menu .main-menu > .nav > li.topheaderhighlight > a:hover {
	background: #ece4f7 !important;
}

header.mobile-menu .mobile-menu > li.topheaderhighlight > a {
	background: #f2eef8 !important;
	color: #2a2f3b !important;
	border-left: 3px solid #7b599b !important;
}

/* 4) Minicart buttons text alignment and spacing */
header.site-header .lab-mini-cart .buttons,
header.mobile-menu .lab-mini-cart .buttons {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 10px !important;
}

header.site-header .lab-mini-cart .buttons .button,
header.mobile-menu .lab-mini-cart .buttons .button {
	float: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 40px !important;
	padding: 10px 12px !important;
	font-size: 13px !important;
	line-height: 1.15 !important;
	text-align: center !important;
	white-space: nowrap !important;
}

header.site-header .lab-mini-cart .buttons .button:after,
header.mobile-menu .lab-mini-cart .buttons .button:after {
	display: none !important;
}

/* 6) Checkout totals/shipping shading cleanup */
.woocommerce-checkout #order_review .shop_table tr th,
.woocommerce-checkout #order_review .shop_table tr td {
	background: #ffffff !important;
}

.woocommerce-checkout #order_review .shop_table tr.shipping th,
.woocommerce-checkout #order_review .shop_table tr.shipping td,
.woocommerce-checkout #order_review .shop_table tr.order-total th,
.woocommerce-checkout #order_review .shop_table tr.order-total td {
	background: #fbfbfd !important;
}

.woocommerce-checkout #order_review .shop_table tr.shipping td {
	text-align: left !important;
	vertical-align: top !important;
}

.woocommerce-checkout #order_review .shop_table tr.shipping td ul#shipping_method {
	margin: 0 !important;
}

.woocommerce-checkout #order_review .shop_table tr.shipping td ul#shipping_method li {
	line-height: 1.45 !important;
	margin: 6px 0 !important;
}

@media screen and (max-width: 1200px) {
	.single-product .product .summary > h1,
	.woocommerce .summary.entry-summary .product_title {
		font-size: 40px !important;
	}

	.single-product .product .summary > .price,
	.woocommerce .summary.entry-summary .price {
		font-size: 40px !important;
	}
}

@media screen and (max-width: 768px) {
	.single-product .product .summary > h1,
	.woocommerce .summary.entry-summary .product_title {
		font-size: 32px !important;
		line-height: 1.12 !important;
	}

	.single-product .product .summary > .price,
	.woocommerce .summary.entry-summary .price {
		font-size: 34px !important;
	}

	.products-archive--sidebar .sidebar .sidebar-entry .sidebar-entry-title,
	.products-archive--sidebar .sidebar .sidebar-entry > h3,
	.products-archive--sidebar .sidebar .sidebar-entry .widget-title {
		font-size: 16px !important;
	}

	/* Mobile header overflow fix after Aurum update */
	html,
	body {
		overflow-x: hidden;
	}

	header.mobile-menu {
		overflow-x: clip;
	}

	header.mobile-menu .mobile-logo {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 10px 12px !important;
		overflow: hidden;
	}

	header.mobile-menu .mobile-logo .logo {
		display: block !important;
		width: auto !important;
		min-width: 0 !important;
		flex: 1 1 auto !important;
		padding: 0 !important;
	}

	header.mobile-menu .mobile-logo .logo .logo-dimensions {
		width: auto !important;
		min-width: 0 !important;
		max-width: min(170px, 52vw) !important;
		height: auto !important;
	}

	header.mobile-menu .mobile-logo > .cart-info,
	header.mobile-menu .mobile-logo .mobile-toggles {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: auto !important;
		padding: 0 !important;
		flex: 0 0 auto !important;
	}

	header.mobile-menu .mobile-logo > .cart-info .cart-counter {
		margin: 0 !important;
		padding: 0 !important;
		width: 30px !important;
		height: 30px !important;
	}

	header.mobile-menu .mobile-logo .mobile-toggles .toggle-menu {
		width: 30px !important;
		height: 30px !important;
	}
}
