/* ==========================================================================
   Belle Moment — commerce layer
   Bag drawer, bag page, checkout, account, order confirmation.
   Loaded on every page because the bag drawer lives in the header.

   Layout reference: us.pandora.net — a white sheet that slides in from the
   right, a 300px summary column that stays put, and forms laid out one field
   per line in a narrow column rather than a dense grid.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Bag drawer
   -------------------------------------------------------------------------- */
.bm-bag {
	position: fixed;
	inset: 0;
	z-index: 1400;
	visibility: hidden;
	pointer-events: none;
}

.bm-bag.is-open {
	visibility: visible;
	pointer-events: auto;
}

/* Scrim. Rendered as a pseudo-element so the drawer keeps one DOM node. */
.bm-bag::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(24, 22, 20, 0.44);
	opacity: 0;
	transition: opacity 0.35s var(--bm-ease);
}

.bm-bag.is-open::before {
	opacity: 1;
}

.bm-bag__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(430px, 100vw);
	background: var(--bm-white);
	display: flex;
	flex-direction: column;
	transform: translate3d(100%, 0, 0);
	transition: transform 0.42s var(--bm-ease-out);
	box-shadow: -18px 0 44px rgba(24, 22, 20, 0.14);
	will-change: transform;
}

.bm-bag.is-open .bm-bag__panel {
	transform: translate3d(0, 0, 0);
}

.bm-bag__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.bm-bag__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border-bottom: 1px solid var(--bm-line);
	flex: 0 0 auto;
}

.bm-bag__title {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	font-family: var(--bm-font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.bm-bag__count {
	font-size: 12px;
	font-weight: 400;
	color: var(--bm-charcoal-soft);
}

.bm-bag__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-right: -8px;
	color: var(--bm-charcoal);
	transition: opacity 0.2s;
}

.bm-bag__close:hover {
	opacity: 0.55;
}

/* Free-shipping meter ----------------------------------------------------- */
.bm-bag__ship {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 13px 22px 15px;
	background: var(--bm-ivory);
	border-bottom: 1px solid var(--bm-line);
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--bm-charcoal);
	flex: 0 0 auto;
}

.bm-bag__ship svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--bm-champagne-dark);
}

.bm-bag__ship strong {
	font-weight: 600;
}

.bm-bag__bar {
	display: block;
	width: 100%;
	height: 3px;
	margin-top: 3px;
	background: var(--bm-line-strong);
	overflow: hidden;
}

.bm-bag__bar > span {
	display: block;
	height: 100%;
	background: var(--bm-champagne);
	transition: width 0.4s var(--bm-ease);
}

/* Line items -------------------------------------------------------------- */
.bm-bag__lines {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 4px 22px;
	margin: 0;
	list-style: none;
}

.bm-bagline {
	display: flex;
	gap: 15px;
	padding: 18px 0;
	border-bottom: 1px solid var(--bm-line);
}

.bm-bagline:last-child {
	border-bottom: 0;
}

.bm-bagline__media {
	flex: 0 0 88px;
	display: block;
	background: var(--bm-ivory);
	overflow: hidden;
}

.bm-bagline__media img {
	width: 88px;
	height: 88px;
	object-fit: cover;
}

.bm-bagline__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.bm-bagline__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.bm-bagline__title {
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--bm-charcoal);
}

.bm-bagline__title:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bm-bagline__remove {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: -3px -4px 0 0;
	color: var(--bm-charcoal-soft);
	transition: color 0.2s, opacity 0.2s;
}

.bm-bagline__remove:hover {
	color: var(--bm-sale);
}

.bm-bagline__remove[disabled] {
	opacity: 0.35;
	cursor: default;
}

.bm-bagline__variant {
	margin: 0;
	font-size: 11.5px;
	letter-spacing: 0.02em;
	color: var(--bm-charcoal-soft);
}

.bm-bagline__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 4px;
}

