/*
 Theme Name:   Vobler
 Description:  Vobler fishing tackle shop. Child theme of Storefront (WooCommerce); built from the e-kalastus theme.
 Author:       Voronin Studio
 Template:     storefront
 Version:      0.1.0
 License:      GNU General Public License v3 or later
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  vobler
 Tags:         e-commerce, woocommerce
*/

/* ==========================================================================
   Custom Styles
   ========================================================================== */

/*
 * Add your custom CSS below this line.
 * These styles will override the parent theme styles.
 */

/* Site Background
   ========================================================================== */

body,
.site {
	background: #ffffff; /* was #E2E2E2 (grey); white site-wide, owner 2026-11-23 */
}

/* Homepage - White Background
   ========================================================================== */

body.home,
body.home .site {
	background: #ffffff;
}

/* Ensure no white space below footer on homepage */
body.home #page {
	background: #ffffff;
}

/* Blog - White Background
   ========================================================================== */

/* Posts, the Blogi page and post-category archives. */
body.single-post,
body.single-post .site,
body.archive.category,
body.archive.category .site,
body.page-id-116914,
body.page-id-116914 .site {
	background: #ffffff;
}

/* Shop - White Background
   ========================================================================== */

/* body.woocommerce is only on the catalog: shop landing, product categories,
   brands, tags and single products. Cart, checkout and My account keep the grey
   background because their panels are white cards that need it. */
body.woocommerce,
body.woocommerce .site,
body.woocommerce #page {
	background: #ffffff;
}

/* Fix white space below footer - target #primary element */
body.home #primary {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.home .content-area {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.home .site-main {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Remove bottom margin from site-main globally */
.site-main {
	margin-bottom: 0 !important;
}

/* Site Width
   ========================================================================== */

.col-full {
	max-width: 1400px;
}

/* Full width content (no sidebar) on all pages except shop
   ========================================================================== */

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #primary {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag).right-sidebar #primary,
body:not(.woocommerce-shop):not(.tax-product_cat):not(.tax-product_tag).left-sidebar #primary {
	width: 100%;
	max-width: 100%;
}

/* Top Bar Level 1 (верхний уровень)
   ========================================================================== */

.custom-top-bar {
	background: #1a1a1a;
	color: #ffffff;
	font-size: 1em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0.5em 0;
	min-height: 40px;
}

.top-bar-right {
	display: flex;
	align-items: center;
	gap: 1.5em;
}

.top-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 500;
}

/* Overrides the site-wide "a { color: #000 }" inline rule (functions.php),
   which otherwise wins on specificity (a:link) over the single-class
   selector above and turns these invisible on the dark top bar. */
.custom-top-bar .top-phone,
.custom-top-bar .top-phone:link,
.custom-top-bar .top-phone:visited {
	color: #ffffff;
}

.top-phone:hover {
	color: #4CAF50;
}

.top-phone svg {
	flex-shrink: 0;
}

.work-hours {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.95em;
}

/* .top-blog-link styling is inlined in functions.php (ships in page HTML,
   bypasses the BunnyCDN long-TTL cache on this stylesheet). */

.top-social {
	display: flex;
	gap: 0.75em;
	align-items: center;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	text-decoration: none;
	transition: all 0.3s ease;
	border-radius: 4px;
}

/* Overrides the site-wide "a { color: #000 }" inline rule — see .top-phone above. */
.custom-top-bar .social-icon,
.custom-top-bar .social-icon:link,
.custom-top-bar .social-icon:visited {
	color: #ffffff;
}

.social-icon:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.social-icon svg {
	width: 18px;
	height: 18px;
}

.top-phone svg {
	width: 16px;
	height: 16px;
}

.top-lang-switcher {
	margin-left: 0.5em;
}

/* zTranslate dropdown styles */
.top-lang-switcher .language-chooser-dropdown {
	margin: 0;
	padding: 0;
	list-style: none;
	display: none;
}

.top-lang-switcher select {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 0.4em 0.8em;
	border-radius: 4px;
	font-size: 0.95em;
	cursor: pointer;
	transition: all 0.3s ease;
}

.top-lang-switcher select,
.top-lang-switcher .lang-item,
.top-lang-switcher button,
.top-lang-switcher [class*="selector"],
.top-lang-switcher [class*="dropdown"] {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 0.4em 0.8em;
	border-radius: 4px;
	font-size: 0.95em;
	cursor: pointer;
	transition: all 0.3s ease;
}

.top-lang-switcher select:hover,
.top-lang-switcher .lang-item:hover,
.top-lang-switcher button:hover,
.top-lang-switcher [class*="selector"]:hover,
.top-lang-switcher [class*="dropdown"]:hover {
	background: rgba(255, 255, 255, 0.2);
}

.top-lang-switcher select {
	outline: none;
}

/* Force a dark background on the opened dropdown list — without this,
   the option text inherits the select's white color while the browser
   defaults the popup background to white, making it unreadable. */
.top-lang-switcher select option {
	color: #ffffff;
	background: #000000;
}

.top-lang-switcher ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 0.5em;
}

.top-lang-switcher li {
	margin: 0;
}

.top-lang-switcher a {
	color: #ffffff;
	text-decoration: none;
	padding: 0.4em 0.8em;
	display: block;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	transition: all 0.3s ease;
}

.top-lang-switcher a:hover {
	background: rgba(255, 255, 255, 0.2);
}

.top-lang-switcher .current-lang a {
	background: rgba(255, 255, 255, 0.2);
	font-weight: 600;
}

/* Responsive Top Bar */
@media (max-width: 768px) {
	.custom-top-bar {
		display: none;
	}
}

/* Header Level 2 (Main Header)
   ========================================================================== */

