/* ============================================
   HERO SECTION
   ============================================ */
   .hero-section {
	position: relative;
	width: 100%;
	height: 340px;
	background: url("/img/hero-bg.png") no-repeat center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	overflow: hidden;
}

.hero-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.3);
	z-index: 0;
}

.hero-content {
	position: absolute;
	width: 610px;
	height: 154px;
	left: calc(50% - 610px / 2 + 0.5px);
	top: calc(50% - 154px / 2);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	color: white;
}

.hero-text {
	flex: 1;
	text-align: left;
}

.hero-text h1 {
	font-size: 2.5em;
	margin: 0 auto;
	text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
	text-align-last: justify;
    width: 360px;
}

.hero-text h1 span {
	font-size: 60px;
}

.hero-text p {
	font-size: 1.2em;
	margin: 0;
}

.hero-logomark {
	flex: none;
	margin-left: 20px;
}

.hero-logomark img {
	width: 142px;
	height: 142px;
	display: block;
	filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.7));
}

/* Hero Search Bar */
.hero-search {
	position: absolute;
	width: 100%;
	max-width: 600px;
	left: 50%;
	transform: translateX(-50%);
	bottom: 40px;
}

.search-form {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.search-label {
	display: block;
	color: white;
	font-size: 14px;
	margin-bottom: 8px;
	text-align: center;
	width: 100%;
}

.search-input-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	background: white;
	border-radius: 8px;
	border: 1px solid rgba(34, 34, 34, 0.3);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	gap: 10px;
	padding-right: 10px;
}

.search-icon {
	position: absolute;
	left: 16px;
	color: #999;
	font-size: 18px;
	pointer-events: none;
	z-index: 1;
}

.search-input {
	flex: 1;
	width: 100%;
	padding: 12px 16px 12px 48px;
	border: none;
	outline: none;
	font-size: 16px;
	color: #333;
	background: transparent;
}

.search-input::placeholder {
	color: #999;
}

