
:root {
	--item-bg: #e8ebf1;
}

/* User selection criteria */

.filter-summary {
	background: var(--light-grey);
	border: 1px solid var(--dark-grey);
	border-radius: 4px;
	padding: 12px;
	margin-bottom: 20px;
}

.summary-content {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.filter-pill {
	background: var(--irish-green);
	color: white;
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 12px;
}

/*.clear-filters-btn {
	background: none;
	border: 1px solid var(--irish-orange);
	color: var(--irish-orange);
	padding: 4px 8px;
	border-radius: 4px;
	cursor: pointer;
	margin-left: auto;
}*/

/* Main result list */

#searchResults{
	margin-top: 20px;
}

.result-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	background-color: var(--item-bg);
	border: 1px solid var(--dark-grey);
	border-radius: 8px;
	padding: 15px 15px 5px 15px;
	margin-bottom: 20px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	transition: transform 0.2s, box-shadow 0.2s;
}

.result-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.result-item img {
	border-radius: 6px;
	border: 1px solid var(--dark-grey);
}

.result-details-top {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 105px;
	width: 100%;
}
.has-2-rows{
	grid-row: span 2;
	display: flex;
	justify-content: flex-end;
}

.has-2-rows img {
	max-width: 100px;
}

.result-details {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-left: 10px;
}

.result-details > div {
	padding: 5px;
}

.price {
	color: var(--irish-green);
	font-size: 1.4rem;
	font-weight: bold;
}

.address {
	color: var(--navy-dark);
	font-weight: bold;
	padding-top: 5px;
}

.bed-bath-style{
	grid-column: 1 / -1;
}

.ber {
	grid-column: 1 / -1;
}

.ber img {
	vertical-align: middle;
}

.ber span {
	vertical-align: middle;
	font-weight: 800;
	border-radius: 4px;
}


.description {
	grid-column: 1 / -1;
	color: var(--text-dark);
	line-height: 1.4;
	padding-top: 5px;
	border-top: 1px solid var(--navy-dark);
	margin-top: 15px;
}

  .action-buttons {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
  }

  .details-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--irish-green);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
  }

  .details-link:hover {
    color: var(--irish-orange);
  }

  .details-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .shortlist-btn {
	border: none;
	background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
  }

.shortlist-btn:hover {
	transform: none;
	box-shadow: none;
	border: none;
	background-color: transparent;
}

  .shortlist-btn svg {
    width: 22px;
    height: 22px;
    fill: #808097;
    transition: fill 0.2s;
}

  .shortlist-btn:hover svg {
    fill: var(--irish-orange);
  }

  .shortlist-btn.active svg {
    fill: var(--irish-orange);
  }


/* Mobile Responsive Styles */
@media (max-width: 600px) {

	.result-item {
		grid-template-columns: 1fr;
	}
	.result-item > img:first-child {
		justify-self: center;
	}

	.agntLogo {
		max-width: 100%;
		justify-content: flex-end;
		align-items: flex-start;
	}

	.agntLogo img {
		max-width: 75px;
		height: auto;
	}
}

@media (max-width: 400px) {

	.agntLogo img {
		max-width: 60px;
	}
}

