.ab-lic-account {
	max-width: 720px;
	margin: 0 auto 2rem;
	font-family: inherit;
}

.ab-lic-account--checkout {
	max-width: 1120px;
}

.ab-lic-account.is-hidden,
.ab-lic-checkout__single-shop.is-hidden,
.ab-lic-checkout__single-shop-pay.is-hidden,
.ab-lic-checkout__multi-note.is-hidden,
.ab-lic-checkout__intro.is-hidden,
.ab-lic-shop-count__multi-panel.is-hidden {
	display: none;
}

#ab-lic-purchase {
	scroll-margin-top: 6rem;
}

.ab-lic-account--checkout .ab-lic-account__section--purchase {
	border: 0;
	padding: 0;
	margin-bottom: 1.5rem;
	background: transparent;
	box-shadow: none;
}

.ab-lic-checkout__subtitle {
	margin: 1.25rem 0 0.75rem;
	font-size: 1.05rem;
}

.ab-lic-checkout__product-note {
	margin: -0.35rem 0 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #555;
}

.ab-lic-checkout__total {
	margin: 0.35rem 0 0;
	font-size: 1.1rem;
}

.ab-lic-account__discount.is-hidden,
.ab-lic-checkout__discount.is-hidden {
	display: none;
}

.ab-lic-checkout-success {
	max-width: 560px;
	margin: 2rem auto 3rem;
	text-align: center;
}

.ab-lic-checkout-success__lead {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #333;
}

.ab-lic-checkout-success__lead a,
.ab-lic-account__success--payment a {
	color: #111;
	text-decoration: underline;
}

.ab-lic-account__status {
	padding: 0.85rem 1rem;
	border-radius: 10px;
	margin-bottom: 1.25rem;
	background: #fafafa;
	border: 1px solid #e8e8e8;
}

.ab-lic-account__status-title,
.ab-lic-account__status-line,
.ab-lic-account__status-note {
	margin: 0;
}

.ab-lic-account__status-line,
.ab-lic-account__status-note {
	margin-top: 0.4rem;
	font-size: 0.95em;
}

.ab-lic-account__status-note {
	color: #555;
}

.ab-lic-account__status-note a {
	color: inherit;
	text-decoration: underline;
}

.ab-lic-account__status--active,
.ab-lic-account__status--expired,
.ab-lic-account__status--none {
	background: #fafafa;
	border-color: #e8e8e8;
}

.ab-lic-account__status--trial {
	background: transparent;
	border: none;
	padding-left: 0;
	padding-right: 0;
}

.ab-lic-account__section--documents {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 1.25rem 1.35rem;
}

.ab-lic-year {
	margin: 0 0 1.5rem;
}

.ab-lic-year__title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
}

.ab-lic-year-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
}

.ab-lic-year-table th,
.ab-lic-year-table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #f0f0f0;
	text-align: left;
	vertical-align: middle;
}

.ab-lic-year-table th {
	background: #fafafa;
	font-weight: 600;
	color: #111;
}

.ab-lic-year-table tr:last-child td {
	border-bottom: 0;
}

.ab-lic-year-table tr.is-active td {
	background: #fffdf5;
}

.ab-lic-year-table__name {
	display: block;
	margin-top: 0.2rem;
	color: #555;
	font-size: 0.875rem;
	font-weight: 400;
}

.ab-lic-year-table__docs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.ab-lic-btn--table {
	padding: 0.55rem 0.9rem;
	font-size: 0.8125rem;
}

.ab-lic-account__form--slot {
	margin: 1.25rem 0 1.5rem;
	padding: 1.1rem 1.2rem;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	background: #fafafa;
}

.ab-lic-account__form--slot h4 {
	margin: 0 0 0.5rem;
}

@media (max-width: 720px) {
	.ab-lic-year {
		overflow-x: auto;
	}

	.ab-lic-year-table {
		min-width: 28rem;
	}
}

.ab-lic-account__success {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	color: #111;
	font-size: 0.9375rem;
}

.ab-lic-account__section {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e8e8e8;
}

