.sell-page {
	padding: 42px 0 120px;
}

.sell-page__container {
	max-width: 920px;
}

.sell-page__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 34px;
}

.sell-page__title {
	margin: 0;
	font-size: 30px;
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #111;
}

.sell-page__guide {
	margin-top: 10px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	color: #f95c20;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.sell-form {
	display: flex;
	flex-direction: column;
	gap: 42px;
}

.sell-section__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 14px;
}

.sell-section__title {
	margin: 0 0 14px;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 800;
	color: #111;
}

.sell-section__title-row .sell-section__title {
	margin-bottom: 0;
}

.sell-section__subtext {
	margin: -4px 0 14px;
	font-size: 14px;
	line-height: 1.45;
	color: #777;
}

.sell-section__subtext--narrow {
	max-width: 460px;
	margin-top: 12px;
}

.sell-section__link {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	color: #f95c20;
	letter-spacing: 0.03em;
	white-space: nowrap;
	text-decoration: none;
}

.sell-form__grid {
	display: grid;
	gap: 18px;
}

.sell-form__grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sell-field input,
.sell-field select,
.sell-field textarea {
	width: 100%;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	border-radius: 0;
	box-shadow: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.sell-field input:focus,
.sell-field select:focus,
.sell-field textarea:focus {
	border-color: #111;
}

.sell-field input,
.sell-field select {
	height: 50px;
	padding: 0 16px;
}

.sell-field textarea {
	padding: 16px;
	resize: vertical;
	min-height: 120px;
}

.sell-field--short {
	max-width: 320px;
}

.sell-field--full {
	max-width: 690px;
}

.sell-field--currency {
	position: relative;
}

.sell-field--currency::before {
	content: "$";
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	color: #111;
	pointer-events: none;
	z-index: 1;
}

.sell-field--currency input {
	padding-left: 30px;
}

.sell-field--address {
	max-width: 690px;
}

.sell-field--address select {
	height: 96px;
	color: #7a7a7a;
}

.sell-field--currency-inline {
	position: relative;
}

.sell-field--currency-inline::before {
	content: "$";
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: #111;
	pointer-events: none;
	z-index: 1;
}

.sell-field--currency-inline input {
	height: 48px;
	padding: 0 18px 0 32px;
	text-align: right;
	font-size: 15px;
}

.sell-field.has-error input,
.sell-field.has-error select,
.sell-field.has-error textarea,
.sell-field input.is-invalid,
.sell-field select.is-invalid,
.sell-field textarea.is-invalid {
	border-color: #d93025;
	background: #fff8f7;
}

.sell-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 320px;
	padding: 14px 0;
	border-bottom: 1px solid #ececec;
	font-size: 14px;
	font-weight: 800;
	color: #111;
}

.sell-toggle--spaced {
	margin-top: 4px;
}

.sell-switch,
.sell-region-toggle {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
}

.sell-switch {
	width: 44px;
	height: 26px;
}

.sell-region-toggle {
	width: 58px;
	height: 34px;
}

.sell-switch input,
.sell-region-toggle input {
	position: absolute;
	inset: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
	z-index: 2;
}

.sell-switch__slider,
.sell-region-toggle__slider {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease;
}

.sell-switch__slider {
	background: #111;
}

.sell-region-toggle__slider {
	background: #dedede;
}

.sell-switch__slider::before,
.sell-region-toggle__slider::before {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.18s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.sell-switch__slider::before {
	width: 22px;
	height: 22px;
	top: 2px;
	left: 2px;
}

.sell-region-toggle__slider::before {
	width: 30px;
	height: 30px;
	top: 2px;
	left: 2px;
}

.sell-switch input:checked + .sell-switch__slider {
	background: #f95c20;
}

.sell-switch input:checked + .sell-switch__slider::before {
	transform: translateX(18px);
}

.sell-region-toggle input:checked + .sell-region-toggle__slider {
	background: #111;
}

.sell-region-toggle input:checked + .sell-region-toggle__slider::before {
	transform: translateX(24px);
}

.sell-note {
	max-width: 690px;
	margin-bottom: 18px;
	padding: 16px 14px;
	border: 1px solid #f95c20;
	font-size: 14px;
	line-height: 1.45;
	color: #f95c20;
}

.sell-note strong {
	text-transform: uppercase;
}

.sell-address-picker {
	max-width: 690px;
}

.sell-address-picker__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 96px;
	padding: 0 8px 0 0;
	border: 0;
	border-bottom: 1px solid #e3e3e3;
	background: transparent;
	color: #111;
	text-align: left;
	cursor: pointer;
	font-size: 16px;
}

