/* Kovo Core – inquiry modal, forms, gallery. Neutral, theme-independent; inherits theme typography/colours. */
.kovo-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }

.kovo-fab {
	position: fixed; right: 16px; bottom: calc(16px + var(--kovo-fab-lift, 0px)); z-index: 9990;
	padding: .5em 1em; border: 2px solid #d4632f; border-radius: 6px; cursor: pointer;
	background: transparent; color: #d4632f; font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);   /* stays legible over photos without a fill */
	transition: background .2s, color .2s;
}
.kovo-fab:hover, .kovo-fab:focus-visible { background: #d4632f; color: #fff; }

.kovo-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .6); }
.kovo-modal[hidden] { display: none; }
.kovo-modal__box { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; padding: 24px; border-radius: 8px; background: #fff; color: #222; }
.kovo-modal__close { position: absolute; top: 6px; right: 12px; border: 0; background: none; font-size: 32px; line-height: 1; cursor: pointer; color: #555; }
.kovo-modal__product { margin: 0 0 1em; font-weight: 600; }
html.kovo-modal-open { overflow: hidden; }

.kovo-form input[type="text"], .kovo-form input[type="email"], .kovo-form textarea { width: 100%; box-sizing: border-box; padding: .5em; font: inherit; border: 1px solid #999; border-radius: 4px; }
.kovo-form label { display: block; }
.kovo-submit { padding: .6em 1.6em; border: 0; border-radius: 4px; background: #c8501e; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.kovo-submit:disabled { opacity: .6; cursor: wait; }
.kovo-note { font-size: .85em; }
.kovo-result.kovo-ok { color: #1a7f37; font-weight: 600; }
.kovo-result.kovo-err { color: #b3261e; font-weight: 600; }
.kovo-contact .kovo-form { max-width: 480px; }

/* Buttons inside content */
.kovo-ask { padding: .35em .9em; border: 1px solid #c8501e; border-radius: 4px; background: transparent; color: #c8501e; font: inherit; cursor: pointer; }
.kovo-ask:hover, .kovo-ask:focus-visible { background: #c8501e; color: #fff; }

/* Product photos, gallery, photo page */
.kovo-pager { margin: 1.5em 0; }
.kovo-pager a, .kovo-pager strong { display: inline-block; min-width: 2em; padding: .2em .5em; text-align: center; }
.kovo-photo-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kovo-photo-full img { max-width: 100%; height: auto; }

/* Dialog + forms: explicit, smaller type (the theme's body text is large; form text should be calmer) */
.kovo-modal__box, .kovo-contact .kovo-form { font-size: 1rem; line-height: 1.5; }
.kovo-modal__box { max-width: 440px; padding: 22px 24px; }
.kovo-modal__box h3 { margin: 0 0 .6rem; padding-right: 2rem; font-size: 1.3rem; line-height: 1.25; }
.kovo-modal__product { margin: 0 0 .9rem; font-size: .95rem; font-weight: 600; color: #5a4f42; text-align: center; }
.kovo-modal__product:empty { display: none; }
.kovo-form p { margin: 0 0 .75rem; }
.kovo-form label { font-size: .875rem; font-weight: 600; color: #4a3f33; }
.kovo-form input[type="text"], .kovo-form input[type="email"], .kovo-form textarea { margin-top: .25rem; padding: .55rem .65rem; font-size: 1rem; font-weight: 400; color: #2a2118; border-color: #cfc4ab; }
.kovo-form textarea { min-height: 7.5rem; }
.kovo-submit { padding: .6rem 1.5rem; font-size: .95rem; border-radius: 6px; }
.kovo-note { margin-bottom: 0; font-size: .8rem; color: #7a6e5e; }
.kovo-note em { font-style: normal; }
.kovo-result { font-size: .9rem; }
.kovo-modal__close { top: 8px; right: 12px; font-size: 28px; }

/* "Poptávka odeslána": replaces the form in the popup, closes by itself after 3 s */
.kovo-modal__done { text-align: center; padding: .5rem 0 .25rem; }
.kovo-modal__done[hidden] { display: none; }
.kovo-modal.is-done .kovo-modal__box > :not(.kovo-modal__done):not(.kovo-modal__close) { display: none; }
.kovo-modal__check { display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; margin: 0 auto .8rem; border-radius: 50%; background: #e6f4ea; color: #1a7f37; font-size: 1.7rem; line-height: 1; }
.kovo-modal__done h3 { margin: 0 0 .4rem; padding: 0; font-size: 1.3rem; }
.kovo-modal__done p { margin: 0; color: #5a4f42; }
.kovo-modal__done p.kovo-modal__check { margin: 0 auto .8rem; color: #1a7f37; }
