/*!
Theme Name: Derű
Theme URI: http://patronet.net/
Author: patronet
Author URI: http://patronet.net/
Description: Derű.hu honlapja.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: deru
Tags: Egyedi grafika

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

:root {
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}



/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
	padding-bottom: 40px;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 41px;
	margin: 0.67em 0;
	font-family: "Acta Display Light", serif;
	font-weight: 300;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}
.menu-top-logo{
	display: none;
}
span.xoo-wsc-sc-count, span.xoo-wsch-items-count {
	background: rgb(67, 176, 42);
}
.deru-front-page-cta{
	text-transform: uppercase;
	text-align: center;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 20px 0;
	display: inline-block;
	margin-bottom: 80px;
	position: relative;
}

.deru-front-page-cta::before,
.deru-front-page-cta::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: #000;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 2;
}

.deru-front-page-cta::before {
	top: -1px;
}

.deru-front-page-cta::after {
	bottom: -1px;
}

.deru-front-page-cta:hover::before,
.deru-front-page-cta:hover::after {
	transform: scaleX(1);
}


/* Text-level semantics
	 ========================================================================== */
.wpcf7-form label{
	font-size: 14px;
}
.wpcf7-form-control.wpcf7-textarea{
	max-width: 400px;
}
.wpcf7-form-control.wpcf7-submit.has-spinner{
	margin-left: 48px !important;
}
.deru-save-info-checkbox a{
	color: #11823b !important;
	text-decoration: underline !important;
}
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label img{
	width: 160px !important;
	height: 80px !important;
	max-height: 80px !important;
}
/**
 * Remove the gray background on active links in IE 10.
 */
#page a, .site a, .site-footer a, header a {
	position: relative;
	background-color: transparent;
	text-decoration: none;
	display: inline-block;
	color: #333;
}


/*#page a:hover{*/
/*	text-decoration: none;*/
/*}*/

#page a:visited{
	color: #333 !important;
}
/*#page a:hover{*/
/*	text-decoration: none;*/
/*}*/

#masthead.sticky .deru-top-logo {
	transform: scale(0.6);
	transition: all 0.4s cubic-bezier(.4,0,.2,1);
	transform-origin: center center;
	/*margin-left: 20px;*/
}

.site-footer a::after{
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0px;
	width: 100%;
	height: 1px;
	background: #ccc;
	transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
}

.deru-row__link a::after{
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: #7ac143 !important;
	transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
	transform: translateX(-50%) scaleX(1);
	transform-origin: center;
}
.deru-row__link a::before{
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	height: 2px;
	width: 100%;
	background: black;
	transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	bottom: -4px;
	z-index: 1;
}

.deru-row__link a:hover::before{
	content: "";
	display: block;
	position: absolute;
	height: 2px;
	background: black;
	transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
	transform: translateX(-50%) scaleX(1);
	transform-origin: center;
}
.deru-row__link a:hover::after,
.site-footer a:hover::after{
	width: 100%;
	transform: translateX(-50%) scaleX(1);
}

.before-footer{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 0;
	background: linear-gradient(#f7f5f4, #ffffff);
}

.footer-logo, .footer-logo-mobile{
	position: relative;
	display: inline-block;
	margin-bottom: 40px;
}
.footer-logo:after, .footer-logo-mobile:after{
	content: "";
	width: 32px;
	height: 2px;
	background-color: #000;
	position: absolute;
	transform: translateY(50%);
	top: calc(50% - 5px);
	right: -50px;
}

.footer-logo-mobile{
	display: none;
}

.footer-col--contact{
	display: flex;
	flex-direction: column;
	justify-content: space-between;

}
.footer-col--contact>div{
}

.payment-methods{
	--logo-base-height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 10px;
	min-height: var(--logo-base-height);
	position: relative;
	flex-wrap: wrap;
	padding: 0 10px;
}
.payment-methods img{
	margin-right: 20px;
	height: var(--logo-base-height);
	margin-bottom: 10px;
}
.payment-methods img.mastercard{
	height: calc(var(--logo-base-height) * 1.1);
}
.payment-methods img.maestro{
	height: calc(var(--logo-base-height) * 1.1);
}
.payment-methods img.visa{
	height: calc(var(--logo-base-height) * 0.75);
}
.payment-methods img.applepay{
	height: calc(var(--logo-base-height) * 0.8);
}
.payment-methods img.googlepay{
	height: calc(var(--logo-base-height) * 0.95);
}
.payment-methods img.gls{
	height: calc(var(--logo-base-height) * 0.8);
}


.mail_signup_headline{
	font-family: "mallory_compactbold", sans-serif;
	font-weight: normal;
}
#mailpoet_form_1 .mailpoet_paragraph{
	margin-bottom: 0 !important;
}

/* --- Derű: MailPoet űrlap a .before-footer blokkban – nagy, modern checkbox --- */
/* A label legyen rugalmas tároló a doboznak + szövegnek, class-függetlenül */
.before-footer label[for^="mailpoet_checkbox_"],
.before-footer .mailpoet_checkbox_label{
	position: relative;
	display: flex;
	align-items: flex-start; /* a doboz a szöveg tetejéhez igazodjon */
	gap: 12px; /* térköz a doboz és a szöveg között */
	line-height: 1.4;
	margin-top: 10px;
}
/* A natív input marad a DOM-ban és fókuszolható, de vizuálisan rejtjük */
.before-footer input.mailpoet_checkbox{
	position: absolute;
	opacity: 0;
	width: 24px;
	height: 24px;
	left: 0;
	top: 0;
	margin: 0;
	cursor: pointer;
}
/* Vizuális doboz, amely az input után kerül beszúrásra JS-ből */
.before-footer .deru-checkbox-box{
	position: relative;
	width: 20px;
	height: 20px;
	border-radius: 3px;
	background: #eee; /* tömörített doboz */
	border: 1px solid #464646;
	flex: 0 0 24px;
	box-shadow: 0 1px 0 rgba(0,0,0,.05) inset;
	display: inline-block;

}
/* Túlméretes pipa – SVG-vel, megadott zöld színnel (rgb(67, 176, 42)) */
.before-footer .deru-checkbox-box::after{
	content: "";
	position: absolute;
	/* kissé kilógjunk a 24x24-es dobozból */
	left: -0px;
	top: -14px;
	width: 30px;
	height: 30px;
	/* az SVG alakot maszkoljuk, így bármilyen színt rá tudunk tenni */
	background-color: rgb(67, 176, 42);
	-webkit-mask: url('/wp-content/themes/deru/assets/img/checkmark.svg') center / contain no-repeat;
	mask: url('/wp-content/themes/deru/assets/img/checkmark.svg') center / contain no-repeat;
	opacity: 0;
	transition: opacity .15s ease; /* lágy megjelenés */
	overflow: visible; /* engedjük a kilógást */
	pointer-events: none; /* ne zavarja a kattintást */
}
/* Checked állapot – input után áll a doboz */
.before-footer input.mailpoet_checkbox:checked + .deru-checkbox-box::after{
	opacity: 1;
}
/* Fókuszjelzés billentyűzettel */
.before-footer input.mailpoet_checkbox:focus-visible + .deru-checkbox-box{
	outline: 2px solid #000;
	outline-offset: 2px;
}
/* Kattinthatóság jelzése */
.before-footer .deru-checkbox-box{
	cursor: pointer;
	float: left;
	margin-right: 11px;
}
.mailpoet_checkbox_label {
	font-size: 14px;
}
.mailpoet_checkbox_label a{
	border-bottom: 1px solid #ccc;
}

