/**
 * Tablet ≤1024, mobil ≤767 (Avanam).
 * Customizer: logó, oszlopok, lábléc. Itt a WPBakery / Woo / drawer.
 */

.woocommerce ul.products li.product .product-name,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.single-product .product_title {
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: manual;
}

.home-service-align .service-title,
.home-service-align .dark-service-title,
.rb-footer-service-text {
	overflow-wrap: break-word;
}

/* Főoldal infósáv: tableten 2×2. */
@media (min-width: 700px) and (max-width: 1024px) {
	.home-service-align.wpb_row {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: stretch !important;
		column-gap: 16px !important;
		row-gap: 16px !important;
		margin-top: 16px !important;
		margin-bottom: 16px !important;
	}

	.home .theme-container.home-service-align > .wpb_column,
	.home .home-service-align > .wpb_column {
		float: none !important;
		box-sizing: border-box;
		flex: 1 1 calc(50% - 8px) !important;
		width: calc(50% - 8px) !important;
		max-width: calc(50% - 8px) !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.home-service-align > .wpb_column > .vc_column-inner {
		padding: 0 !important;
	}

	.home-service-align .service-list {
		height: 100%;
		margin: 0;
		box-sizing: border-box;
	}
}

@media (max-width: 1024px) {
	.home ul.products.grid-cols,
	.home .woo-carousel ul.products,
	.home .woo-grid ul.products,
	.home .woo-products ul.products,
	.home .woofeature ul.products,
	.woocommerce ul.products.woo-archive-loop:not(.products-list-view),
	.single-product ul.products:not(.products-list-view) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.rb-footer-follow {
		padding-left: 0;
	}

	.rb-footer-follow .follow-us {
		padding-left: 0;
	}

	#mobile-header [data-section="base_customizer_mobile_html"],
	#mobile-header [data-section="base_customizer_mobile_html"] * {
		font-size: 11px !important;
		line-height: 1.3 !important;
	}

	/* Közös 15px hasáb: kereső = Termékeink = tartalom. */
	#mobile-header .site-container {
		box-sizing: border-box !important;
		max-width: 100% !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		width: 100% !important;
	}

	#mobile-header .site-bottom-header-wrap .site-header-row-container-inner,
	#mobile-header .site-header-bottom-section-center,
	#mobile-header .site-header-item[data-section="base_customizer_header_search_advanced"] {
		box-sizing: border-box;
		display: block;
		flex: 1 1 100%;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	#mobile-header .site-bottom-header-wrap .site-header-row-container-inner {
		padding-bottom: 10px;
		padding-top: 10px;
	}

	/* Avanam min-height 58px a 40px input alatt üres sávot hagy. */
	#mobile-header .site-bottom-header-inner-wrap,
	#mobile-header .site-bottom-header-wrap .site-container,
	#mobile-header .site-header-bottom-section-center {
		height: auto !important;
		min-height: 0 !important;
	}

	#mobile-header .site-bottom-header-wrap .site-header-item + .site-header-item {
		display: none !important;
	}

	#mobile-header .header-search,
	#mobile-header .dgwt-wcas-search-wrapp,
	#mobile-header .dgwt-wcas-search-form,
	#mobile-header .dgwt-wcas-sf-wrapp,
	#mobile-header .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
		box-sizing: border-box !important;
		display: block !important;
		flex: none !important;
		max-width: 100% !important;
		padding: 0 !important;
		width: 100% !important;
	}

	#mobile-header .dgwt-wcas-sf-wrapp {
		position: relative !important;
	}

	#mobile-header .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
		box-sizing: border-box !important;
		display: block !important;
		height: 40px !important;
		min-height: 40px !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 8px 16px 8px 40px !important;
		font-size: 14px !important;
		line-height: 24px !important;
	}

	#mobile-header .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
		align-items: center !important;
		display: flex !important;
		height: 22px !important;
		justify-content: center !important;
		left: 10px !important;
		min-height: 22px !important;
		min-width: 22px !important;
		right: auto !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		width: 22px !important;
	}

	#mobile-header .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg {
		height: 18px !important;
		width: 18px !important;
	}

	#mobile-header .js-dgwt-wcas-enable-mobile-form,
	#mobile-header .header-search .header-toggle,
	.dgwt-wcas-overlay-mobile,
	.dgwt-wcas-om-bar {
		display: none !important;
		pointer-events: none !important;
	}

	#search-drawer {
		display: none !important;
	}

	.home #inner-wrap .content-container.site-container {
		box-sizing: border-box !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}

	.home .wpb-content-wrapper > .vc_row.vc_custom_1565950549293 {
		box-sizing: border-box !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.home .theme-container,
	.home .vc_inner.theme-container,
	.home .home-hero-categories-row.vc_inner.theme-container {
		box-sizing: border-box !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		width: 100% !important;
	}

	.home .theme-container > .wpb_column,
	.home .theme-container > .vc_column_container,
	.home .vc_inner.theme-container > .wpb_column,
	.home .vc_inner.theme-container > .vc_column_container {
		box-sizing: border-box !important;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}

	.home .theme-container .vc_column-inner,
	.home .vc_inner.theme-container .vc_column-inner {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.home .theme-container img,
	.home .vc_inner.theme-container img,
	.home .cms-banner-item,
	.home .cms-banner-inner,
	.home .cms-banner-img,
	.home .cms-banner-img a,
	.home .rev-slider #randomImageContainer,
	.home .rev-slider #randomImageContainer > a,
	.home .woo-products,
	.home .woocommerce ul.products {
		box-sizing: border-box;
		max-width: 100%;
		width: 100%;
	}
}

@media (max-width: 767px) {
	/* Logó: Customizer logo_width.mobile; CSS tartalék. */
	#mobile-header .custom-logo {
		width: 180px !important;
		max-width: 180px !important;
		height: auto !important;
	}

	/* Infósáv: kevesebb rés, 1 oszlop. */
	.home-service-align.wpb_row {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		gap: 16px;
		margin-top: 16px !important;
		margin-bottom: 16px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.home .rev-slider.vc_column_container,
	.home .rev-slider > .vc_column-inner,
	.home .rev-slider .wpb_wrapper,
	.home .rev-slider .wpb_raw_code {
		height: auto !important;
		margin-bottom: 0 !important;
		min-height: 0 !important;
		padding-bottom: 0 !important;
	}

	.home .vc_custom_1565950549293 {
		min-height: 0 !important;
		padding-bottom: 0 !important;
	}

	.home-service-align > .wpb_column {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.home-service-align > .wpb_column > .vc_column-inner {
		padding: 0 !important;
		margin: 0 !important;
	}

	.home-service-align .service-list {
		padding: 10px 12px;
		margin: 0;
	}

	/* Bannerek között térköz. */
	.home .vc_inner.vc_row {
		display: flex !important;
		flex-direction: column !important;
		gap: 16px;
	}

	.home .vc_custom_1565953323888 {
		display: flex !important;
		flex-direction: column !important;
		gap: 16px !important;
	}

	.home .vc_custom_1565953323888 > .wpb_column,
	.home .vc_custom_1565953323888 > .cmsbanner1,
	.home .vc_custom_1565953323888 > .cmsbanner2,
	.home .vc_custom_1565953323888 > .cmsbanner3 {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
	}

	.home .vc_custom_1565953323888 .vc_column-inner {
		padding: 0 !important;
	}

	.home .vc_custom_1565953323888 .cmsbanner2 .wpb_wrapper {
		display: flex !important;
		flex-direction: column !important;
		gap: 16px !important;
	}

	.home .cms-banner-item,
	.home .cms-banner-inner,
	.home .cms-top-margin {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.home .wpb_single_image img,
	.home .cms-banner-item img {
		width: 100%;
		height: auto;
		display: block;
	}

	/* AKCIÓS / ÚJDONSÁG fejlécek egy sorba. */
	.home .static-text-container {
		margin-bottom: 12px !important;
		padding-bottom: 8px;
	}

	.home .static-text-container .text {
		flex-wrap: nowrap;
		align-items: baseline;
		gap: 8px;
		overflow: hidden;
	}

	.home .static-text-container .text h2,
	.home .static-text-container .text h3,
	.home .static-text-container .text .title,
	.home .static-text-container .text p,
	.home .static-text-container .text a,
	.home .static-text-container .text span {
		font-size: 14px !important;
		line-height: 1.25 !important;
		white-space: nowrap;
		margin: 0 !important;
	}

	.home .static-text-container .text a {
		flex-shrink: 0;
	}

	/* Minden terméklista: 1 oszlop, kártya (nem lista-sor). */
	.home ul.products.grid-cols,
	.home .woo-carousel ul.products,
	.home .woo-grid ul.products,
	.home .woo-products ul.products,
	.home .woofeature ul.products,
	.woocommerce ul.products.woo-archive-loop,
	.woocommerce ul.products.woo-archive-loop:not(.products-list-view),
	.woocommerce ul.products.woo-archive-loop.products-grid-view,
	.woocommerce ul.products.woo-archive-loop.products-list-view,
	.woocommerce ul.products.products-list-view,
	.single-product ul.products {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		flex-direction: unset !important;
		gap: 16px !important;
	}

	.woocommerce ul.products.products-list-view li.product,
	.woocommerce ul.products.woo-archive-loop li.product {
		width: 100% !important;
		max-width: 100% !important;
	}

	.woocommerce ul.products.products-list-view li.product .container-inner,
	.woocommerce ul.products.products-list-view li.product .product-block-inner {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch;
		gap: 8px;
	}

	.woocommerce ul.products.products-list-view li.product .image-block,
	.woocommerce ul.products.products-list-view li.product .product-thumbnail {
		flex: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.woocommerce ul.products.products-list-view li.product .product-detail-wrapper {
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
		text-align: center;
		width: 100%;
	}

	.woocommerce ul.products.products-list-view li.product .product-name,
	.woocommerce ul.products.products-list-view li.product .riasztobolt-product-title-row,
	.woocommerce ul.products.products-list-view li.product .price {
		text-align: center;
		width: 100%;
	}

	.woocommerce ul.products.products-list-view li.product .product-excerpt {
		display: none;
	}

	.base-product-toggle-container {
		display: none !important;
	}

	.woocommerce-cart table.shop_table.cart,
	.woocommerce-checkout table.shop_table {
		display: block;
		width: 100%;
		max-width: 100%;
		overflow-x: visible;
	}

	.woocommerce-cart table.shop_table.cart tbody,
	.woocommerce-cart table.shop_table.cart tbody tr,
	.woocommerce-cart table.shop_table.cart tbody td,
	.woocommerce-checkout table.shop_table tbody,
	.woocommerce-checkout table.shop_table tbody tr,
	.woocommerce-checkout table.shop_table tbody td {
		display: block;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.woocommerce-cart table.shop_table.cart td.actions .button {
		width: 100%;
		max-width: 100%;
	}

	.single-product .product_title {
		font-size: 1.35rem;
		line-height: 1.3;
	}

	.woocommerce ul.products li.product .product-action-wrap a.button {
		white-space: normal;
	}

	/* Termékfülek: ne scrollozzanak oldalra. */
	.woocommerce div.product .woocommerce-tabs ul.tabs,
	.woocommerce div.product .woocommerce-tabs ul.wc-tabs {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
		max-width: 100%;
		overflow: visible !important;
		margin: 0;
		padding: 0;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li,
	.woocommerce div.product .woocommerce-tabs ul.wc-tabs li {
		flex: 1 1 auto;
		margin: 0;
		padding: 0;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a,
	.woocommerce div.product .woocommerce-tabs ul.wc-tabs li a {
		display: block;
		font-size: 12px;
		line-height: 1.2;
		padding: 8px 6px;
		white-space: nowrap;
		text-align: center;
	}

	/* Lábléc középre. */
	.site-middle-footer-wrap .site-footer-row-container-inner,
	.site-middle-footer-inner-wrap,
	.site-footer-middle-section-1,
	.site-footer-middle-section-2,
	.site-footer-middle-section-3,
	.site-footer-middle-section-4,
	.footer-widget-area,
	.footer-widget-area-inner,
	.rb-footer-logo,
	.rb-footer-follow,
	.site-footer .widget .widget-title {
		text-align: center !important;
		margin-bottom: 0 !important;
		padding-bottom: 4px !important;
	}

	.rb-footer-logo .custom-logo-link,
	.rb-footer-logo .custom-logo {
		margin-left: auto;
		margin-right: auto;
	}

	.rb-footer-follow .follow-us {
		display: flex;
		justify-content: center;
	}

	.contact_address,
	.contact_phone,
	.contact_email {
		justify-content: center;
		text-align: left;
		max-width: 280px;
		margin-left: auto;
		margin-right: auto;
	}

	.site-footer .static-links-list {
		text-align: center;
	}

	.site-footer .static-links-list a {
		display: inline-block;
		text-align: left;
	}

	.rb-footer-service {
		margin-left: auto;
		margin-right: auto;
		max-width: 320px;
		text-align: left;
	}

	#filter-drawer .drawer-inner {
		max-width: min(360px, 100%) !important;
		width: 100% !important;
	}

	#filter-drawer .drawer-content {
		padding: 8px 15px 24px !important;
	}
}

/* Tablet (iPad ~764–1024): 2 oszlop, térközök, nagyobb logó. */
@media (min-width: 700px) and (max-width: 1024px) {
	.home .wpb-content-wrapper > .vc_row.vc_custom_1565950549293 {
		padding-top: 8px !important;
	}

	.home .theme-container.home-hero-categories-row {
		padding-top: 0 !important;
	}

	.home .theme-container.home-service-align.wpb_row {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		column-gap: 16px !important;
		row-gap: 16px !important;
	}

	.home .theme-container.home-service-align.wpb_row::before,
	.home .theme-container.home-service-align.wpb_row::after,
	.home .vc_custom_1565953090582 .theme-container::before,
	.home .vc_custom_1565953090582 .theme-container::after,
	.home .vc_custom_1565954330118 .theme-container::before,
	.home .vc_custom_1565954330118 .theme-container::after,
	.home .vc_custom_1565953323888::before,
	.home .vc_custom_1565953323888::after {
		display: none !important;
		content: none !important;
	}

	.home .theme-container.home-service-align > .wpb_column {
		flex: 0 0 calc(50% - 8px) !important;
		width: calc(50% - 8px) !important;
		max-width: calc(50% - 8px) !important;
		min-width: 0 !important;
	}

	.home .theme-container.home-service-align > .wpb_column:last-child {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	#mobile-header .custom-logo {
		width: 220px !important;
		max-width: 220px !important;
		height: auto !important;
	}

	.home .vc_custom_1565953090582 .theme-container,
	.home .vc_custom_1565954330118 .theme-container {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: stretch;
		gap: 16px !important;
	}

	.home .vc_custom_1565953090582 .theme-container > .wpb_column,
	.home .vc_custom_1565953090582 .theme-container > .vc_column_container,
	.home .vc_custom_1565954330118 .theme-container > .wpb_column,
	.home .vc_custom_1565954330118 .theme-container > .vc_column_container {
		flex: 1 1 0 !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
	}

	.home .vc_custom_1565953323888 {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 16px !important;
		flex-direction: unset !important;
	}

	.home .vc_custom_1565953323888 > .cmsbanner1,
	.home .vc_custom_1565953323888 > .cmsbanner2,
	.home .vc_custom_1565953323888 > .cmsbanner3,
	.home .vc_custom_1565953323888 > .wpb_column {
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
		min-width: 0;
	}

	.home .vc_custom_1565953323888 > .cmsbanner1 {
		grid-column: 1;
		grid-row: 1;
	}

	.home .vc_custom_1565953323888 > .cmsbanner3 {
		grid-column: 2;
		grid-row: 1;
	}

	.home .vc_custom_1565953323888 > .cmsbanner2 {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.home .vc_custom_1565953323888 .cmsbanner2 .wpb_wrapper {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		flex-direction: unset !important;
		gap: 16px !important;
	}

	.rb-footer-follow {
		padding-left: 66px;
	}

	.rb-footer-follow .follow-us {
		padding-left: 20px;
		justify-content: flex-start;
	}

	.site-footer .widget .widget-title {
		padding-bottom: 4px;
		margin: 0 0 4px;
		line-height: 1.25;
	}

	.site-footer .widget {
		margin-bottom: 0.7em;
	}

	.site-footer-middle-section-1,
	.site-footer-middle-section-2,
	.site-footer-middle-section-3,
	.site-footer-middle-section-4 {
		margin-bottom: 12px;
	}
}