.bm-bagline__price {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

/* Quantity stepper ------------------------------------------------------- */
/* Defined here, not in catalog.css: the drawer renders one on every page. */
.bm-qty {
	display: flex;
	align-items: center;
	border: 1px solid rgba(37, 34, 31, 0.22);
}

.bm-qty__btn {
	width: 38px;
	height: 100%;
	min-height: 46px;
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
	color: var(--bm-charcoal);
}

.bm-qty__btn:hover {
	background: var(--bm-ivory);
}

.bm-qty__input {
	width: 34px;
	border: 0;
	text-align: center;
	font-family: inherit;
	font-size: 13px;
	background: transparent;
	-moz-appearance: textfield;
}

.bm-qty__input::-webkit-outer-spin-button,
.bm-qty__input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

/* Compact variant, used inside drawer and bag rows. */
.bm-qty--sm {
	border: 1px solid var(--bm-line-strong);
}

.bm-qty--sm .bm-qty__btn {
	width: 27px;
	height: 27px;
	font-size: 14px;
	line-height: 1;
}

.bm-qty--sm .bm-qty__input {
	width: 28px;
	height: 27px;
	font-size: 12px;
	border: 0;
	background: transparent;
	text-align: center;
	-moz-appearance: textfield;
}

.bm-qty--sm .bm-qty__input::-webkit-outer-spin-button,
.bm-qty--sm .bm-qty__input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.bm-bagline.is-busy {
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.15s;
}

/* Footer ------------------------------------------------------------------ */
.bm-bag__foot {
	flex: 0 0 auto;
	padding: 18px 22px calc(20px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--bm-line);
	background: var(--bm-white);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bm-bag__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	font-size: 13px;
}

.bm-bag__row em {
	font-style: normal;
	font-weight: 600;
}

.bm-bag__row--discount {
	color: var(--bm-champagne-dark);
}

.bm-bag__note {
	margin: 0;
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--bm-charcoal-soft);
}

.bm-bag__cartlink {
	display: block;
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 0;
	border-bottom: 1px solid currentColor;
	align-self: center;
	transition: opacity 0.2s;
}

.bm-bag__cartlink:hover {
	opacity: 0.6;
}

.bm-bag__account {
	margin: 0;
	font-size: 11.5px;
	text-align: center;
	color: var(--bm-charcoal-soft);
}

.bm-bag__account a {
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--bm-charcoal);
}

/* Empty state ------------------------------------------------------------- */
.bm-bag__empty {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 40px 30px;
	text-align: center;
}

.bm-bag__empty > svg {
	color: var(--bm-taupe);
}

.bm-bag__empty-title {
	margin: 6px 0 0;
	font-family: var(--bm-font-display);
	font-size: 17px;
	font-weight: 500;
}

.bm-bag__empty-note {
	margin: 0 0 12px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--bm-charcoal-soft);
	max-width: 28ch;
}

/* --------------------------------------------------------------------------
   2. Shared form primitives
   -------------------------------------------------------------------------- */
.bm-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bm-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.bm-form__between {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.bm-form__link {
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--bm-charcoal-soft);
}

.bm-form__link:hover {
	color: var(--bm-charcoal);
}

.bm-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.bm-field__label {
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--bm-charcoal-soft);
}

.bm-field__input {
	width: 100%;
	min-height: 46px;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--bm-charcoal);
	background: var(--bm-white);
	border: 1px solid var(--bm-line-strong);
	border-radius: 0;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
}

.bm-field__input:hover {
	border-color: var(--bm-taupe);
}

.bm-field__input:focus {
	outline: none;
	border-color: var(--bm-charcoal);
	box-shadow: 0 0 0 1px var(--bm-charcoal);
}

.bm-field__input:disabled {
	background: var(--bm-ivory);
	color: var(--bm-charcoal-soft);
	cursor: not-allowed;
}

.bm-field__input--area {
	min-height: 96px;
	resize: vertical;
}

.bm-field__hint {
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--bm-charcoal-soft);
}

.bm-field__error {
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--bm-sale);
}

.bm-field.has-error .bm-field__input {
	border-color: var(--bm-sale);
}

.bm-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--bm-charcoal-soft);
	cursor: pointer;
}

.bm-check input {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	margin: 2px 0 0;
	accent-color: var(--bm-charcoal);
}

.bm-check a {
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--bm-charcoal);
}

/* Notices ----------------------------------------------------------------- */
.bm-notices {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}

.bm-notice {
	margin: 0;
	padding: 12px 15px;
	font-size: 12.5px;
	line-height: 1.55;
	border-left: 2px solid var(--bm-charcoal);
	background: var(--bm-ivory);
}

