/**
 * BYO Activities Filter Styles
 *
 * Provides a clean, modern, and premium styling for the Build Your Own
 * page category tabs, dropdowns, empty states, and sliders matching Figma.
 *
 * @package BYO_Activities_Filter
 */

/* ==========================================================================
   1. Typography & Import
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Custom Slider Layout Styles
   ========================================================================== */
.byo-slider-container {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	overflow: hidden;
	list-style: none;
	padding: 0;
	z-index: 1;
	display: block;
	width: 100%;
}
.byo-slider-wrapper {
	position: relative;
	width: 100%;
	height: auto !important;
	z-index: 1;
	display: flex !important;
	flex-direction: row !important;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-sizing: content-box;
	backface-visibility: visible !important;
	-webkit-backface-visibility: visible !important;
	transform: translate3d(0px, 0, 0);
	gap: 24px;
}
.byo-slider-slide {
	flex-shrink: 0;
	width: 100% !important;
	height: auto !important;
	position: relative;
	backface-visibility: visible !important;
	-webkit-backface-visibility: visible !important;
}

/* ==========================================================================
   2. Main Header Section & Title
   ========================================================================== */
.byo-header-section {
	text-align: center;
	margin-bottom: 30px;
	width: 100%;
}

.byo-customize-badge {
	display: inline-block;
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #f05435;
	background-color: #fdf2f0;
	padding: 6px 20px;
	border-radius: 100px;
	text-transform: capitalize;
	margin-bottom: 12px;
	letter-spacing: 0.2px;
}

.byo-main-title {
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 52px;
	font-weight: 800;
	color: #1f2937;
	letter-spacing: -1.5px;
	line-height: 1.1;
	margin: 0 auto;
	max-width: 600px;
}

.byo-main-title span {
	color: #f05435;
}

/* ==========================================================================
   3. Filter Bar (Dropdowns & Go Back Button)
   ========================================================================== */
.byo-dropdowns-row {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 35px 0;
	width: 100%;
}

/* Go Back Button */
.byo-go-back-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #ffffff !important;
	background-color: #000000;
	padding: 10px 24px;
	border-radius: 100px;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid #000000;
	outline: none;
	height: 38px;
	box-sizing: border-box;
}

.byo-go-back-btn:hover {
	background-color: #222222;
	border-color: #222222;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.byo-go-back-btn:active {
	transform: translateY(0);
}

/* Custom Dropdowns */
.byo-custom-dropdown {
	position: relative;
	display: inline-block;
}

.byo-dropdown-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: #4b5563;
	background-color: #f1f5f9;
	border: 1px solid transparent;
	padding: 10px 24px !important;
	border-radius: 100px;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	outline: none;
	height: 38px;
	box-sizing: border-box;
	min-width: 150px;
}

.byo-dropdown-trigger:hover {
	background-color: #e2e8f0;
	color: #1f2937;
}

/* Active Dropdown State */
.byo-custom-dropdown.byo-dropdown-active .byo-dropdown-trigger {
	color: #ffffff !important;
	background-color: #f05435 !important;
	box-shadow: 0 4px 12px rgba(240, 84, 53, 0.2);
}

.byo-custom-dropdown.byo-dropdown-active .byo-dropdown-trigger .byo-chevron-icon svg {
	stroke: #ffffff !important;
}

.byo-custom-dropdown.byo-dropdown-active .byo-dropdown-trigger:hover {
	background-color: #e04425 !important;
}

/* Chevron Rotation */
.byo-custom-dropdown.byo-dropdown-open .byo-chevron-icon svg {
	transform: rotate(180deg);
}

.byo-chevron-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.byo-chevron-icon svg {
	width: 12px;
	height: 12px;
	stroke: #4b5563;
	transition: transform 0.25s ease, stroke 0.25s ease;
	display: block;
}

/* Dropdown Menu container */
.byo-dropdown-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%) translateY(-10px);
	background-color: #ffffff;
	border-radius: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
	border: 1px solid #f1f5f9;
	padding: 12px 0;
	margin: 0;
	list-style: none;
	min-width: 180px;
	z-index: 9999;
	display: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Open Menu style */
.byo-custom-dropdown.byo-dropdown-open .byo-dropdown-menu {
	display: block;
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

/* Option Items */
.byo-dropdown-option {
	padding: 10px 24px;
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #4b5563;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.byo-dropdown-option:hover {
	background-color: #f8fafc;
	color: #f05435;
}

/* Selected option style */
.byo-dropdown-option.byo-option-selected {
	color: #f05435;
	font-weight: 700;
	background-color: #fdf2f0;
}

/* ==========================================================================
   4. Empty State Box
   ========================================================================== */
.byo-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 2px dashed #cbd5e1;
	border-radius: 24px;
	padding: 90px 40px;
	background-color: #f8fafc;
	text-align: center;
	width: 100%;
	max-width: 936px;
	box-sizing: border-box;
	margin: 20px auto;
	transition: all 0.3s ease-in-out;
}

