/* Kontakti (Figma 93:6380, 95:6696). */

.ac-kon-hero { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; padding-bottom: 40px; }
.ac-kon-hero__text { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.ac-kon-hero__text p { font-size: 18px; line-height: 1.55; color: var(--ac-text-2); }
.ac-kon-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 8px; }
.ac-kon-quick-m { display: none; }
.ac-kon-quick__item { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: 16px; background: var(--ac-light); transition: background-color var(--ac-fast) ease; }
.ac-kon-quick__item:hover { background: var(--ac-grey-200); }
.ac-kon-quick__item.is-dark { background: var(--ac-graphite); color: var(--ac-white); }
.ac-kon-quick__item.is-dark:hover { background: var(--ac-black); }
.ac-kon-quick__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--ac-white); }
.is-dark .ac-kon-quick__icon { background: var(--ac-green); color: var(--ac-black); }
.ac-kon-quick__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-kon-quick__text strong { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ac-black); overflow: hidden; text-overflow: ellipsis; }
.is-dark .ac-kon-quick__text { color: var(--ac-on-dark-2); }
.is-dark .ac-kon-quick__text strong { color: var(--ac-white); }
.ac-kon-quick__arrow { flex: none; transition: transform var(--ac-fast) ease; }
.is-dark .ac-kon-quick__arrow { color: var(--ac-green); }
.ac-kon-quick__item:hover .ac-kon-quick__arrow { transform: translateX(3px); }

.ac-kon__h2 { font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.ac-kon-stores { display: flex; flex-direction: column; gap: 24px; padding-top: 40px; padding-bottom: 40px; scroll-margin-top: calc(24px + var(--ac-adminbar)); }
.ac-kon-stores__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ac-kon-store { display: flex; flex-direction: column; border: 1px solid var(--ac-grey-200); border-radius: 16px; overflow: hidden; background: var(--ac-white); }
.ac-kon-store__map { position: relative; display: block; height: 240px; background: #efeff1; }
.ac-kon-store__map svg { display: block; width: 100%; height: 100%; }
.ac-kon-store__pin { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 999px; background: var(--ac-black); color: var(--ac-green); transition: transform var(--ac-fast) var(--ac-ease-out); }
.ac-kon-store__map:hover .ac-kon-store__pin { transform: scale(1.08); }
.ac-kon-store__body { display: flex; gap: 32px; padding: 28px; }
.ac-kon-store__info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ac-kon-store__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ac-kon-store__title strong { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ac-kon-store__status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ac-light); color: var(--ac-text-2); font-size: 13px; font-weight: 500; line-height: 1.4; }
.ac-kon-store__status > span { width: 8px; height: 8px; border-radius: 999px; background: var(--ac-mid); }
.ac-kon-store__status.is-open { background: var(--ac-green-tint); color: var(--ac-green-text); }
.ac-kon-store__status.is-open > span { background: var(--ac-green-text); }
.ac-kon-store__rows { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ac-kon-store__rows li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.5; }
.ac-kon-store__rows .ac-icon { flex: none; color: var(--ac-dark); }
.ac-kon-store__rows a:hover { text-decoration: underline; }
.ac-kon-store__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.ac-kon-store__actions .ac-btn { height: 44px; gap: 8px; padding-inline: 18px; }
.ac-kon-store__actions .ac-btn--outline { border-color: var(--ac-grey-300); }
.ac-kon-store__hours { flex: none; width: 300px; align-self: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--ac-light); }
.ac-kon-store__hours > p { margin-bottom: 8px; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ac-text-2); }
.ac-kon-store__hours dl { margin: 0; }
.ac-kon-store__hours dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-radius: 6px; font-size: 13px; line-height: 1.45; }
.ac-kon-store__hours dl > div.is-today { margin-inline: -8px; padding-inline: 8px; background: var(--ac-white); font-weight: 500; }
.ac-kon-store__hours dl > div.is-closed { color: var(--ac-mid); }
.ac-kon-store__hours dd { margin: 0; }
.ac-kon-store__all { display: none; }

