* {
	margin: 0;
	padding: 0;

	box-sizing: border-box;

	outline: none;
}
img, video, canvas { display: block; }
svg { pointer-events: none; }
ul {
	list-style: none;
}
svg {
	display: block;
	fill: inherit;
	color: inherit;
}
html,
button,
input,
textarea {
	font-size: 14px;
	font-family: "Mukta", sans-serif;
}
main {
	position: relative;

	/* width: calc(330px + 15px);
	height: 720px;

	border: solid 1px #ccc; */
}

main, header, footer { max-width: 440px; margin: 0 auto; }

/* */
header {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 16px;
}

header svg {
	width: 16px;
	height: 16px;
}

header .head {
	display: flex;
	align-items: center;
	gap: 8px;
}

header .head a,
header .head button {
	border: solid 1px rgba(245, 245, 245);
	color: inherit;
	fill: inherit;

	position: relative;
	display: block;

	text-decoration: none;

	background: transparent;
	padding: 12px;
	border-radius: 8px;

	cursor: pointer;
}
header .head a:hover,
header .head button:hover {
	background: rgba(250, 250, 250);
}

header .head a.logo-link {
	background: transparent;
	border-color: transparent;
}

header .menu {
	z-index: 1;
	position: absolute;
	top: 100%;
	right: 16px;

	border: solid 1px rgba(245, 245, 245);
	border-radius: 8px;
	background: rgba(255, 255, 255, 1.0);

	overflow: hidden;

	display: none;
}
header.open .menu {
	display: block;
}

header .menu a {
	text-decoration: none;

	color: inherit;

	display: flex;
	align-items: center;
	gap: 8px;

	padding: 12px 16px;
	margin: 4px;
	border-radius: 6px;

	color: #000;
	fill: #000;
}
header .menu a:hover {
	background: rgba(245, 245, 245, 1.0);
}

/* */
section.menu {

}

section.menu ul {
	overflow-x: auto;
	overflow-y: hidden;
	
	margin-top: 24px;
	padding-bottom: 16px;

	display: flex;
	align-items: center;
	gap: 10px;

	font-size: 16px;
}

section.menu ul li { flex: none; }
section.menu ul li:first-child { padding-left: 16px; }
section.menu ul li:last-child { padding-left: 16px; }

section.menu ul a {
	color: inherit;
	fill: inherit;

	position: relative;
	display: block;

	text-decoration: none;

	background: transparent;
	padding: 6px 8px;
	border-radius: 4px;
}
section.menu ul a:hover {
	background: rgba(250, 250, 250);
}

section.menu ul a::before {
	content: "";

	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;

	height: 2px;
	background-color: black;

	display: none;
}

section.menu ul li a.focus::before {
	display: block;
}



/*  */
section.ui-block {
	margin-top: 24px;

	margin-left: 16px;
	margin-right: 16px;

	background-color: transparent;
	border: solid 1px rgba(245, 245, 245);
	border-radius: 14px;
}

section.ui-block div.head {
	padding-top: 16px;

	padding-left: 16px;
	padding-right: 16px;

	padding-bottom: 8px;

	display: flex;
	align-items: center;
	justify-content: space-between;
}

section.ui-block div.head a {
	cursor: pointer;
}

section.ui-block div.head div.options {
	display: flex;
	align-items: center;
}

section.ui-block div.head div.options a {
	color: inherit;
	fill: inherit;

	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;

	text-decoration: none;

	background: transparent;
	padding: 6px 8px;
	border-radius: 4px;
}
section.ui-block div.head div.options a:hover {
	background: rgba(250, 250, 250);
}

section.ui-block.close div.head a svg {
	transform: rotate(-90deg);
}

section.ui-block.close .closing {
	display: none;
}

section.ui-block .content { 
	position: relative;
}



/*  */
.modal {
	z-index: 99;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);

	display: none;
}

.modal .contenaire {
	position: absolute;
	left: 50%;
	bottom: 16px;

	transform: translateX(-50%);

	background: white;

	width: 440px;
	padding: 16px;

	border-top-left-radius: 14px;
	border-top-right-radius: 14px;

	border-radius: 14px;
}

.modal .content {
	padding: 16px;
	margin-top: 48px;
	overflow: auto;
	max-height: 480px;
}

.modal .close-button {
	z-index: 1;
	position: absolute;
	top: 16px;
	right: 16px;
}

.modal a {
	color: inherit;
	fill: inherit;

	position: relative;
	display: inline-block;

	text-decoration: none;

	border: solid 1px rgba(245, 245, 245);
	background: transparent;
	padding: 6px 8px;
	border-radius: 4px;

	cursor: pointer;
}
.modal a:hover {
	background: rgba(250, 250, 250);
}

.modal span.icon:first-child {
	padding: 8px;

	background: #E6EAFF;
	color: var(--color-light0);
	fill: var(--color-light0);
	border-radius: 8px;

	display: inline-block;
}

.modal .block {
	border: solid 1px rgba(240, 240, 240);
	border-radius: 14px;
}

.modal .itm {
	padding: 16px;
}

.modal span {
	display: block;
}

.modal span.amount {
	display: flex;
}


.modal label,
.modal input {
	display: block;
}

.modal input {
	width: 100%;
	padding: 8px;
}