.bm-notice--error {
	border-left-color: var(--bm-sale);
	background: #fbf0ef;
	color: #7d2626;
}

.bm-notice--success {
	border-left-color: #2f6b45;
	background: #eef5f0;
	color: #245036;
}

.bm-notice--info {
	border-left-color: var(--bm-champagne-dark);
	background: #faf5ec;
}

/* --------------------------------------------------------------------------
   3. Promo code
   -------------------------------------------------------------------------- */
.bm-promo {
	margin: 4px 0 2px;
}

.bm-promo__form {
	display: flex;
	gap: 0;
	border: 1px solid var(--bm-line-strong);
}

.bm-promo__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 10px 13px;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: 0;
	background: transparent;
}

.bm-promo__input:focus {
	outline: none;
	background: var(--bm-ivory);
}

.bm-promo__apply {
	flex: 0 0 auto;
	padding: 0 18px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-left: 1px solid var(--bm-line-strong);
	transition: background 0.2s, color 0.2s;
}

.bm-promo__apply:hover {
	background: var(--bm-charcoal);
	color: var(--bm-white);
}

.bm-promo__applied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 13px;
	background: #eef5f0;
	border: 1px solid #cfe3d6;
	font-size: 12px;
	color: #245036;
}

.bm-promo__applied span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 500;
	letter-spacing: 0.06em;
}

.bm-promo__clear {
	font-size: 11.5px;
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--bm-charcoal-soft);
}

.bm-promo__message {
	margin: 8px 0 0;
	font-size: 11.5px;
	line-height: 1.5;
}

.bm-promo__message.is-error {
	color: var(--bm-sale);
}

.bm-promo__message.is-ok {
	color: #245036;
}

/* --------------------------------------------------------------------------
   4. Totals block (drawer + pages)
   -------------------------------------------------------------------------- */
.bm-summary {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 4px 0 2px;
}

.bm-summary__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	font-size: 13px;
	color: var(--bm-charcoal);
}

.bm-summary__row em {
	font-style: normal;
	white-space: nowrap;
}

.bm-summary__row--discount {
	color: var(--bm-champagne-dark);
}

.bm-summary__row--total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--bm-line);
	font-size: 15px;
	font-weight: 600;
}

.bm-summary__row--total em {
	font-weight: 600;
}

.bm-summary__note {
	margin: 2px 0 0;
	font-size: 11px;
	line-height: 1.5;
	color: var(--bm-charcoal-soft);
}

/* --------------------------------------------------------------------------
   5. Bag page
   -------------------------------------------------------------------------- */
.bm-bagpage__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 348px;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.bm-bagpage__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 116px 90px;
	gap: 16px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--bm-line);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--bm-charcoal-soft);
}

.bm-bagpage__head span:last-child {
	text-align: right;
}

/* On the wide page the row is a three-column grid, not a stacked card. */
.bm-bagpage__lines .bm-bagline {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 116px 90px;
	gap: 18px;
	align-items: center;
	padding: 22px 0;
}

.bm-bagpage__lines .bm-bagline__media {
	grid-column: 1;
	flex: none;
	width: 96px;
}

.bm-bagpage__lines .bm-bagline__media img {
	width: 96px;
	height: 96px;
}

.bm-bagpage__lines .bm-bagline__body {
	grid-column: 2 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 116px 90px;
	gap: 18px;
	align-items: center;
}

.bm-bagpage__lines .bm-bagline__top {
	grid-column: 1;
	display: block;
}

.bm-bagpage__lines .bm-bagline__title {
	display: block;
	font-size: 14px;
}

.bm-bagpage__lines .bm-bagline__remove {
	display: none;
}

.bm-bagpage__lines .bm-bagline__variant {
	margin-top: 5px;
}

.bm-bagpage__lines .bm-bagline__foot {
	display: contents;
}

.bm-bagpage__lines .bm-qty {
	grid-column: 2;
	grid-row: 1;
	justify-self: start;
}

.bm-bagpage__lines .bm-bagline__price {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	font-size: 13.5px;
}

/* Re-show remove on the wide page, but as a text link under the title. */
.bm-bagpage__lines .bm-bagline__top .bm-bagline__remove {
	display: inline-flex;
	position: static;
	width: auto;
	height: auto;
	margin: 6px 0 0;
	padding: 0;
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--bm-charcoal-soft);
}

