/*
Theme Name: Boxy Starter
Description: Soukromá šablona půjčovny StřešníBoxyPraha.cz.
 Version: 1.5.31
Requires at least: 6.6
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boxy
Domain Path: /languages
Update URI: false
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
}

/* První prezentační vrstva půjčovny; bez externích fontů a JavaScriptu. */
.rental-wrap, .rental-site-header, .rental-site-footer, .rental-skip {
	--rental-ink: #182d38;
	--rental-muted: #53646d;
	--rental-line: #dce3e5;
	--rental-accent: #09669b;
	color: var(--rental-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}
.rental-wrap { max-width: 1240px; margin: auto; padding: 36px 32px 80px; }
.rental-wrap a, .rental-site-header a, .rental-site-footer a { color: inherit; text-underline-offset: 4px; }
.rental-wrap a:focus-visible, .rental-site-header a:focus-visible, .rental-site-footer a:focus-visible { outline: 3px solid var(--rental-accent); outline-offset: 5px; }
.rental-wrap h1, .rental-wrap h2 { line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.rental-wrap h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); margin: 12px 0 24px; }
.rental-wrap h2 { font-size: 1.75rem; margin: 0 0 24px; }
.rental-site-header { border-bottom: 1px solid var(--rental-line); }
.rental-header-inner { max-width: 1240px; padding: 24px 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rental-wordmark { font-size: 1.5rem; font-weight: 800; letter-spacing: -.055em; text-decoration: none; }
.rental-wordmark span { color: var(--rental-accent); }
.rental-site-header nav { font-size: .9rem; font-weight: 650; }
.rental-site-header .custom-logo { max-width: 220px; max-height: 70px; width: auto; height: auto; }
.rental-skip { position: fixed; top: -100px; left: 20px; z-index: 100000; padding: 12px 20px; background: white; }
.rental-skip:focus { top: 12px; }
.rental-intro { padding: 32px 0 12px; }
.rental-eyebrow { color: var(--rental-accent); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 750; margin: 0 0 10px; }
.rental-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.rental-grid.rental-ski-carrier-bottom { margin-top: 56px; }
.rental-card { border: 1px solid var(--rental-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.rental-card__image { position: relative; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--rental-line); display: grid; place-items: center; }
.bazar-grid .rental-card__image { aspect-ratio: auto; height: 150px; overflow: hidden; }
.rental-card__image--placeholder { background: linear-gradient(145deg, #f4f9fc, #e7f2f8); color: #39768f; text-decoration: none; }
.rental-card__placeholder { display: grid; justify-items: center; gap: 12px; padding: 24px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-align: center; }
.rental-card__placeholder svg { width: 48px; height: 48px; fill: currentColor; opacity: .65; }
.rental-card__image--placeholder:hover .rental-card__placeholder { color: var(--rental-accent); }
.rental-grid:not(.bazar-grid):not(.home-product-grid--single) .rental-card__image { aspect-ratio: 5 / 2; }
.rental-card__image img { width: 100%; height: 100%; object-fit: contain; position: absolute; padding: 20px; }
.rental-content .bazar-grid .rental-card__image img { inset: 0; width: 100%; height: 100%; padding: 12px 20px; }
.rental-badge { position: absolute; top: 16px; left: 16px; right: 16px; width: fit-content; max-width: calc(100% - 32px); border-radius: 4px; padding: 4px 10px; font-size: .75rem; background: #fff; font-weight: 650; }
.rental-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.rental-card h2 { font-size: 1.5rem; margin-bottom: 12px; }
.rental-card h3 { font-size: 1.5rem; margin: 0 0 12px; line-height: 1.2; }
.rental-card h3 a { text-decoration: none; }
.rental-card h3 a:hover { text-decoration: underline; }
.rental-card h2 a { text-decoration: none; }
.rental-card h2 a:hover { text-decoration: underline; }
.rental-card__body > p:not(.rental-eyebrow) { font-size: .9rem; margin: 0 0 18px; color: var(--rental-muted); }
.rental-card__specs { display: flex; gap: 24px; margin: 0 0 18px; flex-wrap: wrap; }
.rental-card__specs dt { font-size: .75rem; color: var(--rental-muted); }
.rental-card__specs dd { margin: 0; font-weight: 650; }
.rental-card .rental-price-condition { margin: 0 0 18px; padding: 9px 12px; border-left: 3px solid var(--rental-accent); border-radius: 0 6px 6px 0; background: #eef7fc; color: #164960; font-size: .84rem; font-weight: 700; line-height: 1.45; }
.rental-card__bottom { margin-top: auto; display: grid; gap: 18px; }
.rental-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rental-card__actions .rental-button { min-width: 0; padding-inline: 14px; }
.rental-wrap .rental-card__actions .rental-button--secondary { border: 1px solid #0064b0; background: #fff; color: #0064b0; }
.rental-wrap .rental-card__actions .rental-button--secondary:hover { background: #eef7fc; color: var(--rental-accent); }
.rental-card__booking-panel[hidden] { display: none; }
.rental-price { font-size: 1.25rem; font-weight: 750; letter-spacing: -.025em; }
.rental-price--sale { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.rental-price__label { flex-basis: 100%; width: fit-content; color: #b42318; font-size: .68rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.rental-price__regular { color: var(--rental-muted); font-size: .78em; font-weight: 500; }
.rental-price__sale { color: #b42318; font-size: 1.08em; font-weight: 800; text-decoration: none; }
.rental-wrap .rental-button { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #0064b0; color: #fff; border-radius: 6px; padding: 12px 18px; text-decoration: none; font-size: .9rem; font-weight: 650; }
.rental-card .rental-button { font-size: 1rem; }
.rental-wrap .rental-button:hover { background: var(--rental-accent); }
.rental-breadcrumb { font-size: .82rem; color: var(--rental-muted); margin-bottom: 36px; overflow-wrap: anywhere; }
.rental-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; }
.rental-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-content: start; }
.rental-gallery a { display: grid; place-items: center; background: #fff; border: 1px solid var(--rental-line); border-radius: 10px; overflow: hidden; padding: 20px; }
.rental-gallery__main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.rental-gallery__thumb { aspect-ratio: 1 / 1; }
.rental-gallery img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.rental-placeholder { display: grid; place-items: center; color: var(--rental-muted); background: #f3f5f4; font-size: .85rem; text-align: center; padding: 20px; border-radius: 10px; }
.rental-summary h1 { font-size: clamp(2rem, 4vw, 3.25rem); overflow-wrap: anywhere; }
.rental-lead { color: var(--rental-muted); font-size: 1.1rem; }
.rental-status { font-size: .85rem; }
.rental-offer { padding: 24px; background: #f4f5f0; border-radius: 12px; margin-top: 24px; }
.rental-offer p { margin: 0 0 12px; }
.rental-offer .rental-price { font-size: 2rem; }
.rental-offer .rental-price__label { font-size: .7rem; }
.rental-note { white-space: pre-line; }
.rental-detail--information { margin-top: 64px; }
.rental-content { overflow-wrap: anywhere; min-width: 0; }
.rental-content img, .rental-content video, .rental-content iframe { max-width: 100%; }
.rental-content img { height: auto; }
.rental-content > :first-child { margin-top: 0; }
.rental-specs { margin: 0; }
.rental-specs > div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--rental-line); }
.rental-specs dt { color: var(--rental-muted); }
.rental-specs dd { margin: 0; font-weight: 600; }
.rental-panel, .rental-empty { margin-top: 48px; padding: 32px; border: 1px solid var(--rental-line); border-radius: 12px; background: #f8f9f7; scroll-margin-top: 32px; }
.rental-panel h2, .rental-empty h2 { margin-bottom: 16px; }
.rental-panel p:last-child, .rental-empty p:last-child { margin-bottom: 0; }
.rental-related { margin-top: 64px; }
.rental-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.rental-site-footer { background: #f3f5f4; border-top: 1px solid var(--rental-line); font-size: .85rem; }
.booking-form { max-width: 900px; margin-top: 28px; }
.booking-form fieldset { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.booking-form legend { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; padding: 0; }
.booking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.booking-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.booking-field label { font-size: .9rem; font-weight: 600; }
.booking-field input, .booking-field select, .booking-field textarea { width: 100%; min-width: 0; max-width: 100%; border: 1px solid #9baab2; border-radius: 6px; background: #fff; padding: 12px; font: inherit; color: var(--rental-ink); }
.booking-field textarea { resize: vertical; }
.booking-field input:focus-visible, .booking-field select:focus-visible, .booking-field textarea:focus-visible, .booking-form button:focus-visible { outline: 3px solid var(--rental-accent); outline-offset: 3px; }
.booking-field [aria-invalid="true"] { border-color: #a12626; }
.booking-error { color: #932323; font-size: .85rem; }
.booking-feedback { border: 1px solid; border-radius: 8px; padding: 20px; margin: 24px 0; }
.booking-feedback h3 { margin-top: 0; }
.booking-feedback--error { border-color: #b44646; background: #fff4f4; }
.booking-feedback--success { border-color: #408568; background: #eef8f2; }
.booking-test-notice { padding: 14px 18px; border-left: 4px solid var(--rental-accent); background: #eaf3f8; }
.booking-help { color: var(--rental-muted); font-size: .85rem; }
.booking-form button { border: 0; cursor: pointer; font-family: inherit; min-height: 48px; }
.booking-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 960px) {
	.rental-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rental-detail { gap: 28px; }
}
@media (max-width: 640px) {
	.rental-wrap { padding: 24px 20px 48px; }
	.rental-header-inner { padding: 20px; flex-wrap: wrap; gap: 12px; }
	.rental-wordmark { font-size: 1.3rem; }
	.rental-grid, .rental-detail { grid-template-columns: minmax(0, 1fr); }
	.rental-grid { gap: 20px; }
	.rental-intro { padding-top: 12px; }
	.rental-gallery__main { aspect-ratio: 4 / 3; }
	.rental-detail--information { margin-top: 36px; }
	.rental-panel, .rental-empty { padding: 24px; margin-top: 32px; }
	.rental-specs > div { gap: 12px; }
	.booking-grid { grid-template-columns: minmax(0, 1fr); }
	.booking-form button { width: 100%; }
	.rental-card__actions { grid-template-columns: minmax(0, 1fr); }
}

