/**
 * OXFIT Manager — Address Book.
 *
 * Styles the saved-address cards on My Account and the address picker on the
 * checkout page.
 */

/* -------------------------------------------------------------------------
 * My Account — saved address cards
 * ---------------------------------------------------------------------- */

.oxfit-ab__intro {
	margin: 0 0 16px;
	color: #555;
}

.oxfit-ab__empty {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px dashed #d5d5d5;
	border-radius: 6px;
	color: #666;
}

.oxfit-ab__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: 0 0 20px;
}

.oxfit-ab__card {
	position: relative;
	padding: 18px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	background: #fff;
}

.oxfit-ab__card.is-default {
	border-color: #111;
}

.oxfit-ab__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 2px 8px;
	border-radius: 10px;
	background: #111;
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.oxfit-ab__card-title {
	margin: 0 24px 8px 0;
	font-size: 15px;
	line-height: 1.3;
}

.oxfit-ab__card-body {
	margin: 0 0 14px;
	color: #444;
	font-size: 13.5px;
	font-style: normal;
	line-height: 1.6;
}

.oxfit-ab__card-actions {
	margin: 0;
	font-size: 13px;
}

.oxfit-ab__card-actions a + a {
	margin-left: 12px;
}

.oxfit-ab__card-actions .oxfit-ab__delete {
	color: #b32d2e;
}

.oxfit-ab__add {
	margin: 0;
}

/* -------------------------------------------------------------------------
 * My Account — add / edit form
 * ---------------------------------------------------------------------- */

.oxfit-ab--form h3 {
	margin: 0 0 16px;
}

.oxfit-ab-form .form-row {
	margin-bottom: 14px;
}

.oxfit-ab-form__default,
.oxfit-ab-form__actions {
	margin-top: 6px;
}

.oxfit-ab-form__actions .button {
	margin-right: 14px;
}

.oxfit-ab-form__cancel {
	font-size: 13px;
}

/* -------------------------------------------------------------------------
 * Checkout — address picker
 * ---------------------------------------------------------------------- */

.oxfit-ab-checkout {
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	background: #fff;
}

.oxfit-ab-checkout__heading {
	margin: 0 0 10px;
	font-size: 15px;
}

.oxfit-ab-checkout__select {
	margin-bottom: 10px !important;
}

.oxfit-ab-checkout__select label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 600;
}

.oxfit-ab-checkout__select select {
	width: 100%;
}

.oxfit-ab-checkout__save {
	margin-bottom: 0 !important;
}

.oxfit-ab-checkout__save label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.5;
	cursor: pointer;
}