.site-header {
	background: #000000 !important;
	box-shadow: none;
	transition: all 0.3s ease;
	border-bottom: none;
	padding: 0 !important;
	margin-bottom: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

.site-header > .col-full {
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Hide default Storefront elements */
.site-header .storefront-primary-navigation,
.site-header .site-header-cart,
.site-header .main-navigation,
.site-header .site-navigation,
.site-header nav:not(.vcm-menu),
.site-header .primary-navigation,
.site-header .secondary-navigation {
	display: none !important;
}

/* Hide any navigation in Level 2 header */
.custom-main-header nav,
.custom-main-header .main-navigation,
.custom-main-header .navigation,
.custom-main-header .menu {
	display: none !important;
}

.custom-main-header {
	padding: 0.3em 0;
	background: #000000;
	width: 100%;
}

.main-header-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2.617924em;
	box-sizing: content-box;
}

.main-header-content {
	display: flex;
	align-items: center;
	gap: 1.5em;
}

/* Logo */
.header-logo {
	display: flex;
	flex-shrink: 0;
}

/* On the front page .header-logo is an <h1> instead of a <div> (SEO — one
   real heading on the homepage), reset so it renders pixel-identical to the
   div everywhere else. */
h1.header-logo {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.header-logo a {
	display: block;
	line-height: 0;
}

.header-logo img {
	max-height: 80px;
	width: auto;
	display: block;
}

.header-logo .site-title {
	color: #ffffff;
	font-size: 1.5em;
	font-weight: 700;
	text-decoration: none;
}

/* Catalog Button */
.header-catalog {
	flex-shrink: 0;
}

.catalog-button {
	display: inline-block;
	padding: 0.4em 1.2em;
	background: #FCE700;
	color: #000000;
	text-decoration: none;
	border-radius: 3px;
	font-weight: 600;
	font-size: 0.9em;
	transition: all 0.3s ease;
	border: none;
	text-transform: uppercase;
}

.catalog-button:hover {
	background: #F2D709;
}

/* Search */
.header-search {
	flex: 1 1 auto;
	min-width: 200px;
}

.header-search form {
	position: relative;
	margin: 0;
}

.header-search input[type="search"],
.header-search input[type="text"] {
	width: 100%;
	padding: 0.45em 3em 0.45em 1em;
	border: none;
	background: #ffffff;
	border-radius: 3px;
	font-size: 0.9em;
	color: #333333;
}

.header-search form {
	border-radius: 3px;
}

.header-search input[type="search"]::placeholder,
.header-search input[type="text"]::placeholder {
	color: #999999;
}

.header-search input[type="search"]:focus,
.header-search input[type="text"]:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(252,231,0, 0.3);
}

.header-search button,
.header-search input[type="submit"] {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	padding: 0.5em;
	cursor: pointer;
	color: #666666;
	transition: all 0.3s ease;
}

.header-search button:hover,
.header-search input[type="submit"]:hover {
	color: #FCE700;
}

/* Cart */
.header-cart {
	flex-shrink: 0;
}

.header-cart a.cart-contents {
	display: inline-block;
	padding: calc(0.4em - 1px) 1.2em;
	background: #000000;
	color: #ffffff;
	text-decoration: none;
	border-radius: 3px;
	font-weight: 600;
	font-size: 0.9em;
	transition: all 0.3s ease;
	border: 1px solid #333333;
}

.header-cart a.cart-contents:hover {
	background: #1a1a1a;
	border-color: #444444;
	color: #ffffff;
}

.header-cart a.cart-contents::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 0.5em;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}

/* Account Button */
.header-account {
	flex-shrink: 0;
}

.account-button {
	display: inline-block;
	padding: 0.4em 1.2em;
	background: #FCE700;
	color: #000000;
	text-decoration: none;
	border-radius: 3px;
	font-weight: 600;
	font-size: 0.9em;
	transition: all 0.3s ease;
	border: none;
	text-transform: uppercase;
}

.account-button:hover {
	background: #F2D709;
}

/* Mobile Language Switcher - Hidden on desktop, shown only when top bar is hidden */
.header-lang-mobile {
	display: none !important; /* Temporarily hidden */
}