.search-button {
	width: 26px;
	height: 26px;
	border-radius: 4px;
	padding: 4px;
	background: var(--primary-color-rgba);
	border: none;
	cursor: pointer;
	color: white;
	font-size: 14px;
	transition: opacity 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.search-button:hover {
	opacity: 0.9;
}

.search-button:active {
	opacity: 0.8;
}

/* ============================================
   REGION SELECTION SECTION
   ============================================ */
.region-selection-section {
	padding: 0;
	background: white;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 348px;
	box-sizing: border-box;
	overflow: visible;
}

.region-selection-header {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	padding: 24px;
	gap: 60px;
	width: 100%;
	max-width: 1100px;
	min-height: 348px;
	background: white;
	margin: 0 auto;
	box-sizing: border-box;
	overflow: visible;
}

.region-svg-wrapper {
	flex: none;
}

.region-svg {
	width: 300px;
	height: 300px;
	display: block;
}

.region-selection-text {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.region-selection-label {
	font-size: 20px;
	font-weight: bold;
	color: #000;
	margin: 0;
	padding: 0;
	height: 60px;
	line-height: 60px;
	display: flex;
	align-items: center;
}

.region-buttons-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	width: 692px;
}

.region-area-button {
	position: relative;
	max-width: 144px;
	height: 75px;
	padding: 8px 32px;
	border-radius: 8px;
	background: #eeeeeeee;

	border: none;
	cursor: pointer;
	color: #000;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.region-area-button h3 {
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	padding: 0;
	height: 60px;
	line-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.region-area-button:hover,
.region-area-button:active {
	border-color: var(--primary-color);
	background: var(--primary-color);
	color: white;
}

.region-area-button.selected {
	border-color: var(--primary-color);
	background: var(--primary-color);
	color: white;
}

.region-area-button:active {
	opacity: 0.9;
}

/* Tooltip Styles */
.region-tooltip,
.alert-tooltip {
	position: absolute;
	display: none;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	min-width: 146px;
	min-height: 36px;
	background: rgba(97, 97, 97, 0.9);
	border-radius: 4px;
	color: white;
	font-size: 14px;
	white-space: nowrap;
	z-index: 1000;
	pointer-events: none;
	bottom: 100%;
	margin-bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
	line-height: 1.4;
}

.alert-tooltip {
	transform: translateX(-5%) !important;
}

.region-area-button:hover .region-tooltip,
#region-alert-tooltip:hover .alert-tooltip,
#other-alert-tooltip:hover .alert-tooltip,
#function-alert-tooltip:hover .alert-tooltip {
	display: flex;
}

/* Sub-region and city/ward selection share the same styles */
.sub-region-selection,
.city-ward-selection {
	margin-top: 24px;
	width: 692px;
}

.sub-region-label,
.city-ward-label {
	font-size: 20px;
	font-weight: bold;
	color: #000;
	margin: 0 0 16px 0;
	padding: 0;
	height: 60px;
	line-height: 60px;
	display: flex;
	align-items: center;
}

.sub-region-buttons-container,
.city-ward-buttons-container {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	width: 692px;
}

/* Ensure buttons maintain their max-width and flex properties */
.sub-region-buttons-container > .region-area-button {
	min-width: 125px;
	max-width: 144px;
	flex: 0 0 auto;
}
.city-ward-buttons-container > .region-area-button {
	min-width: 125px;
	max-width: 144px;
	flex: 0 0 auto;
}

/* City-ward buttons use same styles as sub-region */

/* Sub-region and city/ward buttons inherit all styles from .region-area-button */

@media (max-width: 1200px) {
	.region-selection-header {
		padding: 24px 20px;
		gap: 40px;
	}

	.region-svg {
		width: auto;
		max-width: 280px;
		height: auto;
		max-height: 300px;
	}
}

/* ============================================
   TYPOGRAPHY & SECTION TITLES
   ============================================ */
.section-title {
	color: #000;
	margin: 0;
	padding: 10px 0;
	font-weight: 700;
	font-size: 32px;
	line-height: 160%;
}

.section-title-function {
	color: #000;
	margin: 0;
	padding: 10px 0;
	font-weight: 700;
	font-size: 20px;
}

/* ============================================
   FUNCTION INFORMATION SECTION
   ============================================ */
.function-info-section {
	padding: 60px 0px;
	background: white;
}
.function-info-section .container,
.search-conditions-section .container {
	max-width: 1100px;
	margin: 0 auto;
}

/* Feature Buttons Group */
.feature-buttons-group {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 1100px;
}

.feature-button {
	width: 100%;
	padding: 16px;
	border-radius: 8px;
	background: rgba(238, 238, 238, 0.933333);
	border: none;
	cursor: pointer;
	font-size: 16px;
	color: #000000;
	transition: all 0.2s;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	box-sizing: border-box;
	gap: 16px;
	height: 100px;
}

.feature-button-content {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

.feature-button-image {
	width: 56px;
	height: 56px;
	background: #f0f0f0;
	border-radius: 4px;
	flex-shrink: 0;
	/* Placeholder for image - replace with actual image when available */
}

.feature-button-text {
	font-size: 16px;
	color: inherit;
	line-height: 1.4;
	margin: 0;
	padding: 0;
	text-align: left;
}
.feature-button-text-detail {
	font-size: 14px;
	font-weight: normal;
}

.feature-checkbox {
	width: 20px;
	height: 20px;
	cursor: pointer;
	flex-shrink: 0;
	margin-left: 12px;
	accent-color: var(--primary-color);
	-webkit-appearance: checkbox;
	appearance: checkbox;
}

.feature-button:hover,
.feature-button.selected {
	border-color: var(--primary-color);
	background: var(--primary-color);
	color: white;
}

.feature-button:active {
	opacity: 0.9;
}

/* ============================================
   SEARCH CONDITIONS SECTION
   ============================================ */
.search-conditions-section {
	padding: 60px 0px;
	background: #F4EFEB;
}

/* Search Filters Container */
.search-filters-container {
	width: 1100px;
}



/* Search Filter */
.search-filter {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Search Filter Details Container */
.search-filter-details {
	display: block;
	width: 100%;
	background: #FCFCFC;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}


.search-filter:first-child .search-filter-details {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.search-filter:last-child .search-filter-details {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.search-filter-details > summary {
	box-sizing: border-box;
	display: block;
	width: 100%;
	list-style: none;
	cursor: pointer;
	outline: none;
}

.search-filter-details > summary::-webkit-details-marker {
	display: none;
}

.search-filter-details[open] .search-filter-summary {
	border-bottom: 1px solid #0000001a;
	background: #fcfcfc;
}

/* First filter summary - rounded top corners when open */
.search-filter:first-child .search-filter-summary {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.search-filter-summary {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
	gap: 10px;
	width: 100%;
	min-height: 110px;
	margin: 0;
	border-bottom: 1px solid #0000001A
}

.search-filter-summary-others{
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
	gap: 10px;
	width: 100%;
	min-height: 110px;
	margin: 0;
}

.search-filter-title-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-filter-title-icon {
	color: var(--primary-color);
	font-size: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.search-filter-title {
	font-weight: 700;
	font-size: 16px;
	line-height: 160%;
	color: #000000;
	display: flex;
	align-items: center;
}

.search-filter-tooltip {
	position: relative;
	float: right;
	font-size: 20px !important;
	color: #0093FF;
}

.search-filter-middle-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: 10px;
	gap: 16px;
	flex-wrap: wrap;
}

.search-filter-selected-text {
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	color: rgba(0, 0, 0, 0.6);
}

/* Selected Filter Chips Container */
.search-filter-selected-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	flex: 1;
	min-width: 0;
}

/* Filter Chip */
.filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border: 1px solid var(--primary-color);
	border-radius: 100px;
	background: #ffffff;
	font-size: 14px;
	line-height: 1.4;
	color: #000000;
	box-sizing: border-box;
	flex-shrink: 0;
}

.filter-chip.disable {
	border: 1px solid #e0e0e0;
}

.filter-chip-text {
	font-weight: 400;
	font-size: 18px;
	line-height: 1.4;
	color: var(--primary-color);
	white-space: nowrap;
}

.filter-chip-text.disable {
	color:  #e0e0e0;
}

.filter-chip-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.filter-chip-remove.disable {
	display: none;
}

.filter-chip-remove:hover {
	opacity: 0.7;
}

.filter-chip-remove img {
	display: block;
}

.search-filter-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.search-filter-toggle-text {
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	color: var(--primary-color);
}

.search-filter-icon {
	color: var(--primary-color);
	font-size: 20px;
	transition: transform 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-filter-details[open] .search-filter-icon {
	transform: rotate(90deg);
}

.search-filter-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
	width: 100%;
	box-sizing: border-box;
	background: #ffffff;
	margin: 0;
}

.search-filter:last-child .search-filter-content {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.content-wrapper {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 auto;
}

.filter-form-group {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.filter-region-divider {
	width: 100%;
	height: 1px;
	background: #0000001A;
	margin: 16px 0;
	display: block;
}

.filter-form-label {
	font-size: 16px;
	line-height: 150%;
	color: rgba(0, 0, 0, 0.87);
	margin-bottom: 10px;
}

.filter-checkbox-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.filter-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 16px;
	line-height: 150%;
	color: rgba(0, 0, 0, 0.87);
}

.filter-checkbox {
	width: 24px;
	height: 24px;
	cursor: pointer;
	accent-color: #1976d2;
	-webkit-appearance: checkbox;
	appearance: checkbox;
}

.filter-checkbox:checked {
	accent-color: #1976d2;
}

.checkbox-group:not(.business-hours-checkboxes):not(.home-care-time-checkboxes) .filter-checkbox-label span {
	width: 450px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Generic checkbox group style - applies to all checkbox containers */
.checkbox-group {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0px;
	gap: 12px;
	flex: none;
	order: 1;
	flex-grow: 0;
	flex-wrap: wrap;
}

.business-hours-checkboxes,
.home-care-time-checkboxes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.certified-pharmacy-checkboxes,
.home-care-certified-checkboxes,
.pharmacy-info-certified-checkboxes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

/* Column variant for checkbox groups */
.checkbox-group.column {
	flex-direction: column;
	align-items: flex-start;
}

/* Time Slider Styles */
.time-slider-container {
	position: relative;
	width: 98%;
	height: 44px;
	flex: none;
	order: 0;
	align-self: stretch;
	flex-grow: 0;
	display: flex;
	align-items: center;
	margin: 0 10px;
}

/* Background track */
.time-slider-container::before {
	content: '';
	position: absolute;
	left: 0;
	top: 20px;
	width: 100%;
	height: 4px;
	background: rgba(25, 118, 210, 0.38);
	border-radius: 2px;
	z-index: 1;
}

.time-slider-container.disable::before {
	background: rgba(118, 118, 118, 0.38);
}

/* Active range indicator */
.slider-active-range {
	position: absolute;
	left: 25%;
	top: 19px;
	width: 50%;
	height: 6px;
	background: #1976D2;
	border-radius: 3px;
	z-index: 2;
	transition: left 0.1s, width 0.1s;
}

.slider-active-range.disable {
	background: rgba(118, 118, 118);
}

/* Tick marks at 0%, 25%, 50%, 75%, 100% */
/* .time-slider-container::after {
	content: '';
	position: absolute;
	left: 0;
	top: 21px;
	width: 2px;
	height: 2px;
	background: #1976D2;
	border-radius: 1px;
	z-index: 3;
	box-shadow: 
		125.75px 0 0 #1976D2,
		125.75px 0 0 rgba(255, 255, 255, 0.8),
		251.5px 0 0 #1976D2,
		377.25px 0 0 #1976D2,
		377.25px 0 0 rgba(255, 255, 255, 0.8),
		503px 0 0 #1976D2;
} */

.time-slider {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	margin: 0;
	padding: 0;
	pointer-events: none;
}

.time-slider::-webkit-slider-runnable-track {
	width: 100%;
	height: 4px;
	background: transparent;
}

.time-slider::-moz-range-track {
	width: 100%;
	height: 4px;
	background: transparent;
}

.time-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #1976D2;
	cursor: pointer;
	border: none;
	box-shadow: 
		0 1px 2.5px rgba(0, 0, 0, 0.12),
		0 2px 1px rgba(0, 0, 0, 0.14),
		0 3px 0.5px rgba(0, 0, 0, 0.2);
	margin-top: -8px;
	position: relative;
	pointer-events: auto;
}

.time-slider.disable::-webkit-slider-thumb {
	background: rgba(118, 118, 118);
}

.time-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #1976D2;
	cursor: pointer;
	border: none;
	box-shadow: 
		0 1px 2.5px rgba(0, 0, 0, 0.12),
		0 2px 1px rgba(0, 0, 0, 0.14),
		0 3px 0.5px rgba(0, 0, 0, 0.2);
	pointer-events: auto;
}

.time-slider.disable::-moz-range-thumb {
	background: rgba(118, 118, 118);
}

.time-slider-start {
	z-index: 4;
}

.time-slider-end {
	z-index: 5;
}

.slider-values {
	display: flex;
	justify-content: space-between;
	width: 100%;

}

.slider-value {
	width: 36px;
	height: 20px;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	letter-spacing: 0.17px;
	color: rgba(0, 0, 0, 0.6);
	flex: none;
	order: 0;
	flex-grow: 0;
}

.start-end-time {
	margin: 5px auto 0;
}

/* ============================================
   SEARCH RESULTS SECTION
   ============================================ */
.search-results-section {
	padding: 60px 0px;
	background: white;
}

.search-results-section .container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.results-header {
	margin-bottom: 30px;
}

.results-header h1 {
	font-size: 2em;
	margin-bottom: 10px;
	color: #333;
}

.selected-region {
	font-size: 1.1em;
	margin-bottom: 15px;
	color: #666;
}

.back-link {
	display: inline-block;
	margin-top: 10px;
	color: var(--primary-color);
	text-decoration: none;
	transition: opacity 0.2s;
}

.back-link:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.results-count {
	margin: 0 0 24px 0;
	font-size: 20px;
	color: rgba(0, 0, 0, 0.6);
	font-weight: bold;
}

.results-count span {
	margin: 0 0 24px 0;
	font-size: 16px;
	font-weight: normal;
}

.results-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	min-width: 1100px;
	align-items: flex-start;
	box-sizing: border-box;
}

/* Pharmacy Result Item - Generic Component */
.pharmacy-result-item {
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	padding: 24px;
	min-width: 1100px;
	width: 100%;
	height: 140px;
	background: #ffffff;
	border: 1px solid #f99b27;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.pharmacy-result-item:hover {
	background: #fff9f0;
	border-color: #f99b27;
	box-shadow: 0 4px 12px rgba(249, 155, 39, 0.15);
	transform: translateY(-2px);
}

/* Left Column */
.pharmacy-result-left {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;   /* 残りスペースを全部使う */
	min-width: 0;
	/* max-width: 40%; */
	box-sizing: border-box;
}

.pharmacy-name-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pharmacy-icon {
	color: var(--primary-color);
	font-size: 20px;
}

.pharmacy-name {
	font-weight: 700;
	font-size: 16px;
	line-height: 160%;
	color: #000000;
}

.pharmacy-address-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.address-icon {
	color: rgba(0, 0, 0, 0.6);
	font-size: 16px;
}

.pharmacy-address {
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	color: rgba(0, 0, 0, 0.6);
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
}

.pharmacy-phone-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.phone-icon {
	color: rgba(0, 0, 0, 0.6);
	font-size: 16px;
}

.pharmacy-phone {
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	color: rgba(0, 0, 0, 0.6);
}

/* Right Column */
.pharmacy-result-right {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	flex: 0 1 auto;   /* 中身の幅に合わせる（最大50%は別で制御） */
	min-width: 0;
	max-width: 50%;
	box-sizing: border-box;
}

.pharmacy-features-pills {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-content: flex-end;
	align-items: flex-start;
	padding: 0px;
	gap: 8px;
	flex: none;
	order: 1;
	flex-grow: 0;
	min-width: 0;
	box-sizing: border-box;
	width: 100%;
}

.feature-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 32px;
	padding: 4px 12px;
	border-radius: 100px;
	border: 1px solid #e0e0e0;
	background: #f5f5f5;
	font-weight: 400;
	font-size: 14px;
	line-height: 160%;
	color: #000000;
	white-space: nowrap;
	/* Allow dynamic width based on content, but ensure approximately 4 items per row */
	flex: 0 1 auto;
	max-width: calc(25% - 6px);
	min-width: fit-content;
}

.no-results {
	text-align: center;
	padding: 40px;
	color: #999;
	font-size: 1.1em;
}

.pharmacy-info-filter-container {
	width: 100%;
}

.pharmacy-info-header {
	display: flex;
}

.business-hours-section {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.home-care-time-section {
	display: none;
	flex-direction: column;
	width: 100%;
}

.home-care-time-section.show {
	display: flex;
}

.home-care-certified-section {
	display: none;
	flex-direction: column;
	width: 100%;
}

.home-care-certified-section.show {
	display: flex;
}

/* Generic header with label and content - 30/70 split */
.filter-section-header {
	width: 100%;
	margin: 12px 0px;
}

.filter-section-header > h4 {
	width: 100%;
	flex: 0 0 20%;
	margin-block-start: 0em;
}

.filter-section-header > div {
	width: 100%;
}

.pharmacy-info-form-group {
	margin: 0 32px;
}

/* ============================================
   FLOATING SCROLL BUTTON
   ============================================ */
.floating-scroll-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 142px;
	height: 142px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	z-index: 1000;
	transition: opacity 0.3s, transform 0.3s;
}

.floating-scroll-button:hover {
	opacity: 0.9;
	transform: scale(1.05);
}

.floating-scroll-button:active {
	opacity: 0.8;
	transform: scale(0.95);
}

.floating-scroll-button img {
	width: 100%;
	height: 100%;
	display: block;
}

.blink {
	animation: blinkAnime 1s infinite;
}

@keyframes blinkAnime {
	0%   { opacity: 1; }
	50%  { opacity: 0.5; }
	100% { opacity: 1; }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
	margin-bottom: 40px;
	width: 100%;
}

.pagination {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pagination-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: #FFFFFF;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	box-sizing: border-box;
}

.pagination-btn:hover:not(:disabled) {
	background: #F5F5F5;
}

.pagination-btn:active:not(:disabled) {
	background: #EEEEEE;
	transform: scale(0.95);
}

.pagination-btn:disabled {
	opacity: 0.38;
	cursor: not-allowed;
}

.pagination-btn img {
	display: block;
}

.pagination-numbers {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

.pagination-number {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: none;
	background: #FFFFFF;
	border-radius: 8px;
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	color: #000000;
	cursor: pointer;
	transition: all 0.2s;
	box-sizing: border-box;
}

.pagination-number:hover {
	background: #F5F5F5;
}

.pagination-number.active {
	background: var(--primary-color);
	border: none;
	color: #FFFFFF;
	font-weight: 700;
	/* Circular shape for active state */
	border-radius: 50%;
	width: 40px;
	min-width: 40px;
	padding: 0;
}

.pagination-number:active {
	transform: scale(0.95);
}