.bm-bagpage__lines .bm-bagline__top .bm-bagline__remove::after {
	content: "Remove";
	margin-left: 4px;
	font-size: 11px;
}

.bm-bagpage__lines .bm-bagline__top .bm-bagline__remove svg {
	display: none;
}

.bm-bagpage__below {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 24px;
	margin-top: 8px;
	border-top: 1px solid var(--bm-line);
}

.bm-bagpage__account {
	margin: 0;
	font-size: 12px;
	color: var(--bm-charcoal-soft);
}

.bm-bagpage__account a {
	color: var(--bm-charcoal);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bm-bagpage__aside {
	position: sticky;
	top: calc(var(--bm-header-h) + 24px);
}

/* Side card: the summary column used by bag, checkout and confirmation. */
.bm-sidecard {
	padding: 24px;
	background: var(--bm-ivory);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bm-sidecard--sticky {
	position: sticky;
	top: calc(var(--bm-header-h) + 24px);
}

.bm-sidecard__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.bm-sidecard__title {
	margin: 0;
	font-family: var(--bm-font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.bm-sidecard__edit {
	font-size: 11.5px;
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--bm-charcoal-soft);
}

.bm-sidecard__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 12px;
	line-height: 1.55;
	color: var(--bm-charcoal-soft);
}

.bm-sidecard__note svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--bm-champagne-dark);
}

.bm-sidecard__assurance {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 2px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--bm-line);
	list-style: none;
}

.bm-sidecard__assurance li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 11.5px;
	letter-spacing: 0.02em;
	color: var(--bm-charcoal-soft);
}

.bm-sidecard__assurance svg {
	flex: 0 0 auto;
	color: var(--bm-champagne-dark);
}

/* Free shipping band ------------------------------------------------------ */
.bm-shipbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px 12px;
	padding: 14px 18px;
	margin-bottom: 26px;
	background: var(--bm-ivory);
	border: 1px solid var(--bm-line);
	font-size: 12.5px;
}

.bm-shipbar svg {
	flex: 0 0 auto;
	color: var(--bm-champagne-dark);
}

.bm-shipbar__track {
	flex: 1 1 160px;
	height: 3px;
	background: var(--bm-line-strong);
	overflow: hidden;
}

.bm-shipbar__track > span {
	display: block;
	height: 100%;
	background: var(--bm-champagne);
	transition: width 0.4s var(--bm-ease);
}

.bm-shipbar--done {
	border-color: #cfe3d6;
	background: #eef5f0;
}

/* Empty bag / generic empty state ----------------------------------------- */
.bm-emptybag {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: clamp(50px, 9vw, 110px) 20px;
	max-width: 560px;
	margin: 0 auto;
}

.bm-emptybag > svg {
	color: var(--bm-taupe);
}

.bm-emptybag__title {
	margin: 6px 0 0;
	font-family: var(--bm-font-display);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 500;
}

.bm-emptybag__note {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--bm-charcoal-soft);
}

.bm-emptybag__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 10px;
}

/* Slim page head, used by the transactional pages. */
.bm-page-head--slim {
	padding: clamp(28px, 4vw, 44px) 0 clamp(20px, 2.6vw, 30px);
	border-bottom: 1px solid var(--bm-line);
	margin-bottom: clamp(26px, 3.4vw, 42px);
}

.bm-page-head--slim h1 {
	margin: 10px 0 0;
	font-family: var(--bm-font-display);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 500;
	letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   6. Checkout
   -------------------------------------------------------------------------- */
.bm-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: clamp(30px, 4.4vw, 64px);
	align-items: start;
}

.bm-checkout__form {
	display: flex;
	flex-direction: column;
	gap: clamp(26px, 3vw, 36px);
	min-width: 0;
}

.bm-checkout__signin {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 13px 16px;
	background: var(--bm-ivory);
	border: 1px solid var(--bm-line);
	font-size: 12.5px;
	color: var(--bm-charcoal-soft);
}

