/* Simple Rental — style frontendowe */

.sr-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px;
}

/* Breadcrumbs */
.sr-back-button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #666;
	text-decoration: none;
	font-size: 13px;
	margin-bottom: 12px;
}
.sr-back-button:hover { color: #2271b1; text-decoration: underline; }

.sr-breadcrumbs {
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}
.sr-breadcrumbs a { color: #666; text-decoration: none; }
.sr-breadcrumbs a:hover { text-decoration: underline; }
.sr-breadcrumbs span { color: #666; }

/* Layout strony produktu */
.sr-single-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
	align-items: start;
}
@media (max-width: 782px) {
	.sr-single-grid { grid-template-columns: 1fr; }
}

/* Galeria */
.sr-gallery-main {
	background: #f4f4f5;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sr-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-no-image { color: #999; font-size: 14px; }
.sr-gallery-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}
.sr-gallery-thumb {
	width: 68px;
	height: 68px;
	object-fit: cover;
	border-radius: 6px;
	cursor: pointer;
	opacity: 0.6;
	border: 2px solid transparent;
	transition: opacity .15s, border-color .15s;
}
.sr-gallery-thumb:hover,
.sr-gallery-thumb.active { opacity: 1; border-color: #2271b1; }

/* Info */
.sr-title { font-size: 30px; margin: 0 0 10px; }
.sr-terms { margin-bottom: 15px; }
.sr-term-badge {
	display: inline-block;
	background: #eef2f6;
	color: #33475b;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	text-decoration: none;
	margin-right: 6px;
	cursor: default;
}
.sr-description { margin-bottom: 24px; line-height: 1.6; color: #333; }

/* Kalkulator ceny */
.sr-price-box {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	margin-top: 16px;
}
.sr-intro-text { margin-top: 0; color: #555; font-size: 14px; }
.sr-calculator label[for="sr-days-input"] { color: #000; }
.sr-days-control {
	display: inline-flex;
	align-items: center;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	overflow: hidden;
	margin: 8px 0 16px;
}
.sr-days-control button {
	background: #fff;
	border: none;
	width: 38px;
	height: 38px;
	font-size: 18px;
	cursor: pointer;
}
.sr-days-control button:hover { background: #f0f0f0; }
.sr-days-control input {
	width: 60px;
	height: 38px;
	text-align: center;
	border: none;
	border-left: 1px solid #d1d5db;
	border-right: 1px solid #d1d5db;
	font-size: 15px;
}
.sr-price-result { margin-bottom: 12px; }
.sr-price-total { font-size: 26px; font-weight: 700; color: #111; }
.sr-price-net-label { font-size: 12px; color: #888; margin-left: 4px; vertical-align: middle; }
.sr-price-rate { display: block; font-size: 13px; color: #666; margin-top: 2px; }

.sr-tiers-preview { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 13px; }
.sr-tiers-preview td { padding: 4px 0; border-bottom: 1px dashed #e2e2e2; color: #555; }
.sr-tiers-preview tr:last-child td { border-bottom: none; }

.sr-disclaimer { font-size: 12px; color: #888; margin-bottom: 14px; }

.sr-cta-button {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: #2271b1;
	color: #fff;
	text-decoration: none;
	text-align: center;
	padding: 14px 22px;
	border-radius: 8px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	font-size: 15px;
}
.sr-cta-button:hover { background: #185a8c; color: #fff; }

/* Formularz kontaktowy */
.sr-contact-section { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; width: 100%; }
.sr-form-row { margin-bottom: 14px; }
.sr-form-row label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.sr-form-row input,
.sr-form-row textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
}
.sr-hp-field { position: absolute; left: -9999px; }
.sr-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.sr-notice-success { background: #e6f6ec; color: #1e6b3c; }
.sr-notice-error { background: #fbeaea; color: #a4262c; }
.sr-direct-contact { margin-top: 16px; font-size: 14px; color: #555; }

/* Listy / archiwum */
.sr-archive-header { margin-bottom: 20px; }
.sr-groups-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.sr-group-pill {
	background: #eef2f6;
	color: #33475b;
	padding: 6px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 13px;
}
.sr-group-pill:hover { background: #dde6ee; }

.sr-items-grid,
.sr-groups-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.sr-item-card,
.sr-group-card {
	display: block;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .15s, transform .15s;
}
.sr-item-card:hover,
.sr-group-card:hover {
	box-shadow: 0 6px 18px rgba(0,0,0,.08);
	transform: translateY(-2px);
}
.sr-item-card-img,
.sr-group-card-img {
	height: var(--sr-thumb-height, 220px);
	background: #f4f4f5;
	overflow: hidden;
}
.sr-item-card-img img,
.sr-group-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-group-card-img-empty {
	background: linear-gradient(135deg, #eef2f6, #dde6ee);
}
.sr-groups-grid-top { margin-bottom: 36px; }
.sr-item-card h3,
.sr-group-card h3 { font-size: 16px; margin: 12px 12px 4px; }
.sr-item-price { display: block; margin: 0 12px 14px; color: #2271b1; font-weight: 600; font-size: 14px; }
.sr-group-count { display: block; margin: 0 12px 14px; color: #777; font-size: 13px; }

.sr-pagination { margin-top: 30px; text-align: center; }
