/* Цветовете на сайта: черно и червено (#c62128). */
.bpsc { --bpsc-red: #c62128; --bpsc-ink: #000; max-width: 760px; margin: 1.5em 0; font-size: 15px; font-weight: 500; color: var(--bpsc-ink); position: relative; }
.bpsc [hidden] { display: none !important; }
.bpsc label { font-weight: 600; color: var(--bpsc-ink); }
.bpsc-pick { margin-bottom: 14px; }
.bpsc-pick p { margin: 0 0 10px; }
.bpsc .bpsc-pick select,
.bpsc .bpsc-form input[type=text], .bpsc .bpsc-form input[type=tel], .bpsc .bpsc-form input[type=email], .bpsc .bpsc-form textarea { border: 2px solid var(--bpsc-ink) !important; border-radius: 0; color: var(--bpsc-ink) !important; background-color: #fff; font-weight: 600; box-shadow: none; }
.bpsc .bpsc-pick select:focus,
.bpsc .bpsc-form input:focus, .bpsc .bpsc-form textarea:focus { border-color: var(--bpsc-red) !important; outline: none; }
.bpsc-pick select { width: 100%; max-width: 420px; }
.bpsc-price { display: inline-block; margin-bottom: 4px; padding: 8px 12px; background: #fff; border: 2px solid var(--bpsc-red); font-size: 16px; font-weight: 600; }
.bpsc-price strong { color: var(--bpsc-red); font-weight: 700; }
.bpsc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.bpsc-legend i { display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; border: 1px solid var(--bpsc-ink); }
.bpsc-legend .bpsc-busy-dot { background: repeating-linear-gradient(45deg, #ddd, #ddd 3px, #f5f5f5 3px, #f5f5f5 6px); }
.bpsc-nav { display: flex; justify-content: space-between; margin-bottom: -28px; position: relative; z-index: 1; pointer-events: none; }
.bpsc-nav button { pointer-events: auto; border: 2px solid var(--bpsc-ink); background: #fff; border-radius: 0; width: 32px; height: 28px; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; color: var(--bpsc-ink); padding: 0; }
.bpsc-nav button:hover:not(:disabled) { border-color: var(--bpsc-red); color: var(--bpsc-red); }
.bpsc-nav button:disabled { opacity: .3; cursor: default; }
.bpsc-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.bpsc-title { text-align: center; font-weight: 700; height: 28px; line-height: 28px; margin-bottom: 6px; }
.bpsc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.bpsc-wd { text-align: center; font-size: 12px; font-weight: 600; color: var(--bpsc-ink); padding: 2px 0; }
.bpsc-day { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1 / 1; min-height: 36px; padding: 0; border: 1px solid var(--bpsc-ink); border-radius: 0; background: #fff; color: var(--bpsc-ink); cursor: pointer; font: inherit; line-height: 1.1; }
.bpsc-day span { font-size: 14px; font-weight: 700; }
.bpsc-day small { font-size: 10px; opacity: .75; }
.bpsc-day.bpsc-high { background: var(--bpsc-season, #f4a261); }
.bpsc-day:hover:not(:disabled) { border-color: var(--bpsc-red); box-shadow: inset 0 0 0 1px var(--bpsc-red); color: var(--bpsc-red); }
.bpsc-day.bpsc-past { opacity: .3; cursor: default; }
.bpsc-day.bpsc-busy { background: repeating-linear-gradient(45deg, #ddd, #ddd 3px, #f5f5f5 3px, #f5f5f5 6px); border-color: #999; color: #999; cursor: not-allowed; text-decoration: line-through; }
.bpsc-day.bpsc-in { background: #fbe9ea; border-color: var(--bpsc-red); }
.bpsc-day.bpsc-start, .bpsc-day.bpsc-end, .bpsc-day.bpsc-start:hover, .bpsc-day.bpsc-end:hover { background: var(--bpsc-red); border-color: var(--bpsc-red); color: #fff; }
.bpsc-summary { margin: 16px 0 10px; padding: 12px 14px; background: #fff; border: 2px solid var(--bpsc-ink); font-weight: 600; }
.bpsc-summary strong { color: var(--bpsc-red); }
.bpsc-summary:empty { display: none; }
.bpsc-form input[type=text], .bpsc-form input[type=tel], .bpsc-form input[type=email], .bpsc-form textarea { width: 100%; max-width: 420px; box-sizing: border-box; }
.bpsc-form label { font-size: 14px; }
.bpsc .bpsc-form button[type=submit] { background: var(--bpsc-red); color: #fff; border: 0; border-radius: 0; padding: 12px 26px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.bpsc .bpsc-form button[type=submit]:hover { background: var(--bpsc-ink); }
.bpsc-hp { position: absolute; left: -9999px; }
.bpsc-msg { margin-top: 8px; font-weight: 600; }
.bpsc-ok { color: #166534; }
.bpsc-err { color: var(--bpsc-red); }