.bm-checkout__signin a {
	color: var(--bm-charcoal);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Numbered sections keep a long form readable: the eye gets a landmark every
   few fields instead of one undifferentiated column. */
.bm-step {
	padding-bottom: clamp(24px, 2.8vw, 32px);
	border-bottom: 1px solid var(--bm-line);
}

.bm-step:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

.bm-step__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.bm-step__num {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--bm-charcoal);
	color: var(--bm-white);
	font-size: 11.5px;
	font-weight: 600;
}

.bm-step__title {
	margin: 0;
	font-family: var(--bm-font-display);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.bm-step__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 12px 0 0;
	font-size: 11.5px;
	line-height: 1.55;
	color: var(--bm-charcoal-soft);
}

.bm-step__note svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--bm-champagne-dark);
}

/* Shipping + payment methods: radio rows built as cards. */
.bm-shipmethods,
.bm-paymethods {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bm-shipmethod,
.bm-paymethod {
	position: relative;
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 15px 17px;
	border: 1px solid var(--bm-line-strong);
	background: var(--bm-white);
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.bm-shipmethod:hover,
.bm-paymethod:hover {
	border-color: var(--bm-taupe);
}

.bm-shipmethod.is-active,
.bm-paymethod.is-active {
	border-color: var(--bm-charcoal);
	background: var(--bm-ivory);
}

/* The native radio stays in the layout for keyboard and screen-reader use,
   but is visually replaced by the ring below. */
.bm-shipmethod input,
.bm-paymethod input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}

.bm-shipmethod::before,
.bm-paymethod::before {
	content: "";
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 1px solid var(--bm-taupe);
	background: var(--bm-white);
	box-shadow: inset 0 0 0 3px var(--bm-white);
	transition: border-color 0.2s, background 0.2s;
}

.bm-shipmethod.is-active::before,
.bm-paymethod.is-active::before {
	border-color: var(--bm-charcoal);
	background: var(--bm-charcoal);
}

.bm-shipmethod input:focus-visible ~ .bm-shipmethod__body,
.bm-paymethod input:focus-visible ~ .bm-paymethod__body {
	outline: 2px solid var(--bm-champagne);
	outline-offset: 3px;
}

.bm-shipmethod__body,
.bm-paymethod__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
}

.bm-shipmethod__label,
.bm-paymethod__label {
	font-size: 13px;
	font-weight: 500;
}

.bm-shipmethod__note,
.bm-paymethod__note {
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--bm-charcoal-soft);
}

.bm-shipmethod__price {
	flex: 0 0 auto;
	font-size: 12.5px;
	font-weight: 500;
}

.bm-paymethod__mark {
	display: flex;
	align-items: center;
	gap: 3px;
	flex: 0 0 auto;
}

.bm-paymethod__mark span {
	display: block;
	width: 15px;
	height: 10px;
	border-radius: 2px;
	background: var(--bm-line-strong);
}

.bm-paymethod__mark span:first-child {
	background: var(--bm-champagne);
}

.bm-paymethod__mark--paypal {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #1a4b8c;
}

.bm-checkout__submit {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 4px;
}

.bm-checkout__submit .bm-btn {
	justify-content: space-between;
	gap: 16px;
	min-height: 54px;
	padding: 0 24px;
}

.bm-checkout__total {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.bm-btn.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.bm-checkout__terms {
	margin: 0;
	font-size: 11.5px;
	line-height: 1.6;
	color: var(--bm-charcoal-soft);
	text-align: center;
}

.bm-checkout__terms a {
	text-decoration: underline;
	text-underline-offset: 2px;
	color: var(--bm-charcoal);
}

.bm-checkout__back {
	align-self: center;
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--bm-charcoal-soft);
}

.bm-checkout__aside {
	min-width: 0;
}

/* Compact line list inside the checkout summary. */
.bm-summarylines {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 4px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--bm-line);
	list-style: none;
}

.bm-summaryline {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.bm-summaryline__media {
	position: relative;
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	background: var(--bm-white);
	overflow: visible;
}

.bm-summaryline__media img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border: 1px solid var(--bm-line);
}

.bm-summaryline__qty {
	position: absolute;
	top: -7px;
	right: -7px;
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--bm-charcoal-soft);
	color: var(--bm-white);
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1;
}

.bm-summaryline__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.bm-summaryline__title {
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.4;
}

.bm-summaryline__variant {
	font-size: 11px;
	color: var(--bm-charcoal-soft);
}