/****** Mailpoet Form ******/

.before-footer .mailpoet-form{
	/*width: 450px;*/
}
.before-footer .mailpoet-form .mailpoet_text{
	border: 1px solid #484848 !important;
	border-radius: 0;
	font-size: 13px;
	box-sizing: border-box;
	height: 36px;
	padding: 1px
}
.before-footer .mailpoet-form .mailpoet_text.parsley-error{
	border: 2px solid #ff0000 !important;
}
.before-footer .mailpoet-form .parsley-errors-list{
	position: absolute !important;
}
 .before-footer .mailpoet-form .mailpoet_submit{
	width:auto !important;
	height: 36px;
	background: rgb(67, 176, 42);
	border: none;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border-radius: 0;
	transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
	text-transform: uppercase;
	 padding: 4px 18px !important;
}
.before-footer .mailpoet-form .mailpoet_text:focus{
	border: 2px solid #43B02A !important;
	outline: none;
	padding: 0px !important;

}

.before-footer .social-icons{
	padding-bottom: 17px;
}
.before-footer .social-icons a{
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-right: 10px;
}
.before-footer .social-icons img{
	width: 24px !important;
	height: 24px !important;
	/*display: block;*/
	object-fit: cover;
	object-position: center;
	transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}







/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
     ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* -----------------------------------------
   Customer Reviews – PhotoSwipe visibility
   Rejtse el a .cr-pswp elemet minden oldalon,
   kivéve az egyedi termékoldalakat (Woo: .single-product)
------------------------------------------ */
.cr-pswp { display: none  }
.single-product .cr-pswp { display: block }

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}
@media print {
	.before-footer{
		display: none;
	}
	#colophon{
		display: none;
	}
	.related-posts{
		display: none;
	}
	#site-navigation{
		display: none;
	}
	.header-shop{
		display: none !important;
	}
}
/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Mallory Cmpct Book', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */


hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}


ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #008b30;
}

a:visited {
	color: #036424;
}

