/* =========================================================
   Azhary Core — UI (login, order wizard, customer panel)
   Palette from the brand book. RTL first.
   ========================================================= */
:root {
	--az-bg: #F4F0E8;
	--az-ink: #1E1A18;
	--az-brick: #A10E10;
	--az-cream: #E5D8C6;
	--az-line: #D7CAB8;
	--az-muted: #75685B;
	--az-paper: #FAF7F0;
	--az-ok: #4E6B3A;
	--az-danger: #9B2C2C;
	--az-gold: #A57C2A;
	--az-radius: 14px;
	--az-radius-lg: 22px;
	--az-shadow: 0 1px 0 rgba(30, 26, 24, .04), 0 10px 30px -18px rgba(30, 26, 24, .35);
	--az-font: "Vazirmatn", Tahoma, sans-serif;
	--az-ease: cubic-bezier(.2, .7, .2, 1);
}

.azc-auth, .azc-order, .azc-result, .azc-panel, .azc-contact { font-family: var(--az-font); color: var(--az-ink); direction: ltr; text-align: left; }
.azc-auth *, .azc-order *, .azc-result *, .azc-panel *, .azc-contact * { box-sizing: border-box; }
.azc-ic { flex: none; vertical-align: middle; }
.azc-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding:0; margin:-1px; opacity: 0; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.azc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font: 600 15px/1 var(--az-font); padding:.9em 1.6em; border-radius:999px;
	border: 1px solid var(--az-ink); background: transparent; color: var(--az-ink);
	cursor: pointer; text-decoration: none; transition: background .25s var(--az-ease), color .25s, border-color .25s, transform .2s; white-space: nowrap;
}
.azc-btn:hover { background: var(--az-ink); color: var(--az-paper); }
.azc-btn:active { transform: translateY(1px); }
.azc-btn:focus-visible, .azc-link:focus-visible, .azc-field input:focus-visible { outline: 2px solid var(--az-brick); outline-offset: 2px; }
.azc-btn--primary { background: var(--az-ink); color: var(--az-paper); }
.azc-btn--primary:hover { background: var(--az-brick); border-color:var(--az-brick); color: #fff; }
.azc-btn--ghost { border-color:var(--az-line); background: var(--az-paper); }
.azc-btn--ghost:hover { border-color:var(--az-ink); }
.azc-btn--sm { font-size: 13px; padding:.65em 1.15em; }
.azc-btn--block { width: 100%; }
.azc-btn--icon { padding:.65em; }
.azc-btn[disabled], .azc-btn.is-loading { opacity: .45; pointer-events: none; }
.azc-btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius:50%; animation: azc-spin .7s linear infinite; }
@keyframes azc-spin { to { transform: rotate(360deg); } }
.azc-link { background: none; border: 0; padding:0; color: var(--az-brick); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.azc-link[disabled] { color: var(--az-muted); cursor: default; text-decoration: none; }

/* ---------- Fields ---------- */
.azc-field { display: flex; flex-direction: column; gap: 8px; margin:0 0 18px; border: 0; padding:0; min-width: 0; }
.azc-field > span { font-size: 14px; font-weight: 600; color: var(--az-ink); }
.azc-field input, .azc-field textarea, .azc-field select, .azc-coupon input, .azc-search input, .azc-chat textarea {
	width: 100%; font: 15px/1.7 var(--az-font); color: var(--az-ink); background: var(--az-paper);
	border: 1px solid var(--az-line); border-radius:12px; padding:12px 14px; transition: border-color .2s, box-shadow .2s;
}
.azc-field input:focus, .azc-field textarea:focus, .azc-field select:focus, .azc-coupon input:focus, .azc-chat textarea:focus { outline: none; border-color:var(--az-ink); box-shadow: 0 0 0 4px rgba(161, -14, -16, -.1); }
.azc-field input[readonly] { background: var(--az-bg); color: var(--az-muted); }
.azc-field.is-invalid input, .azc-field.is-invalid textarea, .azc-field.is-invalid select { border-color:var(--az-danger); }
.azc-field__error { color: var(--az-danger); font-size: 13px; }
.azc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.azc-span-2 { grid-column: 1 / -1; }
.azc-segment { display: flex; gap: 8px; flex-wrap: wrap; }
.azc-segment label, .azc-pills label { position: relative; cursor: pointer; }
.azc-segment input, .azc-pills input { position: absolute; opacity: 0; inset:0; }
.azc-segment span, .azc-pills span { display: inline-block; padding:9px 18px; border-radius:999px; border: 1px solid var(--az-line); background: var(--az-paper); font-size: 14px; transition: all .2s; }
.azc-segment input:checked + span, .azc-pills input:checked + span { background: var(--az-ink); color: var(--az-paper); border-color:var(--az-ink); }
.azc-segment input:focus-visible + span, .azc-pills input:focus-visible + span { outline: 2px solid var(--az-brick); outline-offset: 2px; }
.azc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.azc-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.9; }
.azc-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--az-brick); }
.azc-color-row { display: flex; gap: 10px; align-items: center; }
.azc-color-row input[type=color] { width: 48px; height: 44px; padding:4px; }
.azc-form-msg { min-height: 1.6em; margin:14px 0 0; font-size: 14px; line-height: 1.9; }
.azc-form-msg.is-error { color: var(--az-danger); }
.azc-form-msg.is-ok { color: var(--az-ok); }
.azc-hint { font-size: 13px; color: var(--az-muted); margin:6px 0; }