.ab-lic-account__shops,
.ab-lic-account__docs {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.ab-lic-account__shops li,
.ab-lic-account__docs li {
	padding: 0.65rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.ab-lic-account__shops strong,
.ab-lic-account__docs strong {
	display: block;
}

.ab-lic-account__docs a {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ab-lic-account__docs-divider {
	border-top: 1px solid #e8e8e8;
	margin: 0.35rem 0;
	padding: 0;
	border-bottom: none;
	list-style: none;
	height: 0;
}

.ab-lic-account input:not([type="checkbox"]):not([type="radio"]),
.ab-lic-account textarea,
.ab-lic-account select,
.ab-lic-account__form input:not([type="checkbox"]):not([type="radio"]),
.ab-lic-account__form textarea,
.ab-lic-account__form select {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid #d4d4d4;
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: #111;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ab-lic-account__form input::placeholder,
.ab-lic-account__form textarea::placeholder {
	color: #888;
}

.ab-lic-account__form input:focus,
.ab-lic-account__form textarea:focus,
.ab-lic-account__form select:focus {
	outline: none;
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.ab-lic-account__form textarea {
	min-height: 5.5rem;
	resize: vertical;
}

.ab-lic-account__form input[type="number"] {
	max-width: 8rem;
}

.ab-lic-shop-count__label {
	display: block;
	margin-bottom: 0.65rem;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.45;
	color: #333;
}

.ab-lic-segment {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	padding: 0.3rem;
	border-radius: 999px;
	background: #ececec;
}

.ab-lic-segment__indicator {
	position: absolute;
	top: 0.3rem;
	bottom: 0.3rem;
	left: 0.3rem;
	width: calc(50% - 0.3rem);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(17, 17, 17, 0.1);
	transition: transform 0.22s ease;
	pointer-events: none;
}

.ab-lic-segment__indicator.is-right {
	transform: translateX(100%);
}

.ab-lic-segment__btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 0.55rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	color: #555;
	cursor: pointer;
	transition: color 0.15s ease;
}

.ab-lic-segment__btn.is-active {
	font-weight: 500;
	color: #111;
}

.ab-lic-segment__btn:focus {
	outline: none;
}

.ab-lic-segment__btn:focus-visible {
	box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.2);
}

.ab-lic-segment__icon {
	display: inline-flex;
	line-height: 0;
	opacity: 0.85;
}

.ab-lic-shop-count__multi-panel {
	margin-top: 0.85rem;
}

.ab-lic-shop-count__multi-label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.875rem;
	font-weight: 400;
	color: #444;
}

.ab-lic-shop-count__multi-input {
	box-sizing: border-box;
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	background: #fafafa;
}

.ab-lic-shop-count__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	background: #fafafa;
	font-family: inherit;
	font-size: 1rem;
	color: #111;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ab-lic-shop-count__trigger:focus {
	outline: none;
	border-color: #c8c8c8;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.ab-lic-shop-count__trigger-main {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	min-width: 0;
	text-align: left;
}

.ab-lic-shop-count__value {
	font-weight: 600;
	font-size: 1.05rem;
}

.ab-lic-shop-count__change {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #5a5a5a;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.ab-lic-shop-count__chevron {
	flex-shrink: 0;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid #111;
	border-bottom: 2px solid #111;
	transform: rotate(-45deg) translateY(-1px);
	opacity: 0.55;
}

.ab-lic-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.ab-lic-modal.is-hidden {
	display: none;
}

body.ab-lic-modal-open {
	overflow: hidden;
}

.ab-lic-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(17, 17, 17, 0.52);
	backdrop-filter: blur(2px);
	cursor: pointer;
	animation: ab-lic-modal-fade-in 0.2s ease;
}

.ab-lic-modal__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 3rem);
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow:
		0 24px 64px rgba(17, 17, 17, 0.2),
		0 0 0 1px rgba(17, 17, 17, 0.04);
	animation: ab-lic-modal-slide-in 0.24s ease;
}

@keyframes ab-lic-modal-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes ab-lic-modal-slide-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.ab-lic-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.35rem 1.35rem 1.1rem;
	border-bottom: 1px solid #efefef;
}

.ab-lic-modal__header-text {
	min-width: 0;
}

.ab-lic-modal__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: #111;
}

.ab-lic-modal__lead {
	margin: 0.45rem 0 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #5a5a5a;
}

.ab-lic-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	margin: -0.15rem -0.15rem 0 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	color: #111;
	cursor: pointer;
}

.ab-lic-modal__close:focus {
	outline: none;
	background: #f3f3f3;
	color: #111;
}

.ab-lic-modal__body {
	padding: 1.15rem 1.35rem 1.25rem;
	overflow-y: auto;
}

.ab-lic-shop-count__section-label {
	margin: 0 0 0.65rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #777;
}

.ab-lic-modal .ab-lic-shop-count__list {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-height: 18rem;
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #d4d4d4 transparent;
}

.ab-lic-modal .ab-lic-shop-count__list::-webkit-scrollbar {
	width: 6px;
}

.ab-lic-modal .ab-lic-shop-count__list::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #d4d4d4;
}

.ab-lic-modal .ab-lic-shop-count__list-item {
	margin: 0;
	padding: 0;
}

.ab-lic-modal .ab-lic-shop-count__option {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.55rem 0.85rem;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	background: #fff;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #111;
	text-align: left;
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		background 0.15s ease,
		box-shadow 0.15s ease,
		transform 0.1s ease;
}

.ab-lic-modal .ab-lic-shop-count__option-num {
	flex-shrink: 0;
	min-width: 1.25rem;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
}

.ab-lic-modal .ab-lic-shop-count__option-text {
	flex: 1;
	font-weight: 500;
}