a:hover,
a:focus,
a:active {
	color: #008b30;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	color: #fff;
	background: #008b30 ;
	border: none;
	padding: 10px 20px;
	border-radius: 0px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .3s ease-in-out;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #006622 ;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background: #006622 ;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

button.white_button, a.white_button, input[type="submit"].white_button{
	background: #fff;
	color: #464646;
	border: 1px solid #464646;
	padding: 5px 30px;
	font-weight: 400;
	transition: background .3s ease-in-out;
}
button.white_button:hover, a.white_button:hover, input[type="submit"].white_button:hover{
	background: #eee 	!important;
	transition: background .3s ease-in-out;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

.pagination .nav-links{
	display: flex;
	justify-content: center;
	gap: 10px;
}
.pagination .nav-links>span, .pagination .nav-links>a{
	padding: 5px 20px ;
	background: #008b30;
	color: #fff;
	text-decoration: none;
	text-align: center;

}
.pagination .nav-links>span.current, .pagination .nav-links>a.current{
	background: #ccc;
	border: 1px solid #606060;
	width: 30px;
}



/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}
.cc-cp-foot-save{
	background-color: #008b30;
}
.termsfeed-com---palette-light .cc-nb-okagree{
	background-color: #008b30 !important;
}

.header-shop__cart-icon .xoo-wsc-icon-shopping-bag1:before{
	content: "" !important;
	width: 25px;
	height: 25px;
	display: inline-block;
	background-image: url(/wp-content/themes/deru/dist/img/basket.svg) !important;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.xoo-wsc-icon-shopping-bag1:before{
	content: "" !important;
	width: 32px;
	height: 32px;
	display: inline-block;
	background-image: url(/wp-content/themes/deru/dist/img/basket.svg) !important;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer .site-info-bottom{
	background: #008b30;
	color: #fff;
	padding: 20px;
	text-align: center;
}
.site-footer {
	background: #f4f4f4;
	color: #333;
	padding-top: 40px ;
}
.site-footer a {
	color: inherit;
	text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus {
	text-decoration: none;
}
.site-footer .site-info {
	max-width: 1200px;
	margin: 0 auto;
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col {
	flex: 1 1 220px;
	min-width: 200px;
}
.footer-col .footer-col-title {
	margin: 0 0 12px;
	font-size: 14px;
	letter-spacing: 0.08em;
	font-weight: 700;
	color: #878787;
	text-transform: uppercase;
	font-family: mallory_compactbold,sans-serif;
}
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-col li {
	margin: 6px 0;
}
.footer-col p {
	margin: 6px 0;
}

.footer-col .icon-envelope {
	margin-right: 8px;
	vertical-align: middle;
	width: 16px;
	height: 16px;
	display: inline-block;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	/*border-bottom: 1px solid #eee;*/
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
	padding: 10px 20px;
	height: 80px;
}

.header-mobile-left {
	display: none;
	align-items: center;
	gap: 15px;
	flex: 1;
}

.header-col--logo {
	flex: 0 0 auto;
}

.header-col--menu {
	flex: 1;
	display: flex;
	justify-content: center;
}

.header-col--shop {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	line-height: 0;
}

.menu-close-button {
	display: none;
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 36px;
	cursor: pointer;
	line-height: 1;
	color: #333;
	z-index: 2010;
}

.header-mobile-search-trigger {
	display: none;
}

@media (max-width: 1200px) {
	.site-info{
		padding-left: 20px ;
		padding-right: 20px ;
	}
}
/* Mobile adjustments */
@media (max-width: 768px) {
	h1 {
		font-size: 36px;
		line-height: 1.2;
	}
	.entry-content h2{
		font-size: 24px !important;
		line-height: 1.2;
		text-align: center;
	}
	.category .page-title{
		font-size: 44px !important;
		line-height: 1.2;
		text-align: center;
		margin-bottom: 20px !important;
	}
	.entry-category.container.narrow{
		font-size: 14px !important;
	}
	.category .post-card__title a, .tag .post-card__title a{
		font-size: 31px !important;
	}
	.deru-row__title{
		font-size: 31px !important;
	}
	.deru-three-col-section.container{
		padding: 4px 0 !important;
	}
	article.post .the_excerpt *{
		font-size: 20px !important;
	}
	.deru-post-tags{
		text-align: center;
	}
	.container, .header-bar{
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	.deru-two-col-rows .deru-row--two-col:nth-child(odd) .deru-row__content,
	.deru-two-col-rows .deru-row--two-col:nth-child(even) .deru-row__content {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
	.footer-col .footer-col-title{
		text-align: left;
	}
	.footer-col p{
		text-align: left;
	}
	.footer-col--contact>div{
		text-align: left;
	}
	#menu-lablec-menu-1{
		text-align: left;
	}
	#menu-lablec-menu-2 {
		text-align: left;
	}
	.footer-logo-mobile {
		display: inline-block;
		margin-bottom: 30px;
		margin-top: 20px;
	}
	.footer-logo-mobile:after{
		left: 100px;
	}
	.footer-logo {
		display: none;
	}
	.payment-methods {
		--logo-base-height: 20px;
	}

	.before-footer {
		flex-direction: column;
		text-align: left;
		padding: 20px;
		gap: 0px;
	}
	.before-footer>div{
		width: 100%;
	}
	.mail_signup_headline{
		margin: 0;
	}
	.before-footer .mailpoet-form {
		width: 100%;
		max-width: 450px;
	}

	#mailpoet_form_1 .mailpoet_form_column:not(:first-child) {
		margin-left: 0 !important;
		margin-top: 10px;
	}

	#mailpoet_form_1 .mailpoet_form_columns_container .mailpoet_form_columns {
		flex-direction: column !important;
	}
	.mailpoet_form_column{
		container-type: inherit !important;
	}
	#mailpoet_form_1 form.mailpoet_form{
		padding: 0 !important;
	}
	.before-footer .mailpoet-form .mailpoet_text,
	.before-footer .mailpoet-form .mailpoet_submit {
		width: 100% !important;
	}

	.menu-top-logo{
		display: block;
	}
	.header-bar {
		height: 60px;
		padding: 10px 15px;
	}

	.header-mobile-left {
		display: flex;
		position: relative;
		z-index: 1010;
		flex: 0 0 auto;
	}

	.header-col--logo {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		z-index: 1020;
	}

	.header-col--logo img {
		width: 120px;
		height: auto;
	}

	.header-col--menu {
		display: none; /* Desktop menu hidden */
	}

	.header-col--shop {
		flex: 1;
	}

	.header-shop__search {
		display: none !important; /* Hide desktop search icon */
	}

	.menu-toggle {
		display: block;
	}

	.header-mobile-search-trigger {
		display: block;
	}

	#primary-menu  a{
		font-size: 20px !important;
	}

	/* Slide-in menu */
	.main-navigation {
		display: block !important;
		position: fixed !important;
		top: 0 !important;
		left: -300px;
		width: 300px;
		height: 100vh;
		background: #fff;
		z-index: 2000;
		transition: left 0.4s ease-in-out;
		box-shadow: 2px 0 10px rgba(0,0,0,0.1);
		padding: 60px 20px 20px;
		overflow-y: auto;
		z-index: 2010;
	}

	@media (max-width: 450px) {
		.main-navigation {
			width: 100%;
			left: -100%;
		}
		.main-navigation li {
			display: block;
		}
		.main-navigation ul ul {
			width: 100% !important;
			padding-left: 15px !important;
		}
		.main-navigation ul ul li {
			min-width: 0 !important;
			border-bottom: none;
		}
	}

	.main-navigation.toggled {
		left: 0;
	}

	.main-navigation ul {
		display: block !important;
		padding: 0;
		margin: 0;
		list-style: none;
	}

	.main-navigation li {
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #f0f0f0;
	}

	.main-navigation a {
		display: block;
		padding: 15px 0;
		font-size: 18px;
		text-decoration: none;
		color: #333;
		border-bottom: none;
		position: relative;
	}

	.menu-item-has-children > a::after,
	.page_item_has_children > a::after {
		display: none !important;
	}

	.main-navigation a:hover,
	.main-navigation a:focus {
		padding-bottom: 15px;
	}

	.main-navigation a::after {
		display: none;
	}

	.menu-close-button {
		display: block;
	}

	body.menu-open {
		overflow: hidden;
	}

	body.menu-open::after {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.0001);
		z-index: 40;
	}

	/* Force sub-menus to be open on mobile */
	.main-navigation ul ul {
		display: block !important;
		position: relative !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		pointer-events: auto !important;
		box-shadow: none !important;
		background: transparent !important;
		padding-left: 20px !important;
		margin: 0 !important;
		transition: none !important;
	}

	.main-navigation ul ul a {
		padding: 10px 0 !important;
		font-size: 16px !important;
		font-weight: 300 !important;
	}
	.site-header.sticky{
		padding-top: 10px;
		transition: all 0.5s ease-in-out;
		position: sticky !important;
		top: 0 !important;
	}

	/* Disable all hover effects on mobile (768px and below) */
	@media (max-width: 768px) {
		/* Reset common hover styles */
		a:hover,
		button:hover,
		input[type="submit"]:hover,
		.white_button:hover,
		.main-navigation a:hover,
		.header-shop__link:hover,
		.site-search-panel__close:hover,
		.search-result__title a:hover,
		.search-result__button:hover,
		.category .list_grid article:hover,
		.tag .list_grid article:hover,
		.entry-action:hover,
		#scrollToTop:hover,
		.deru-featured-products__item:hover,
		.deru-three-col-item:hover,
		.xoo-wsc-ft-btn:hover,
		.xoo-wsc-btn:hover {
			background-color: inherit !important;
			color: inherit !important;
			opacity: inherit !important;
			transform: none !important;
			text-decoration: inherit !important;
			box-shadow: none !important;
		}

		/* Specific resets for pseudo-elements used for underlines and effects */
		a:hover::after,
		.main-navigation a:hover::after,
		.deru-row__link a:hover::after,
		.site-footer a:hover::after,
		.deru-front-page-cta:hover::before,
		.deru-front-page-cta:hover::after {
			display: none !important;
			transform: none !important;
			opacity: 0 !important;
		}

		/* Reset image/card scales and keep CTA hidden on touch */
		.deru-featured-products__item:hover .deru-featured-products__cta,
		.deru-three-col-item:hover .deru-three-col-img {
			transform: none !important;
			opacity: 0 !important; /* ne jelenjen meg hoverre mobilon */
			margin-top: -35px !important;
		}
		
		.site-header:hover {
			opacity: 1 !important;
		}

		/* Ensure WooCommerce / Side cart buttons don't change on hover */
		.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover, 
		.xoo-wsc-container .xoo-wsc-btn:hover {
			background-color: #7AC143 !important; /* Default green */
			color: #fff !important;
		}
		
		/* White buttons should stay white */
		button.white_button:hover, a.white_button:hover, input[type="submit"].white_button:hover {
			background: #fff !important;
			color: #464646 !important;
		}
	}
}

/* Extra védelem: érintős eszközökön tiltsuk a hover alapú CTA megjelenést, még nagyobb viewport esetén is */
@media (hover: none), (pointer: coarse) {
    .deru-featured-products__item:hover .deru-featured-products__cta {
        opacity: 0 !important;
        margin-top: -35px !important;
    }
}

.site-header:hover{
	opacity: 1;
}
.main-navigation {
    position: relative;
    top: 0px;
    font-size: 16px;
    font-family: "Mallory Cmpct Book",sans-serif;
}

/* Ensure horizontal layout for primary menu on larger screens */
@media screen and (min-width: 37.5em) {
    .main-navigation ul#primary-menu { /* scope to primary menu */
        display: flex;
        gap: 34px;
        align-items: center;
    }
}

/* Link styles: color and inheritance */
.main-navigation a {
    color: #464646;
    border-bottom: 1px solid transparent; /* prevent layout shift */
	padding-bottom: 6px;
	font-weight: 300;
	font-family: "MalloryCompact-Light ",sans-serif;

}
.main-navigation a:hover,
.main-navigation a:focus {
    color: #464646;
}
.main-navigation a:visited {
    color: #464646 !important;
}
.sub-menu{
	box-shadow: none !important;
}
#primary-menu > li > a {
	position: relative;
	text-transform: uppercase;
	font-size: 14px;
}
/* Dropdown basics */
.main-navigation ul ul {
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    left: auto !important;
    transition: opacity .4s ease-in-out, transform .4s ease-in-out, visibility 0s linear .4s;
}
.main-navigation ul ul a {
    color: #464646;
    font-size: 14px;
    padding: 8px 12px;
	font-weight: 300;
}

.main-navigation a::after{
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0px;
	width: 0;
	height: 1px;
	background: #ccc;
	transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
}
.main-navigation a:hover::after{
	width: 100%;
	transform: translateX(-50%) scaleX(1);

}