/* ---------- Badges ---------- */
.azc-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding:4px 11px; border-radius:999px; border: 1px solid; white-space: nowrap; }
.azc-badge--muted { color: var(--az-muted); border-color:var(--az-line); background: var(--az-bg); }
.azc-badge--info { color: #49606E; border-color:#C9D2D6; background: #EEF1F1; }
.azc-badge--brick { color: var(--az-brick); border-color:#E8BDBA; background: #F8E6E4; }
.azc-badge--gold { color: var(--az-gold); border-color:#E6D4AC; background: #F8F0DD; }
.azc-badge--ok { color: var(--az-ok); border-color:#C7D3BC; background: #EDF1E7; }
.azc-badge--danger { color: var(--az-danger); border-color:#E3C0C0; background: #F6E6E6; }

/* =========================================================
   Login
   ========================================================= */
.azc-auth { min-height: 72vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding:48px 16px; }
.azc-auth__card {
	width: 100%; max-width: 440px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius:220px 220px var(--az-radius-lg) var(--az-radius-lg);
	padding:64px 36px 36px; box-shadow: var(--az-shadow); position: relative; text-align: center;
}
.azc-auth__card::before { content: ""; position: absolute; inset:8px; border: 1px solid var(--az-cream); border-radius:212px 212px 16px 16px; pointer-events: none; }
.azc-auth__logo { width: 96px; height: auto; margin:0 auto 18px; display: block; }
.azc-auth__title { font-size: 22px; font-weight: 800; margin:0 0 8px; line-height: 1.6; }
.azc-auth__desc { color: var(--az-muted); font-size: 14px; line-height: 2; margin:0 0 24px; }
.azc-auth form { text-align: left; position: relative; }
.azc-auth .azc-field input[type=tel] { font-size: 20px; letter-spacing: .08em; text-align: center; }
.azc-otp { display: flex; gap: 8px; justify-content: center; margin:4px 0 14px; }
.azc-otp input { width: 48px; height: 58px; text-align: center; font: 700 24px var(--az-font); border: 1px solid var(--az-line); border-radius:12px; background: var(--az-bg); color: var(--az-ink); }
.azc-otp input:focus { outline: none; border-color:var(--az-brick); background: var(--az-paper); box-shadow: 0 0 0 4px rgba(161, -14, -16, -.12); }
.azc-otp.is-error input { border-color:var(--az-danger); animation: azc-shake .35s; }
@keyframes azc-shake { 25% { transform: translateX(4px); } 75% { transform: translateX(-4px); } }
.azc-auth__timer { text-align: center; color: var(--az-muted); font-size: 13px; margin-bottom: 18px; }
.azc-auth__timer span { font-weight: 700; color: var(--az-brick); font-variant-numeric: tabular-nums; }
.azc-auth__links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 14px; }
.azc-auth__step { animation: azc-fade .4s var(--az-ease); }
.azc-auth__foot { font-size: 12px; color: var(--az-muted); margin-top: 18px; }
.azc-auth__foot a { color: var(--az-brick); }
.azc-dev-code { display: inline-block; margin-top: 8px; padding:6px 12px; border: 1px dashed var(--az-gold); color: var(--az-gold); border-radius:8px; font-size: 13px; }
@keyframes azc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Order wizard
   ========================================================= */
.azc-order { max-width: 1180px; margin:0 auto; padding:32px 16px 64px; }
.azc-steps { list-style: none; display: flex; padding:0; margin:0 0 36px; counter-reset: s; position: relative; }
.azc-steps::before { content: ""; position: absolute; top: 18px; left: 8%; right: 8%; height: 1px; background: var(--az-line); }
.azc-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }
.azc-steps span { width: 36px; height: 36px; border-radius:50%; display: grid; place-items: center; background: var(--az-bg); border: 1px solid var(--az-line); font-weight: 700; font-size: 14px; color: var(--az-muted); transition: all .3s; }
.azc-steps em { font-style: normal; font-size: 13px; color: var(--az-muted); text-align: center; }
.azc-steps li.is-done span { background: var(--az-cream); border-color:var(--az-cream); color: var(--az-ink); }
.azc-steps li.is-current span { background: var(--az-ink); border-color:var(--az-ink); color: var(--az-paper); box-shadow: 0 0 0 5px rgba(30, -26, -24, -.08); }
.azc-steps li.is-current em { color: var(--az-ink); font-weight: 700; }
.azc-order__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.azc-order__main { background: var(--az-paper); border: 1px solid var(--az-line); border-radius:var(--az-radius-lg); padding:36px; box-shadow: var(--az-shadow); }
.azc-order__step { animation: azc-fade .4s var(--az-ease); }
.azc-order__title { font-size: 26px; font-weight: 800; margin:0 0 8px; line-height: 1.5; }
.azc-order__lead { color: var(--az-muted); margin:0 0 28px; line-height: 1.9; }
.azc-order__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--az-line); }
.azc-order__nav [data-next], .azc-order__nav [data-submit] { margin-inline-start: auto; }

.azc-choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.azc-choice { position: relative; cursor: pointer; }
.azc-choice input { position: absolute; opacity: 0; }
.azc-choice__box { display: flex; flex-direction: column; gap: 8px; height: 100%; padding:26px 20px 20px; border: 1px solid var(--az-line); border-radius:90px 90px var(--az-radius) var(--az-radius); background: var(--az-bg); text-align: center; align-items: center; transition: all .25s var(--az-ease); }
.azc-choice__icon { width: 64px; height: 64px; border-radius:50%; display: grid; place-items: center; border: 1px solid var(--az-line); color: var(--az-brick); background: var(--az-paper); margin-bottom: 6px; }
.azc-choice strong { font-size: 16px; }
.azc-choice small { color: var(--az-muted); font-size: 13px; line-height: 1.8; }
.azc-choice__price { margin-top: auto; font-style: normal; font-size: 13px; color: var(--az-brick); font-weight: 600; }
.azc-choice:hover .azc-choice__box { border-color:var(--az-muted); transform: translateY(-2px); }
.azc-choice input:checked + .azc-choice__box { border-color:var(--az-ink); background: var(--az-paper); box-shadow: inset 0 0 0 1px var(--az-ink); }
.azc-choice input:checked + .azc-choice__box .azc-choice__icon { background: var(--az-ink); color: var(--az-paper); border-color:var(--az-ink); }
.azc-choice input:focus-visible + .azc-choice__box { outline: 2px solid var(--az-brick); outline-offset: 3px; }

.azc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.azc-option { position: relative; cursor: pointer; display: block; }
.azc-option input { position: absolute; opacity: 0; }
.azc-option__box { display: flex; align-items: center; gap: 12px; padding:14px 16px; border: 1px solid var(--az-line); border-radius:12px; background: var(--az-bg); transition: all .2s; }
.azc-option__check { width: 22px; height: 22px; border-radius:6px; border: 1px solid var(--az-line); display: grid; place-items: center; background: var(--az-paper); color: transparent; flex: none; }
.azc-option__label { flex: 1; font-size: 14px; }
.azc-option__label small { display: block; color: var(--az-muted); font-size: 12px; }
.azc-option__price { font-size: 13px; color: var(--az-muted); white-space: nowrap; }
.azc-option input:checked + .azc-option__box { border-color:var(--az-ink); background: var(--az-paper); }
.azc-option input:checked + .azc-option__box .azc-option__check { background: var(--az-ink); border-color:var(--az-ink); color: var(--az-paper); }
.azc-option input:focus-visible + .azc-option__box { outline: 2px solid var(--az-brick); outline-offset: 2px; }
.azc-rush { margin-top: 18px; }
.azc-option--rush .azc-option__box { border-style:dashed; border-color:var(--az-brick); }

.azc-upload { margin-top: 12px; }
.azc-upload h3 { font-size: 16px; margin:0 0 4px; }
.azc-drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding:30px; border: 1.5px dashed var(--az-line); border-radius:var(--az-radius); background: var(--az-bg); color: var(--az-muted); cursor: pointer; transition: all .2s; text-align: center; }
.azc-drop:hover, .azc-drop.is-over { border-color:var(--az-brick); color: var(--az-brick); background: var(--az-paper); }
.azc-filelist { list-style: none; margin:14px 0 0; padding:0; display: grid; gap: 8px; }
.azc-filelist li { display: flex; align-items: center; gap: 12px; padding:10px 12px; border: 1px solid var(--az-line); border-radius:10px; background: var(--az-paper); font-size: 14px; }
.azc-filelist img { width: 44px; height: 44px; object-fit: cover; border-radius:6px; }
.azc-filelist .is-uploading { opacity: .6; }
.azc-filelist .is-failed { border-color:var(--az-danger); color: var(--az-danger); }
.azc-filelist small { color: var(--az-muted); margin-inline-start: auto; }
.azc-filelist button { background: none; border: 0; color: var(--az-muted); cursor: pointer; padding:4px; }
.azc-filelist button:hover { color: var(--az-danger); }