.ab-lic-modal .ab-lic-shop-count__option:focus {
	outline: none;
	border-color: #c8c8c8;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.ab-lic-modal .ab-lic-shop-count__option.is-selected {
	border-color: #c4c4c4;
	background: #ffcc06;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.ab-lic-modal .ab-lic-shop-count__option:active {
	transform: scale(0.99);
}

.ab-lic-shop-count__divider {
	height: 1px;
	margin: 0 0 1rem;
	background: #efefef;
}

.ab-lic-shop-count__custom-label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #444;
}

.ab-lic-shop-count__custom-input {
	box-sizing: border-box;
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: #111;
	background: #fafafa;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	-moz-appearance: textfield;
	appearance: textfield;
}

.ab-lic-shop-count__custom-input::-webkit-outer-spin-button,
.ab-lic-shop-count__custom-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ab-lic-shop-count__custom-input:focus {
	outline: none;
	border-color: #111;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.ab-lic-shop-count__preview {
	margin: 0.9rem 0 0;
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	background: #f7f7f7;
	font-size: 0.875rem;
	font-weight: 600;
	color: #333;
	text-align: center;
}

.ab-lic-modal__footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.65rem;
	padding: 1rem 1.35rem 1.25rem;
	border-top: 1px solid #efefef;
	background: #fafafa;
}

.ab-lic-btn--modal {
	min-width: 7.5rem;
	padding: 0.7rem 1.15rem;
	justify-content: center;
}

.ab-lic-modal--warning .ab-lic-modal__backdrop {
	background: rgba(17, 17, 17, 0.55);
}

.ab-lic-modal--warning .ab-lic-modal__panel--warning {
	max-width: 420px;
	padding: 1.75rem 1.6rem 1.5rem;
	align-items: center;
	text-align: center;
	gap: 1.15rem;
	background: #fff;
	color: #111;
}

.ab-lic-modal__warning-text {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.45;
	color: #111;
}

.ab-lic-modal__warning-ok {
	min-width: 7.5rem;
	padding: 0.85rem 1.5rem;
	border: none;
	border-radius: 10px;
	background: #ffcc06;
	color: #111;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.ab-lic-modal--hq-preview .ab-lic-modal__backdrop {
	background: rgba(17, 17, 17, 0.55);
}

.ab-lic-modal--hq-preview .ab-lic-modal__panel {
	max-width: 440px;
	background: #fff;
	color: #111;
}

.ab-lic-modal--hq-preview .ab-lic-modal__body {
	text-align: left;
}

.ab-lic-modal--hq-preview .ab-lic-modal__footer {
	background: #fff;
	justify-content: center;
	border-top: 1px solid #efefef;
}

.ab-lic-hq-preview {
	margin: 0;
}

.ab-lic-hq-preview dt {
	margin: 0.85rem 0 0.15rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: #111;
}

.ab-lic-hq-preview dt:first-child {
	margin-top: 0;
}

.ab-lic-hq-preview dd {
	margin: 0;
	color: #111;
	white-space: pre-wrap;
	word-break: break-word;
}