/* Responsive Main Header - Tablet */
@media (max-width: 1024px) {
	.custom-top-bar {
		display: none;
	}

	.main-header-content {
		flex-wrap: wrap;
		gap: 1em;
		justify-content: space-between;
		width: 100%;
	}

	.header-search {
		order: 5;
		flex: 1 1 100%;
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.custom-main-header {
		padding: 0.75em 0;
	}

	.header-logo img {
		max-height: 60px;
	}

	.main-header-wrapper {
		padding: 0 1em;
	}

	.main-header-content {
		gap: 0.5em;
	}

	.catalog-button,
	.account-button {
		font-size: 0.75em;
		padding: 0.5em 0.8em;
	}

}

/* Mobile Language Switcher - Show only when top bar is hidden (768px and below) */
@media (max-width: 1024px) {
	.header-cart .amount, .header-cart .tax_label  {
		display: none;
	}

	.header-catalog {
		display: none;
	}

	.header-lang-mobile {
		display: block !important;
		flex-shrink: 0;
		width: 80px;
	}

	.header-lang-mobile select,
	.header-lang-mobile .gt_selector,
	.header-lang-mobile button,
	.header-lang-mobile [class*="selector"],
	.header-lang-mobile [class*="dropdown"] {
		background: rgba(255, 255, 255, 0.1);
		color: #ffffff;
		border: 1px solid rgba(255, 255, 255, 0.3);
		padding: 0.4em 0.6em;
		border-radius: 4px;
		font-size: 0.7em;
		cursor: pointer;
	}

	.header-lang-mobile .language-chooser-dropdown {
		margin: 0;
		padding: 0;
		list-style: none;
		display: none;
	}

	.header-lang-mobile select option {
		color: #ffffff;
		background: #000000;
	}
}

/* Narrow phones: hamburger + logo alone on the first row, cart / login /
   language switcher together on the second, search stays on the third.
   ::after of a flex container is itself a flex item, so a zero-height
   full-width one placed between the logo (order 0) and the cart forces
   everything after it onto the next row — independent of how wide the
   buttons or the logo happen to render. */
@media (max-width: 400px) {
	.main-header-content::after {
		content: "";
		order: 1;
		flex: 0 0 100%;
		height: 0;
	}

	/* The menu plugin injects the hamburger button *inside* .header-logo
	   (empty <a>, then the button, then the logo link), and .header-logo is a
	   flex row — so burger and logo sit glued together. Stretch .header-logo
	   across the whole first row and push only the logo link to the right, so
	   the hamburger stays on the left edge and the logo on the right. */
	.header-logo {
		flex: 1 1 100%;
		align-items: center;
	}

	.header-logo > a:last-child {
		margin-left: auto;
	}

	.header-cart {
		order: 2;
	}

	.header-account {
		order: 3;
	}

	.header-lang-mobile {
		order: 4;
	}
}

/* Header Level 3 (Navigation Menu)
   ========================================================================== */

.custom-navigation-menu {
	width: 100%;
	background: #E8E5E5; /* same as the menu itself (Customizer > Category menu) */
	padding: 0;
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: block;
	visibility: visible;
	overflow: visible;
	z-index: 100;
}

/* Navigation Menu - Tablet */
@media (max-width: 1024px) {
	.custom-navigation-menu {
		display: block;
	}

	

	.custom-navigation-menu .mega-menu-wrap {
		width: auto;
	}
}

/* Navigation Enhancements */
.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
	color: #ffffff;
	transition: all 0.3s ease;
	position: relative;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:hover {
	color: #FCE700;
}

.main-navigation ul.menu > li > a::after,
.main-navigation ul.nav-menu > li > a::after {
	content: '';
	position: absolute;
	bottom: 0.5em;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 80%;
	height: 2px;
	background: #FCE700;
	transition: transform 0.3s ease;
}

.main-navigation ul.menu > li > a:hover::after,
.main-navigation ul.nav-menu > li > a:hover::after {
	transform: translateX(-50%) scaleX(1);
}

/* WooCommerce Content Area - White Background
   ========================================================================== */

.woocommerce #primary,
.woocommerce-page #primary,
.woocommerce #secondary,
.woocommerce-page #secondary,
.single-product #primary,
.woocommerce-cart #primary,
.woocommerce-checkout #primary,
.woocommerce-account #primary {
	background: #ffffff;
	padding: 2em;
	border-radius: 3px;
	margin-bottom: 2em;
}

/* Remove excessive bottom padding from cart and checkout content */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/* WooCommerce My Account - Navigation on Left
   ========================================================================== */

/* Keep Minu konto header visible with default positioning */
.woocommerce-account .entry-header {
	margin-bottom: 1.5em;
}

/* Hide duplicate English titles inside entry-content */
.woocommerce-account .entry-content > h1,
.woocommerce-cart .entry-content > h1,
.woocommerce-checkout .entry-content > h1 {
	display: none !important;
}

/* Position info messages over right column */
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error {
	float: right !important;
	width: 74% !important;
	margin-left: 26% !important;
	margin-bottom: 1.5em !important;
	clear: right !important;
	box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: left !important;
	margin-right: 4% !important;
	margin-left: 0 !important;
	width: 22% !important;
	background: #f8f8f8;
	padding: 1.5em;
	border-radius: 3px;
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: right !important;
	margin-right: 0 !important;
	width: 74% !important;
	background: #ffffff;
	padding: 2em;
	border-radius: 3px;
}

/* Product Grid - Equal Height Cards
   ========================================================================== */

/* Fixed height for product title - always reserve space for 3 lines */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce-page ul.products li.product h2.woocommerce-loop-product__title {
	min-height: 4.8em !important;
	line-height: 1.6 !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
}

/* Homepage Custom Product Block - Fixed height for titles */
.uagb-block-876d2fe5 h2.wp-block-post-title {
	height: 4.2em !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
}

/* Homepage Custom Product Block - Black color, no underline for product titles */
.uagb-block-876d2fe5 .woocommerce-loop-product__link,
.uagb-block-876d2fe5 a.woocommerce-LoopProduct-link,
.uagb-block-876d2fe5 h2 a,
.uagb-block-876d2fe5 .woocommerce-loop-product__title a {
	color: #000000 !important;
	text-decoration: none !important;
}

.uagb-block-876d2fe5 .woocommerce-loop-product__link:hover,
.uagb-block-876d2fe5 a.woocommerce-LoopProduct-link:hover,
.uagb-block-876d2fe5 h2 a:hover,
.uagb-block-876d2fe5 .woocommerce-loop-product__title a:hover {
	color: #000000 !important;
	text-decoration: none !important;
}

/* Product title link - black color, no underline */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce-page ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product h2 a,
.woocommerce-page ul.products li.product h2 a {
	color: #000000 !important;
	text-decoration: none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link:hover,
.woocommerce-page ul.products li.product .woocommerce-loop-product__link:hover,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:hover,
.woocommerce ul.products li.product h2 a:hover,
.woocommerce-page ul.products li.product h2 a:hover {
	color: #000000 !important;
	text-decoration: none !important;
}

/* Hide post meta (date, author) on single posts
   ========================================================================== */

.single-post .entry-meta,
.single-post .posted-on,
.single-post .byline,
.single-post .vcard,
.single-post .author,
.single-post .fn,
.single-post .post-author {
	display: none !important;
}

/* Hide UAGB post meta everywhere */
.uagb-post-grid-byline,
.uagb-post__date,
.uagb-post__comment {
	display: none !important;
}

/* Remove left padding from WooCommerce Product Collection blocks */
.wp-block-woocommerce-product-collection,
.wc-block-product-template,
.wc-block-product-template__responsive,
ul.wc-block-product-template {
	padding-left: 0 !important;
	margin-left: 0 !important;
	list-style: none;
}

/* Reduce spacing between product title and price in Product Collection blocks */
.wc-block-product-template .wp-block-post-title,
.wc-block-product-template h2.wp-block-post-title {
	margin-bottom: 0.5rem !important;
}

.wc-block-product-template .wp-block-woocommerce-product-price {
	margin-top: 0.5rem !important;
}

/* Hide Apartment field on Checkout page
   ========================================================================== */

.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #shipping_address_2_field {
	display: none !important;
}

