/* Amin Cloth - visitor popup (email + phone). Modal on desktop, bottom sheet on phones. */
.ac-ap { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.ac-ap.is-open { display: flex; }
.ac-ap__bd { position: absolute; inset: 0; background: rgba(11, 25, 44, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease; }
.ac-ap.is-in .ac-ap__bd { opacity: 1; }

.ac-ap__card {
	position: relative; width: 100%; max-width: 440px; max-height: 100%; overflow: auto; box-sizing: border-box; padding: 38px 34px 28px; text-align: center;
	background: #fff; border-radius: 6px; box-shadow: 0 30px 80px rgba(11, 25, 44, .35); border-top: 4px solid #dfba6d; color: #172033;
	font-family: Manrope, sans-serif; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.ac-ap.is-in .ac-ap__card { opacity: 1; transform: none; }

.ac-ap__x { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none !important; color: #6b7280 !important; cursor: pointer; font-size: 0; }
.ac-ap__x:hover, .ac-ap__x:focus { background: #f3efe6 !important; color: #0b192c !important; }
.ac-ap__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.ac-ap__seal { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: #0b192c; color: #dfba6d; }
.ac-ap__seal svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ac-ap__t { margin: 0 0 10px; font: 600 26px/1.2 "Playfair Display", Georgia, serif; color: #0b192c; letter-spacing: 0; }
.ac-ap__p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.65; color: #4b5563; }

.ac-ap__f { display: grid; gap: 10px; text-align: left; }
.ac-ap__f input {
	width: 100%; height: 48px; margin: 0; padding: 0 16px; box-sizing: border-box; border: 1px solid #e5ded1; border-radius: 8px; background: #fff;
	font: 500 16px/1 Manrope, sans-serif; color: #172033; box-shadow: none; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.ac-ap__f input::placeholder { color: #9aa0a9; }
.ac-ap__f input:focus { border-color: #a77c28; box-shadow: 0 0 0 3px rgba(223, 186, 109, .35); }
.ac-ap__f input.is-bad { border-color: #c0392b; }
.ac-ap__btn {
	height: 50px; margin-top: 4px; padding: 0 22px; border: 0; border-radius: 8px; background: #0b192c !important; color: #dfba6d !important; cursor: pointer;
	font: 800 12.5px/1 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, transform .15s;
}
.ac-ap__btn:hover, .ac-ap__btn:focus { background: #14294a !important; }
.ac-ap__btn:active { transform: translateY(1px); }
.ac-ap__btn[disabled] { opacity: .65; cursor: wait; }
.ac-ap__err { min-height: 18px; margin: 0; font-size: 13px; line-height: 1.4; color: #c0392b; text-align: center; }
.ac-ap__n { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #9aa0a9; }
.ac-ap__skip { display: inline-block; margin-top: 10px; padding: 6px 10px; border: 0; background: none !important; color: #6b7280 !important; font: 600 12.5px/1 Manrope, sans-serif; text-decoration: underline; cursor: pointer; }

.ac-ap__ok { padding: 8px 0 4px; }
.ac-ap__ok[hidden], .ac-ap__main[hidden] { display: none; }
.ac-ap__tick { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: #e8f5ec; color: #1e8e4e; }
.ac-ap__tick svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ac-ap__ok p { margin: 0; font-size: 16px; line-height: 1.55; color: #172033; font-weight: 600; }
.ac-ap__code { display: inline-block; margin-top: 16px; padding: 12px 22px; border: 1px dashed #dfba6d; border-radius: 6px; background: #fbf7ec; font-size: 13px; color: #4b5563; }
.ac-ap__code b { display: block; margin-top: 4px; font-size: 20px; letter-spacing: .14em; color: #0b192c; }

.ac-ap-lock { overflow: hidden; }

@media (max-width: 600px) {
	.ac-ap { align-items: flex-end; padding: 0; }
	.ac-ap__card { max-width: none; padding: 34px 22px calc(24px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; border-top-width: 4px; transform: translateY(100%); }
	.ac-ap.is-in .ac-ap__card { transform: none; }
	.ac-ap__t { font-size: 23px; }
	.ac-ap__seal { width: 48px; height: 48px; margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.ac-ap__bd, .ac-ap__card { transition: none; }
}