.ab-lic-field--same-company {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.ab-lic-hq-preview-link {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.9rem;
	color: #111;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 480px) {
	.ab-lic-modal--warning {
		align-items: center;
	}

	.ab-lic-modal--warning .ab-lic-modal__panel--warning {
		border-radius: 16px;
	}
}

@media (max-width: 480px) {
	.ab-lic-modal {
		padding: 0.75rem;
		align-items: flex-end;
	}

	.ab-lic-modal__panel {
		max-height: calc(100vh - 1.5rem);
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.ab-lic-modal__footer {
		flex-direction: column-reverse;
	}

	.ab-lic-btn--modal {
		width: 100%;
		min-width: 0;
	}
}

.ab-lic-checkout p {
	margin: 0 0 1rem;
}

.ab-lic-checkout label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.ab-lic-checkout__fields {
	display: grid;
	gap: 0;
}

.ab-lic-checkout__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.ab-lic-checkout__row .ab-lic-field {
	margin-bottom: 0;
}

@media (max-width: 540px) {
	.ab-lic-checkout__row {
		grid-template-columns: 1fr;
	}
}

.ab-lic-checkout .ab-lic-btn[disabled] {
	background: #e8e8e8;
	color: #888;
	cursor: not-allowed;
}

.ab-lic-field__hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	color: #666;
	line-height: 1.4;
}

.ab-lic-field--toggle {
	margin-top: 0.5rem;
}

.ab-lic-toggle {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	cursor: pointer;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.ab-lic-toggle__input {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.ab-lic-music-fields {
	margin: 0 0 1rem;
	padding: 1rem 1rem 0.25rem;
	border: 1px dashed #d4d4d4;
	border-radius: 10px;
	background: #fafafa;
}

.ab-lic-music-fields.is-hidden {
	display: none;
}

.ab-lic-company-fields .ab-lic-checkout__subtitle:first-child {
	margin-top: 0;
}

.ab-lic-checkout__single-shop .ab-lic-company-fields {
	margin-top: 0.25rem;
}

.ab-lic-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.4rem;
	border: 0;
	border-radius: 10px;
	font-family: var(--ab-font, inherit);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	background: var(--ab-yellow, #ffcc06);
	color: var(--ab-text, #111);
	-webkit-appearance: none;
	appearance: none;
}

.ab-lic-account__discount {
	color: #5a5a5a;
	font-size: 0.9rem;
}

.ab-lic-account__error {
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	color: #111;
}

.ab-lic-account__error a {
	color: inherit;
	text-decoration: underline;
}

.ab-lic-checkout__error-overlay {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(17, 17, 17, 0.55);
}

.ab-lic-checkout__error-overlay.is-hidden {
	display: none;
}

.ab-lic-checkout__error-overlay .ab-lic-account__error.ab-lic-checkout__error,
.ab-lic-checkout__error-overlay .ab-lic-checkout__error {
	position: relative;
	top: auto;
	left: auto;
	transform: none;
	isolation: auto;
	z-index: 1;
	max-width: 480px;
	width: 100%;
	margin: 0;
	background: #fff;
	border: 1px solid #111;
	border-radius: 14px;
	box-shadow: 0 24px 64px rgba(17, 17, 17, 0.2);
	padding: 1.75rem 2.5rem 1.75rem 1.75rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.45;
	color: #111;
	text-align: center;
}

.ab-lic-checkout__error::before {
	content: none;
	display: none;
}

.ab-lic-checkout__error-close {
	position: absolute;
	top: 0.6rem;
	right: 0.9rem;
	background: none;
	border: none;
	padding: 0;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	color: #111;
}

.ab-lic-checkout__error.is-hidden {
	display: none;
}

.ab-lic-account__muted {
	color: #777;
	font-size: 0.9rem;
}

.ab-lic-account__inline-form {
	display: inline;
	margin-left: 0.5rem;
}

.ab-lic-btn--small {
	padding: 0.55rem 0.85rem;
	font-size: 0.8125rem;
	line-height: 1;
}

.ab-lic-account__login {
	font-size: 0.9rem;
	color: #5a5a5a;
}

.ab-lic-account__section--add-shops {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	padding: 1.25rem 1.35rem;
}

.ab-lic-account__intro {
	margin: 0 0 1rem;
	color: #444;
	line-height: 1.55;
}

.ab-lic-account__pricing-box {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	font-size: 0.92rem;
}

/* Buy page: pricing card + black CTA only */
body.ab-body--lic-buy .ab-page__title {
	display: none;
}

.ab-lic-buy {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 1rem 2rem;
}

.ab-lic-buy__title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.ab-lic-buy__card {
	margin-bottom: 0;
}

.ab-lic-buy__card .ab-pricing__benefits-list {
	margin-bottom: 1.25rem;
}

.ab-lic-buy__action {
	margin: 0;
}

.ab-lic-btn--buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.4rem;
	border-radius: 10px;
	background: #111;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

body.ab-theme a.ab-lic-btn--buy:focus {
	color: #fff;
	background: #111;
	text-decoration: none;
}

/* Dedicated checkout page */
body.ab-body--lic-checkout .ab-page__title {
	display: none;
}

.ab-lic-account--checkout {
	max-width: 920px;
}

.ab-lic-checkout--purchase {
	margin: 0;
	padding: 0;
}

.ab-lic-checkout__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	line-height: 1.3;
}

.ab-lic-checkout__lead {
	margin: 0 0 1.25rem;
	color: #555;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.ab-lic-checkout__totals.ab-lic-account__pricing-box {
	margin-bottom: 1.5rem;
	padding: 0.9rem 1.25rem;
	border: 1px solid #e8d878;
	border-radius: 10px;
	background: #ffcc06;
}

.ab-lic-checkout__totals .ab-lic-checkout__total,
.ab-lic-checkout__totals .ab-lic-checkout__discount {
	margin: 0;
	font-size: 1.05rem;
	color: #111;
	text-align: center;
}

.ab-lic-checkout__totals .ab-lic-checkout__discount {
	font-size: 0.875rem;
	margin-top: 0.35rem;
}

.ab-lic-company-picker__trigger {
	background: #ffcc06;
	border-color: #e8d878;
}

.ab-lic-company-picker__trigger:focus {
	background: #ffe566;
	border-color: #d4c060;
}

.ab-lic-checkout__pay-btn {
	width: 100%;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	border-radius: 6px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 3px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.ab-lic-btn--stripe.ab-lic-checkout__pay-btn {
	background: #635bff;
	color: #fff;
}

.ab-lic-btn--stripe.ab-lic-checkout__pay-btn:focus:not(:disabled) {
	background: #5851ea;
	color: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 3px 8px rgba(50, 50, 93, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ab-lic-checkout .ab-lic-btn--stripe.ab-lic-checkout__pay-btn[disabled] {
	background: #635bff;
	color: #fff;
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.ab-lic-checkout__intro {
	margin: 0 0 1rem;
}

/* Plan picker */
.ab-lic-plan-picker {
	margin-bottom: 2.5rem;
}

.ab-lic-plan-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: stretch;
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
}

.ab-lic-plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	width: 100%;
	margin: 0;
	padding: 1.5rem 1.25rem 1.25rem;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	color: #111;
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

div.ab-lic-plan-card {
	cursor: default;
}

.ab-lic-plan-picker[data-plan-picker] .ab-lic-plan-card {
	cursor: pointer;
}

.ab-lic-plan-card.is-active {
	border-color: #111;
	border-width: 3px;
	background: #fffbeb;
	box-shadow: inset 0 0 0 2px #ffcc06;
}

.ab-lic-plan-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.35rem;
}

.ab-lic-plan-card__check {
	display: none;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: #111;
	color: #ffcc06;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
}

.ab-lic-plan-card.is-active .ab-lic-plan-card__check {
	display: flex;
}

.ab-lic-plan-card:focus {
	outline: none;
}

.ab-lic-plan-card:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.ab-lic-plan-card__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.ab-lic-plan-card__price {
	margin: 0 0 1rem;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.ab-lic-plan-card__price small {
	display: inline-block;
	margin-left: 0.25rem;
	font-size: 0.9rem;
	font-weight: 400;
	color: #555;
}

.ab-lic-plan-card .ab-pricing__benefits-list {
	margin: 0;
	flex: 1;
}

.ab-lic-locations--in-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.45rem;
	margin: 0 0 0.75rem;
}

.ab-lic-locations--in-card .ab-lic-locations__label {
	font-size: 0.8rem;
	font-weight: 600;
	color: #555;
}

.ab-lic-plan-card__total {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
}

.ab-lic-plan-card__discount {
	margin: 0 0 0.85rem;
	font-size: 0.8rem;
	color: #555;
}

.ab-lic-plan-card__discount.is-hidden {
	display: none;
}

.ab-lic-plan-card__total {
	display: none;
	margin: 0.75rem 0 0.5rem;
	text-align: center;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
}

.ab-lic-plan-card__cta {
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 0 1rem;
	padding: 1.45rem 1.75rem;
	border: none;
	border-radius: 10px;
	background: #ffcc06;
	color: #111;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.ab-lic-plan-card__proceed {
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 1rem 0 0;
	padding: 0.75rem 1.25rem;
	border: none;
	border-radius: 6px;
	background: #635bff;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 3px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ab-lic-plan-card__proceed:focus:not(:disabled) {
	background: #5851ea;
	color: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 3px 8px rgba(50, 50, 93, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ab-lic-plan-card__note {
	display: none;
	margin: 0 0 0.75rem;
	padding: 0 0.25rem;
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.45;
	color: #555;
	text-align: center;
}

.ab-lic-plan-card.is-active > .ab-lic-plan-card__total,
.ab-lic-plan-card.is-active > .ab-lic-plan-card__cta,
.ab-lic-plan-card.is-active > .ab-lic-plan-card__proceed {
	display: flex;
}

.ab-lic-plan-card.is-active > .ab-lic-plan-card__note {
	display: block;
}

.ab-lic-add-shops-note {
	margin: -0.5rem 0 1.25rem;
	font-size: 0.82rem;
	line-height: 1.45;
	color: #555;
}

.ab-lic-plan-card__cta--modal,
.ab-lic-modal__actions .ab-lic-plan-card__cta {
	display: flex;
	margin-top: 0;
}

.ab-lic-plan-card--modal {
	cursor: default;
	pointer-events: none;
	margin: 0;
}

.ab-lic-modal-plan {
	margin: 1rem 0 1.15rem;
}

.ab-lic-location-details {
	margin: 0 0 0.25rem;
}

@media (max-width: 700px) {
	.ab-lic-plan-cards {
		grid-template-columns: 1fr;
	}
}

.ab-lic-plan-picker .ab-lic-segment__indicator,
.ab-lic-modal__plan-picker .ab-lic-segment__indicator {
	background: #ffcc06;
	box-shadow: none;
}

.ab-lic-plan-picker .ab-lic-segment.is-unselected .ab-lic-segment__indicator {
	opacity: 0;
}

.ab-lic-plan-picker .ab-lic-segment.is-unselected {
	background: transparent;
	gap: 0.5rem;
	padding: 0;
}

.ab-lic-plan-picker .ab-lic-segment.is-unselected .ab-lic-segment__btn {
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	color: #333;
	font-weight: 500;
	padding: 0.75rem 1rem;
}

.ab-lic-plan-picker .ab-lic-segment__btn.is-active,
.ab-lic-modal__plan-picker .ab-lic-segment__btn.is-active {
	font-weight: 600;
	color: #111;
}

.ab-lic-modal__field-label {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #444;
}

.ab-lic-plan-picker__label {
	display: block;
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 0.65rem;
}

.ab-lic-plan-picker .ab-lic-field--plan {
	margin: 0;
}

.ab-lic-plan-picker__cancel-note {
	margin: 0.5rem 0 0;
	padding: 0.5rem 0 0;
	font-size: 0.825rem;
	color: #666;
	line-height: 1.5;
	text-align: center;
}

.ab-lic-plan-picker__cancel-note.is-hidden {
	display: none;
}

/* Multi-store link */
.ab-lic-checkout__multistore-link {
	margin-top: 0.75rem;
	font-size: 0.875rem;
}

.ab-lic-checkout__multistore-link a {
	color: #555;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Multi-store / details modal — above WP admin bar (99999) */
.ab-lic-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ab-lic-modal.is-hidden {
	display: none;
}

.ab-lic-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.ab-lic-modal__box {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 1.25rem 1.25rem 1.5rem;
	width: 94%;
	max-width: 420px;
	max-height: 90vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.ab-lic-modal__close {
	position: sticky;
	top: 0;
	float: right;
	z-index: 2;
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #111;
	padding: 0;
	margin-left: 0.5rem;
}

.ab-lic-modal__box h4 {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	padding-right: 1.5rem;
}

.ab-lic-modal__count-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.ab-lic-modal__count-input {
	width: 80px;
	padding: 0.5rem 0.65rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	text-align: center;
}

.ab-lic-checkout__multistore-after-pay {
	margin: 0 0 1.5rem;
	padding: 0.85rem 1rem;
	background: #f5f5f5;
	border-radius: 8px;
	font-size: 0.875rem;
	color: #444;
	line-height: 1.55;
}

.ab-lic-checkout__multistore-selected.is-hidden,
.ab-lic-checkout__multistore-after-pay.is-hidden {
	display: none;
}

.ab-lic-checkout__multistore-selected {
	margin: 0.5rem 0 1rem;
	font-size: 0.9rem;
	color: #333;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-wrap: wrap;
}

.ab-lic-checkout__multistore-reset {
	background: none;
	border: none;
	padding: 0;
	font-size: 0.825rem;
	color: #888;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
	font-family: inherit;
}

.ab-lic-modal__panel--company {
	max-width: 560px;
}

.ab-lic-modal__form {
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1;
}

.ab-lic-modal__form .ab-lic-modal__body {
	flex: 1;
}

.ab-lic-modal--slot .ab-lic-details-block__title {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
}

.ab-lic-company-picker__value {
	font-weight: 500;
	font-size: 0.9375rem;
}

/* Buy / checkout page — softer gray borders */
.ab-lic-account--checkout input:not([type="checkbox"]):not([type="radio"]),
.ab-lic-account--checkout textarea,
.ab-lic-account--checkout select {
	border-color: #e8e8e8;
}

.ab-lic-account--checkout input:not([type="checkbox"]):not([type="radio"]):focus,
.ab-lic-account--checkout textarea:focus,
.ab-lic-account--checkout select:focus {
	border-color: #c8c8c8;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.ab-lic-account--checkout .ab-lic-shop-count__trigger {
	border-color: #e8e8e8;
}

.ab-lic-account--checkout .ab-lic-music-fields {
	border-color: #e0e0e0;
}

.ab-lic-account--checkout .ab-lic-checkout__multi-note {
	border-color: #e8e8e8;
}

.ab-lic-account__pricing-box p {
	margin: 0.25rem 0;
}

.ab-lic-account__step {
	margin: 1rem 0 0.5rem;
	font-weight: 600;
	font-size: 0.9rem;
}

.ab-lic-account__step--muted {
	font-weight: 500;
	color: #666;
	margin-top: 0.75rem;
}

.ab-lic-checkout__multi-note {
	margin: 1rem 0 0;
	padding: 1rem 1.1rem;
	border-radius: 10px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	color: #444;
	line-height: 1.55;
}

.ab-lic-checkout__multi-note-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	color: #111;
}

.ab-lic-checkout__multi-note-text {
	margin: 0;
	font-size: 0.9375rem;
}

.ab-lic-btn--outline {
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 2px solid #111;
	color: #111;
	line-height: 1;
}

.ab-lic-account__badge {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}

.ab-lic-account__badge--legacy,
.ab-lic-account__badge--native {
	background: #f5f5f5;
	border: 1px solid #e8e8e8;
	color: #111;
}

.ab-lic-account__section--purchase-cta {
	margin-top: 1.25rem;
	padding: 1.1rem 1.2rem;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fafafa;
}

.ab-lic-account__contact-note {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	color: #555;
	font-size: 0.9375rem;
}

.ab-lic-account__slot {
	margin: 0.5rem 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}

.ab-lic-account__slot-header {
	padding: 1rem 1.25rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ab-lic-account__slot-header::-webkit-details-marker {
	display: none;
}

.ab-lic-account__slot-header::after {
	content: '+';
	font-size: 1.25rem;
	font-weight: 400;
	color: #888;
}

.ab-lic-account__slot[open] .ab-lic-account__slot-header::after {
	content: '−';
}

.ab-lic-account__slot-body {
	padding: 0 1.25rem 1.25rem;
}

.ab-lic-account__billing-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.ab-lic-account__billing-list li {
	margin-bottom: 0.5rem;
}

.ab-lic-account__cta {
	margin-top: 1rem;
}

/* Radio guest gate + checkout auth prompt */
.ab-lic-radio-gate {
	max-width: 36rem;
	margin: 2rem auto;
	padding: 2rem 1.5rem;
	text-align: center;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
}

.ab-lic-radio-gate__lead {
	margin: 0 0 1.5rem;
	color: #555;
	line-height: 1.5;
}

.ab-lic-radio-gate__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	justify-content: center;
	margin: 0;
}

.ab-lic-radio-gate__actions .ab-btn,
.ab-lic-radio-gate__actions .ab-header__login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.ab-lic-account__section--guest-auth {
	margin-bottom: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	background: #fafafa;
	text-align: center;
}

.ab-lic-account__section--guest-auth .ab-lic-account__intro {
	margin: 0 0 1rem;
	color: #444;
}

.ab-lic-account--checkout-guest {
	max-width: 36rem;
	margin: 0 auto;
}

/* Logged-out ?pay=1 — auth prompt only */
body.ab-body--checkout-guest #ab-lic-purchase,
body.ab-body--checkout-guest .ab-lic-checkout--purchase,
body.ab-body--checkout-guest .ab-lic-account__section--purchase {
	display: none !important;
}

body.ab-body--checkout-guest .ab-lic-account__section--guest-auth {
	margin-bottom: 0;
}

/* Style MemberPress Subscriptions table & wrapper */
.mp_wrapper {
	margin-top: 1.5rem;
	overflow-x: auto;
}

body.ab-theme #mepr-account-nav,
body.ab-theme #mepr-account-nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1.25rem;
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	border-bottom: 2px solid #f0f0f0;
}

body.ab-theme #mepr-account-nav li,
body.ab-theme #mepr-account-nav .mepr-nav-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ab-theme #mepr-account-nav a {
	display: inline-block;
	color: #666;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	padding-bottom: 0.75rem;
}

body.ab-theme #mepr-account-nav a::before {
	content: none;
}

body.ab-theme #mepr-account-nav .mepr-active-nav a,
body.ab-theme #mepr-account-nav .mepr-active-nav-tab a,
body.ab-theme #mepr-account-nav .mepr-nav-item.--active a,
body.ab-theme #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a {
	color: #111;
	border-bottom: 2px solid #ffcc06;
}

body.ab-theme .mepr-account-table,
body.ab-theme .mp_wrapper table.mepr-account-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
	font-size: 0.9375rem;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
}

body.ab-theme .mepr-account-table th,
body.ab-theme .mp_wrapper table.mepr-account-table th {
	background: #fafafa;
	border-bottom: 2px solid #e8e8e8;
	padding: 1rem;
	font-weight: 600;
	text-align: left;
	color: #111;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.8125rem;
}

body.ab-theme .mepr-account-table td,
body.ab-theme .mp_wrapper table.mepr-account-table td {
	padding: 1.1rem 1rem;
	border-bottom: 1px solid #f0f0f0;
	border-left: 0;
	vertical-align: top;
	color: #444;
}

body.ab-theme .mepr-account-table th::before,
body.ab-theme .mepr-account-table th::after,
body.ab-theme .mepr-account-table td::before,
body.ab-theme .mepr-account-table td::after,
body.ab-theme .mp_wrapper table.mepr-account-table th::before,
body.ab-theme .mp_wrapper table.mepr-account-table th::after,
body.ab-theme .mp_wrapper table.mepr-account-table td::before,
body.ab-theme .mp_wrapper table.mepr-account-table td::after {
	content: none !important;
}

.mepr-account-product {
	font-weight: 600;
	color: #111;
}

.mepr-account-product a {
	color: #111;
	text-decoration: none;
}

.mepr-account-subscr-id {
	font-family: monospace;
	font-size: 0.8125rem;
	color: #888;
	margin-top: 0.25rem;
}

body.ab-theme .mfp-hide,
body.ab-theme .mepr-white-popup {
	display: none !important;
}

body.ab-theme .mfp-content .mepr-white-popup,
body.ab-theme .mfp-content .mfp-hide {
	display: block !important;
}

body.ab-theme .mepr-account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

body.ab-theme .mepr-account-actions a.mepr-account-row-action,
body.ab-theme .mp_wrapper .mepr-account-table .mepr-account-actions a.mepr-account-row-action {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1rem;
	background: #ffcc06;
	color: #111;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.875rem;
}

#mepr-subscriptions-paging {
	margin-top: 1.5rem;
}

#mepr-subscriptions-paging a {
	color: #111;
	text-decoration: none;
	font-weight: 600;
}

[data-checkout-steps].is-hidden {
	display: none;
}

.ab-lic-checkout__step-label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #888;
	margin: 1.75rem 0 0.75rem;
}