.main-navigation ul ul li {
    min-width: 200px;
}


/* Header layout: 3 columns (logo | menu | shop icons) */
.site-header {
	/* keep existing relative positioning from earlier rules */
	padding-top: 30px;
	transition: all 0.5s ease-in-out;
}
.header-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
}
.header-col--logo {
	justify-self: start;
}
.header-col--menu {
	justify-self: center;
}
.header-col--shop {
	justify-self: end;
}

/* Shop icons styling */
.header-shop {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 20px; /* icon size */
	line-height: 1;
}
.header-shop__link {
	position: relative;
	text-decoration: none;
	color: rgb(0, 138, 37);
}
.header-shop__link:hover,
.header-shop__link:focus {
    color: rgb(0, 120, 32);
}
.header-shop__cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	background: #e53935;
	color: #fff;
	font-size: 11px;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
	line-height: 1;
	font-weight: 700;
}

/* Top slide-in search panel */
.site-search-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    pointer-events: none; /* alapból ne legyen kattintható */
}
.site-search-panel[aria-hidden="true"] .site-search-panel__inner {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.site-search-panel[aria-hidden="true"] .site-search-backdrop {
    opacity: 0;
    pointer-events: none;
}
.site-search-panel[aria-hidden="false"] .site-search-panel__inner {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.site-search-panel[aria-hidden="false"] .site-search-backdrop {
    opacity: 1;
    pointer-events: auto;
}
.site-search-panel__inner {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    padding: 16px;
    position: relative; /* a bezáró gomb pozicionálásához */
    display: flex;
    /* a form elemek vertikális középre igazításához */
    align-items: center; /* vertikális középre igazítás */
    min-height: 200px; /* magasabb panel */
    transition: transform .35s ease, opacity .35s ease;
}
.site-search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    border: 0;
    transition: opacity .35s ease;
    z-index: -1;
}
.site-search-form {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}
.site-search-form__input {
    width: 100%;
    height: 52px;
    padding:  16px;
	padding-left: 24px !important;
    font-size: 18px;
}
.site-search-form__input:focus {
    outline: none;
    border-color: #949494;
	box-shadow: inset 2px 2px 4px 2px rgb(0,0,0,.1);
}
.site-search-form__submit {
    height: 52px;
    padding: 0 22px;
    border: 0;
    background: rgb(0,138,37);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
/*.site-search-form__submit:hover,*/
/*.site-search-form__submit:focus {*/
/*    background: rgb(0,120,32);*/
/*}*/
.site-search-panel__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: 0;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}
.site-search-panel__close:hover,
.site-search-panel__close:focus { color: #fff; }

@media (max-width: 600px) {
    .site-search-form { grid-template-columns: 1fr; }
    .site-search-form__submit { width: 100%; }
    .site-search-panel__inner { min-height: 120px; }
}

/* Desktop: a panelen belül 70% szélesség (768px-től felfelé) */
@media (min-width: 768px) {
    .site-search-form { width: 55%; }
}

/* Responsive: on small screens, stack logo and place menu below, icons on the right of logo row */
@media (max-width: 768px) {
	.header-bar {
		grid-template-columns: 1fr auto; /* logo and icons on first row */
		grid-template-areas: "logo shop" "menu menu";
	}
	.header-col--logo { grid-area: logo; }
	.header-col--menu {
		grid-area: menu;
		justify-self: stretch;
		align-items: center;
		justify-content: center;
	}
	.header-col--shop { grid-area: shop; }
	/* let the WP responsive menu handle the menu list display */
	#primary-menu{
		align-items: center;
	}
	#masthead.sticky .deru-top-logo{
		padding-left: 0px;
	}

	.site-header {
		position: sticky !important;
		top: 0 !important;
		z-index: 1000 !important;
		background: #fff !important;
	}

}


/* Submenu underline: animate from left to right (override center-expanding for submenus only) */
.main-navigation ul ul a {
    position: relative; /* ensure pseudo-element positions correctly */
}
.main-navigation ul ul a::after {
    left: 0 !important; /* override any 50% centering */
    width: 100%;
    transform: scaleX(0) !important; /* start hidden from the left */
    transform-origin: left !important; /* expand from left */
}

/* =============================
   Keresési találati lista (csak search oldal)
   ============================= */
body.search .page-title {
    text-align: center;
    margin-bottom: 36px;
}

body.search .search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

body.search .search-result {
    display: flex;
    gap: 24px;
    align-items: stretch;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

/* Bal oszlop: kép – a sor 30%-a, landscape arány */
body.search .search-result__media {
    flex: 0 0 30%;
    max-width: 30%;
    min-width: 220px;
    aspect-ratio: 16 / 10;
    background: #f5f5f5;
    overflow: hidden;
    display: block;
}
body.search .search-result__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.search .search-result__image--placeholder {
    background: #e9e9e9;
}

/* Jobb oszlop: tartalom */
body.search .search-result__body {
    flex: 1 1 auto;
}
body.search .search-result__title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.25;
}
body.search .search-result__title a { color: #464646; text-decoration: none; }
body.search .search-result__title a:hover,
body.search .search-result__title a:focus { color: rgb(0,120,32); text-decoration: underline; }

body.search .search-result__excerpt { color: #555; margin-bottom: 12px; }
body.search .search-result__excerpt p { margin: 0 0 10px; }

body.search .search-result__actions { margin-top: 8px; }
body.search .search-result__button {
    display: inline-block;
    background: rgb(0,138,37);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 16px;
    border: 0;
    cursor: pointer;
}
body.search .search-result__button:hover,
body.search .search-result__button:focus {
    background: rgb(0,120,32);
}

/* Reszponzív: 768px alatt kép felül, 100% szélességben */
@media (max-width: 768px) {
    body.search .search-result { flex-direction: column; gap: 14px; }
    body.search .search-result__media { flex: none; max-width: 100%; min-width: 0; aspect-ratio: auto; }
    body.search .search-result__image { width: 100%; height: auto; }
}
.main-navigation ul ul a:hover::after,
.main-navigation ul ul a:focus::after {
    transform: scaleX(1) !important; /* reveal underline left -> right */
}


/* Submenu slide-down and fade-in on hover/focus */
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul,
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: auto; /* ensure visible near parent */
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    display: flex; /* keep vertical flex layout */
    /* Show immediately with no visibility delay */
    transition: opacity .4s ease-in-out, transform .4s ease-in-out, visibility 0s linear 0s;
}


/* Submenu left-top 25px line slide-in after submenu appears */
/*.main-navigation ul ul::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*    width: 1px;*/
/*    height: 0;*/
/*    background: #ccc;*/
/*    z-index: 1;*/
/*    pointer-events: none;*/
/*    transition: height .3s ease-in-out; !* duration .3s *!*/
/*.main-navigation ul li:hover > ul::before,*/
/*.main-navigation ul li.focus > ul::before,*/
/*.main-navigation ul ul li:hover > ul::before,*/
/*.main-navigation ul ul li.focus > ul::before {*/
/*    height: 25px;*/
/*    transition-delay: .4s; !* wait until submenu reveal (all .4s) finishes *!*/
/*}*/

/* Page hero (custom header media) */
.deru-hero {
	position: relative;
	width: 100%;
	display: block;
	overflow: hidden;
	margin-top: 25px;
	aspect-ratio: 100 / 35; /* Arányos magasság */
	transition: all 500ms ease-in-out;
}

.deru-hero__media--image,
.deru-hero__media--video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-view-box: inset(0 0 0 0);
}

