.rental-archive {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
}

.rental-archive__title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 30px;
}

.rental-archive__layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
}

@media (max-width: 768px) {
	.rental-archive__layout {
		grid-template-columns: 1fr;
	}
}

/* Filtry */
.rental-archive__filters {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	height: fit-content;
}

.rental-filters__section {
	margin-bottom: 20px;
}

.rental-filters__title {
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rental-filters__select,
.rental-filters__input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.875rem;
	background: #fff;
}

.rental-filters__range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.rental-filters__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.rental-filters__button {
	display: block;
	width: 100%;
	padding: 10px;
	border: none;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
}

.rental-filters__button--primary {
	background: #2271b1;
	color: #fff;
}

.rental-filters__button--secondary {
	background: #fff;
	color: #333;
	border: 1px solid #ddd;
}

/* Grid */
.rental-archive__count {
	margin-bottom: 20px;
	font-size: 0.875rem;
	color: #666;
}

.rental-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

/* Karta pojazdu */
.rental-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s, transform 0.2s;
}

.rental-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
	transform: translateY(-2px);
}

.rental-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.rental-card__image-wrapper {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f0f0f0;
}

.rental-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.rental-card:hover .rental-card__image {
	transform: scale(1.03);
}

.rental-card__badge {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.rental-card__badge--available {
	background: #28a745;
	color: #fff;
}

.rental-card__badge--unavailable {
	background: #dc3545;
	color: #fff;
}

.rental-card__content {
	padding: 16px;
}

.rental-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 4px;
	line-height: 1.3;
}

.rental-card__subtitle {
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 12px;
}

.rental-card__details {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
}

.rental-card__detail {
	font-size: 0.8125rem;
	color: #555;
	background: #f0f0f0;
	padding: 3px 8px;
	border-radius: 4px;
}

.rental-card__price-wrapper {
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.rental-card__price {
	font-size: 1.25rem;
	font-weight: 700;
	color: #2271b1;
}

.rental-card__price-suffix {
	font-size: 0.875rem;
	color: #666;
}

/* Strona pojedynczego pojazdu */
.rental-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.rental-single__breadcrumbs {
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 20px;
}

.rental-single__breadcrumbs a {
	color: #2271b1;
	text-decoration: none;
}

.rental-single__breadcrumbs a:hover {
	text-decoration: underline;
}

.rental-single__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

@media (max-width: 768px) {
	.rental-single__layout {
		grid-template-columns: 1fr;
	}
}

.rental-gallery__main {
	border-radius: 8px;
	overflow: hidden;
	background: #f0f0f0;
	margin-bottom: 10px;
}

.rental-gallery__main img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.rental-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 8px;
}

.rental-gallery__thumb {
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.rental-gallery__thumb:hover,
.rental-gallery__thumb--active {
	opacity: 1;
	box-shadow: 0 0 0 2px #2271b1;
}

.rental-gallery__thumb img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.rental-single__info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rental-single__title {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.3;
}

.rental-single__subtitle {
	font-size: 1.125rem;
	color: #666;
}

.rental-single__status {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 600;
	width: fit-content;
}

.rental-single__status--available {
	background: #d4edda;
	color: #155724;
}

.rental-single__status--unavailable {
	background: #f8d7da;
	color: #721c24;
}

.rental-single__pricing {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
}

.rental-single__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 8px;
}

.rental-single__price-value {
	font-size: 1.75rem;
	font-weight: 700;
	color: #2271b1;
}

.rental-single__price-suffix {
	font-size: 1rem;
	color: #666;
}

.rental-single__deposit,
.rental-single__days,
.rental-single__location {
	font-size: 0.875rem;
	color: #555;
	margin: 4px 0;
}

.rental-single__description {
	margin-bottom: 40px;
}

.rental-single__description h2,
.rental-single__specs h2,
.rental-single__features h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #eee;
}

.rental-specs__table {
	width: 100%;
	border-collapse: collapse;
}

.rental-specs__table th,
.rental-specs__table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.rental-specs__table th {
	width: 40%;
	font-weight: 600;
	color: #555;
	background: #f8f9fa;
}

.rental-features__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 8px;
	list-style: none;
	padding: 0;
}

.rental-features__list li {
	padding: 8px 12px;
	background: #f8f9fa;
	border-radius: 4px;
	font-size: 0.875rem;
}

/* Shortcode grid */
.rental-shortcode-grid {
	margin: 20px 0;
}

.rental-vehicles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.rental-no-results {
	padding: 40px;
	text-align: center;
	color: #666;
	font-size: 1rem;
}

/* Paginacja */
.rental-archive .pagination,
.rental-shortcode-grid .pagination {
	margin-top: 30px;
	display: flex;
	justify-content: center;
	gap: 4px;
}

.rental-archive .pagination a,
.rental-archive .pagination span,
.rental-shortcode-grid .pagination a,
.rental-shortcode-grid .pagination span {
	padding: 8px 14px;
	border-radius: 4px;
	font-size: 0.875rem;
	text-decoration: none;
	background: #f0f0f0;
	color: #333;
}

.rental-archive .pagination .current,
.rental-shortcode-grid .pagination .current {
	background: #2271b1;
	color: #fff;
}