.sell-address-picker__trigger.has-address {
	align-items: flex-start;
	padding-top: 0;
	padding-bottom: 12px;
}

.sell-address-picker__placeholder {
	color: #7a7a7a;
	padding: 0;
}

.sell-address-picker__summary {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sell-address-picker__line {
	font-size: 14px;
	line-height: 1.42;
	color: #111;
}

.sell-address-picker__line:nth-child(4) {
	color: #666;
}

.sell-address-picker__arrow {
	font-size: 28px;
	line-height: 1;
	color: #555;
	flex: 0 0 auto;
	margin-left: 16px;
	padding-top: 22px;
}

.sell-address-modal[hidden] {
	display: none !important;
}

.sell-section--shipping-regions[hidden] {
	display: none !important;
}

.sell-address-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.sell-address-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.6);
}

.sell-address-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 840px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
}

.sell-address-modal__panel {
	display: none;
}

.sell-address-modal__panel.is-active {
	display: block;
}

.sell-address-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 26px 40px;
	border-bottom: 1px solid #e6e6e6;
}

.sell-address-modal__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 800;
	color: #111;
}

.sell-address-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 38px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.sell-address-modal__body {
	padding: 26px 40px 34px;
}

.sell-address-modal__status,
.sell-address-form__status {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid #e4e4e4;
	background: #f7f7f7;
	font-size: 14px;
	line-height: 1.45;
	color: #333;
}

.sell-address-modal__status.is-info,
.sell-address-form__status.is-info {
	border-color: #d9d9d9;
	background: #f6f6f6;
	color: #333;
}

.sell-address-modal__status.is-success,
.sell-address-form__status.is-success {
	border-color: #cfe8d2;
	background: #f4fbf4;
	color: #1f6b2a;
}

.sell-address-modal__status.is-error,
.sell-address-form__status.is-error {
	border-color: #f1c4bf;
	background: #fff6f5;
	color: #b42318;
}

.sell-address-modal__empty {
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.5;
	color: #777;
}

.sell-address-modal__add-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	background: transparent;
	padding: 0;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.sell-address-modal__add-icon {
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
}

.sell-address-modal__done {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 54px;
	margin-top: 32px;
	border: 0;
	background: #e6e6e6;
	color: #7a7a7a;
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: not-allowed;
}

.sell-address-modal__done--active {
	background: #111;
	color: #fff;
	cursor: pointer;
}

.sell-address-list {
	display: flex;
	flex-direction: column;
	margin-bottom: 26px;
}

.sell-address-card {
	position: relative;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: start;
	gap: 18px;
	width: 100%;
	padding: 18px 0;
	border: 0;
	border-bottom: 1px solid #ececec;
	background: transparent;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
	transition: opacity 0.18s ease, background-color 0.18s ease;
}

.sell-address-card:hover {
	background: transparent;
}

.sell-address-card:disabled {
	cursor: wait;
}

.sell-address-card.is-loading {
	opacity: 0.62;
}

.sell-address-card__indicator {
	position: relative;
	width: 14px;
	height: 14px;
	margin-top: 8px;
	border: 1.5px solid #8e8e8e;
	border-radius: 50%;
	background: #fff;
	flex: 0 0 auto;
	box-sizing: border-box;
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.sell-address-card.is-default .sell-address-card__indicator {
	border-color: #f95c20;
}

.sell-address-card.is-default .sell-address-card__indicator::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f95c20;
	transform: translate(-50%, -50%);
}

.sell-address-card__content {
	min-width: 0;
}

.sell-address-card__line {
	font-size: 14px;
	line-height: 1.42;
	color: #111;
}