/* Sale Badge (SOODUS) - Top Right Corner with Red Background
   ========================================================================== */

.woocommerce span.onsale,
.woocommerce-page span.onsale {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	left: auto;
	background: #e74c3c !important;
	color: #ffffff !important;
	padding: 0.5em 0.8em;
	border-radius: 3px;
	font-weight: 700;
	font-size: 0.85em;
	text-transform: uppercase;
	z-index: 10;
	margin: 0;
	min-height: auto;
	min-width: auto;
	line-height: 1.2;
}

/* WooCommerce Buttons - Rounded Corners */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page .button {
	border-radius: 3px;
}

/* Hide Shop Page Title and Header Container */
.woocommerce .page-title,
.woocommerce-page .page-title,
.woocommerce-products-header__title,
.woocommerce-products-header,
.storefront-product-section {
	display: none !important;
}

/* Reduce breadcrumb spacing */
.storefront-breadcrumb {
	padding-top: 0.5em !important;
	padding-bottom: 0.5em !important;
	margin-bottom: 0.5em !important;
}

.storefront-breadcrumb .col-full {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Custom Footer
   ========================================================================== */

/* Footer - Widget-based
   ============================================================ */

.site-footer {
	margin: 0 !important;
	padding: 0 !important;
	background-color: #000000 !important;
}

.site-footer .col-full {
	padding-top: 1em;
	padding-bottom: 1em;
}

.footer-widgets {
	padding-top: 0 !important;
	border-bottom: none !important;
}

/* Widget titles */
.site-footer .widget-title {
	color: #ffffff !important;
	font-size: 0.95em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Widget content */
.site-footer .widget,
.site-footer .widget p,
.site-footer .widget li,
.site-footer .widget span {
	color: rgba(255, 255, 255, 0.85) !important;
	line-height: 1.8;
}

.site-footer .widget a,
.site-footer a {
	color: rgba(255, 255, 255, 0.85) !important;
	text-decoration: none !important;
	transition: color 0.3s ease;
}

.site-footer .widget a:hover,
.site-footer a:hover {
	color: #FCE700 !important;
	text-decoration: none !important;
}

/* Copyright bar - full width breakout from col-full */
.site-info {
	background-color: #1a1a1a !important;
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	padding: 1.5em 2em;
	text-align: center;
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 0.9em;
}

.site-info a {
	color: rgba(255, 255, 255, 0.5) !important;
}

/* Override UAGB social share block blue background */
.uagb-block-e9cccefb .uagb-ss-repeater.uagb-ss__wrapper,
.uagb-block-e9cccefb .uagb-ss__wrapper {
	background: rgba(255, 255, 255, 0.1) !important;
	border-radius: 50% !important;
}

.uagb-block-e9cccefb .uagb-ss__source-icon svg {
	fill: #ffffff !important;
}

/* Footer social profile links */
.footer-social-links {
	display: flex;
	gap: 1em;
}

.footer-social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.footer-social-links a:hover {
	background: #FCE700 !important;
	transform: translateY(-3px);
}

.footer-social-links svg {
	width: 20px;
	height: 20px;
	fill: #ffffff !important;
}

.footer-social-links a,
.footer-social-links a:visited {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.1) !important;
}

.site-info a:hover {
	color: #FCE700 !important;
}

/* Footer mobile layout */
@media (max-width: 768px) {
	.site-footer .wp-block-group.is-layout-flex {
		flex-wrap: wrap !important;
		gap: 2em !important;
		justify-content: center !important;
	}

	.site-footer .wp-block-group.is-layout-flex > * {
		flex: 0 0 auto !important;
		width: auto !important;
	}

	.footer-social-links {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	

	.header-cart a.cart-contents {
		padding: 0;
		border: initial;
	}

	.site-footer .col-full {
		padding-top: 1.5em;
		padding-bottom: 1.5em;
	}

	.site-footer .wp-block-group.is-layout-flex {
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		gap: 1.5em !important;
	}

	.site-footer .uagb-icon-list__wrap {
		justify-content: center;
	}

	.site-footer .uagb-icon-list__wrap .wp-block-uagb-icon-list-child {
		justify-content: center;
	}

	.site-info {
		font-size: 0.85em;
	}
}

/* UAGB Info Box Title Links - White Color, No Underline
   ========================================================================== */

.uagb-ifb-title a,
a.uagb-ifb-title,
.uagb-ifb-title-wrap a,
a.uagb-ifb-title-wrap {
	color: #ffffff !important;
	text-decoration: none !important;
}

.uagb-ifb-title a:hover,
a.uagb-ifb-title:hover,
.uagb-ifb-title-wrap a:hover,
a.uagb-ifb-title-wrap:hover {
	color: #ffffff !important;
	text-decoration: none !important;
}

/* Kadence Blocks Gallery Carousel - Equal Logo Sizes
   ========================================================================== */

/* Применяем только к карусели с логотипами внутри конкретного блока */
.kb-row-layout-id10_71c20f-38 .kb-gallery-type-fluidcarousel img {
	max-width: 150px !important;
	max-height: 100px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	object-position: center !important;
}

.kb-row-layout-id10_71c20f-38 .kb-gallery-type-fluidcarousel .kb-gallery-figure {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 100px !important;
}

/* Product Prices - Larger Size
   ========================================================================== */

/* Shop/Archive pages - product grid prices */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
ul.products li.product .price,
.products .product .price,
.wc-block-grid__product .wc-block-grid__product-price,
.wp-block-woocommerce-product-price {
	font-size: 1.25em !important;
	font-weight: 700 !important;
}

/* Price amounts specifically */
.woocommerce ul.products li.product .price .amount,
.woocommerce-page ul.products li.product .price .amount,
ul.products .price .woocommerce-Price-amount,
.products .price .woocommerce-Price-amount {
	font-size: 1em !important;
	font-weight: 700 !important;
}

/* Hide Add to Cart buttons by default, show on hover
   ========================================================================== */

/* Hide button */
.wc-block-components-product-button {
	visibility: hidden;
}

/* Show on hover */
li.wc-block-product:hover .wc-block-components-product-button {
	visibility: visible;
}

/* 404 page: friendly message, search, two buttons and a few popular products
   ========================================================================== */
.vobler-404 { max-width: 920px; margin: 0 auto; padding: 3em 1em 2em; text-align: center; }
.vobler-404__title { font-size: 2.2em; line-height: 1.2; margin: 0 0 .4em; }
.vobler-404__lead { font-size: 1.15em; line-height: 1.5; margin: 0 auto 1.6em; max-width: 640px; }
.vobler-404__search { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 1.4em; }
.vobler-404__search input[type="search"] { flex: 1 1 auto; min-width: 0; padding: .8em 1em; border: 1px solid #d3ced2; border-radius: 8px; font-size: 1em; }
.vobler-404__search button, .vobler-404__btn { padding: .8em 1.4em; border: 0; border-radius: 8px; background: #FCE700; color: #000; font-weight: 700; text-decoration: none; cursor: pointer; }
.vobler-404__search button:hover, .vobler-404__btn:hover { background: #F2D709; color: #000; }
.vobler-404__btn--ghost { background: transparent; border: 1px solid #000; }
.vobler-404__btn--ghost:hover { background: #000; color: #fff; }
.vobler-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 3em; }
.vobler-404__popular h2 { font-size: 1.5em; margin: 0 0 1em; }
@media (max-width: 575px) {
	.vobler-404 { padding-top: 1.6em; }
	.vobler-404__title { font-size: 1.6em; }
	.vobler-404__search { flex-direction: column; }
}

/* Footer Quick Links menu — compact spacing between items (4 items since the ESTO page was added) */
.footer-nav-menu li {
	margin-bottom: 0.25rem;
}

.footer-nav-menu li:last-child {
	margin-bottom: 0;
}

/* Search form in header */
.header-search .eks-search {
	max-width: 100%;
}

/* Catalog images — always fitted into a square, never cropped
   ========================================================================== */

/* Storefront keeps the image's own ratio, so a row of cards ends up ragged once
   the thumbnails stop being square. A fixed square box plus object-fit: contain
   gives one consistent grid whatever the source ratio. The uncropped size comes
   from the single_product_archive_thumbnail_size filter in functions.php. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link > img,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link > img,
ul.products li.product a.woocommerce-LoopProduct-link > img,
ul.products li.product-category a > img,
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
}

/* Brand intro — shown above the grid when the sidebar filters to one brand
   ========================================================================== */

/* Logo left, copy right. The empty variant still ships a node so the YITH AJAX
   handler in functions.php always has something to swap. */
.sc-brand-intro {
	display: flex;
	align-items: flex-start;
	gap: 1.618em;
	margin-bottom: 1.618em;
}

.sc-brand-intro.is-empty {
	display: none;
}

.sc-brand-intro__logo {
	flex: 0 0 180px;
	max-width: 180px;
}

.sc-brand-intro__logo-img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.sc-brand-intro__text {
	flex: 1 1 auto;
}

.sc-brand-intro__text p:last-child {
	margin-bottom: 0;
}

/* The sidebar stacks below the products on mobile, so the intro stacks too. */
@media screen and (max-width: 768px) {
	.sc-brand-intro {
		flex-direction: column;
		gap: 1em;
	}

	.sc-brand-intro__logo {
		flex-basis: auto;
		max-width: 140px;
	}
}

/* Category intro — plain category description, logo left / copy right, same
   layout as the brand intro above.
   ========================================================================== */
.sc-category-intro {
	display: flex;
	align-items: flex-start;
	gap: 1.618em;
	margin-bottom: 1.618em;
}

.sc-category-intro__logo {
	flex: 0 0 180px;
	max-width: 180px;
}

.sc-category-intro__logo-img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.sc-category-intro__text {
	flex: 1 1 auto;
}

.sc-category-intro__text p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 768px) {
	.sc-category-intro {
		flex-direction: column;
		gap: 1em;
	}

	.sc-category-intro__logo {
		flex-basis: auto;
		max-width: 140px;
	}
}

/* Subcategory buttons under the category description (parent category pages).
   ========================================================================== */
.sc-subcat-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
	margin: 0 0 1.618em;
}

.sc-subcat-buttons__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 40px;
	padding: 0 1.1em;
	background: transparent;
	color: #000000;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: 0;
	border-radius: 3px;
	transition: background 0.2s ease;
}

.sc-subcat-buttons__item:hover,
.sc-subcat-buttons__item:focus {
	background: #f8f8f8;
	color: #000000;
	text-decoration: none;
}

.sc-subcat-buttons__count {
	font-weight: 400;
	font-size: 0.85em;
	opacity: 0.65;
}

/* Category bottom content — the long-form buying-guide copy below the grid
   and pagination. Plain prose, just enough spacing to read comfortably.
   ========================================================================== */
.sc-category-bottom {
	margin-top: 2em;
	max-width: 860px;
}

.sc-category-bottom h2 {
	margin-top: 1.5em;
}

.sc-category-bottom h3 {
	margin-top: 1.2em;
}

/* Links inside running text only (category intro + guide, blog posts, static pages): purple, underlined.
   Menus, buttons and WooCommerce pages (cart/checkout/account) are not touched. */
.sc-category-intro__text a,
.sc-category-bottom a,
body.single-post .entry-content p a:not(.button),
body.single-post .entry-content li a:not(.button),
body.page:not(.woocommerce-page) .entry-content p a:not(.button),
body.page:not(.woocommerce-page) .entry-content li a:not(.button) {
	color: #6f2da8 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.sc-category-intro__text a:hover,
.sc-category-bottom a:hover,
body.single-post .entry-content p a:not(.button):hover,
body.single-post .entry-content li a:not(.button):hover,
body.page:not(.woocommerce-page) .entry-content p a:not(.button):hover,
body.page:not(.woocommerce-page) .entry-content li a:not(.button):hover {
	color: #4b1d75 !important;
	text-decoration: underline !important;
}

/* Blog + Outlet quick links in the main header row (in front of the mini-cart).
   Same pill look as the top-bar links; the header is black, so white on dark. */
.header-quick-links {
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.header-quick-links .top-blog-link {
	color: #ffffff;
	font-weight: 500;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	display: inline-block;
	padding: 0.3em 0.7em;
	border: 1px solid #ffffff;
	border-radius: 4px;
	white-space: nowrap;
}

.header-quick-links .top-blog-link:hover,
.header-quick-links .top-blog-link:focus {
	color: #FCE700;
	border-color: #FCE700;
}

/* Outlet link: filled with the same red as the SOODUS sale badge, bold text. */
.header-quick-links .top-outlet-link {
	background: #e74c3c;
	border-color: #e74c3c;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.95em;
}

.header-quick-links .top-outlet-link:hover,
.header-quick-links .top-outlet-link:focus {
	background: #c0392b;
	border-color: #c0392b;
	color: #ffffff;
}

/* Outlet link: a yellow (#FCE700) "sunbeam" sweeps left to right once every 5 s.
   The sweep takes the first ~0.9 s of the cycle, the rest is a pause. */
.header-quick-links .top-outlet-link {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.header-quick-links .top-outlet-link::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 60%;
	background: linear-gradient(
		100deg,
		rgba(252,231,0, 0) 0%,
		rgba(252,231,0, 0.55) 35%,
		rgba(255, 224, 130, 0.8) 50%,
		rgba(252,231,0, 0.55) 65%,
		rgba(252,231,0, 0) 100%
	);
	transform: translateX(-150%) skewX(-20deg);
	animation: eks-outlet-shine 5s ease-in-out infinite;
	pointer-events: none;
}

@keyframes eks-outlet-shine {
	0% { transform: translateX(-150%) skewX(-20deg); }
	18%, 100% { transform: translateX(250%) skewX(-20deg); }
}

@media (prefers-reduced-motion: reduce) {
	.header-quick-links .top-outlet-link::after {
		animation: none;
		display: none;
	}
}

/* Desktop: exactly the height of the "Logi sisse" .account-button (same font
   and padding); that one has no border, so 1px comes off the vertical padding
   here to make room for ours. Mobile keeps the compact pills. */
@media (min-width: 769px) {
	.header-quick-links .top-blog-link {
		font-size: 0.9em;
		padding: calc(0.4em - 1px) 1.2em;
		border-radius: 3px;
	}

	/* Outlet is a touch larger than the other pills, so it stands out. */
	.header-quick-links .top-outlet-link {
		font-size: 1em;
	}
}

/* Checkout payment methods: Storefront floats gateway icons right, which drops
   them below the label text when the row is narrow. Keep them inline after the title.
   ========================================================================== */
.woocommerce-checkout ul.payment_methods li label {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	vertical-align: middle;
}

.woocommerce-checkout ul.payment_methods li label img {
	float: none;
	margin: 0;
	max-height: 24px;
	width: auto;
}

/* Product Collection carousel arrows (home page "Enimmüüdud tooted" etc.)
   WooCommerce styles these buttons inside :where() (zero specificity), so
   Storefront's generic button padding wins and pushes the arrow off-centre.
   The nav block also stretches after the heading with no justification,
   leaving the buttons stuck to the heading instead of the right edge.
   ========================================================================== */
.wp-block-woocommerce-product-collection .wc-block-next-previous-buttons {
	justify-content: flex-end;
	gap: 8px;
}

.wp-block-woocommerce-product-collection .wc-block-next-previous-buttons__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	line-height: 1;
}

.wp-block-woocommerce-product-collection .wc-block-next-previous-buttons__icon {
	padding: 0;
}

/* Front page: the welcome heading is the page <h1> (it used to be an <h2>).
   Keep it looking exactly like the <h2> it replaced: Storefront gives h1 a
   bigger size and -1px tracking than h2. */
h1.home-seo-h1 {
	font-size: 2em;
	letter-spacing: normal;
}

/* Front page: the SEO text block at the very bottom of the page. */
.home-seo-text {
	margin-top: 3em;
	padding-top: 3em;
}

/* Catalog link in the quick links: mobile/tablet only (the big .header-catalog
   button is hidden at <=1024px). Yellow pill, placed before Outlet. */
.header-quick-links .top-catalog-link {
	display: none;
}

@media (max-width: 1024px) {
	.header-quick-links .top-catalog-link {
		display: inline-block;
		background: #FCE700;
		border-color: #FCE700;
		color: #000000;
		font-weight: 700;
	}

	.header-quick-links .top-catalog-link:hover,
	.header-quick-links .top-catalog-link:focus {
		background: #F2D709;
		border-color: #F2D709;
		color: #000000;
	}
}

/* ==========================================================================
   Vobler: front page and footer (defined in front-page.php / inc/footer.php)
   ========================================================================== */
.vobler-home section { margin: 0 0 3em; }
.vobler-home h2 { text-align: center; margin: 0 0 1em; }
.vobler-home__stories h2, .vobler-home__facebook h2, .vobler-home__youtube h2 { text-align: left; }
.vobler-home__stories, .vobler-home__facebook, .vobler-home__youtube { width: 100%; max-width: 100%; box-sizing: border-box; } /* one container width for all three feeds */
.vobler-home__stories, .vobler-home__youtube { overflow: hidden; }
/* Instagram and Facebook feeds: 6 equal cards in one row across the container width (owner 2026-12-01) */
@media (min-width: 768px) {
	.vobler-home__stories .jr-insta-thumb ul.thumbnails.jr_col_6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 !important; padding: 0; width: 100%; }
	.vobler-home__stories .jr-insta-thumb ul.thumbnails.jr_col_6 > li { width: auto !important; float: none !important; margin: 0 !important; height: auto !important; }
	.vobler-home__stories .jr-insta-thumb ul.thumbnails.jr_col_6 > li > div { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; background-size: cover !important; background-position: center !important; border-radius: 12px; }
	.vobler-home__stories .jr-insta-thumb ul.thumbnails.jr_col_6 > li > div > a { display: block; width: 100%; height: 100%; }
	.vobler-home__facebook .wbfb_masonry_container { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: stretch; width: 100% !important; height: auto !important; position: static !important; }
	/* the plugin sets width:200px !important inline and Masonry fixes the container height before the pictures load: min-width beats the inline width, a square picture keeps every card the same */
	.vobler-home__facebook .wbfb_masonry_post { position: static !important; display: flex !important; flex-direction: column; min-width: 100% !important; max-width: none; left: auto !important; top: auto !important; margin: 0 !important; box-sizing: border-box; }
	.vobler-home__facebook .wbfb_masonry_post_body { margin-top: 0 !important; }
	.vobler-home__facebook .wbfb_masonry_post_body > a { display: block; }
	.vobler-home__facebook .wbfb_masonry_post_attachment { margin-top: 0 !important; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; }
	.vobler-home__facebook .wbfb_masonry_post_attachment img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.vobler-home__facebook .wbfb_masonry_post_footer { margin-top: auto !important; padding-top: 12px; }
}

/* Yellow strip under the menu: the four service benefits, icon + short text (home page, first block, printed outside .col-full).
   Side padding = the site content edges (.col-full: 1400px content, 2.617924em / 1.41575em side margins), items spread with space-between. */
.vobler-home__notice .wp-block-group__inner-container,
.vobler-notice__item .wp-block-group__inner-container { display: contents; }
.vobler-home__notice .is-layout-flow > *, .vobler-home__notice .wp-block-group > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.vobler-home__notice {
	background: #FCE700; color: #1a1a1a; margin: 0; width: 100%; box-sizing: border-box;
	padding: 8px 22.65px; border-top: 1px solid rgba(0, 0, 0, .12);
	display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 4px 20px;
	font-size: .85em; line-height: 1.3;
}
@media (min-width: 768px) { .vobler-home__notice { padding-left: max(41.9px, calc((100% - 1400px) / 2)); padding-right: max(41.9px, calc((100% - 1400px) / 2)); } }
.vobler-notice__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.vobler-notice__item figure { margin: 0; flex: 0 0 24px; line-height: 0; }
.vobler-notice__item img { display: block; width: 24px; height: 24px; object-fit: contain; }
.vobler-notice__item p { margin: 0; font-weight: 600; white-space: nowrap; }
@media (max-width: 980px) {
	.vobler-home__notice { display: grid; grid-template-columns: repeat(2, max-content); justify-content: space-between; gap: 6px 16px; }
}
@media (max-width: 560px) {
	.vobler-home__notice { grid-template-columns: 1fr; font-size: .8em; }
	.vobler-notice__item p { white-space: normal; }
}
.vobler-home__benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vobler-benefit { display: flex; align-items: center; gap: 16px; }
/* Gutenberg group blocks add an inner wrapper; keep the original layout of the home page sections. */
.vobler-home .wp-block-group__inner-container { display: contents; }
.vobler-benefit figure { margin: 0; flex: 0 0 64px; }
.vobler-benefit .wp-block-group { margin: 0; }
.vobler-benefit img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: contain; }
.vobler-benefit h3 { font-size: 1em; margin: 0 0 .3em; }
.vobler-benefit p { margin: 0; color: #666; font-size: .9em; }
@media (max-width: 900px) {
	.vobler-home__benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .vobler-home__benefits { grid-template-columns: 1fr; } }

.vobler-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.vobler-footer__logo img { display: block; width: 72px; height: auto; }
.vobler-footer__contacts, .vobler-footer__legal { display: flex; flex-direction: column; gap: .4em; }
.vobler-footer__copy { flex: 0 0 100%; text-align: center; font-size: .85em; border-top: 1px solid rgba(255,255,255,.12); padding-top: .8em; }
.site-footer .vobler-footer, .site-footer .vobler-footer a { color: #ffffff !important; }
.site-footer .vobler-footer a:hover { color: #FCE700 !important; }
@media (max-width: 800px) { .vobler-footer { flex-direction: column; align-items: flex-start; } .vobler-footer__copy { flex: 0 0 auto; align-self: stretch; } }

/* Catalog layouts (woocommerce/archive-product.php) */
.vobler-catalog__title { margin: 0 0 1em; }
.vobler-catalog__cols { display: grid; grid-template-columns: 30% 1fr; gap: 32px; align-items: start; }
.vobler-catalog__side { min-width: 0; }
/* Product listings: the brand filter only needs enough room for the longest brand name. */
.vobler-catalog--products .vobler-catalog__cols { grid-template-columns: 230px 1fr; gap: 28px; }
/* Product listings, desktop only: the white content card (#primary, `padding: 2em` ~41.9px, set in the
   "woocommerce #primary" rule below) has no side padding. Mobile keeps its indent. */
@media (min-width: 768px) {
	body.tax-product_cat #primary,
	body.tax-product_brand #primary,
	body.tax-product_tag #primary,
	body.post-type-archive-product #primary {
		padding-left: 0;
		padding-right: 0;
	}
}
.vobler-catalog__main { min-width: 0; }
@media (max-width: 900px) { .vobler-catalog__cols, .vobler-catalog--products .vobler-catalog__cols { grid-template-columns: 1fr; } }
body.woocommerce.archive .content-area, body.post-type-archive-product .content-area { width: 100%; float: none; margin-right: 0; }

/* Home sliders "Uued tooted" and the category slider (plugin custom-product-slider-ui: wrappers have
   `max-width: 1280px; margin: 0 auto; padding: 20px`). Desktop only: no side padding, full width of the
   container like the banners. The arrows keep their position relative to the slides (they used to sit in
   the 20px padding, so now they are moved 20px outwards). Mobile keeps the original look. The brand
   slider is already full-bleed. */
@media (min-width: 768px) {
	.cps-slider-wrap,
	.cps-cat-slider-wrap {
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}
	.cps-slider-wrap .cps-nav.prev,
	.cps-cat-slider-wrap .cps-cat-nav.prev {
		left: -20px;
	}
	.cps-slider-wrap .cps-nav.next,
	.cps-cat-slider-wrap .cps-cat-nav.next {
		right: -20px;
	}
}

/* Brand slider [product_brand_slider]: logos a bit smaller than the plugin default (80px high, 20px padding). */
.cps-brand-slider-wrap { padding: 12px 0; }
/* Every logo fits the same 150x56 box (wide ones are limited by width, tall ones by height). */
.cps-brand-slider-wrap .cps-brand-image { height: 56px; }
.cps-brand-slider-wrap .cps-brand-image img { width: 150px; max-width: 100%; height: 56px; max-height: none; object-fit: contain; }

/* Hero slider (inc/front-blocks.php, assets/js/hero-slider.js) */
.vobler-hero { position: relative; width: 100%; }
.vobler-hero__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.vobler-hero__track::-webkit-scrollbar { display: none; }
.vobler-hero__slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; aspect-ratio: 4 / 1; overflow: hidden; }
.vobler-hero__slide a { display: block; height: 100%; }
.vobler-hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Desktop: the hero spans the full window width and each picture is shown whole (no 4:1 box, no cropping):
   the slide height follows the picture. Same breakout technique as .site-info. Mobile keeps its 2:1 box. */
@media (min-width: 576px) {
	body.home .vobler-home__hero { width: 100vw; max-width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
/* 2026-12-02: the plugin's [top_slider] prints a <style> before the slider, so the slider is no longer the first child of the group and Gutenberg's block gap (24px) pushed it down; the page lives in Gutenberg, so the fix is CSS, not content. */
.vobler-home__hero .wp-block-group__inner-container > *, .vobler-home__hero.is-layout-flow > * { margin-block-start: 0 !important; }
	.vobler-hero__track { align-items: flex-start; }
	.vobler-hero__slide { aspect-ratio: auto; }
	.vobler-hero__slide img { height: auto; object-fit: initial; }
}
.vobler-hero__caption { position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; pointer-events: none; }
.vobler-hero__caption span {
	display: inline-block; padding: 12px 28px; color: #fff; font-size: 1.8rem; line-height: 1.2;
	background: rgba(0,0,0,.45); border-radius: 4px;
}
.vobler-hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(0,0,0,.35); cursor: pointer;
}
.vobler-hero__nav::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px;
	border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.vobler-hero__nav--prev { left: 20px; }
.vobler-hero__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.vobler-hero__nav--next { right: 20px; }
.vobler-hero__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.vobler-hero__nav:hover, .vobler-hero__nav:focus-visible { background: rgba(0,0,0,.6); }
.vobler-hero__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.vobler-hero__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }
.vobler-hero__dot.is-active { background: #FCE700; }
@media (max-width: 575px) {
	.vobler-hero__slide { aspect-ratio: 2 / 1; }
	.vobler-hero__caption span { padding: 6px 14px; font-size: .9rem; }
	.vobler-hero__nav { width: 34px; height: 34px; }
	.vobler-hero__nav--prev { left: 8px; } .vobler-hero__nav--next { right: 8px; }
}

/* Banner cards */
.vobler-banners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.vobler-banner {
	position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; height: 300px;
	background: #d3ced2; overflow: hidden; border-radius: 8px; transition: transform .3s ease, filter .3s ease;
}
.vobler-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vobler-banner:hover { transform: scale(1.03); filter: brightness(1.2); }
/* No overlay on the picture: the caption is centred at the bottom on a full-width dark strip. */
.vobler-banner__text {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; box-sizing: border-box;
	color: #fff; font-size: 1.6em; font-weight: 600; text-align: center; padding: .6em 1em;
	background: rgba(0,0,0,.55);
}
@media (max-width: 900px) { .vobler-banners { grid-template-columns: minmax(0, 1fr); } }

/* The front page has no sidebar: use the full width (Storefront's right-sidebar layout reserves ~26%). */
body.home .content-area.vobler-home { width: 100%; float: none; margin-right: 0; }
.vobler-home__banners, .vobler-home__hero, .vobler-home__sliders { width: 100%; }

/* Header category menu: centred in the site container, all 12 items in ONE row. */
.custom-navigation-menu .vcm-menu--horizontal {
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
}
@media (min-width: 1401px) {
	.custom-navigation-menu .vcm-menu--horizontal { font-size: 13px; }
	.custom-navigation-menu .vcm-menu__list--root { flex-wrap: nowrap; justify-content: space-between; }
	.custom-navigation-menu .vcm-menu__list--root > .vcm-menu__item > .vcm-menu__link { padding: 10px 6px; }
}
@media (min-width: 769px) and (max-width: 1400px) {
	.custom-navigation-menu .vcm-menu__list--root { justify-content: center; }
}

/* Banner row from the Custom Product Slider UI plugin: Vobler banners are 3:2 pictures that fill the column (the plugin default is a square with the picture centred). */
.vobler-home__banners .cps-banner-col { aspect-ratio: 3 / 2; }
.vobler-home__banners .cps-banner { background-size: cover; }