.bm-summaryline__price {
	flex: 0 0 auto;
	font-size: 12.5px;
	font-weight: 500;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   7. Auth screens
   -------------------------------------------------------------------------- */
.bm-accountpage__auth .bm-container {
	max-width: 1100px;
}

.bm-auth {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
	gap: clamp(34px, 5vw, 74px);
	align-items: center;
	padding: clamp(20px, 4vw, 60px) 0;
}

.bm-auth--single {
	grid-template-columns: minmax(0, 460px);
	justify-content: center;
}

.bm-auth__title {
	margin: 0 0 14px;
	font-family: var(--bm-font-logo);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 400;
	letter-spacing: 0.06em;
}

.bm-auth__lede {
	margin: 0 0 22px;
	max-width: 46ch;
	font-size: 14px;
	line-height: 1.75;
	color: var(--bm-charcoal-soft);
}

.bm-auth__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
}

.bm-auth__list li {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 12.5px;
	color: var(--bm-charcoal-soft);
}

.bm-auth__list svg {
	flex: 0 0 auto;
	color: var(--bm-champagne-dark);
}

.bm-auth__card {
	padding: clamp(24px, 3vw, 34px);
	background: var(--bm-ivory);
	border: 1px solid var(--bm-line);
}

.bm-auth__cardtitle {
	margin: 0 0 18px;
	font-family: var(--bm-font-display);
	font-size: 19px;
	font-weight: 600;
}

.bm-auth__note {
	margin: 0 0 18px;
	font-size: 12.5px;
	line-height: 1.65;
	color: var(--bm-charcoal-soft);
}

.bm-auth__switch {
	margin: 18px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--bm-line);
	font-size: 12.5px;
	text-align: center;
	color: var(--bm-charcoal-soft);
}

.bm-auth__switch a {
	color: var(--bm-charcoal);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   8. Account area
   -------------------------------------------------------------------------- */
.bm-account {
	display: grid;
	grid-template-columns: 232px minmax(0, 1fr);
	gap: clamp(24px, 3.4vw, 52px);
	align-items: start;
}

.bm-account__side {
	display: flex;
	flex-direction: column;
	gap: 22px;
	position: sticky;
	top: calc(var(--bm-header-h) + 24px);
}

.bm-account__who {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bm-line);
}

.bm-account__eyebrow {
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bm-charcoal-soft);
}

.bm-account__who strong {
	font-size: 15px;
	font-weight: 600;
}

.bm-account__email {
	font-size: 12px;
	color: var(--bm-charcoal-soft);
	word-break: break-word;
}

.bm-account__nav {
	display: flex;
	flex-direction: column;
}

.bm-account__nav a {
	padding: 11px 0;
	font-size: 12.5px;
	letter-spacing: 0.02em;
	color: var(--bm-charcoal-soft);
	border-bottom: 1px solid var(--bm-line);
	transition: color 0.2s, padding-left 0.2s;
}

.bm-account__nav a:hover {
	color: var(--bm-charcoal);
	padding-left: 4px;
}

.bm-account__nav a.is-active {
	color: var(--bm-charcoal);
	font-weight: 600;
}

.bm-account__back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11.5px;
	letter-spacing: 0.05em;
	color: var(--bm-charcoal-soft);
}

.bm-account__back svg {
	width: 14px;
	height: 14px;
	transform: rotate(180deg);
}

.bm-account__back:hover {
	color: var(--bm-charcoal);
}

.bm-panel {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.bm-panel__title {
	margin: 0;
	font-family: var(--bm-font-display);
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 500;
}

.bm-panel__subtitle {
	margin: 26px 0 12px;
	font-family: var(--bm-font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bm-panel__lede {
	margin: 6px 0 24px;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--bm-charcoal-soft);
	max-width: 62ch;
}

.bm-panel__note {
	margin: 16px 0 0;
	font-size: 11.5px;
	line-height: 1.6;
	color: var(--bm-charcoal-soft);
}

.bm-panel__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 11px;
	padding: 44px 20px;
	margin-top: 14px;
	border: 1px dashed var(--bm-line-strong);
	text-align: center;
}

.bm-panel__empty svg {
	color: var(--bm-taupe);
}

.bm-panel__empty p {
	margin: 0;
	font-size: 13px;
	color: var(--bm-charcoal-soft);
}

.bm-account__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 4px 0 8px;
}