.byo-empty-state-icon {
	color: #94a3b8;
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.byo-empty-state-text {
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 15px;
	color: #6b7280;
	font-weight: 500;
	margin: 0;
	letter-spacing: 0.1px;
}

/* ==========================================================================
   5. Swiper Slider & Card Layout
   ========================================================================== */
.byo-full-builder-wrapper {
	max-width: 100%;
	width: 936px;
	margin: 0 auto;
	/* Clears the following FAQ section, which has a -49px top margin that would
	   otherwise overlap the carousel arrows on this (taller) builder tab. */
	padding: 0 0 80px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Slider Container */
.byo-slider-container {
	width: 100%;
	overflow: hidden;
	position: relative;
	border-radius: 24px;
	text-align: left;
	box-sizing: border-box;
	transition: opacity 0.25s ease-in-out;
}

/* Card Styling */
.byo-card {
	background-color: #ffffff;
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #f1f5f9;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	backface-visibility: visible !important;
	-webkit-backface-visibility: visible !important;
}

.byo-card-image-wrapper {
	width: 100%;
	height: 380px;
	overflow: hidden;
	border-radius: 24px;
	box-sizing: border-box;
}

.byo-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 24px;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.byo-zoom-enabled .byo-card:hover .byo-card-image {
	transform: scale(1.04);
}

.byo-card-content {
	padding: 24px 0 0 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.byo-card-badge {
	align-self: flex-start;
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	background-color: #f1f5f9;
	padding: 4px 12px;
	border-radius: 100px;
	margin-bottom: 12px;
	text-transform: capitalize;
}

.byo-card-title {
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 12px 0;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.byo-card-body {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	width: 100%;
}

.byo-card-description-wrapper {
	flex: 1;
}

.byo-card-description {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	line-height: 1.6;
}

.byo-card-description strong {
	color: #1f2937;
	font-weight: 700;
}

.byo-card-inquire-wrapper {
	flex-shrink: 0;
}

/* Red Pill Inquire Button */
.byo-inquire-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #ffffff !important;
	background-color: #f05435;
	border: none;
	padding: 12px 28px;
	border-radius: 100px;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	white-space: nowrap;
}

.byo-inquire-btn:hover {
	background-color: #e04425;
	color: #ffffff !important;
	transform: translateX(3px);
}

.byo-inquire-btn svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	stroke-width: 2.5;
	fill: none;
}

/* ==========================================================================
   6. Teardrop Slider Navigation
   ========================================================================== */
.byo-carousel-navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 35px;
	width: 100%;
	position: relative;
	z-index: 2;
}

.byo-full-builder-wrapper .byo-carousel-navigation .byo-prev-btn,
.byo-full-builder-wrapper .byo-carousel-navigation .byo-next-btn {
	width: 53px;
	height: 53px;
	flex: 0 0 53px;
	box-sizing: border-box;
	display: block;
	cursor: pointer;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	border: none !important;
	outline: none;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

/* Teardrop arrow assets are rendered as <img> inside the button (exact Elementor asset). */
.byo-carousel-navigation .byo-arrow-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.byo-prev-btn.byo-btn-disabled,
.byo-next-btn.byo-btn-disabled {
	opacity: 0.3;
	pointer-events: none;
}

.byo-prev-btn:hover,
.byo-next-btn:hover {
	transform: scale(1.06);
}



/* ==========================================================================
   7. Fallback & Helpers
   ========================================================================== */
.byo-no-results {
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 16px;
	color: #6b7280;
	padding: 50px 0;
	text-align: center;
	width: 100%;
}

.byo-active {
	background-color: #f05435 !important;
	color: #ffffff !important;
	border-color: #f05435 !important;
}

/* ==========================================================================
   8. Responsive Layouts
   ========================================================================== */
@media (max-width: 768px) {
	.byo-main-title {
		font-size: 38px;
	}
	
	.byo-card-image-wrapper {
		height: 280px;
	}

	.byo-card-body {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.byo-card-inquire-wrapper {
		width: 100%;
	}

	.byo-inquire-btn {
		width: 100%;
		justify-content: center;
	}

	.byo-card-meta {
		gap: 12px 20px;
	}
}

/* ==========================================================================
   9. Activity Card Detail Rows (Duration / Location / Participants)
   ========================================================================== */
.byo-card-meta {
	list-style: none;
	margin: 0 0 18px 0;
	padding: 16px 0 0 0;
	border-top: 1px solid #eef1f5;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
}

.byo-card-meta-item {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.byo-card-meta-label {
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #9ca3af;
}

.byo-card-meta-value {
	font-family: 'Inter', -apple-system, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #1f2937;
	line-height: 1.4;
}

/* Area of Expertise tag pills (source "red buttons") */
.byo-card-tags {
	list-style: none;
	margin: 0 0 16px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.byo-card-tag {
	font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: #f05435;
	background-color: #fdf2f0;
	border: 1px solid #f9d9d1;
	padding: 5px 12px;
	border-radius: 100px;
}