.ac-kon-form { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 24px; align-items: start; padding-top: 40px; padding-bottom: 96px; }
.ac-kon-form__card { display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--ac-grey-200); border-radius: 16px; }
.ac-kon-form__intro { font-size: 15px; line-height: 1.5; color: var(--ac-text-2); }
.ac-cf form, form.ac-cf, .ac-kon-form .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.ac-kon-form .wpcf7-form > p { margin: 0; }
.ac-cf__label { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ac-black); }
.ac-cf__label em { margin-left: 4px; font-style: normal; font-weight: 400; color: var(--ac-mid); }
.ac-cf__topic { display: flex; flex-direction: column; gap: 8px; }
.ac-cf__topic .ac-cf__label { color: var(--ac-text-2); }
.ac-cf__topic .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-cf__topic .wpcf7-list-item { margin: 0; }
.ac-cf__topic .wpcf7-list-item label { position: relative; display: block; cursor: pointer; }
.ac-cf__topic input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.ac-cf__topic .wpcf7-list-item-label { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--ac-grey-300); border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.4; transition: background-color var(--ac-fast) ease, border-color var(--ac-fast) ease, color var(--ac-fast) ease; }
.ac-cf__topic label:hover .wpcf7-list-item-label { border-color: var(--ac-black); }
.ac-cf__topic input:checked + .wpcf7-list-item-label { background: var(--ac-black); border-color: var(--ac-black); color: var(--ac-white); }
.ac-cf__topic input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--ac-green-text); outline-offset: 2px; }
.ac-cf__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ac-cf__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ac-cf__field .wpcf7-form-control-wrap { display: block; }
.ac-cf__field input, .ac-cf__field textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--ac-grey-300); border-radius: 8px; background: var(--ac-white); font: inherit; font-size: 15px; line-height: 1.5; transition: border-color var(--ac-fast) ease; }
.ac-cf__field textarea { height: 140px; padding: 12px 14px; resize: vertical; }
.ac-cf__field input::placeholder, .ac-cf__field textarea::placeholder { color: var(--ac-mid); }
.ac-cf__field input:focus, .ac-cf__field textarea:focus { outline: 0; border-color: var(--ac-black); }
.ac-cf__field .wpcf7-not-valid { border-color: var(--ac-error); }
.ac-kon-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--ac-error); }
.ac-cf__upload { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed var(--ac-grey-300); border-radius: 10px; cursor: pointer; transition: border-color var(--ac-fast) ease, background-color var(--ac-fast) ease; }
.ac-cf__upload:hover { border-color: var(--ac-black); }
.ac-cf__upload:focus-within { border-color: var(--ac-black); }
.ac-cf__upload.has-file { border-style: solid; border-color: var(--ac-green-text); background: var(--ac-green-tint); }
.ac-cf__upload-icon { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--ac-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23262626' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2' ry='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E") no-repeat center; }
.ac-cf__upload-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-cf__upload-text strong { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ac-black); }
.ac-cf__upload .wpcf7-form-control-wrap { position: absolute; inset: 0; }
.ac-cf__upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ac-cf__consent .wpcf7-list-item { margin: 0; }
.ac-cf__consent label { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); cursor: pointer; }
.ac-cf__consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ac-black); }
.ac-cf__consent a { text-decoration: underline; text-underline-offset: 3px; }
.ac-cf__submit { align-self: flex-start; gap: 10px; padding-inline: 24px; }
.ac-cf__submit::after { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center; }
.ac-kon-form .wpcf7-spinner { margin: 0 0 0 12px; }
.ac-kon-form .wpcf7-response-output { margin: 0 !important; padding: 12px 16px !important; border: 0 !important; border-radius: 10px; background: #fdecea; color: var(--ac-error); font-size: 13px; line-height: 1.45; }
.ac-kon-form .wpcf7-form.sent .wpcf7-response-output { background: var(--ac-green-tint); color: var(--ac-green-text); }
.ac-kon-form .wpcf7-response-output:empty, .ac-kon-form .wpcf7-form.init .wpcf7-response-output { display: none; }

.ac-kon-side { display: flex; flex-direction: column; gap: 24px; }
.ac-kon-answers { padding: 24px 24px 16px; border-radius: 16px; background: var(--ac-light); }
.ac-kon-answers h2, .ac-kon-company h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.ac-kon-answers ul { margin: 12px 0 0; padding: 0; list-style: none; }
.ac-kon-answers li + li { border-top: 1px solid var(--ac-grey-200); }
.ac-kon-answers a { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.ac-kon-answers a > span { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-kon-answers strong { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ac-black); }
.ac-kon-answers a .ac-icon { flex: none; transition: transform var(--ac-fast) ease; }
.ac-kon-answers a:hover .ac-icon { transform: translateX(3px); }
.ac-kon-company { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--ac-grey-200); border-radius: 16px; }
.ac-kon-company h2 button { display: flex; align-items: center; justify-content: space-between; width: 100%; font: inherit; text-align: left; pointer-events: none; }
.ac-kon-company h2 .ac-icon { display: none; }
.ac-kon-company__body { display: flex; flex-direction: column; gap: 12px; }
.ac-kon-company dl { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ac-kon-company dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; font-size: 13px; line-height: 1.45; }
.ac-kon-company dt { color: var(--ac-text-2); }
.ac-kon-company dd { margin: 0; word-break: break-word; }
.ac-kon-company__copy { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding-top: 4px; font-size: 13px; font-weight: 500; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.ac-kon-company__copy.is-done { color: var(--ac-green-text); }

@media (max-width: 1279px) {
	.ac-kon-quick { grid-template-columns: minmax(0, 1fr); }
	.ac-kon-stores__grid { grid-template-columns: minmax(0, 1fr); }
	.ac-kon-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.ac-kon-hero { gap: 16px; padding-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--ac-grey-200); }
	.ac-kon-hero__text .ac-h1 { font-size: 32px; letter-spacing: -.02em; }
	.ac-kon-hero__text p { font-size: 15px; line-height: 1.5; }
	.ac-kon-quick { display: none; }
	.ac-kon-quick-m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.ac-kon-quick-m .ac-btn { height: 48px; gap: 8px; }
	.ac-kon-quick-m .ac-btn--outline { border-color: var(--ac-grey-300); }
	.ac-kon-quick-m p { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; padding-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
	.ac-kon__h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
	.ac-kon-stores { gap: 16px; padding-top: 24px; padding-bottom: 24px; }
	.ac-kon-stores__grid { gap: 16px; }
	.ac-kon-store__map { height: 136px; }
	.ac-kon-store__pin { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
	.ac-kon-store__pin .ac-icon { width: 18px; height: 18px; }
	.ac-kon-store__body { flex-direction: column; gap: 16px; padding: 16px; }
	.ac-kon-store__title strong { font-size: 18px; }
	.ac-kon-store__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ac-kon-store__actions .ac-btn:first-child { grid-column: 1 / -1; }
	.ac-kon-store__hours { width: 100%; }
	.ac-kon-store__hours:not(.is-open) dl > div:not(.is-today) { display: none; }
	.ac-kon-store__all { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 500; line-height: 1.4; }
	.ac-kon-store__all .ac-icon { transition: transform var(--ac-fast) ease; }
	.ac-kon-store__all[aria-expanded="true"] .ac-icon { transform: rotate(180deg); }
	.ac-kon-form { gap: 16px; padding-top: 0; padding-bottom: 0; }
	.ac-kon-form__card { gap: 16px; padding: 16px; }
	.ac-cf__row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.ac-cf__field input, .ac-cf__field textarea { font-size: 16px; }
	.ac-cf__submit { align-self: stretch; }
	.ac-kon-answers { padding: 16px; }
	.ac-kon-side { gap: 0; margin-inline: -16px; }
	.ac-kon-answers { margin: 0 16px 16px; }
	.ac-kon-company { padding: 0; border: 0; border-radius: 0; border-top: 1px solid var(--ac-grey-200); border-bottom: 1px solid var(--ac-grey-200); gap: 0; }
	.ac-kon-company h2 button { padding: 18px 16px; pointer-events: auto; }
	.ac-kon-company h2 .ac-icon { display: block; transition: transform var(--ac-fast) ease; }
	.ac-kon-company h2 button[aria-expanded="true"] .ac-icon { transform: rotate(180deg); }
	.ac-kon-company__body { display: none; padding: 0 16px 18px; }
	.ac-kon-company.is-open .ac-kon-company__body { display: flex; }
}