.sell-address-card__line--muted {
	color: #666;
}

.sell-address-card__badge {
	flex: 0 0 auto;
	align-self: start;
	margin-top: 2px;
	padding: 3px 10px;
	border: 1px solid #dddddd;
	background: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #777;
	white-space: nowrap;
	transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.sell-address-card.is-default .sell-address-card__badge {
	border-color: #f95c20;
	background: #fff7f2;
	color: #f95c20;
}

.sell-address-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sell-address-form__row {
	display: grid;
	gap: 18px;
}

.sell-address-form__row--single {
	grid-template-columns: 1fr;
}

.sell-address-form__row--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sell-address-form__label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
	color: #111;
}

.sell-address-form__note {
	padding: 18px 20px;
	background: #f5f5f5;
	font-size: 14px;
	line-height: 1.55;
	color: #666;
}

.sell-address-form__footnote {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #333;
}

.sell-address-form__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 6px;
}

.sell-address-form__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	padding: 0 18px;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #111;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	flex: 0 0 auto;
}

.sell-address-form__save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 54px;
	border: 0;
	background: #111;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	flex: 1 1 auto;
}

.sell-section--shipping-regions {
	padding-top: 4px;
}

.sell-shipping-errors {
	max-width: 690px;
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid #f1c4bf;
	background: #fff6f5;
	color: #b42318;
	font-size: 14px;
	line-height: 1.45;
}

.sell-shipping-errors__item + .sell-shipping-errors__item {
	margin-top: 6px;
}

.sell-shipping-regions {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 940px;
}

.sell-shipping-region {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 220px;
	align-items: center;
	column-gap: 28px;
	padding: 28px 0;
	border-bottom: 1px solid #e7e7e7;
	background: transparent;
	transition: opacity 0.18s ease;
}

.sell-shipping-region:first-child {
	border-top: 0;
}

.sell-shipping-region__content {
	min-width: 0;
}

.sell-shipping-region__name {
	font-size: 17px;
	line-height: 1.3;
	font-weight: 800;
	color: #111;
	margin-bottom: 4px;
	transition: color 0.18s ease, opacity 0.18s ease;
}

.sell-shipping-region__meta {
	font-size: 14px;
	line-height: 1.45;
	color: #777;
	max-width: 360px;
	transition: color 0.18s ease, opacity 0.18s ease;
}

.sell-shipping-region__price {
	width: 100%;
	transition: opacity 0.18s ease;
}

.sell-shipping-region.has-error .sell-field--currency-inline input {
	border-color: #d93025;
	background: #fff8f7;
}

.sell-shipping-region__error {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.4;
	color: #b42318;
}

.sell-shipping-region.is-disabled .sell-shipping-region__name,
.sell-shipping-region.is-disabled .sell-shipping-region__meta,
.sell-shipping-region.is-disabled .sell-shipping-region__price {
	opacity: 0.45;
}

.sell-shipping-region.is-disabled .sell-field--currency-inline input {
	background: #f5f5f5;
	color: #999;
	border-color: #e2e2e2;
	cursor: not-allowed;
}

.sell-shipping-region.is-disabled .sell-field--currency-inline::before {
	color: #a5a5a5;
}

.sell-shipping-region.is-enabled .sell-field--currency-inline input {
	background: #fff;
	color: #111;
	border-color: #dedede;
}

.sell-photo-groups {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 690px;
}

.sell-photo-group__title {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #111;
}

.sell-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.sell-photo-slot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	background: #f3f3f3;
	cursor: pointer;
	overflow: hidden;
}

.sell-photo-slot--main {
	width: 220px;
	min-height: 290px;
}

.sell-photo-slot__input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 3;
}

.sell-photo-slot__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px;
	text-align: center;
	color: #555;
}

.sell-photo-slot__icon {
	font-size: 26px;
	line-height: 1;
}