.deru-hero__media--image {
	background-size: cover;
	background-position: center;
	object-fit: cover;
	object-position: center;
	transition: all 500ms ease-in-out;
}

.deru-hero__media--video {
	background: #000;
}

.deru-hero__video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
}

.deru-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: 20px;
}

.deru-hero__inner {
	margin-left: 60%;
	max-width: 35%; /* Opcionális: ne lógjon ki a kép szélén */
	display: flex;
	flex-direction: column;
	text-align: left; /* Fix balra igazítás a 60%-os kezdőpontnál */
}

.deru-hero__inner--centered {
	margin-left: auto;
	margin-right: auto;
	max-width: 80%; /* Szélesebb lehet, ha középen van */
	text-align: center;
}

.deru-hero__inner > div {
	text-align: inherit;
}

.deru-hero__inner > div:last-child {
	margin-bottom: 0;
}

.deru-hero__inner .deru-hero__text-1 > p:first-child {
	margin-top: 0;
}

.deru-hero__inner .deru-hero__text-1 > p {
	text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
	font-size: 41px;
	font-family: "Acta Display Light",serif;
	font-weight: 300;
	line-height: 1.2;
	color: inherit;
	margin: 0px;
	display: block;
	text-align: inherit;
	margin-bottom: 20px;
}

.deru-hero__inner .deru-hero__text-2 > p {
	margin: 0;
}

.deru-hero__inner .deru-hero__text-2 {
	font-size: 20px;
	font-family: "Mallory Cmpct", serif;
	display: inline-block;
	text-align: inherit;
}

.deru-hero img {
	transition: opacity 0.5s ease-in-out;
}

.deru-hero img.switching {
	opacity: 0;
}

@media only screen and (max-width: 1024px) {
	.deru-hero {
		aspect-ratio: 100 / 40;
	}
}

@media only screen and (max-width: 768px) {
	.deru-hero {
		aspect-ratio: auto;
		display: flex;
		flex-direction: column-reverse;
		height: auto !important; /* A struktúraváltás miatt itt is kell az automata magasság */
	}
	.deru-hero__media--image,
	.deru-hero__media--video {
		position: relative;
		width: 100%;
		height: auto;
		inset: auto;
	}
	.deru-hero img {
		width: 100% !important;
		height: auto !important;
		object-fit: cover !important;
	}
	.deru-hero__overlay {
		position: relative;
		inset: auto;
		padding: 20px 0;
	}
	.deru-hero__inner {
		margin-left: 0;
		max-width: 100%;
		text-align: left;
		padding-left: 40px;
		color: #464646 !important;
	}
	.deru-hero__inner .deru-hero__text-1 > p {
		text-shadow: none;
	}
	.deru-hero__inner > div:last-child {
		display: none;
	}
}


@media only screen and (max-width: 480px) {
	.deru-hero {
		aspect-ratio: auto;
		min-height: auto; /* Engedjük az arányos csökkenést */
		height: auto !important;
	}
	.deru-hero__media--image,
	.deru-hero__media--video {
		object-view-box: none;
		object-fit: cover;
		position: relative;
		aspect-ratio: auto;
		width: 100%;
		height: auto;
		inset: auto;
	}
}

.category .page-title{
	text-align: center;
	margin-bottom: 60px;
	font-size: 48px;
}
.category .list_grid {
	display: flex;
	gap: 80px 44px;
	padding: 0px;
	flex-wrap: wrap;
	justify-content: center;

}
.category .post-card__more{
    text-align: center;
}
.category .post-card__title a, .tag .post-card__title a{
	font-family: "Acta Display Light", serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-size: 34px ;
	line-height: 1.2;
	color: #464646 !important;
}
.category .list_grid article{
    width: 30% !important;
    text-align: center;
    padding: 10px;
    transition: background-color 0.5s ease;
    cursor: pointer;
}
.category .list_grid article:hover{
    background-color: #f5f5f5;
    transition: background-color 0.5s ease;
}
.category .post-card__thumb{
    display: block;
    text-align: center;
}
.category.category-osszetevok .post-card__thumb img{
	border-radius: 50%;
	height: 250px;
	width: 250px;
	object-fit: cover;
	margin: 0 auto;
}
.category .post-card__thumb img{
	height: 270px;
	width: 100%;
	object-fit: cover;
    margin: 0 auto;
}
.tag .list_grid{
	display: flex;
	flex-direction: row;
	gap: 40px;
	flex-wrap: wrap;
}
.tag .post-card__body.list_item{
	padding: 0px 25px;
}
.tag .list_grid article{
    width: 30% !important; /* 3 oszlop desktopon */
    text-align: center;
    padding: 10px;
    transition: background-color 0.5s ease;
    cursor: pointer;
}
.tag .list_grid article:hover{
    background-color: #f5f5f5;
    transition: background-color 0.5s ease;
}
.tag .post-card__thumb{
    display: block;
    text-align: center;
}
.tag .post-card__thumb img{
    height: 270px;
    width: 100%;
    object-fit: cover;
    margin: 0 auto;
}
#article-share, .entry-action--print{
	cursor: pointer;
}

/* === Unified Responsive Layout for Product and Post Lists === */
@media (max-width: 1024px) {
    .category .list_grid article,
    .tag .list_grid article,
    ul.products li.product {
        width: 30% !important;
        flex-basis: 30% !important;
        max-width: 30% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 920px) {
    .category .list_grid,
    .tag .list_grid,
    .deru-featured-products__list,
    ul.products {
        gap: 40px 22px;
    }
    .category .list_grid article,
    .tag .list_grid article {
        width: 48% !important;
        flex-basis: 48% !important;
        max-width: 48% !important;
    }
}

@media (max-width: 768px) {
    .category .list_grid article,
    .tag .list_grid article,
    ul.products li.product {
        width: 48% !important;
        flex-basis: 48% !important;
        max-width: 48% !important;
    }
}

@media (max-width: 768px) {
    ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        list-style: none !important;
    }
    ul.products::before,
    ul.products::after {
        display: none !important;
    }
    ul.products li.product {
        width: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .category .list_grid,
    .tag .list_grid {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 40px 22px !important;
        padding-bottom: 20px !important;
    }
    .category .list_grid article,
    .tag .list_grid article {
        width: 48% ;
        flex-basis: 48% !important;
        max-width: 48% !important;
        scroll-snap-align: none !important;
    }
}

@media (max-width: 600px) {
	.category-cikkek  .list_grid {
		flex-direction: column !important;
	}

	.category-cikkek  .list_grid .post {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}

	.category-osszetevok .posts-list.list_grid{
		flex-direction: column !important;
	}
	.category-osszetevok .posts-list.list_grid .post{
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}

}


.category .post-card__meta, .category .post-card__meta a{
    font-size: 14px;
    color: #464646 !important;
}
.category .post-card__meta{
	margin-top: 10px;
}
/* Minimal stílus a gombokhoz – igény szerint áttehető SCSS-be */
.entry-actions {
    margin: 8px auto 16px;
    /* Jobbra igazított, egysorba rendezett akciók */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
	padding-bottom: 10px;
}

.entry-action {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 130px;
    gap: 10px;
    color: #222;
    text-decoration: none;
    font-weight: 500;

}
.entry-action:first-child { /* gap kiváltja, de hagyjuk meg kompatibilitásként üresen */ }
.entry-action:hover {
    text-decoration: underline;
}

.entry-action__icon {
	line-height: 0;
}

@media print {
	.entry-actions {
		display: none;
	}
}

@media (max-width: 768px) {
	.deru-hero__inner {
		font-size: 1.3rem;
	}
}

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    background: #7AC143;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    /*border-radius: 50%;*/
    width: 48px;
    height: 48px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
    transition: opacity 0.3s, transform 0.3s;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
	padding: 0;
	transition: all .5s ease-in-out;
}
#scrollToTop svg {
    display: block;
    width: 32px;
    height: 32px;
}
#scrollToTop.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#scrollToTop:hover {
    background: #006622 ;
	transition: all .5s ease-in-out;
	border: 1px solid rgba(255,255,255,1);
}

