@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.spbooking-app ::selection {
	background: #F27337;		// farbu nastavit podla farby webu
}

.spbooking-app ::-moz-selection {
	background: #F27337; /* Gecko Browsers */
}

.spbooking-app{
	color:#414F65 !important;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
}

.spbooking-app h1{
	font-size: 26px;
	font-weight: 500;
	color: #1F252E;
}

.spbooking-app h2{
	font-size: 20px;
	font-weight: 500;
	color: #1F252E;
}

.spbooking-app strong{
	color: #1F252E;
}

.spbooking-app small{
	font-size: 13px;
	line-height: 15px;
	display: block;
}

.spbooking-app p{
	font-size: 20px;
	font-weight: 400;
	color: #1F252E;
}

.spbooking-app hr{
	color:#bec6d2;
	opacity: 1;
}

.spbooking-app input[type="checkbox"],
.spbooking-app input[type="radio"]{
	width: 20px;
	height: 20px;

}

.spbooking-app input[type="checkbox"]:checked,
.spbooking-app input[type="radio"]:checked {
	accent-color:#e16226;
}

/* Fakturácia na firmu – voľba v 1. kroku */
.spbooking-app .company input[type="checkbox"],
.spbooking-app .company label{
	cursor: pointer;
}

/* ─────────────── Upozorňujúca hláška ─────────────── */
:root{
  --sp-warn: #f27337;
}

.storage-warning-box{
  display:flex;
  gap:12px;
  align-items:flex-start;
    border: 1px solid rgb(151 151 151 / 35%);
    background: rgb(255 255 255);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 14px;
}

.storage-warning-icon{
  color: var(--sp-warn); /* toto zafarbí SVG cez currentColor */
  line-height: 0;
  margin-top: 2px;
  flex: 0 0 auto;
}

.storage-warning-content{ min-width:0; }

.storage-warning-title{
  font-weight: 700;
  color: #1f1f1f;
  font-size: 14px;
  margin-bottom: 2px;
}

.storage-warning-text{
  color:#2a2a2a;
  font-size: 14px;
  line-height: 1.45;
}

.storage-warning-link{
  color: var(--sp-warn);
  font-weight: 700;
  text-decoration: underline;
}
.storage-warning-link:hover{ text-decoration: none; }

/* jemné blikanie / pulzovanie (odporúčané) */
.storage-warning-icon.is-blinking{
  animation: spWarnPulse 1.1s ease-in-out infinite;
}

@keyframes spWarnPulse{
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(1.06); }
}

/* rešpektuj reduced motion */
@media (prefers-reduced-motion: reduce){
  .storage-warning-icon.is-blinking{ animation: none; }
}



:root{ --sp-warn:#f27337; }

/* Modal wrapper */
.sp-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.sp-modal.is-open{ display:block; }

.sp-modal__overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
}

