/*
Theme Name: Kidfinity Child
Theme URI: https://kidfinity.gr/
Description: Kidfinity child theme for WoodMart.
Author: Kidfinity
Template: woodmart
Version: 0.3.8
Text Domain: woodmart-child
*/

/* Fonts, colours and layout are configured through Theme Settings (no custom code). */

/* Footer (block #181): demo-style, Comfortaa, no list bullets */
.wd-footer .main-footer { padding-top: 52px; padding-bottom: 44px; }
.wd-footer, .wd-footer p, .wd-footer li, .wd-footer .widget-title { font-family: "Comfortaa", Arial, Helvetica, sans-serif; color: rgba(255,255,255,.86); }
.wd-footer a { font-family: "Comfortaa", Arial, Helvetica, sans-serif; color: rgba(255,255,255,.92); }
.wd-footer a:hover { color: #f5b731; }
.wd-footer .widget-title { margin-bottom: 18px; color: #fff; font-weight: 700; }
.wd-footer .kf-footer-brand { color: #f5b731; font-size: 24px; }
.wd-footer .kf-footer-tagline { color: rgba(255,255,255,.72); margin-bottom: 14px; }
.wd-footer .kf-footer-links { list-style: none; margin: 0; padding: 0; }
.wd-footer .kf-footer-links li { margin: 0 0 10px; padding: 0; }
.wd-footer .kf-footer-links li:before { content: none !important; }
.wd-footer .wd-social-icons { margin-top: 24px; }
.wd-footer .wd-social-icons .wd-social-icon { color: #fff; border-color: rgba(255,255,255,.45); }
.wd-footer .wd-social-icons .wd-social-icon:hover { color: #1f2937; background-color: #f5b731; border-color: #f5b731; }
.footer-container { background-color: #1f2937; border-top: 4px solid #d6402e; }
.copyrights-wrapper { color: rgba(255,255,255,.78); border-top-color: rgba(255,255,255,.12); background-color: #1b2533; }
.copyrights-wrapper a { color: #fff; }
.home .vc_custom_1684154378444 { margin-bottom: 36px !important; }
/* Kidfinity homepage polish */
html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body.home .website-wrapper,
body.home .main-page-wrapper,
body.home .wd-page-content,
body.home .wd-entry-content,
body.home .entry-content,
body.home .wpb-content-wrapper {
	overflow-x: visible !important;
}

body.home .wd-sticky-social {
	display: none !important;
}

.kf-about-storefront {
	margin: 28px 0 34px !important;
}

.kf-about-storefront img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 14px 36px rgba(31, 41, 55, .14);
}

@media (min-width: 768px) {
	.kf-about-storefront img {
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}
}

body.home .wd-btn-arrow.wd-next {
	right: 8px !important;
}

body.home .scrollToTop {
	right: 14px !important;
}

body.home .wd-carousel-container,
body.home .wd-slider-wrapper,
body.home .wd-slider,
body.home .wd-products-element {
	overflow: hidden;
}

/* Hero slider: keep background image full width but inset the text/button
   so they never hug or cross the viewport edge on narrower screens. */
body.home .wd-slide .wd-slide-inner {
	padding-left: clamp(24px, 6vw, 100px) !important;
	padding-right: clamp(24px, 6vw, 100px) !important;
	box-sizing: border-box;
}

body.single-product .reviews_tab,
body.single-product #tab-reviews,
body.single-product .woocommerce-Reviews,
body.single-product .wd-single-reviews,
body.single-product #wd-645a14511384a,
body.single-product [id="wd-645a14511384a"] {
	display: none !important;
}

@media (max-width: 767px) {
	body.single-product .woocommerce-product-gallery.thumbs-position-left {
		display: block !important;
	}

	body.single-product .woocommerce-product-gallery.thumbs-position-left .wd-gallery-thumb,
	body.single-product .wd-products-nav {
		display: none !important;
	}

	body.single-product .woocommerce-product-gallery.thumbs-position-left.wd-has-thumb .wd-gallery-images {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}
}

.header-banner,
.header-banner .container,
.header-banner .header-banner-container {
	min-height: 34px;
}

.header-banner .container,
.header-banner .header-banner-container,
.header-banner .header-banner-text {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.35;
}

.kf-home-cats {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 40px;
	padding-bottom: 48px;
	padding-left: 16px;
	padding-right: 16px;
}

.kf-home-cats .wd-carousel-item,
.kf-home-cats .category-grid-item {
	text-align: center;
}

.kf-home-cats .wd-cat-inner {
	width: 220px;
	height: 220px;
	max-width: 100%;
	margin-inline: auto;
	border-radius: 50% !important;
	overflow: hidden;
	background: #e9e5e1;
}

.kf-home-cats .wd-cat-thumb,
.kf-home-cats .wd-cat-image {
	width: 100%;
	height: 100%;
	border-radius: 50% !important;
	overflow: hidden;
}

.kf-home-cats .wd-cat-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 24px;
	border-radius: 50% !important;
	background: #e9e5e1;
}

.kf-home-cats .wd-entities-title,
.kf-home-cats .wd-cat-content,
.kf-home-cats .hover-mask {
	font-family: Comfortaa, Arial, sans-serif;
}

.kf-home-cats .wd-cat-count {
	display: none !important;
}

/* Desktop: κλικ μέσω wd-fill overlay· mobile: .kf-cat-thumb-link */
.kf-home-cats .kf-cat-thumb-link {
	display: none;
}

.kf-cat-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.kf-cat-label__name,
.kf-cat-label__age {
	display: block;
}

.kf-home-cats .wd-entities-title a {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.home .vc_custom_1684154378444 {
	background: transparent;
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 40px !important;
}

.home .kf-offers-row {
	position: relative;
	margin-top: 28px !important;
	margin-bottom: 78px !important;
	padding-top: 58px !important;
	padding-bottom: 48px !important;
	background: #fff4df !important;
	border-top: 2px solid rgba(245, 183, 49, .55);
	border-bottom: 2px solid rgba(245, 183, 49, .35);
}

.home .kf-offers-row .title-subtitle,
.home .kf-offers-row .woodmart-title-container,
.home .kf-offers-row .price,
.home .kf-offers-row .amount,
.home .kf-offers-row .product-label {
	font-family: Comfortaa, Arial, sans-serif;
}

.home .kf-offers-row .title-subtitle,
.home .kf-offers-row .price,
.home .kf-offers-row .amount {
	color: #d6402e;
}

.home .kf-offers-row .product-wrapper {
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(37, 36, 34, .08);
}

.footer-container,
.copyrights-wrapper {
	background-color: #a82d1b !important;
	color: #fff !important;
}

.footer-container {
	border-top: 4px solid #f5b731;
}

.footer-container a,
.footer-container p,
.footer-container li,
.footer-container .widget,
.footer-container .widget-title,
.copyrights-wrapper,
.copyrights-wrapper a {
	color: #fff !important;
	font-family: Comfortaa, Arial, sans-serif;
}

.footer-container a:hover,
.copyrights-wrapper a:hover,
.footer-container .kf-footer-brand h3 {
	color: #f5b731 !important;
}

.footer-container ul,
.footer-container li {
	list-style: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

.footer-container .kf-footer-row {
	padding: 52px 0 34px;
}

.footer-container .kf-footer-brand h3 {
	margin-bottom: 18px;
	font-size: 24px;
	line-height: 1.2;
}

.footer-container .kf-footer-links li {
	margin-bottom: 10px;
}

.footer-container .wd-social-icon {
	border-color: rgba(255, 255, 255, .75) !important;
	color: #fff !important;
}

.footer-container .wd-social-icon:hover {
	border-color: #f5b731 !important;
	background-color: #f5b731 !important;
	color: #a82d1b !important;
}

@media (max-width: 1024px) {
	.kf-home-cats .wd-cat-inner {
		width: 180px;
		height: 180px;
	}

	.kf-home-cats .wd-cat-image img {
		padding: 20px;
	}
}

@media (max-width: 768.98px) {
	.footer-container .wd-social-icons,
	.wd-footer .wd-social-icons {
		margin-bottom: 20px !important;
	}

	.kf-home-cats {
		max-width: 100%;
		padding-top: 28px;
		padding-bottom: 32px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.kf-home-cats .wd-carousel {
		--wd-col-sm: 3 !important;
		--wd-gap-sm: 8px !important;
		align-items: flex-start;
	}

	.kf-home-cats .wd-carousel-item {
		overflow: visible;
	}

	.kf-home-cats .wd-cat-inner {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		width: min(104px, calc((100vw - 52px) / 3));
		height: auto;
		overflow: visible !important;
		background: transparent;
		border-radius: 0 !important;
	}

	.kf-home-cats .wd-cat-thumb {
		position: relative;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 1;
		background: #e9e5e1;
	}

	.kf-home-cats .kf-cat-thumb-link {
		position: absolute;
		inset: 0;
		z-index: 5;
		display: block;
		border-radius: 50%;
		text-decoration: none;
	}

	.kf-home-cats .wd-cat-content > a.wd-fill {
		display: none !important;
		pointer-events: none !important;
	}

	.kf-home-cats .wd-cat-thumb:before {
		content: none !important;
		display: none !important;
	}

	.kf-home-cats .wd-cat-content.wd-fill {
		position: static !important;
		inset: auto !important;
		display: block !important;
		width: 100%;
		padding: 8px 0 0 !important;
		transform: none !important;
		background: transparent !important;
	}

	.kf-home-cats .wd-cat-header {
		position: relative;
		z-index: 3;
		transform: none !important;
		transition: none !important;
	}

	.kf-home-cats .wd-entities-title {
		display: block !important;
		min-height: 52px;
		padding: 0 !important;
		background: transparent !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		color: #333 !important;
		font-size: 13px !important;
		line-height: 1.32 !important;
	}

	.kf-home-cats .wd-entities-title a {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		color: inherit !important;
		white-space: normal !important;
	}

	.kf-home-cats .kf-cat-label {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		width: 100%;
		white-space: normal !important;
	}

	.kf-home-cats .kf-cat-label__name,
	.kf-home-cats .kf-cat-label__age {
		display: block !important;
		width: 100%;
		line-height: 1.32;
	}

	.kf-home-cats .kf-cat-label__age {
		font-size: 12px;
	}

	.kf-home-cats .cat-design-zoom-out .wd-cat-content.wd-fill {
		justify-content: flex-start !important;
		align-items: stretch !important;
	}

	.kf-home-cats .cat-design-zoom-out .wd-entities-title {
		display: block !important;
		background: transparent !important;
		border-radius: 0 !important;
		text-transform: none !important;
	}

	.kf-home-cats .wd-cat-image img {
		padding: 10px;
	}

	.kf-home-cats .wd-cat:hover .wd-cat-image {
		transform: none !important;
	}

	.tax-product_cat .wd-el-breadcrumbs {
		margin-bottom: 18px !important;
	}

	.tax-product_cat .wd-el-breadcrumbs :is(.woocommerce-breadcrumb, .wd-breadcrumbs) {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 6px;
		font-size: 13px !important;
		line-height: 1.45;
	}

	.tax-product_cat .kf-category-title-path {
		font-size: 16px !important;
		line-height: 1.35 !important;
	}

	.home .kf-offers-row {
		padding-top: 38px !important;
		padding-bottom: 36px !important;
		margin-bottom: 50px !important;
	}
}

/* Desktop product-category nav: show subcategories as simple text links, not circular cards. */
.wd-page-title .wd-rs-kfcatdesktoptitle {
	margin-bottom: 18px !important;
}

.tax-product_cat .kf-category-title-path {
	display: inline-flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	justify-content: center !important;
	gap: 0 .22em !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
}

.tax-product_cat .kf-category-title-link {
	color: inherit !important;
	text-decoration: none !important;
}

.tax-product_cat .kf-category-title-link:hover {
	color: #d6402e !important;
}

.tax-product_cat .kf-category-title-separator {
	color: currentColor !important;
}

.single-product .woocommerce-breadcrumb,
.single-product .wd-breadcrumbs,
.tax-product_cat .woocommerce-breadcrumb,
.tax-product_cat .wd-breadcrumbs {
	font-size: 13px !important;
	line-height: 1.45 !important;
}

.wd-page-title .wd-nav-product-cat {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 12px 20px;
	max-width: 1180px;
	margin: 6px auto 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.wd-page-title .wd-nav-product-cat > li.cat-item {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
}

.wd-page-title .wd-nav-product-cat > li.cat-item:before {
	content: none !important;
}

.wd-page-title .wd-nav-product-cat .category-nav-link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: auto;
	gap: 0;
	border: 0 !important;
	padding: 0 !important;
}

.wd-page-title .wd-nav-product-cat .wd-nav-img {
	display: none !important;
}

.wd-page-title .wd-nav-product-cat .nav-link-summary {
	display: block;
}

.wd-page-title .wd-nav-product-cat .nav-link-text {
	display: block;
	font-family: Comfortaa, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.35;
}

.wd-page-title .wd-nav-product-cat .nav-link-count {
	display: none !important;
}

/* On tablet/mobile revert to the native WoodMart accordion list. Keep the circular cards desktop-only. */
@media (max-width: 1024px) {
	.wd-page-title .wd-btn-show-cat {
		display: block !important;
	}

	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion {
		display: none;
		justify-content: normal;
		align-items: stretch;
		gap: 20px;
		padding: 20px 15px !important;
		max-width: 100%;
		overflow: visible;
		border-radius: var(--wd-brd-radius);
		background-color: rgba(var(--bgcolor-white-rgb), .4);
	}

	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion[style*="display: block"] {
		display: flex !important;
	}

	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion > li.cat-item {
		display: flex;
		flex: 1 1 100%;
		flex-wrap: wrap;
	}

	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion > li.cat-item > a,
	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion > li.cat-item > .category-nav-link {
		flex: 1 1 0%;
	}

	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion .category-nav-link {
		display: block !important;
		width: auto;
		text-align: initial;
		padding: .001px 0 !important;
	}

	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion :is(.wd-nav-img, .nav-link-count) {
		display: none !important;
	}

	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion .nav-link-summary {
		display: block;
	}

	.wd-page-title .wd-nav-product-cat.wd-mobile-accordion .nav-link-text {
		font-family: inherit;
		font-size: inherit;
		line-height: inherit;
	}
}