.bm-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px;
	background: var(--bm-ivory);
	border: 1px solid var(--bm-line);
}

.bm-stat__value {
	font-family: var(--bm-font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
}

.bm-stat__label {
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--bm-charcoal-soft);
}

/* Orders ------------------------------------------------------------------ */
.bm-orders {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bm-order {
	border: 1px solid var(--bm-line);
}

.bm-order__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 18px;
	padding: 15px 18px;
	background: var(--bm-ivory);
	border-bottom: 1px solid var(--bm-line);
}

.bm-order__id {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
}

.bm-order__number {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.bm-order__date {
	font-size: 11.5px;
	color: var(--bm-charcoal-soft);
}

.bm-order__total {
	font-size: 13.5px;
	font-weight: 600;
}

.bm-order__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 18px;
}

.bm-order__note {
	font-size: 11.5px;
	color: var(--bm-charcoal-soft);
}

.bm-orders .bm-orderitems {
	padding: 4px 18px;
	border-bottom: 1px solid var(--bm-line);
}

.bm-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	white-space: nowrap;
	background: var(--bm-line);
	color: var(--bm-charcoal-soft);
}

.bm-status--pending {
	background: #fbf3e3;
	color: #7a5a1e;
}

.bm-status--processing {
	background: #eaf1f7;
	color: #20496b;
}

.bm-status--shipped {
	background: #eef5f0;
	color: #245036;
}

.bm-status--completed {
	background: #e9efe9;
	color: #1f4728;
}

.bm-status--cancelled {
	background: #fbf0ef;
	color: #7d2626;
}

/* --------------------------------------------------------------------------
   9. Order confirmation
   -------------------------------------------------------------------------- */
.bm-thankyou {
	padding-bottom: 40px;
}

.bm-thankyou__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	padding: clamp(10px, 2vw, 24px) 0 clamp(26px, 3vw, 36px);
}

.bm-thankyou__icon {
	display: inline-grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 6px;
	border-radius: 50%;
	background: var(--bm-ivory);
	color: var(--bm-champagne-dark);
}

.bm-thankyou__eyebrow {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--bm-champagne-dark);
}

.bm-thankyou__title {
	margin: 0;
	font-family: var(--bm-font-display);
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 500;
}

.bm-thankyou__lede {
	margin: 0;
	max-width: 56ch;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--bm-charcoal-soft);
}

.bm-thankyou__meta {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 clamp(26px, 3.2vw, 40px);
	background: var(--bm-line);
	border: 1px solid var(--bm-line);
}

.bm-thankyou__metaitem {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 16px 18px;
	background: var(--bm-white);
}

.bm-thankyou__metaitem > span {
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bm-charcoal-soft);
}

.bm-thankyou__metaitem strong {
	font-size: 13.5px;
	font-weight: 600;
}

.bm-thankyou__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(26px, 3.6vw, 52px);
	align-items: start;
}

.bm-thankyou__items {
	min-width: 0;
}

.bm-thankyou__items > .bm-sidecard__title {
	margin-bottom: 14px;
}

.bm-thankyou__totals {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--bm-line);
}

.bm-thankyou__aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.bm-thankyou__help {
	padding: 20px;
	border: 1px solid var(--bm-line);
	text-align: center;
}

.bm-thankyou__help p {
	margin: 0 0 10px;
	font-size: 12.5px;
	color: var(--bm-charcoal-soft);
}

.bm-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(28px, 3.4vw, 44px);
	padding-top: clamp(24px, 3vw, 34px);
	border-top: 1px solid var(--bm-line);
}

.bm-address {
	margin: 0;
	font-style: normal;
	font-size: 12.5px;
	line-height: 1.75;
	color: var(--bm-charcoal);
}