.sp-modal__dialog{
    position: relative;
    max-width: 700px;
    width: calc(100% - 28px);
    margin: 8vh auto 0;
    background: #fff;
    border-radius: 14px;
    padding: 30px 30px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

.sp-field select{
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  cursor: pointer;
}

.sp-field select:focus{
  border-color: rgba(242,115,55,.55);
  box-shadow: 0 0 0 4px rgba(242,115,55,.12);
}

.sp-modal__close{
  position:absolute;
  top: 10px; right: 12px;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f2f2f2;
  cursor: pointer;
  font-size: 22px;
  line-height: 36px;
}

.sp-modal__title{
  margin: 4px 42px 6px 0;
  font-size: 18px;
}
.sp-modal__subtitle{
  margin: 0 0 14px 0;
  color: #444;
  font-size: 14px;
  line-height: 1.4;
}

/* Form */
.sp-form__grid{
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 520px){
  .sp-form__grid{ grid-template-columns: 1fr; }
}

.sp-field__label{
  display:block;
  font-size: 12px;
  color:#333;
  margin-bottom: 6px;
  font-weight: 600;
}
.sp-field input,
.sp-field textarea{
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.sp-field input:focus,
.sp-field textarea:focus{
  border-color: rgba(242,115,55,.55);
  box-shadow: 0 0 0 4px rgba(242,115,55,.12);
}

.sp-field--full{ grid-column: 1 / -1; }

/* Buttons */
.sp-form__actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top: 14px;
}

.sp-btn{
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}
.sp-btn--primary{
  background: var(--sp-warn);
  color: #fff;
}
.sp-btn--primary:disabled{ opacity:.6; cursor:not-allowed; }
.sp-btn--ghost{
  background:#f2f2f2;
  color:#222;
}

.sp-form__note{
  margin-top: 10px;
  font-size: 13px;
}
.sp-form__note.is-ok{ color: #1a7f37; }
.sp-form__note.is-err{ color: #b42318; }

.pr-2{
	padding-right:8px;
}

.opened{
	display: block !important;
}

.opened:before {
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

/*GLOBAL*/
.content-container{
	max-width: 780px;
	width: 100%;
	margin: 0 auto;
}

.alignright{
	text-align: right !important;
}

.innercontent{
	background:#e4e7ec;
	border-radius: 8px;
	padding:50px;
	min-height: 77vh;
	margin-bottom: 50px;
}

.btn-proceed{
	color:#ffffff;
	background:#F27337;
	border-radius: 8px;
	width: 100%;
	padding:15px 25px;
}

.btn-proceed:hover{
	color:#ffffff;
	background:#e16226;
	border-radius: 8px;
	width: 100%;
}

.btn-sadzby{
	color:#ffffff;
	background:#414F65;
	border-radius: 8px;
	padding:10px 18px;
}

.btn-sadzby:hover{
	color:#ffffff;
	background:#e16226;
}

.btn-reserve{
	color:#ffffff;
	background:#F27337;
	border-radius: 8px;
	padding:10px 18px;
}

.btn-reserve:hover{
	color:#ffffff;
	background:#e16226;
}

/* Spinner na tlačidle (vytváranie objednávky trvá niekoľko sekúnd). */
.spbooking-app .btn.is-loading{
	opacity:.9;
	cursor:progress;
}

/* currentColor – spinner je vidieť na oranžovom aj na svetlom tlačidle. */
.spbooking-app .sp-spinner{
	display:inline-block;
	width:16px;
	height:16px;
	margin-right:8px;
	vertical-align:-3px;
	border:2px solid currentColor;
	border-top-color:transparent;
	border-radius:50%;
	animation: spSpin .8s linear infinite;
}

@keyframes spSpin{
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce){
	.spbooking-app .sp-spinner{ animation-duration: 2.4s; }
}

.editpencil{
	width:34px;
	height:34px;
}

.editpencil:hover{
	background:#d9d4de;
	border-radius: 50px;
}

.historysteps{
	background:#eff1f4;
	border-radius: 8px;
	padding:25px;
}

.historysteps::before{
	content:url(../images/checkmark.svg);
	width: 24px;
	height: 24px;
	position: absolute;
	margin-top: -35px;
	margin-left: -35px;
}

.storage{
	background:#ffffff;
	border-radius: 8px;
	border:1px solid #ffffff;	
	padding:20px;
	transition: all 0.2s ease-in !important;
}

.storage:hover{
	border:1px solid #e16226;	
}

/*GLOBAL - END*/

/**DATE SELECTION*/
.date{
	background: #ffffff;
	border-radius: 8px;
	padding: 40px;
	width: 470px;
	margin: 0 auto;
	margin-top:50px;
}

.date .selector{
	border:2px solid #A6ACB7;
	border-radius: 8px;
	transition: all 0.2s ease-in !important;

}

.date .selector:hover{
	border-color: #F27337;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(242,115,55,.25);
}

.date .selector .col-12{
	padding:30px 33px;
}

.daterangepicker {
    padding: 30px;
    border-radius: 8px;
   /* display: inline-table;*/
    margin: 0 auto;
}

/* Dátum nástupu – jeden kalendár, takže žiadna medzera pre druhý mesiac. */
.daterangepicker.single .drp-calendar.left{
	margin-right: 0 !important;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #f27337 !important;
    border-radius: 50px;
    color:#fff !important;
    padding: 0 13px;
}

.daterangepicker td.in-range {
    background-color: #fce3d7;
}

.start-date + .in-range.available {
    border-radius: 25px 0 0 25px;
}

.in-range.available:has(+ .end-date){
    border-radius: 0 25px 25px 0;
}

.calendar-table td{
	 font-size: 16px !important;
	 color:#1F252E !important;
	 font-weight: 500 !important;
	 padding: 10px;
}

.calendar-table th{
	 font-size: 14px !important;
	 color:#1F252E !important;
	 font-weight: 600 !important;
	 padding: 10px;
}

.drp-calendar.left {
    margin-right: 50px !important;
}

/* Dvojmesačné zobrazenie platí len pre výber rozsahu; pri jednom dátume
   (dátum nástupu) musí druhý mesiac zostať skrytý. */
.daterangepicker:not(.single) .drp-calendar{
    display: inline-table !important;
}

.daterangepicker.single .drp-calendar.right{
    display: none !important;
}

/* Väčší padding buniek (nižšie) robí tabuľku širšou, než je 270 px, ktoré má
   plugin napevno – bez tohto vytŕčala vpravo mimo bieleho rámčeka. */
.daterangepicker .drp-calendar{
    max-width: none !important;
    width: auto;
}
th.prev, th.next{
	border-radius: 25px !important;
	padding: 5px 18px !important;
	color:#fff !important;
	background: #a1a8b2;
}

.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span{
	border: solid white !important;
	border-width: 0 2px 2px 0 !important;
}

/* Bez toho hover z daterangepicker.css prefarbí šípku na svetlú a biely
   chevron v nej zmizne. */
.daterangepicker th.prev:hover, .daterangepicker th.next:hover{
	background:#e16226 !important;
}

.checkin, .checkout{
	text-align: center;
}

/* Dátum nástupu – bežný input, ktorý po kliknutí otvorí kalendár. */
.spbooking-app .startdate-input{
	cursor: pointer;
	background-color: #fff;
	text-align: center;
}

.codeinput{
	border:2px dashed #A6ACB7;
	background: #D2D7DF;
	border-radius: 8px;
	padding: 13px 10px;
}

.codeinput input{
	background: transparent;
	border: none;
	width:100%;
}

.codeinput input:focus{
	outline: none;
}

.codeclick{
	cursor: pointer;
}

.btn-use{
	background:#414F65;
	padding: 10px 18px;
	color:#fff;
	position: absolute;
   margin-left: -80px;
   margin-top: -10px;
}

.btn-use:hover{
	background:#e16226;
	color:#fff;
}
/**DATE SELECTION - END*/


/*Storage SELECTION*/
.storageimage {
    width: 100%;
}

.down{
	transform: rotate(180deg);
}

.sadzba{
	background:#edeff2;
	border-radius: 8px;
	padding:25px;
}

/* Tooltip je absolútny, ale skrytý cez visibility – stále teda ovplyvňuje
   rozsah stránky. Bez position:relative na rodičovi a max-width sa na mobile
   roztiahol mimo obrazovku a robil vodorovné posúvanie celej stránky. */
.detailtooltip{
    position: relative;
}

.detailtooltip .tooltiptext {
    visibility: hidden;
    left: 0;
    top: 100%;
    width: 300px;
    max-width: 100%;
    background-color: #fff;
    color: #1F252E;
    font-size: 14px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .2);
    position: absolute;
    z-index: 1;
}

.detailtooltip:hover .tooltiptext {
  visibility: visible;
}

/* Poznámka so sadzbou za mesiac pri dlhšom fakturačnom období. */
.rateperiod{
	color:#6c757d;
}

/* Výběr skladu: cena vždy na jednom řádku (např. „7 950,00 CZK / Čtvrtletně“).
   Sloupec s cenou je col-auto, takže si vezme přesně tolik místa, kolik cena
   potřebuje, a název skladu dostane zbytek. */
.storage .storagecycleprice,
.storage .rateperiod{
	white-space: nowrap;
}

/* Stĺpec s názvom sa musí vedieť zmenšiť pod šírku textu, inak by dlhý názov
   roztlačil kartu (flex položka má implicitne min-width:auto). */
.storage .row > .col{
	min-width: 0;
}

/* Keď na názov vedľa ceny ostáva primálo miesta, JS dá obe polovice pod seba –
   je to čitateľnejšie, než stláčať nadpis do pár znakov na riadok. */
.storage .row.titlestack > .col,
.storage .row.titlestack > .col-auto{
	flex: 0 0 100%;
	max-width: 100%;
}

.storage .row.titlestack > .col-auto.alignright{
	text-align: left !important;
}

/* Veľkosť nadpisu je premenná, nie pevných 45 px – JS (fitStorageTitles) ju
   zmenší presne na toľko, aby sa dlhý názov („HOME XL 12m2") zmestil vedľa
   ceny na jeden riadok. Bez JS ostáva pôvodných 45 px. */
.skladtitle{
	font-family: "KanedaGothic" !important;
	font-size: var(--skladtitle-size, 45px) !important;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
}

/* Rámček musí ostať celistvý. Ako inline prvok sa pri zalomení názvu roztrhol
   na dva kusy (ľavý okraj hore, pravý dole, podčiarknutie mimo textu);
   ako inline-block sa zalamuje text vnútri a rámček obopne celý nadpis. */
.borderorange {
    display: inline-block;
    max-width: 100%;
    border-left: 5px solid #f27337;
    border-right: 5px solid #f27337;
    padding: 0 10px 0;
    position: relative;
    overflow-wrap: break-word;
}

.borderorange:after {
    content: " ";
    height: 5px;
    margin-left: 2%;
    background-color: #f27337;
    width: 96%;
    display: block;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
}
/*Storage SELECTION - END*/

/*SERVICES*/
.services{
	background:#ffffff;
	border-radius: 8px;
	padding:20px;
}

.services strong{
	font-size: 14px;
}

/* Medzera medzi položkami služieb – vedľa seba je to v poriadku, ale ďalší
   riadok bol bez toho nalepený na predchádzajúci. */
.services .servicerow > .col-12{
	margin-bottom: 16px;
}

/* Cena služby dostane presne toľko miesta, koľko potrebuje – inak sa v úzkom
   stĺpci lámala aj uprostred sumy („150,00 / CZK / Měsíčně"). Zalomí sa radšej
   názov služby, a keď už sa cena nezmestí, prejde celá na ďalší riadok. */
.services .servicerow .col-8{
	flex: 1 1 auto;
	width: auto;
	max-width: 100%;
}

.services .servicerow .col-8 + .col{
	flex: 0 0 auto;
	width: auto;
	margin-left: auto;   /* aj po zalomení zostane cena vpravo */
	white-space: nowrap;
}

/*SERVICES - END*/

/*CONTACTINFO*/
.contactform{
	background:#ffffff;
	border-radius: 8px;
	padding:20px;
}

.contactform input, .contactform textarea{
	padding:15px 15px;
	border-color: #A6ACB7;
}


::placeholder{
	color:#414F65 !important;
	font-weight: 500;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color:#414F65 !important;
	font-weight: 500;
}

::-ms-input-placeholder { /* Microsoft Edge */
	color:#414F65 !important;
	font-weight: 500;
}

.form-control:focus {
	border-color: #F27337;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(242,115,55,.25);
}
/*CONTACTINFO - END*/

/* Custom dropdown arrow for <select> (Bootstrap .form-control has none) */
.spbooking-app select.form-control{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231F252E' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 14px 14px;
	padding-right: 40px;
}