.azc-review { display: grid; gap: 14px; }
.azc-review__block { border: 1px solid var(--az-line); border-radius:var(--az-radius); padding:18px 20px; background: var(--az-bg); }
.azc-review__block header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.azc-review__block h4 { margin:0; font-size: 15px; }
.azc-review__block dl { margin:0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 14px; line-height: 1.9; }
.azc-review__block dt { color: var(--az-muted); }
.azc-review__block dd { margin:0; white-space: pre-line; }
.azc-terms { margin-top: 22px; padding:20px; border: 1px solid var(--az-line); border-radius:var(--az-radius); }
.azc-terms h3 { margin:0 0 8px; font-size: 15px; }
.azc-terms__text { font-size: 13px; color: var(--az-muted); line-height: 2; max-height: 160px; overflow: auto; margin-bottom: 12px; }
.azc-terms__text a { color: var(--az-brick); }

.azc-summary { position: sticky; top: 100px; background: var(--az-ink); color: var(--az-paper); border-radius:var(--az-radius-lg); padding:26px; }
.azc-summary h3 { margin:0 0 16px; font-size: 16px; color: var(--az-cream); }
.azc-summary dl { margin:0; display: grid; gap: 10px; font-size: 14px; }
.azc-summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(229, 216, 198, .14); }
.azc-summary dt { color: #BFB2A2; }
.azc-summary dd { margin:0; text-align: right; }
.azc-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-size: 14px; }
.azc-summary__total strong { font-size: 22px; color: #fff; }
.azc-summary .azc-hint { color: #A99C8C; font-size: 12px; }
.azc-coupon { display: flex; gap: 8px; margin-top: 16px; }
.azc-coupon input { background: rgba(250, 247, 240, .08); border-color:rgba(229, .25) 198, 216,; color: var(--az-paper); padding:9px 12px; }
.azc-coupon .azc-btn { color: var(--az-paper); background: transparent; border-color:rgba(229, .4) 198, 216,; }
.azc-coupon__msg { font-size: 12px; margin:6px 0 0; min-height: 1em; color: var(--az-cream); }

/* =========================================================
   Result page
   ========================================================= */
.azc-result { max-width: 640px; margin:48px auto; padding:44px 36px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius:var(--az-radius-lg); text-align: center; box-shadow: var(--az-shadow); }
.azc-result__icon { width: 84px; height: 84px; border-radius:50%; display: grid; place-items: center; margin:0 auto 18px; }
.azc-result--ok .azc-result__icon { background: #EDF1E7; color: var(--az-ok); }
.azc-result--failed .azc-result__icon { background: #F6E6E6; color: var(--az-danger); }
.azc-result h1 { font-size: 24px; margin:0 0 10px; }
.azc-result > p { color: var(--az-muted); line-height: 2; }
.azc-result__info { margin:24px 0; display: grid; text-align: left; border: 1px solid var(--az-line); border-radius:var(--az-radius); overflow: hidden; }
.azc-result__info > div { display: flex; justify-content: space-between; padding:12px 18px; border-bottom: 1px solid var(--az-line); font-size: 14px; }
.azc-result__info > div:last-child { border: 0; }
.azc-result__info dt { color: var(--az-muted); }
.azc-result__info dd { margin:0; font-weight: 600; }
.azc-result__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* =========================================================
   Customer panel
   ========================================================= */
body.azc-panel-body { margin:0; background: var(--az-bg); }
.azc-panel { display: flex; min-height: 100vh; }
.azc-side { width: 264px; flex: none; background: var(--az-ink); color: var(--az-cream); position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding:22px 14px; }
.azc-side__brand { display: flex; align-items: center; gap: 12px; color: var(--az-paper); text-decoration: none; padding:4px 10px 22px; border-bottom: 1px solid rgba(229, 216, 198, .12); margin-bottom: 14px; }
.azc-side__brand img { background: var(--az-paper); border-radius:50%; padding:3px; }
.azc-side__brand strong { display: block; font-size: 15px; }
.azc-side__brand small { color: #A99C8C; font-size: 12px; }
.azc-side__nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.azc-side__nav a { display: flex; align-items: center; gap: 12px; padding:11px 14px; border-radius:12px; color: #D9CDBD; text-decoration: none; font-size: 14px; transition: background .2s, color .2s; position: relative; }
.azc-side__nav a:hover { background: rgba(250, 247, 240, .06); color: #fff; }
.azc-side__nav a.is-active { background: var(--az-paper); color: var(--az-ink); font-weight: 700; }
.azc-side__nav a.is-active .azc-ic { color: var(--az-brick); }
.azc-side__logout { margin-top: auto; border-top: 1px solid rgba(229, 216, 198, .12); border-radius:0 !important; padding-top: 16px !important; }
.azc-count { margin-inline-start: auto; min-width: 22px; height: 22px; padding:0 6px; border-radius:11px; background: var(--az-brick); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.azc-side__scrim { display: none; }
.azc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.azc-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding:14px 28px; background: rgba(244, 240, 232, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--az-line); }
.azc-top__menu { display: none; background: none; border: 1px solid var(--az-line); border-radius:10px; padding:7px; color: var(--az-ink); cursor: pointer; }
.azc-top__logo { display: none; }
.azc-top__title { font-size: 18px; margin:0; font-weight: 800; }
.azc-top__tools { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.azc-top__bell, .azc-top__out { position: relative; color: var(--az-ink); display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--az-line); border-radius:50%; background: var(--az-paper); }
.azc-dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding:0 4px; border-radius:9px; background: var(--az-brick); color: #fff; font-size: 11px; display: grid; place-items: center; }
.azc-top__user { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--az-ink); font-size: 14px; font-weight: 600; }
.azc-avatar { border-radius:50%; border: 1px solid var(--az-line); object-fit: cover; }
.azc-avatar--lg { width: 96px; height: 96px; }
.azc-content { padding:28px; max-width: 1200px; width: 100%; }

.azc-welcome { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding:28px 30px; background: var(--az-paper); border: 1px solid var(--az-line); border-radius:var(--az-radius-lg); position: relative; overflow: hidden; }
.azc-welcome::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius:50%; border: 1px solid var(--az-cream); box-shadow: 0 0 0 20px rgba(229, -216, -198, -.25); pointer-events: none; }
.azc-welcome h2 { margin:0 0 4px; font-size: 22px; }
.azc-welcome p { margin:0; color: var(--az-muted); }
.azc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.azc-stats--2 { grid-template-columns: repeat(2, 1fr); }
.azc-stat { background: var(--az-paper); border: 1px solid var(--az-line); border-radius:var(--az-radius); padding:20px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; }
.azc-stat span { grid-row: span 2; width: 46px; height: 46px; border-radius:50%; display: grid; place-items: center; background: var(--az-bg); color: var(--az-brick); }
.azc-stat strong { font-size: 24px; line-height: 1.2; }
.azc-stat em { font-style: normal; font-size: 13px; color: var(--az-muted); }
.azc-card { background: var(--az-paper); border: 1px solid var(--az-line); border-radius:var(--az-radius-lg); padding:24px; margin-bottom: 22px; }
.azc-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.azc-card__head h3, .azc-card__title { margin:0 0 16px; font-size: 17px; }
.azc-card__head h3 { margin:0; }
.azc-card h4 { font-size: 14px; margin:20px 0 10px; color: var(--az-muted); }
.azc-card--final { border-color:var(--az-ok); background: linear-gradient(-0deg, var(--az-paper), var(--az-paper)), var(--az-paper); }
.azc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.azc-cols > .azc-card { margin-bottom: 0; }
.azc-cols { margin-bottom: 22px; }
.azc-cols--support { grid-template-columns: 2fr 1fr; }
.azc-muted { color: var(--az-muted); font-size: 14px; }
.azc-lead { color: var(--az-muted); margin:0 0 16px; }
.azc-lead a { color: var(--az-brick); }
.azc-back { display: inline-flex; align-items: center; gap: 6px; color: var(--az-muted); text-decoration: none; font-size: 14px; margin-bottom: 14px; }
.azc-back .azc-ic { transform: scaleX(1); }
.azc-note { margin:16px 0 0; padding:12px 16px; border-radius:12px; background: var(--az-bg); font-size: 14px; }
.azc-note--gold { background: #F8F0DD; color: #6E5418; }
.azc-note a { color: var(--az-brick); }
.azc-row { display: flex; flex-wrap: wrap; gap: 10px; }
.azc-empty, .azc-empty-box { color: var(--az-muted); text-align: center; }
.azc-empty-box { padding:36px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.azc-empty-box .azc-ic { color: var(--az-line); }
.azc-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }

/* Table */
.azc-table-wrap { overflow-x: auto; }
.azc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.azc-table th { text-align: left; font-weight: 600; color: var(--az-muted); font-size: 13px; padding:10px 12px; border-bottom: 1px solid var(--az-line); white-space: nowrap; }
.azc-table td { padding:14px 12px; border-bottom: 1px solid #EEE6DA; vertical-align: middle; }
.azc-table tr:last-child td { border-bottom: 0; }
.azc-table a { color: var(--az-ink); font-weight: 600; text-decoration: none; }
.azc-table a.azc-btn { font-weight: 600; }
.azc-table small { color: var(--az-muted); }

/* Filters */
.azc-filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }
.azc-filters a { white-space: nowrap; padding:8px 14px; border-radius:999px; border: 1px solid var(--az-line); background: var(--az-paper); color: var(--az-ink); text-decoration: none; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.azc-filters a b { font-weight: 600; color: var(--az-muted); font-size: 12px; }
.azc-filters a.is-active { background: var(--az-ink); color: var(--az-paper); border-color:var(--az-ink); }
.azc-filters a.is-active b { color: var(--az-cream); }
.azc-search { display: flex; gap: 8px; margin-bottom: 14px; max-width: 460px; }
.azc-search input { padding:9px 14px; }
.azc-pager { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.azc-pager a { width: 36px; height: 36px; display: grid; place-items: center; border-radius:50%; border: 1px solid var(--az-line); color: var(--az-ink); text-decoration: none; }
.azc-pager a.is-active { background: var(--az-ink); color: var(--az-paper); }

/* Progress */
.azc-progress { list-style: none; display: flex; padding:0; margin:8px 0 0; position: relative; }
.azc-progress li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; text-align: center; }
.azc-progress li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background: var(--az-line); z-index: 0; }
.azc-progress li.is-done:not(:last-child)::after { background: var(--az-brick); }
.azc-progress__dot { width: 32px; height: 32px; border-radius:50%; display: grid; place-items: center; background: var(--az-paper); border: 1px solid var(--az-line); font-size: 13px; color: var(--az-muted); position: relative; z-index: 1; }
.azc-progress li.is-done .azc-progress__dot { background: var(--az-brick); border-color:var(--az-brick); color: #fff; }
.azc-progress li.is-current .azc-progress__dot { background: var(--az-ink); border-color:var(--az-ink); color: #fff; box-shadow: 0 0 0 5px rgba(161, -14, -16, -.15); }
.azc-progress__label { font-size: 12px; color: var(--az-muted); }
.azc-progress li.is-current .azc-progress__label { color: var(--az-ink); font-weight: 700; }
.azc-progress.is-cancelled { padding:14px; background: #F6E6E6; color: var(--az-danger); border-radius:12px; justify-content: center; }

/* Order head */
.azc-order-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.azc-order-head h2 { margin:4px 0 8px; font-size: 22px; }
.azc-order-head__code { color: var(--az-brick); font-size: 13px; margin:0; font-weight: 600; }
.azc-order-head__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.azc-order-head__price { font-size: 20px; }
.azc-order-head__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.azc-span-all { flex-basis: 100%; margin:0; }

.azc-dl { margin:0; display: grid; gap: 0; }
.azc-dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding:10px 0; border-bottom: 1px dashed #E8DFD2; font-size: 14px; line-height: 1.9; }
.azc-dl dt { color: var(--az-muted); }
.azc-dl dd { margin:0; }
.azc-ticks { list-style: none; margin:0; padding:0; display: flex; flex-wrap: wrap; gap: 8px; }
.azc-ticks li { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; padding:6px 12px; border-radius:999px; background: var(--az-bg); }
.azc-ticks .azc-ic { color: var(--az-ok); }

.azc-timeline { list-style: none; margin:0; padding:0; position: relative; }
.azc-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--az-line); }
.azc-timeline li { display: flex; gap: 14px; padding:0 0 16px; position: relative; }
.azc-timeline__dot { width: 13px; height: 13px; border-radius:50%; background: var(--az-paper); border: 2px solid var(--az-brick); flex: none; margin-top: 6px; position: relative; z-index: 1; }
.azc-timeline li:first-child .azc-timeline__dot { background: var(--az-brick); }
.azc-timeline p { margin:0; font-size: 14px; line-height: 1.9; white-space: pre-line; }
.azc-timeline small { color: var(--az-muted); font-size: 12px; }
.azc-revlist { list-style: none; padding:0; margin:0; display: grid; gap: 10px; }
.azc-revlist li { padding:12px; border-radius:12px; background: var(--az-bg); font-size: 14px; }
.azc-revlist p { margin:8px 0 4px; line-height: 1.9; }
.azc-revlist small { color: var(--az-muted); font-size: 12px; }

/* Etud */
.azc-etuds { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.azc-etud { margin:0; border: 1px solid var(--az-line); border-radius:var(--az-radius); overflow: hidden; background: var(--az-bg); }
.azc-etud.is-latest { border-color:var(--az-gold); box-shadow: 0 0 0 1px var(--az-gold); }
.azc-etud img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.azc-etud__file { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 1; color: var(--az-muted); text-decoration: none; font-size: 13px; padding:12px; text-align: center; }
.azc-etud figcaption { padding:12px 14px; font-size: 14px; }
.azc-etud figcaption small { display: block; color: var(--az-muted); font-size: 12px; margin-top: 4px; }
.azc-etud figcaption p { margin:8px 0 0; font-size: 13px; line-height: 1.8; }
.azc-etud-actions { margin-top: 20px; padding:20px; border-radius:var(--az-radius); background: #F8F0DD; }
.azc-etud-actions > p { margin:0 0 12px; font-weight: 700; }
.azc-revise { margin-top: 16px; }

/* Files */
.azc-files { list-style: none; margin:0; padding:0; display: grid; gap: 8px; }
.azc-files li { display: flex; align-items: center; gap: 12px; padding:12px 14px; border: 1px solid var(--az-line); border-radius:12px; background: var(--az-bg); font-size: 14px; }
.azc-files li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.azc-files li small { display: block; color: var(--az-muted); font-size: 12px; margin-top: 2px; }
.azc-files li small a { color: var(--az-brick); }
.azc-files__thumb { width: 48px; height: 48px; object-fit: cover; border-radius:8px; border: 1px solid var(--az-line); }
.azc-files--compact li { padding:8px 12px; }

/* Chat */
.azc-chat__list { max-height: 460px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding:6px 2px 16px; }
.azc-msg { max-width: 78%; padding:12px 16px; border-radius:18px; font-size: 14px; line-height: 1.9; }
.azc-msg.is-mine { align-self: flex-start; background: var(--az-ink); color: var(--az-paper); border-bottom-left-radius: 4px; }
.azc-msg.is-theirs { align-self: flex-end; background: var(--az-bg); border: 1px solid var(--az-line); border-bottom-right-radius: 4px; }
.azc-msg__meta { font-size: 11px; opacity: .65; margin-bottom: 4px; }
.azc-msg__body { overflow-wrap: anywhere; }
.azc-msg__img img { display: block; max-width: 240px; border-radius:10px; margin-top: 8px; }
.azc-msg__file { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; color: inherit; }
.azc-chat__form { border-top: 1px solid var(--az-line); padding-top: 14px; }
.azc-chat__form textarea { resize: vertical; min-height: 64px; }
.azc-chat__actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.azc-chat__actions [type=submit] { margin-inline-start: auto; }
.azc-chat__attach { font-size: 13px; color: var(--az-muted); }

/* Threads / notifications */
.azc-threads, .azc-notifs { list-style: none; margin:0; padding:0; }
.azc-threads li a { display: flex; gap: 14px; align-items: center; padding:14px 6px; border-bottom: 1px solid #EEE6DA; text-decoration: none; color: var(--az-ink); }
.azc-threads li:last-child a { border-bottom: 0; }
.azc-threads__icon { width: 42px; height: 42px; border-radius:50%; display: grid; place-items: center; background: var(--az-bg); color: var(--az-brick); flex: none; }
.azc-threads__body { flex: 1; min-width: 0; }
.azc-threads__body strong { display: block; font-size: 14px; }
.azc-threads__body small { color: var(--az-muted); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azc-threads__meta { font-size: 12px; color: var(--az-muted); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.azc-threads li.is-unread strong { color: var(--az-brick); }
.azc-threads li.is-quiet { opacity: .7; }
.azc-notifs li { display: flex; gap: 14px; align-items: flex-start; padding:14px 6px; border-bottom: 1px solid #EEE6DA; }
.azc-notifs li > div { flex: 1; }
.azc-notifs strong { font-size: 14px; }
.azc-notifs p { margin:4px 0; font-size: 13px; color: var(--az-muted); line-height: 1.9; white-space: pre-line; }
.azc-notifs small { color: var(--az-muted); font-size: 12px; }
.azc-notifs__dot { width: 9px; height: 9px; border-radius:50%; margin-top: 8px; background: transparent; flex: none; }
.azc-notifs li.is-unread .azc-notifs__dot { background: var(--az-brick); }
.azc-notifs li.is-unread { background: linear-gradient(to right, rgba(161, 14, 16, .04), transparent); }

/* Account */
.azc-avatar-edit { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.azc-logins { list-style: none; padding:0; margin:0; font-size: 13px; }
.azc-logins li { display: flex; justify-content: space-between; padding:8px 0; border-bottom: 1px dashed var(--az-line); }
.azc-logins small { color: var(--az-muted); }
.azc-contact-list { list-style: none; padding:0; margin:0; display: grid; gap: 12px; font-size: 14px; }
.azc-contact-list li { display: flex; gap: 10px; align-items: center; }
.azc-contact-list .azc-ic { color: var(--az-brick); }
.azc-contact-list a { color: var(--az-ink); }

/* Invoice */
.azc-invoice-tools { text-align: right; margin-bottom: 12px; }
.azc-invoice header { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--az-line); margin-bottom: 18px; }
.azc-invoice header h2 { margin:0; font-size: 20px; }
.azc-invoice header p { margin:4px 0 0; color: var(--az-muted); font-size: 13px; }
.azc-invoice header dl { margin:0 0 0 auto; font-size: 13px; }
.azc-invoice header dl div { display: flex; gap: 10px; }
.azc-invoice header dt { color: var(--az-muted); }
.azc-invoice header dd { margin:0; font-weight: 700; }
.azc-invoice__party { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.azc-invoice__party h4 { margin:0 0 6px; color: var(--az-muted); font-size: 13px; }
.azc-invoice__party p { margin:0; line-height: 2; font-size: 14px; }
.azc-table--invoice td:last-child, .azc-table--invoice th:last-child { text-align: right; }
.azc-table--invoice tfoot th { color: var(--az-ink); font-size: 15px; padding-top: 14px; border-top: 2px solid var(--az-ink); }

/* Contact form (public) */
.azc-contact { max-width: 640px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.azc-order__layout { grid-template-columns: 1fr; }
	.azc-summary { position: static; order: -1; }
	.azc-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.azc-side { position: fixed; left: 0; top: 0; z-index: 60; transform: translateX(-100%); transition: transform .3s var(--az-ease); box-shadow: 20px 0 40px rgba(0, 0, 0, -.2); }
	.azc-panel.is-side-open .azc-side { transform: none; }
	.azc-panel.is-side-open .azc-side__scrim { display: block; position: fixed; inset:0; background: rgba(30, 26, 24, .45); z-index: 50; }
	.azc-top { padding:10px 16px; }
	.azc-top__menu { display: grid; }
	.azc-top__logo { display: block; }
	.azc-top__title { font-size: 16px; }
	.azc-top__user span { display: none; }
	.azc-content { padding:18px 16px; }
	.azc-cols, .azc-cols--support { grid-template-columns: 1fr; }
	.azc-cols > .azc-card { margin-bottom: 22px; }
	.azc-cols { margin-bottom: 0; }
}
@media (max-width: 720px) {
	.azc-grid-2, .azc-options { grid-template-columns: 1fr; }
	.azc-order { padding:20px 12px 48px; }
	.azc-order__main { padding:22px 18px; }
	.azc-order__title { font-size: 21px; }
	.azc-steps em { display: none; }
	.azc-steps li.is-current em { display: block; position: absolute; top: 42px; white-space: nowrap; font-size: 12px; }
	.azc-steps { margin-bottom: 44px; }
	.azc-auth__card { padding:56px 22px 28px; }
	.azc-otp input { width: 42px; height: 52px; font-size: 20px; }
	.azc-review__block dl { grid-template-columns: 1fr; gap: 0; }
	.azc-review__block dd { margin-bottom: 8px; }
	.azc-dl > div { grid-template-columns: 1fr; gap: 2px; }
	.azc-progress { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	.azc-progress li { min-width: 70px; }
	.azc-order-head__side { align-items: flex-start; }
	.azc-msg { max-width: 92%; }
	.azc-invoice__party { grid-template-columns: 1fr; }
	.azc-invoice header { flex-wrap: wrap; }
	/* Stacked table */
	.azc-table thead { display: none; }
	.azc-table, .azc-table tbody, .azc-table tr, .azc-table td { display: block; width: 100%; }
	.azc-table tr { border: 1px solid var(--az-line); border-radius:12px; margin-bottom: 10px; padding:6px 12px; background: var(--az-bg); }
	.azc-table td { border: 0; padding:7px 0; display: flex; justify-content: space-between; gap: 12px; }
	.azc-table td[data-th]::before { content: attr(data-th); color: var(--az-muted); font-size: 12px; }
	.azc-table--invoice thead, .azc-table--invoice tfoot { display: block; }
}
@media (max-width: 480px) {
	.azc-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.azc-stat { padding:14px; grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.azc-stat span { grid-row: auto; }
	.azc-result { padding:32px 18px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
	.azc-side, .azc-top, .azc-invoice-tools, .azc-back { display: none !important; }
	.azc-content { padding:0; }
	.azc-card { border: 0; }
	body.azc-panel-body { background: #fff; }
}
[data-prev] .azc-ic { transform: scaleX(1); }
.azc-welcome > * { position: relative; z-index: 1; }
@media (min-width: 901px) {
	.azc-panel { background: linear-gradient(to right, var(--az-ink) 264px, var(--az-bg) 264px); }
}
@media (max-width: 900px) {
	.azc-side { box-shadow: none; }
	.azc-panel.is-side-open .azc-side { box-shadow: 20px 0 40px rgba(0, 0, 0, -.2); }
	.azc-top__logo { display: none; }
}
@media (max-width: 720px) {
	.azc-progress { overflow: visible; padding-bottom: 26px; }
	.azc-progress li { min-width: 0; }
	.azc-progress__label { display: none; }
	.azc-progress li.is-current .azc-progress__label { display: block; position: absolute; top: 40px; white-space: nowrap; }
	.azc-progress__dot { width: 28px; height: 28px; font-size: 12px; }
	.azc-progress li:not(:last-child)::after { top: 13px; }
}

.azc-auth button, .azc-auth input, .azc-order button, .azc-order input, .azc-order select, .azc-order textarea, .azc-panel button, .azc-panel input, .azc-panel select, .azc-panel textarea, .azc-contact input, .azc-contact textarea, .azc-contact button { font-family: var(--az-font); }
body.azc-panel-body { font-family: var(--az-font); }
/* Password field + login extras */
.azc-pass { position: relative; display: block; }
.azc-pass input { padding-right: 70px; }
.azc-pass__toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--az-muted); font: 600 12px var(--az-font); cursor: pointer; padding:6px 8px; border-radius:8px; }
.azc-pass__toggle:hover { color: var(--az-ink); background: var(--az-bg); }
.azc-field > span small { font-weight: 400; color: var(--az-muted); }
.azc-auth__or { display: flex; align-items: center; gap: 12px; margin:18px 0; color: var(--az-muted); font-size: 13px; }
.azc-auth__or::before, .azc-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--az-line); }
.azc-auth__links--center { justify-content: center; }
.azc-form-msg .azc-link { margin-inline-start: 6px; }

/* ---------- Order tracking: timer + current step ---------- */
.azc-track__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; margin-bottom: 22px; }
.azc-timer { background: var(--az-ink); color: var(--az-paper); border-radius:var(--az-radius-lg); padding:20px 22px; display: flex; flex-direction: column; gap: 8px; }
.azc-timer__code { font-size: 13px; color: var(--az-cream); font-weight: 700; letter-spacing: .02em; }
.azc-timer__label { font-size: 14px; color: #CDBFAE; }
.azc-timer__units { display: flex; gap: 8px; justify-content: flex-end; flex-direction: row-reverse; }
.azc-timer__unit { flex: 1; min-width: 0; text-align: center; background: rgba(250, 247, 240, .08); border: 1px solid rgba(229, 216, 198, .18); border-radius:12px; padding:10px 4px 6px; }
.azc-timer__unit b { display: block; font-size: 28px; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.azc-timer__unit em { font-style: normal; font-size: 11px; color: #BFB2A2; }
.azc-timer__note { font-size: 12px; color: #A99C8C; }
.azc-timer.is-idle, .azc-timer.is-done { justify-content: center; }
.azc-timer.is-done strong { font-size: 24px; }
.azc-timer.is-late .azc-timer__unit b { color: #F0B8B5; }
.azc-timer--compact .azc-timer__unit b { font-size: 22px; }
.azc-now { border: 1px solid var(--az-line); border-radius:var(--az-radius-lg); padding:20px 22px; background: var(--az-bg); display: flex; flex-direction: column; gap: 6px; }
.azc-now__tag { font-size: 12px; font-weight: 700; color: var(--az-brick); }
.azc-now strong { font-size: 20px; }
.azc-now p { margin:0; font-size: 14px; line-height: 2; color: #4A403A; }
.azc-now__next { margin-top: auto; font-size: 13px; color: var(--az-muted); padding-top: 8px; border-top: 1px dashed var(--az-line); }
.azc-card--muted { background: var(--az-bg); border-style:dashed; }

/* ---------- Design files with comments ---------- */
.azc-designs { display: grid; gap: 16px; margin-top: 14px; }
.azc-design { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; padding:16px; border: 1px solid var(--az-line); border-radius:var(--az-radius-lg); background: var(--az-bg); }
.azc-design.is-latest { border-color:var(--az-gold); box-shadow: 0 0 0 1px var(--az-gold); }
.azc-design.is-final { border-color:var(--az-ok); box-shadow: 0 0 0 1px var(--az-ok); background: #F3F5EE; }
.azc-design__media { border-radius:14px; overflow: hidden; background: #fff; border: 1px solid var(--az-line); align-self: start; }
.azc-design__media img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.azc-design__file { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--az-muted); font-size: 13px; padding:12px; text-align: center; overflow-wrap: anywhere; }
.azc-design__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; align-items: flex-start; }
.azc-design__body header h4 { margin:0; font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.azc-design__body header small { color: var(--az-muted); font-size: 12px; }
.azc-design__note { margin:0; font-size: 14px; line-height: 1.9; color: #4A403A; }
.azc-comments { width: 100%; margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--az-line); }
.azc-comments h5 { margin:0 0 8px; font-size: 13px; color: var(--az-muted); }
.azc-comments ul { list-style: none; margin:0 0 10px; padding:0; display: grid; gap: 8px; }
.azc-comment { padding:10px 14px; border-radius:14px; font-size: 14px; line-height: 1.9; max-width: 90%; }
.azc-comment.is-mine { background: var(--az-paper); border: 1px solid var(--az-line); justify-self: start; }
.azc-comment.is-theirs { background: var(--az-ink); color: var(--az-paper); justify-self: end; }
.azc-comment__who { display: block; font-size: 11px; opacity: .65; }
.azc-comment p { margin:0; overflow-wrap: anywhere; }
.azc-comment-form { display: flex; gap: 8px; align-items: flex-end; }
.azc-comment-form textarea { flex: 1; min-width: 0; font: 14px/1.7 var(--az-font); border: 1px solid var(--az-line); border-radius:12px; padding:10px 12px; background: var(--az-paper); resize: vertical; color: var(--az-ink); }
.azc-comment-form textarea:focus { outline: none; border-color:var(--az-ink); }
@media (max-width: 900px) {
	.azc-track__grid { grid-template-columns: 1fr; }
	.azc-design { grid-template-columns: 1fr; }
	.azc-design__media { max-width: 320px; }
	.azc-comment-form { flex-direction: column; align-items: stretch; }
}
.azc-auth__notice { margin:0 0 14px; padding:10px 14px; border-radius:12px; background: #F8E6E4; color: #7A1012; font-size: 13px; line-height: 1.9; text-align: left; }

/* Follow-up form */
.azc-followup .azc-req { color: var(--az-brick); font-weight: 700; }
.azc-followup .azc-field small { font-weight: 400; color: var(--az-muted); font-size: 12px; }
.azc-followup .is-invalid, .azc-followup [aria-invalid="true"] { border-color:var(--az-danger) !important; }
.azc-fu__status { margin-bottom: 18px; }
.azc-fu__status legend { font-size: 14px; font-weight: 600; color: var(--az-ink); padding:0; margin-bottom: 10px; }
.azc-fu__status.is-invalid { border: 0 !important; }
.azc-fu__status.is-invalid legend { color: var(--az-danger); }
.azc-fu__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.azc-fu__chip { position: relative; cursor: pointer; }
.azc-fu__chip input { position: absolute; opacity: 0; inset:0; margin:0; cursor: pointer; }
.azc-fu__chip span { display: inline-block; padding:8px 16px; border-radius:999px; border: 1px solid var(--az-line); background: var(--az-bg); font-size: 14px; transition: background .2s, border-color .2s, color .2s; }
.azc-fu__chip:hover span { border-color:var(--az-ink); }
.azc-fu__chip input:checked + span { background: var(--az-ink); border-color:var(--az-ink); color: var(--az-paper); }
.azc-fu__chip input:focus-visible + span { outline: 2px solid var(--az-brick); outline-offset: 2px; }
.azc-fu__drop { position: relative; display: flex; align-items: center; gap: 10px; padding:14px 16px; border: 1.5px dashed var(--az-line); border-radius:14px; background: var(--az-bg); cursor: pointer; color: var(--az-muted); font-size: 14px; transition: border-color .2s; min-width: 0; }
.azc-fu__drop:hover, .azc-fu__drop:focus-within { border-color:var(--az-ink); color: var(--az-ink); }
.azc-fu__drop input { position: absolute; inset:0; opacity: 0; cursor: pointer; width: 100%; }
.azc-fu__drop .azc-ic { flex: none; color: var(--az-brick); }
.azc-fu__drop-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.azc-fu__clear { align-self: flex-start; background: none; border: 0; padding:0; color: var(--az-brick); font: 600 13px var(--az-font); cursor: pointer; text-decoration: underline; }
.azc-fu__hint { color: var(--az-muted) !important; font-size: 13px !important; }
.azc-fu__submit { margin-top: 4px; }
.azc-fu__privacy { display: flex; gap: 6px; align-items: flex-start; margin:14px 0 0; font-size: 13px; line-height: 1.9; color: var(--az-muted); }
.azc-fu__privacy .azc-ic { flex: none; margin-top: 4px; }
.azc-followup .azc-form-msg:empty { display: none; }
.azc-fu__done { text-align: center; padding:34px 10px; outline: none; }
.azc-fu__done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius:50%; background: #E4EDE0; color: #3E5641; margin-bottom: 14px; }
.azc-fu__done p { font-size: 17px; line-height: 2.2; max-width: 460px; margin:0 auto; color: var(--az-ink); }
@media (max-width: 600px) {
	.azc-followup .azc-grid-2 { grid-template-columns: 1fr; }
	.azc-fu__submit { width: 100%; }
}

/* Sign-up link & panel */
.azc-auth__switch { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--az-line); text-align: center; font-size: 14px; color: var(--az-muted); }
.azc-link--strong { font-weight: 700; color: var(--az-brick); font-size: 15px; }
.azc-auth__hint { font-size: 13px; color: var(--az-muted); }
.azc-auth [aria-invalid="true"] { border-color:var(--az-danger) !important; }
.azc-auth__admin { margin:14px 0 0; text-align: center; font-size: 12.5px; line-height: 1.9; color: var(--az-muted); }
.azc-auth__admin a { color: var(--az-ink); }

/* Order: variant cards + extra drafts stepper */
.azc-variants { margin-bottom: 22px; }
.azc-variant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 8px; }
.azc-variant { position: relative; cursor: pointer; }
.azc-variant input { position: absolute; opacity: 0; inset:0; }
.azc-variant span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding:14px 16px; border-radius:16px; border: 1px solid var(--az-line); background: var(--az-paper); transition: all .2s; }
.azc-variant strong { font-size: 15px; }
.azc-variant em { font-style: normal; font-size: 14px; color: var(--az-brick); font-weight: 700; }
.azc-variant:hover span { border-color:var(--az-ink); }
.azc-variant input:checked + span { background: var(--az-ink); color: var(--az-paper); border-color:var(--az-ink); box-shadow: 0 10px 24px rgba(30,-26,-24,-.18); }
.azc-variant input:checked + span em { color: #F1D27A; }
.azc-variant input:focus-visible + span { outline: 2px solid var(--az-brick); outline-offset: 2px; }
.azc-variants .azc-hint { display: block; margin-top: 8px; }
.azc-extra .azc-option__box { cursor: default; }
.azc-extra .azc-option__label small { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }
.azc-stepper { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; border: 1px solid var(--az-line); border-radius:999px; padding:3px; background: var(--az-paper); }
.azc-stepper button { width: 32px; height: 32px; border: 0; border-radius:50%; background: var(--az-ink); color: var(--az-paper); font-size: 18px; line-height: 1; cursor: pointer; }
.azc-stepper b { min-width: 26px; text-align: center; font-size: 16px; }

/* SEO landing pages: works grid + CTA box */
.azc-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin:18px 0 8px; }
.azc-works__item { display: block; border-radius:16px; overflow: hidden; background: #fff; border: 1px solid var(--az-line, #e6dccb); text-decoration: none !important; color: inherit; transition: transform .25s, box-shadow .25s; }
.azc-works__item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30,-26,-24,-.14); }
.azc-works__item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin:0 !important; }
.azc-works__item span { display: block; padding:8px 10px; font-size: 13px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azc-works__more { font-size: 15px; }
.azc-cta-box { margin:40px 0 10px; padding:30px; border-radius:24px; background: var(--az-ink, #1E1A18); color: var(--az-paper, #F4F0E8); text-align: center; }
.azc-cta-box p { color: inherit; margin:0 0 12px; }
.azc-cta-box__title { font-size: 24px; font-weight: 900; }
.azc-cta-box .az-btn { margin-top: 8px; background: #E8B04A !important; color: #1E1A18 !important; text-decoration: none !important; }
@media (max-width: 700px) { .azc-works { grid-template-columns: repeat(2, 1fr); } }