.ab-lic-checkout__pay-btn-stripe {
	display: block;
	width: 100%;
	background: #635BFF;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0.9rem 1.5rem;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	font-family: inherit;
}

.ab-lic-checkout__pay-btn-stripe:disabled {
	opacity: 0.45;
	cursor: default;
}

.ab-lic-field--error {
	border-color: #c0392b !important;
	outline-color: #c0392b;
}

.ab-lic-notice {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.ab-lic-notice--info {
	background: #eaf4fb;
	color: #1a5276;
	border: 1px solid #aed6f1;
}

.ab-lic-notice--error {
	background: #fdedec;
	color: #922b21;
	border: 1px solid #f1948a;
}

/* Step 1 — locations stepper */
.ab-lic-locations {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0 0 1.25rem;
}

.ab-lic-locations__label {
	font-size: 0.95rem;
	font-weight: 600;
	color: #222;
}

.ab-lic-locations__control {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem;
	border: 1px solid #e0e0e0;
	border-radius: 999px;
	background: #fff;
}

.ab-lic-locations__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #f4f4f4;
	color: #111;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.ab-lic-locations__value {
	min-width: 2.25rem;
	text-align: center;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
}

.ab-lic-checkout--purchase.is-details .ab-lic-checkout__title,
.ab-lic-checkout--purchase.is-details .ab-lic-checkout__lead,
.ab-lic-plan-picker.is-hidden {
	display: none;
}