/* === WooCommerce Featured Products & Product List Unified Styles === */
.deru-featured-products {
    margin: 10px 0 50px 0;
}
.deru-featured-products__item,
.deru-product-list__item {
    flex: 0 1 31%;
    max-width: 31%;
    background: #fff;
    text-align: center;
    position: relative;
    box-sizing: border-box !important;
}
.deru-featured-products__thumb,
.deru-product-list__thumb {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    border-bottom: 0px solid #ddd;
    color: #464646;
}
.deru-featured-products__thumb img,
.deru-product-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.deru-featured-products__body,
.deru-product-list__body {
    padding: 16px 8px 6px;
}
.deru-featured-products__heading{
	font-family: "Mallory Cmpct Book",serif;
	text-align: center;
	font-size: 24px;
	font-weight: normal;
	color: #000;
}
.deru-featured-products__title,
.deru-product-list__title {
    margin: 10px 0 6px;
    font-weight: 600;
    color: #111;
    font-size: 18px;
}
.deru-featured-products__subtitle,
.deru-product-list__subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}
.deru-featured-products__rating,
.deru-product-list__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 2px;
}
.deru-featured-products__rating .star-rating,
.deru-product-list__rating .star-rating {
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 1;
    height: 1em;
    font-size: 16px;
    width: 5.4em;
    white-space: nowrap;
}
.deru-featured-products__rating .star-rating::before,
.deru-product-list__rating .star-rating::before {
    content: "★★★★★";
    color: #ddd;
    letter-spacing: 3px;
}
.deru-featured-products__rating .star-rating span,
.deru-product-list__rating .star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
}
.deru-featured-products__rating .star-rating span::before,
.deru-product-list__rating .star-rating span::before {
    content: "★★★★★";
    color: #f5a623;
    letter-spacing: 3px;
}
.deru-featured-products__avg,
.deru-product-list__avg {
    font-weight: 600;
    color: #222;
    font-size: 14px;
}
.deru-featured-products__reviews,
.deru-product-list__reviews {
    font-weight: 600;
    color:#008b30;
    font-size: 14px;
    margin: 4px 0 8px;
}
.deru-featured-products__price,
.deru-product-list__price {
    color: #464646;
    font-size: 14px;
    margin: 6px 0 0;
}
.deru-featured-products__cta,
.deru-product-list__cta {
    opacity: 0;
    margin-top: -35px;
    transition: all .3s ease-in-out;
    position: absolute;
    z-index: 1;
    background: #fff;
    padding: 10px 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #464646;
    width: calc(100% - 20px);
}
.deru-featured-products__item:hover .deru-featured-products__cta,
.deru-product-list__item:hover .deru-product-list__cta {
    opacity: .85;
    margin-top: -60px;
    transition: all .3s ease-in-out;
}
.deru-featured-products__item.is-loading,
.deru-product-list__item.is-loading {
    pointer-events: none;
}
.deru-featured-products__loader,
.deru-product-list__loader {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.deru-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top-color: #111;
    border-radius: 50%;
    animation: deru-spin 0.8s linear infinite;
}
@keyframes deru-spin { to { transform: rotate(360deg); } }

input.deru-loading-city {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' width='20' height='20'%3E%3Ccircle cx='50' cy='50' fill='none' stroke='%23111111' stroke-width='10' r='35' stroke-dasharray='164.93361431346415 56.97787143782138'%3E%3CanimateTransform attributeName='transform' type='rotate' repeatCount='indefinite' dur='1s' values='0 50 50;360 50 50' keyTimes='0;1'/%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    padding-right: 40px !important;
}


.deru-featured-products__success,
.deru-product-list__success {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    z-index: 6;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    display: none;
}

/* --- 3 oszlopos, középre rendezett flex layout javítása --- */
ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 32px !important;
    justify-content: center !important;
    padding: 0 !important;
    list-style: none !important;
}

.deru-featured-products__item,
.deru-product-list__item,
ul.products li.product,
ul.products > article.deru-featured-products__item,
ul.products > article.deru-product-list__item {
    width: 30% !important;
    flex: 0 1 30% !important;
    max-width: 30% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* =============================
   Derű – Idézet blokk + Marquee
   ============================= */

/* QUOTE BLOCK */
.citation_block{
    background:#fff;
    padding: clamp(28px, 6vw, 80px) clamp(16px, 4vw, 40px);
}

.citation_block .quote{
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.citation_block .quote::before{
    content: "\201C"; /* bal idézőjel */
    position: absolute;
    left: clamp(-140px, -11vw, -60px);
    top: 20px;
    font-size: clamp(250px, 35vw, 650px);
    line-height: .7;
    color: #e9e9e9;
    font-family: "Acta Display Light", serif;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.citation_block blockquote{
    margin: 0;
    position: relative;
    z-index: 1;
	text-align: left;
}

.citation_block blockquote span{
    margin: 0;
    font-family: "Acta Display Light", serif;
    font-weight: 300;
    font-size: clamp(22px, 6.6vw, 64px);
    line-height: 1.15;
    letter-spacing: .01em;
    color: #111;
	text-align: left;
}

.citation_block figcaption{
    margin-top: clamp(12px, 3vw, 50px);
    font-size: clamp(19px, 1.6vw, 20px);
    font-weight: normal;
    color: #666;
	text-align: left;
	font-family: mallory_compactbold, sans-serif;
}

/* MEDIA ROW + MARQUEE */
.media-row{
    background: #fff;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 0px;
	border-top: 1px solid #cecece;
	border-bottom: 1px solid #cecece;
	margin-top: 30px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.media-title{
    font-size: 18px;
    color: #939598;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
	font-family: mallory_compactbold, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
}

.marquee{
    --gap: clamp(22px, 3.5vw, 56px);
    --speed: 60s;      /* lassú, elegáns */
    --fade: 10%;

    overflow: hidden;
    padding: 0; /* egy sorban igazítva */

    /* a szélek finom kifakulása */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0));
    mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0));
    flex: 1; /* a marquee vegyen fel elérhető szélességet */
    min-width: 0;
    max-width: 100%;
}

