.yacht-charter {
    width: calc(100% - 80px);
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    margin: 40px 0;
}

.yacht-charter-filters {
    margin: 40px 0;
    gap: 30px;
	display: flex;
	flex-direction: row;
}

.yacht-search-and-sort {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}

.filters-col {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}
.horizontal {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	width: 100%;
}


@media (max-width: 1000px) {
	.yacht-charter-filters {
		flex-direction: column;
		gap: 1rem;
	}

	.filters-col {
		gap: 1rem;
	}
}

@media (max-width: 768px) {
	.yacht-charter {
		width: calc(100% - 60px);
	}
}

/* ~~~~~~~~~~ */

/* START OF YACHT GRID AND ITEM CSS */

.yachts-grid {
	column-gap: 3rem;
	row-gap: 4rem;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    margin: 80px 0;
	overflow: hidden;
}
.yacht {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
    cursor: pointer;
    gap: 4px;
	position: relative;
	-webkit-user-drag: none;
    user-select: none;
}
.yacht-favourite {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
}

.yacht-favourite svg {
    fill: transparent;
}

.yacht-favourite .heart-path {
    stroke: rgb(255, 255, 255);
    stroke-width: 1.5px;
    fill: #00000075;
}

.yacht-favourite.active .heart-path {
    fill: var(--main-accent-color);
    /* stroke: none; */
}
@media (min-width: 768px) {
	.yacht:hover img {
		filter: brightness(0.8);
	}
}
.yacht img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 1.5;
    opacity: 1;
    transition: filter .2s;
	-webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}
.yacht-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.yacht-title {
	font-family: var(--accent-font-regular);
	font-size: 1.2rem;
	font-weight: bold;
	color: black;
}
.yachts-specs {
    margin-top: 5px;
}
.yachts-specs,
.yachts-rate {
	font-weight: 200;
	letter-spacing: .07rem;
	font-size: 0.8rem;
	color: #444;
	line-height: 1;
	font-family: system-ui;
}
.yachts-rate {
	color: black;
	font-weight: 400;
	margin-bottom: 4px;
}
.view-yacht {
	width: fit-content;
	border: none;
	background-color: transparent;
	box-shadow: inset 0px -3px 0 var(--main-accent-color);
	padding: 0;
	margin: 0;
	font-family: var(--accent-font-regular);
	letter-spacing: .1em;
	font-size: 0.9rem;
	font-weight: 600;
	color: #444;
    transition: box-shadow .2s, color .2s;
	height: 26px;
    cursor: pointer;
}
@media (min-width: 768px) {
	.view-yacht:hover {
		color: white;
		box-shadow: inset 0px -25px 0 var(--main-accent-color);
	}
}


@media (max-width: 500px) {
	h2 {
		font-size: 1.2rem;
	}
	.horizontal {
		flex-direction: column;
	}
	.yacht-charter {
		width: calc(100% - 40px);
	}

	.hero-action-buttons a, .hero-action-buttons button {
		padding: 10px 16px;
		font-size: 1rem;
	}

	.yachts-grid {
		row-gap: 2.4rem;
		margin: 2.4rem 0;
	}
}

.no-yachts-message {
	text-align: center;
	font-size: 1.2rem;
	color: #555;
	width: 100%;
	background-color: var(--main-content-background);
	padding: 10px;
}