.ab-lic-details-step {
	margin-top: 0.25rem;
}

.ab-lic-details-step.is-hidden {
	display: none;
}

.ab-lic-details-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 0 0 1.25rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid #e4e4e4;
	border-radius: 12px;
	background: #fafafa;
}

.ab-lic-details-summary__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #111;
}

.ab-lic-details-summary__change {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	color: #111;
	text-decoration: underline;
	cursor: pointer;
}

.ab-lic-location-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
}

.ab-lic-location-pills.is-hidden {
	display: none;
}

.ab-lic-location-pill {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	min-width: 5.75rem;
	height: auto;
	padding: 0.45rem 1.35rem 0.5rem 0.7rem;
	border: 2px solid #d8d8d8;
	border-radius: 12px;
	background: #fff;
	color: #111;
	font: inherit;
	line-height: 1.15;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.ab-lic-location-pill__name {
	font-size: 0.7rem;
	font-weight: 600;
	color: #333;
}

.ab-lic-location-pill__num {
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
}

.ab-lic-location-pill.is-active {
	border-color: #111;
	background: #ffcc06;
}

.ab-lic-location-pill.is-active::after {
	content: '';
	position: absolute;
	right: 0.5rem;
	top: 50%;
	width: 0.32rem;
	height: 0.55rem;
	border-right: 2px solid #111;
	border-bottom: 2px solid #111;
	transform: translateY(-60%) rotate(45deg);
}

.ab-lic-details-block {
	margin: 0 0 1.35rem;
	padding: 1.1rem 1.15rem 0.35rem;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
}

.ab-lic-details-block__title {
	margin: 0 0 0.85rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
}

.ab-lic-details-step__error {
	margin: 0 0 1rem;
}

.ab-lic-details-step__error.is-hidden {
	display: none;
}

.ab-lic-details-step__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.4;
	color: #111;
	cursor: pointer;
}

.ab-lic-details-step__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.65rem;
	margin-top: 0.5rem;
}

.ab-lic-details-step__actions .is-hidden {
	display: none;
}

body.ab-theme .ab-lic-checkout:not(.is-multi-location) [data-next-location],
body.ab-theme .ab-lic-details-step__actions [data-next-location].is-hidden {
	display: none !important;
}

.ab-lic-details-step__pay {
	width: 100%;
	min-width: 0;
	justify-content: center;
}

.ab-lic-checkout__store-title {
	margin: 0.5rem 0 0.35rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #111;
}

.ab-lic-checkout__store-title.is-hidden,
[data-company-hq].is-hidden,
[data-music-differs-row].is-hidden {
	display: none;
}

.ab-lic-location-group.is-hidden {
	display: none;
}

.ab-lic-btn--ghost {
	background: #fff;
	border: 1px solid #d8d8d8;
	color: #333;
}
