/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.fh-cat-slider {
	position: relative;
	padding: 0 44px;
	overflow: hidden;
}

.fh-cat-slider__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px 2px 10px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	touch-action: pan-x;
	cursor: grab;
}

.fh-cat-slider__track.is-dragging {
	cursor: grabbing;
}

.fh-cat-slider__track::-webkit-scrollbar {
	display: none;
}

.fh-cat-slider__item {
	flex: 0 0 min(150px, 90vw);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	text-decoration: none;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fh-cat-slider__icon {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.fh-cat-slider__icon-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fh-cat-slider__icon-fallback {
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-radius: 4px;
	opacity: .5;
}

.fh-cat-slider__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.fh-cat-slider__title {
	font-size: 19px;
	font-weight: 700;
	color: #1f1f1f;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fh-cat-slider__count {
	margin-top: 4px;
	font-size: 15px;
	font-weight: 500;
	color: #878787;
	white-space: nowrap;
}

.fh-cat-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: .9;
	transition: opacity .2s ease;
}


.fh-cat-slider__nav:hover {
	opacity: 1;
}

.fh-cat-slider__nav:disabled {
	opacity: .25 !important;
    pointer-events: none;
}

.fh-cat-slider__nav.is-prev {
	left: 0;
}

.fh-cat-slider__nav.is-next {
	right: 0;
}

.wd-page-title .title {
	text-shadow: 0px 0px 10px #000;
}

.order-withdrawal-request {
	margin: 36px 0;
}

.order-withdrawal-request .form-row-submit button {
	border-radius: 5px;
	background: #d25f1c;
	padding: 8px 32px;
	color: #FFF;
}

.order-withdrawal-request .form-row-submit button:hover {
	background: #000;
}

@media (max-width: 767px) {
	.fh-cat-slider {
		padding: 0;
	}

	.fh-cat-slider__track {
		margin-inline: 42px;
    	overflow: hidden;
	}

	.fh-cat-slider__item {
		flex: 0 0 calc((100% - 14px) / 2);
	}

	div.slide-title {
        flex-direction: column;
        text-align: center;
        align-items: baseline;
    }

	div.slide-title h4,
	div.slide-title .info-box-inner {
		text-align: left;
	}

	.wd-page-title-el .wd-page-title {
		padding: 2rem 0;
	}
}
