/* "Uzzināt pieejamību" pop-up: 520 px modal (desktop), bottom sheet (phones). Figma 326:7713 / 326:8056 / 326:8223. */
.ac-bis { position: fixed; inset: var(--ac-adminbar) 0 0; z-index: 1150; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ac-bis[hidden] { display: none; }
.ac-bis__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity 200ms ease; }
.ac-bis__dialog { position: relative; display: flex; flex-direction: column; width: 520px; max-width: 100%; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; background: var(--ac-white); border-radius: 16px; box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .18); outline: 0; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity 200ms ease, transform 240ms var(--ac-ease-out); }
.ac-bis.is-open .ac-bis__overlay { opacity: 1; }
.ac-bis.is-open .ac-bis__dialog { opacity: 1; transform: none; }
.ac-bis [hidden] { display: none !important; }
.ac-bis__grabber { display: none; }
.ac-bis__head { display: flex; align-items: flex-start; gap: 12px; padding: 24px 28px 0; }
.ac-bis__titles { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.ac-bis__title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.ac-bis__sub { font-size: 15px; line-height: 1.5; color: var(--ac-text-2); }
.ac-bis__close { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: 18px; border-radius: 999px; background: var(--ac-light); transition: background-color var(--ac-fast) ease, transform var(--ac-fast) ease; }
.ac-bis__close:hover { background: var(--ac-grey-200); }
.ac-bis__close:active { transform: scale(.94); }
.ac-bis__body { display: flex; flex-direction: column; gap: 20px; padding: 20px 28px 28px; }
.ac-bis__product { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: var(--ac-light); }
.ac-bis__thumb { flex: none; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 8px; background: var(--ac-white); }
.ac-bis__thumb img { width: 56px; height: 56px; object-fit: contain; }
.ac-bis__ptext { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ac-bis__brand { font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .04em; color: var(--ac-mid); }
.ac-bis__brand:empty { display: none; }
.ac-bis__name { font-size: 15px; font-weight: 500; line-height: 1.5; }
.ac-bis__stock { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-bis__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ac-mid); }
.ac-bis__form { display: flex; flex-direction: column; gap: 20px; }
.ac-bis__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ac-bis__field { display: flex; flex-direction: column; gap: 6px; }
.ac-bis__label { font-size: 13px; font-weight: 500; line-height: 1.4; }
.ac-bis__label small { font-size: inherit; font-weight: 400; color: var(--ac-mid); }
.ac-bis__input { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--ac-grey-300); border-radius: 8px; color: var(--ac-mid); transition: border-color var(--ac-fast) ease, box-shadow var(--ac-fast) ease; }
.ac-bis__input input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ac-black); }
.ac-bis__input input::placeholder, .ac-bis textarea::placeholder { color: var(--ac-mid); }
.ac-bis__input:focus-within, .ac-bis textarea:focus { border-color: var(--ac-black); box-shadow: 0 0 0 3px rgba(128, 251, 0, .35); }
.ac-bis textarea { min-height: 76px; padding: 12px 14px; border: 1px solid var(--ac-grey-300); border-radius: 8px; outline: 0; font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; transition: border-color var(--ac-fast) ease, box-shadow var(--ac-fast) ease; }
.ac-bis.is-invalid .ac-bis__input:has(input:invalid) { border-color: var(--ac-error); }
.ac-bis__consent { 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-bis__consent input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.ac-bis__consent .ac-check__box { flex: none; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1.5px solid var(--ac-grey-300); border-radius: 5px; background: var(--ac-white); color: var(--ac-green); transition: background-color var(--ac-fast) ease, border-color var(--ac-fast) ease; }
.ac-bis__consent .ac-check__box .ac-icon { opacity: 0; transform: scale(.6); transition: opacity var(--ac-fast) ease, transform var(--ac-fast) ease; }
.ac-bis__consent:hover .ac-check__box { border-color: var(--ac-black); }
.ac-bis__consent:has(input:checked) .ac-check__box { background: var(--ac-black); border-color: var(--ac-black); }
.ac-bis__consent:has(input:checked) .ac-check__box .ac-icon { opacity: 1; transform: none; }
.ac-bis__consent:has(input:focus-visible) .ac-check__box { outline: 2px solid var(--ac-green-text); outline-offset: 2px; }
.ac-bis.is-invalid .ac-bis__consent:has(input:invalid) .ac-check__box { border-color: var(--ac-error); }
.ac-bis__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ac-bis__error { margin-top: -8px; font-size: 13px; line-height: 1.45; color: var(--ac-error); }
.ac-bis__submit { width: 100%; }
.ac-bis.is-sending .ac-bis__submit { opacity: .6; pointer-events: none; }
.ac-bis__done { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: var(--ac-green-tint); }
.ac-bis__done > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-bis__done strong { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ac-green-text); }
.ac-bis__done-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--ac-green-text); color: var(--ac-white); animation: ac-bis-pop 360ms var(--ac-ease-out); }
@keyframes ac-bis-pop { from { transform: scale(.4); opacity: 0; } }
.ac-bis__alt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--ac-grey-200); border-radius: 10px; color: var(--ac-green-text); transition: border-color var(--ac-fast) ease, background-color var(--ac-fast) ease; }
.ac-bis__alt:hover { border-color: var(--ac-grey-300); background: var(--ac-light); }
.ac-bis__alt-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--ac-text-2); }
.ac-bis__alt-text strong { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ac-black); }
.ac-bis__alt-link { font-size: 13px; font-weight: 500; line-height: 1.4; }
.ac-bis__help { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--ac-mid); }
.ac-bis__help a { color: inherit; }
.ac-bis__help a:hover { color: var(--ac-black); }
.ac-bis__ok { width: 100%; border-color: var(--ac-grey-300); }
.ac-bis.is-loading .ac-bis__product { opacity: .5; }
/* Button state after a request. */
[data-ac-notify].is-notified { border-color: var(--ac-green-text); background: var(--ac-green-tint); color: var(--ac-green-text); }

@media (max-width: 767px) {
	.ac-bis { align-items: flex-end; padding: 0; }
	.ac-bis__dialog { width: 100%; max-height: calc(100dvh - 40px); border-radius: 20px 20px 0 0; transform: translateY(100%); opacity: 1; transition: transform 280ms var(--ac-ease-out); }
	.ac-bis__grabber { display: block; flex: none; height: 12px; padding-top: 8px; }
	.ac-bis__grabber::before { content: ""; display: block; width: 40px; height: 4px; margin: 0 auto; border-radius: 2px; background: var(--ac-grey-300); }
	.ac-bis__head { padding: 14px 20px 0; }
	.ac-bis__title { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
	.ac-bis__close { margin-top: 10px; }
	.ac-bis__body { padding: 20px 20px 28px; }
	.ac-bis__help { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.ac-bis__dialog, .ac-bis__overlay { transition: none; }
}