.sell-photo-slot__text {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.sell-photo-slot__preview {
	display: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sell-photo-slot__remove {
	display: none;
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 4;
	height: 28px;
	padding: 0 10px;
	border: 0;
	background: rgba(17, 17, 17, 0.88);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.sell-photo-slot.has-image .sell-photo-slot__preview {
	display: block;
}

.sell-photo-slot.has-image .sell-photo-slot__placeholder {
	display: none;
}

.sell-photo-slot.has-image .sell-photo-slot__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sell-section--danger {
	padding-top: 6px;
	border-top: 1px solid #ececec;
}

.sell-danger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 690px;
	padding-top: 24px;
}

.sell-danger__content {
	min-width: 0;
}

.sell-danger__title {
	margin: 0 0 6px;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 800;
	color: #111;
}

.sell-danger__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #777;
}

.sell-danger__button {
	flex: 0 0 auto;
	height: 40px;
	padding: 0 18px;
	border: 1px solid #c62828;
	background: #fff;
	color: #c62828;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 0;
	cursor: pointer;
}

.sell-page__actions {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 10px 24px;
	background: #fff;
	border-top: 1px solid #e6e6e6;
}

.sell-page__draft,
.sell-page__publish {
	height: 40px;
	padding: 0 22px;
	border: 1px solid #111;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 0;
	cursor: pointer;
}

.sell-page__draft {
	background: #fff;
	color: #111;
}

.sell-page__publish {
	background: #111;
	color: #fff;
}

body.sell-address-modal-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.sell-page__title {
		font-size: 2.3rem;
	}

	.sell-form__grid--two,
	.sell-address-form__row--two {
		grid-template-columns: 1fr;
	}

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

	.sell-photo-slot--main {
		width: 100%;
		min-height: 260px;
	}

	.sell-shipping-region {
		grid-template-columns: 58px 1fr;
		row-gap: 16px;
		column-gap: 18px;
	}

	.sell-shipping-region__price {
		grid-column: 2;
		max-width: 260px;
	}

	.sell-address-form__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.sell-address-form__back,
	.sell-address-form__save {
		width: 100%;
	}
}

@media (max-width: 780px) {
	.sell-page {
		padding: 26px 0 108px;
	}

	.sell-page__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 24px;
	}

	.sell-page__title {
		font-size: 2rem;
	}

	.sell-form {
		gap: 30px;
	}

	.sell-section__title-row {
		flex-wrap: wrap;
		gap: 8px 16px;
	}

	.sell-field--short,
	.sell-field--full,
	.sell-field--address,
	.sell-note,
	.sell-toggle,
	.sell-photo-groups,
	.sell-address-picker,
	.sell-shipping-regions,
	.sell-shipping-errors {
		max-width: none;
	}

	.sell-field input,
	.sell-field select {
		height: 48px;
	}

	.sell-field--address select {
		height: 84px;
	}

	.sell-address-picker__trigger {
		min-height: 84px;
		padding-right: 0;
	}

	.sell-address-modal {
		padding: 12px;
		align-items: flex-end;
	}

	.sell-address-modal__dialog {
		max-width: none;
		max-height: calc(100vh - 24px);
	}

	.sell-address-modal__header {
		padding: 18px 18px;
	}

	.sell-address-modal__title {
		font-size: 20px;
	}

	.sell-address-modal__body {
		padding: 20px 18px 22px;
	}

	.sell-address-modal__done,
	.sell-address-form__save,
	.sell-address-form__back {
		height: 50px;
		font-size: 14px;
	}

	.sell-address-card {
		grid-template-columns: 20px 1fr;
		gap: 12px;
	}

	.sell-address-card__badge {
		grid-column: 2;
		justify-self: start;
		margin-top: 8px;
		white-space: normal;
	}

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

	.sell-photo-slot {
		min-height: 132px;
	}

	.sell-photo-slot--main {
		width: 100%;
		min-height: 220px;
	}

	.sell-shipping-region {
		grid-template-columns: 58px 1fr;
		row-gap: 14px;
		align-items: start;
	}

	.sell-shipping-region__price {
		grid-column: 2;
		max-width: none;
	}

	.sell-danger {
		flex-direction: column;
		align-items: flex-start;
	}

	.sell-danger__button {
		width: 100%;
		justify-content: center;
	}

	.sell-page__actions {
		padding: 10px 16px;
	}

	.sell-page__draft,
	.sell-page__publish {
		flex: 1;
	}
}