/* Order item list --------------------------------------------------------- */
.bm-orderitems {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bm-orderitem {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 16px 0;
	border-bottom: 1px solid var(--bm-line);
}

.bm-orderitem:last-child {
	border-bottom: 0;
}

.bm-orderitem__media {
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	object-fit: cover;
	border: 1px solid var(--bm-line);
	background: var(--bm-ivory);
}

.bm-orderitem__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.bm-orderitem__title {
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
}

.bm-orderitem__variant,
.bm-orderitem__qty {
	font-size: 11.5px;
	color: var(--bm-charcoal-soft);
}

.bm-orderitem__price {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. PDP variant additions
   -------------------------------------------------------------------------- */
.bm-variant__value {
	margin-left: 8px;
	font-style: normal;
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: none;
	color: var(--bm-charcoal-soft);
}

.bm-pdp__add.is-busy {
	opacity: 0.65;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.bm-bagpage__grid,
	.bm-checkout,
	.bm-thankyou__grid {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

@media (max-width: 1024px) {
	.bm-bagpage__grid,
	.bm-checkout,
	.bm-thankyou__grid,
	.bm-account {
		grid-template-columns: minmax(0, 1fr);
	}

	.bm-bagpage__aside,
	.bm-sidecard--sticky,
	.bm-account__side {
		position: static;
		top: auto;
	}

	.bm-account__side {
		gap: 16px;
	}

	.bm-account__nav {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 18px;
		border-bottom: 1px solid var(--bm-line);
	}

	.bm-account__nav a {
		border-bottom: 0;
		padding: 9px 0;
	}

	.bm-account__nav a.is-active {
		box-shadow: inset 0 -2px 0 var(--bm-charcoal);
	}

	.bm-account__who {
		padding-bottom: 14px;
	}

	.bm-thankyou__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bm-auth {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.bm-auth__intro {
		max-width: 62ch;
	}
}

@media (max-width: 860px) {
	/* Bag page rows collapse to the drawer layout: image, title, stepper. */
	.bm-bagpage__head {
		display: none;
	}

	.bm-bagpage__lines .bm-bagline {
		display: flex;
		gap: 15px;
		padding: 20px 0;
		align-items: flex-start;
	}

	.bm-bagpage__lines .bm-bagline__media {
		flex: 0 0 88px;
		width: 88px;
	}

	.bm-bagpage__lines .bm-bagline__media img {
		width: 88px;
		height: 88px;
	}

	.bm-bagpage__lines .bm-bagline__body {
		display: flex;
		flex-direction: column;
		gap: 6px;
		flex: 1 1 auto;
	}

	.bm-bagpage__lines .bm-bagline__top {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 10px;
	}

	.bm-bagpage__lines .bm-bagline__top .bm-bagline__remove {
		display: inline-flex;
		margin: -2px -4px 0 0;
	}

	.bm-bagpage__lines .bm-bagline__top .bm-bagline__remove::after {
		content: none;
	}

	.bm-bagpage__lines .bm-bagline__top .bm-bagline__remove svg {
		display: block;
	}

	.bm-bagpage__lines .bm-bagline__foot {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-top: 6px;
	}

	.bm-bagpage__lines .bm-qty,
	.bm-bagpage__lines .bm-bagline__price {
		grid-column: auto;
		grid-row: auto;
		justify-self: auto;
	}

	.bm-account__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bm-checkout__aside {
		order: -1;
	}

	.bm-checkout__aside .bm-sidecard {
		position: static;
	}
}

@media (max-width: 640px) {
	.bm-bag__panel {
		width: 100vw;
	}

	.bm-bag__head {
		padding: 16px 18px;
	}

	.bm-bag__ship,
	.bm-bag__lines,
	.bm-bag__foot {
		padding-left: 18px;
		padding-right: 18px;
	}

	.bm-form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.bm-sidecard {
		padding: 18px;
	}

	.bm-thankyou__meta {
		grid-template-columns: minmax(0, 1fr);
	}

	.bm-account__stats {
		grid-template-columns: minmax(0, 1fr);
	}

	.bm-checkout__submit .bm-btn {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		padding: 12px 20px;
	}

	.bm-order__head {
		gap: 10px;
	}

	.bm-orderitem__media {
		flex: 0 0 60px;
		width: 60px;
		height: 60px;
	}

	.bm-auth__card {
		padding: 20px;
	}
}

/* --------------------------------------------------------------------------
   12. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.bm-bag__panel,
	.bm-bag::before,
	.bm-bag__bar > span,
	.bm-shipbar__track > span {
		transition-duration: 0.01ms !important;
	}
}