.marquee__track{
    display: flex;
    width: max-content;
    will-change: transform;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-animation: marquee var(--speed) linear infinite;
    animation: marquee var(--speed) linear infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.marquee__group{
    display: flex;
    align-items: center;
    gap: var(--gap);
    padding-right: var(--gap);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.marquee__item{
    height: 20px;
    width: auto;
    flex: 0 0 auto;
    opacity: .92;
    user-select: none;
    pointer-events: none;
    margin-right: 30px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@keyframes marquee{
    from { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
    to   { -webkit-transform: translate3d(-50%,0,0); transform: translate3d(-50%,0,0); }
}

@-webkit-keyframes marquee{
    from { -webkit-transform: translate3d(0,0,0); }
    to   { -webkit-transform: translate3d(-50%,0,0); }
}

@media (prefers-reduced-motion: reduce){
    .marquee__track{ animation: none; }
}


/*--------------------------------------------------------------
# 3-column section
--------------------------------------------------------------*/
.deru-three-col-section {
    padding: 60px 0;
    margin-top: 40px;
    /*border-top: 1px solid #f0f0f0;*/
}

.deru-three-col-section__header {
    text-align: center;
    margin-bottom: 40px;
}

.deru-three-col-section__title {
    font-family: "Acta Display Light", serif;
    font-size: 41px;
    margin-bottom: 10px;
}

.deru-three-col-section__subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.deru-three-col-section__grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.deru-three-col-item {
    flex: 1 1 calc(33.333% - 50px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.deru-three-col-item__image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 0px;
}

.deru-three-col-img {
    width: 100%;
    height: 350px;
    display: block;
    transition: transform 0.3s ease;
	object-fit: cover;
}

.deru-three-col-item:hover .deru-three-col-img {
    transform: scale(1.05);
}

.deru-three-col-item__title {
    font-size: 26px;
    margin-bottom: 15px;
    font-family: "Acta Display Light", serif;
}

.deru-three-col-item__content {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

@media (max-width: 991px) {
    .deru-three-col-item {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (max-width: 640px) {
    .deru-three-col-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 1500px) {
  .container, .header-bar {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Two Column Rows Template Styles */
.deru-two-col-rows .deru-row--two-col {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 40px 0;
}

.deru-two-col-rows .deru-row--two-col .deru-row__media,
.deru-two-col-rows .deru-row--two-col .deru-row__content {
    flex: 1 1 50%;
    max-width: 50%;
    text-align: center;
}

.deru-two-col-rows .deru-row--two-col:nth-child(even) {
    flex-direction: row-reverse;
}

.deru-two-col-rows .deru-row--two-col:nth-child(even) .deru-row__content {
    padding-right: 45px;
	padding-left: 85px;
}

.deru-two-col-rows .deru-row--two-col:nth-child(odd) .deru-row__content {
    padding-left: 45px;
	padding-right: 85px;
}

.deru-two-col-rows .deru-row--two-col .deru-row__media {
    aspect-ratio: 1/1;
    width: 100%;
}

.deru-two-col-rows .deru-row--two-col .deru-row__media .deru-row__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.deru-row__title {
    margin: 0 0 12px 0;
    font-family: "Acta Display Light", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 41px;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #464646;
}

.deru-row__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 16px;
    margin-bottom: 18px;
}

.deru-row__text {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
}

.cover-main-content {
    font-size: 22px;
    line-height: 1.5;
    color: #464646;
    text-align: center;
    margin-bottom: 90px;
    font-family: "Mallory Cmpct", sans-serif;
}

@media (max-width: 782px) {
    .deru-two-col-rows .deru-row--two-col {
        display: flex;
        flex-direction: column !important;
        align-items: stretch;
		gap: 10px;
    }

    .deru-two-col-rows .deru-row--two-col .deru-row__content {
        display: contents;
    }

    .deru-row__eyebrow {
        order: 1;
    }

    .deru-row__title {
        order: 2;
    }

    .deru-two-col-rows .deru-row--two-col .deru-row__media {
        order: 3;
        aspect-ratio: 1/1;
        flex-basis: 100%;
        max-width: 100%;
    }

    .deru-row__text {
        order: 4;
    }

    .deru-row__link {
        order: 5;
    }

    .deru-two-col-rows .deru-row--two-col .deru-row__content {
        flex-basis: 100%;
        max-width: 100%;
    }

    .deru-two-col-rows .deru-row--two-col:nth-child(even) .deru-row__content {
        padding: 0;
    }

    .deru-two-col-rows .deru-row--two-col:nth-child(odd) .deru-row__content {
        padding: 0;
    }
}

/* Featured Products Styles */
.deru-featured-products {
    margin: 10px 0 50px 0;
}

.deru-featured-products__list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}

.deru-featured-products__item {
    flex: 0 1 30%;
    max-width: 30%;
    background: #fff;
    text-align: center;
    position: relative;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
	h1 {
		font-size: 31px !important;
	}
	.deru-hero__inner .deru-hero__text-1 > p {
		font-size: 31px !important;
	}
	.deru-three-col-section__title {
		font-size: 31px !important;
	}
	.deru-row__title {
		font-size: 31px !important;
	}
	html, body{
		/* overflow-x: hidden !important; -- Törölve, mert töri a sticky headert */
		position: relative;
		width: 100%;
	}
	.deru-three-col-item__title{
		margin-top: 0;
	}
	.deru-product-list__cta,
	.deru-featured-products__cta {
		display: none !important;
	}
    .deru-product-list__cta-mobile {
        display: block !important;
        position: relative;
        z-index: 10;
        width: 100%;
        margin-top: 10px;
    }
    .deru-product-list__cta-mobile .size-selector-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
    }
    .deru-product-list__cta-mobile .ss-trigger {
        cursor: pointer;
        background: #fff;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        z-index: 2;
    }
    .deru-product-list__cta-mobile .ss-trigger img {
        filter: invert(65%) sepia(35%) saturate(763%) hue-rotate(53deg) brightness(96%) contrast(85%);
    }
    .deru-product-list__cta-mobile .ss-drawer {
        width: 0;
        overflow: hidden;
        transition: width 0.3s ease-in-out;
        background: #fff;
        display: flex;
        align-items: center;
    }
    .deru-product-list__cta-mobile .ss-drawer.open {
        width: 115px;
    }
    .deru-product-list__cta-mobile .ss-add-button {
        background: #fff;
        color: #7AC143;
        padding: 4px;
        font-size: 13px;
        border: none;
        cursor: pointer;
        white-space: nowrap;
        width: 100%;
    }
	.media-row .media-title{
		position: absolute;
		width: 100%;
		text-align: center;
		top: -21px;
		left: 0;
		font-size: 13px;
	}
	.media-row {
		margin-top: 50px;
		overflow: visible;
		padding: 10px 0px;
	}
	.marquee {
		--speed: 55s;
	}
	.marquee__item {
		height: 15px;
	}
	.deru-three-col-section__title {
		font-size: 31px;
	}
	.deru-featured-products__list {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;
        padding-bottom: 20px !important;
        scrollbar-width: none;
    }
    .deru-featured-products__list::-webkit-scrollbar {
        display: none;
    }
    .deru-featured-products__item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        scroll-snap-align: start !important;
    }
    .citation_block {
        /*margin-left: 30px;*/
    }
}

.deru-featured-products__thumb {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    border-bottom: 0px solid #ddd;
    color: #464646;
}

.deru-featured-products__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.deru-featured-products__body {
    padding: 16px 8px 6px;
}

.deru-featured-products__title {
    margin: 10px 0 6px;
    font-weight: 600;
    color: #111;
    font-size: 18px;
}

.deru-featured-products__subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.deru-featured-products__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 2px;
}

.deru-featured-products__rating .star-rating {
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 1;
    height: 1em;
    font-size: 16px;
    width: 5.4em;
    white-space: nowrap;
}

.deru-featured-products__rating .star-rating::before {
    content: "★★★★★";
    color: #ddd;
    letter-spacing: 3px;
}

.deru-featured-products__rating .star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
}

.deru-featured-products__rating .star-rating span::before {
    content: "★★★★★";
    color: #f5a623;
    letter-spacing: 3px;
}

.deru-featured-products__avg {
    font-weight: 600;
    color: #222;
    font-size: 14px;
}

.deru-featured-products__reviews {
    font-weight: 600;
    color: #008b30;
    font-size: 14px;
    margin: 4px 0 8px;
}

/* Featured blocks (homepage): hide reviews count everywhere */
body.home .deru-featured-products__reviews {
    display: none !important;
}

.deru-featured-products__price {
    color: #464646;
    font-size: 14px;
    margin: 6px 0 0;
}

.deru-featured-products__cta {
    opacity: 0;
    margin-top: -35px;
    transition: all .3s ease-in-out;
    position: absolute;
    z-index: 1;
    background: #fff;
    padding: 10px 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #464646;
    width: calc(100% - 20px);
}

.deru-featured-products__item:hover .deru-featured-products__cta {
    opacity: .85;
    margin-top: -60px;
    transition: all .3s ease-in-out;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .deru-featured-products__rating {
        flex-direction: column;
    }
}


.deru-featured-products__item.is-loading {
    pointer-events: none;
}

.deru-featured-products__loader {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.deru-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #111;
    border-radius: 50%;
    animation: deru-spin 0.8s linear infinite;
}

@keyframes deru-spin {
    to { transform: rotate(360deg); }
}

.deru-featured-products__success {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    z-index: 6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

/* FAQ Template Styles */
.contact-cta-widget {
    background-size: cover;
    background-position: center center;
    padding: 80px 80px !important;
}

.contact-cta-widget .widget-wrap {
    width: 80%;
    max-width: 900px;
    background-color: #fff;
    margin: 0 auto;
    padding: 40px;
}

.contact-cta-widget .widget-wrap h3 {
    font-size: 2em;
    color: #464646;
    font-family: "Acta Display Light", serif;
    font-weight: 300;
    text-align: center;
    margin: 0;
}

.contact-cta-widget .widget-wrap p {
    font-size: 16px;
    margin-bottom: 1em;
    color: #464646;
    font-family: "Mallory Cmpct", sans-serif;
    font-weight: 300;
}

/* Hero Media Styles */
.deru-hero__media--video {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.deru-hero__video {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.deru-hero__media--image {
    background-size: cover;
    background-position: bottom center !important;
    object-fit: cover;
    object-position: bottom center;
}

/* Side Cart WooCommerce styles */
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn, .xoo-wsc-container .xoo-wsc-btn {
	background-color: #7ac143;
	color: #ffffff;
	border: 2px solid #ffffff;
	padding: 10px 20px;
}
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover, .xoo-wsc-container .xoo-wsc-btn:hover {
	background-color: #ffffff;
	color: #000000;
	border: 2px solid #000000;
}
.xoo-wsc-footer{
	background-color: #ffffff;
	color: #000000;
	padding: 10px 20px;
	box-shadow: 0 -1px 10px #0000001a;
}
.xoo-wsc-footer, .xoo-wsc-footer a, .xoo-wsc-footer .amount{
	font-size: 18px;
}
.xoo-wsc-btn .amount{
	color: #ffffff}
.xoo-wsc-btn:hover .amount{
	color: #000000;
}
.xoo-wsc-ft-buttons-cont{
	grid-template-columns: auto;
}
.xoo-wsc-basket{
	bottom: 12px;
	right: 1px;
	background-color: #ffffff;
	color: #464646;
	box-shadow: 0px 0px 15px 2px #0000001a;
	border-radius: 50%;
	display: none;
	width: 64px;
	height: 64px;
}
.xoo-wsc-bki{
	font-size: 30px}
.xoo-wsc-items-count{
	top: -9px;
	left: -8px;
}
.xoo-wsc-items-count, .xoo-wsch-items-count{
	background-color: #7ac143;
	color: #ffffff;
}
.xoo-wsc-container, .xoo-wsc-slider{
	max-width: 425px;
	right: -425px;
	top: 0;bottom: 0;
	bottom: 0;
}
.xoo-wsc-cart-active .xoo-wsc-container, .xoo-wsc-slider-active .xoo-wsc-slider{
	right: 0;
}
.xoo-wsc-cart-active .xoo-wsc-basket{
	right: 425px;
}
.xoo-wsc-slider{
	right: -425px;
}
span.xoo-wsch-close {
    font-size: 22px;
}
.xoo-wsch-top{
	justify-content: center;
}
span.xoo-wsch-close {
	right: 10px;
}
.xoo-wsch-text{
	font-size: 22px;
}
.xoo-wsc-header{
	color: #000000;
	background-color: #ffffff;
	border-bottom: 2px solid #eee;
	padding: 15px 15px;
}
.xoo-wsc-body{
	background-color: #f8f9fa;
}
.xoo-wsc-products:not(.xoo-wsc-pattern-card), .xoo-wsc-products:not(.xoo-wsc-pattern-card) span.amount, .xoo-wsc-products:not(.xoo-wsc-pattern-card) a{
	font-size: 16px;
	color: #000000;
}
.xoo-wsc-products:not(.xoo-wsc-pattern-card) .xoo-wsc-product{
	padding: 10px 15px;
	margin: 10px 15px;
	border-radius: 5px;
	box-shadow: 0 2px 2px #00000005;
	background-color: #ffffff;
}
.xoo-wsc-sum-col{
	justify-content: center;
}
/** Shortcode **/
.xoo-wsc-sc-count{
	background-color: #000000;
	color: #ffffff;
}
.xoo-wsc-sc-bki{
	font-size: 28px;
	color: #000000;
}
.xoo-wsc-sc-cont{
	color: #000000;
}
.added_to_cart{
	display: none!important;
}

.xoo-wsc-product dl.variation {
	display: block;
}
.xoo-wsc-product-cont{
	padding: 10px 10px;
}
.xoo-wsc-products:not(.xoo-wsc-pattern-card) .xoo-wsc-img-col{
	width: 28%;
}
.xoo-wsc-pattern-card .xoo-wsc-img-col img{
	max-width: 100%;
	height: auto;
}
.xoo-wsc-products:not(.xoo-wsc-pattern-card) .xoo-wsc-sum-col{
	width: 72%;
}
.xoo-wsc-pattern-card .xoo-wsc-product-cont{
	width: 50% 
}
@media only screen and (max-width: 600px) {
	.xoo-wsc-pattern-card .xoo-wsc-product-cont  {
		width: 50%;
	}
}
.xoo-wsc-pattern-card .xoo-wsc-product{
	border: 0;
	box-shadow: 0px 10px 15px -12px #0000001a;
}
.xoo-wsc-sm-front{
	background-color: #eee;
}
.xoo-wsc-pattern-card, .xoo-wsc-sm-front{
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
.xoo-wsc-pattern-card, .xoo-wsc-img-col img, .xoo-wsc-img-col, .xoo-wsc-sm-back-cont{
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.xoo-wsc-sm-back{
	background-color: #fff;
}
.xoo-wsc-pattern-card, .xoo-wsc-pattern-card a, .xoo-wsc-pattern-card .amount{
	font-size: 16px;
}
.xoo-wsc-sm-front, .xoo-wsc-sm-front a, .xoo-wsc-sm-front .amount{
	color: #000;
}
.xoo-wsc-sm-back, .xoo-wsc-sm-back a, .xoo-wsc-sm-back .amount{
	color: #000;
}
.magictime {
    animation-duration: 0.5s;
}
span.xoo-wsch-items-count{
	height: 20px;
	line-height: 20px;
	width: 20px;
}
span.xoo-wsch-icon{
	font-size: 30px
}
.xoo-wsc-smr-del{
	font-size: 16px
}

