body {
    overflow-x: hidden;
}

.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 300px 50vw 0 50vw;
    border-color: #2bc8c8 transparent transparent transparent;
    @media(min-width:769px) {
        border-width: 400px 50vw 0 50vw;
    }
}


#action {
    margin-top: -300px;
    @media(min-width:769px) {
        margin-top: -400px;
    }
}

.donate-input {
    width: 60%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #3b597d;
    margin-top: 16px;
}

.donate-input input[type=text] {
    border: 0;
    margin-bottom: 0;
    width: 50%;
}

.donate-input input[type=text]:focus-visible {
    outline: 0;
}

.donate-choose-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
    margin-bottom: 0;
}

.donate-choose-list .list-item {
    border: 1px solid #b6b6b6;
    background: #fff;
    color: #2bc8c8;
    width: 20%;
    flex-grow: 1;
    padding: 6px 24px;
    cursor: pointer;
    border-radius: 4px;
}

.donate-choose-list .list-item:hover, .donate-choose-list .list-item.active{
    background: #2bc8c8;
    color: #fff;
}

#custom {
    border: 1px solid #b6b6b6;
    padding: 8px;
    width: 100%;
}

.block {
    padding-left: 0;
}

.mt-1 {
    margin-top: 8px;
}

.ms-1 {
	margin-left: 8px;
}

.ms-2 {
	margin-left: 16px;
}

.me-1 {
    margin-right: 8px;
}

.me-2 {
    margin-right: 16px;
}

.mb-0-5 {
	margin-bottom: 4px;
}

.mb-3 {
    margin-bottom: 24px;
}

.d-flex {
	display: flex;
}

.justify-content-center {
	justify-content: center;
}

.flex-grow-1 {
	flex-grow: 1;
}

.text-nowrap {
    white-space: nowrap;
}

.beforeAction {
    padding-top: 65px;
}

.errors {
	display: flex;
	justify-content: center;
}

#action .form.text-left {
	min-width: 0;
}

.gift-section-row {
	grid-column: 1 / -1;
	min-width: 0;
	border-top: 1px solid #b6b6b6;
	padding-top: 1.5em;
	margin-top: 0.5em;
}

.gift-section-row .gift-swiper {
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.receive-info-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	border-top: 1px solid #b6b6b6;
	padding-top: 1.5em;
	margin-top: 1em;
}

.receive-col {
	flex: 1 1 200px;
	min-width: 0;
}

.btn-same-addr {
	display: inline-block;
	background-color: #fff;
	color: #2bc8c8;
	border: 1px solid #2bc8c8;
	border-radius: 4px;
	font-size: 0.9em;
	padding: 4px 12px;
	margin: 0 0 0.75rem 1em;
	cursor: pointer;
}

.btn-same-addr:hover {
	background-color: #2bc8c8;
	color: #fff;
}

.gift-swiper {
	padding: 0 36px;
}

.gift-swiper .swiper-slide {
	width: 150px;
}

.gift-swiper .swiper-button-prev,
.gift-swiper .swiper-button-next {
	color: #fff;
	width: 32px;
	height: 32px;
	background: #2bc8c8;
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
}

.gift-swiper .swiper-button-prev::after,
.gift-swiper .swiper-button-next::after {
	font-size: 14px;
	font-weight: bold;
}

.gift-swiper .swiper-button-prev.swiper-button-disabled,
.gift-swiper .swiper-button-next.swiper-button-disabled {
	opacity: 0.25;
}

.gift-list {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x mandatory;
}

.gift-card {
	flex: 0 0 150px;
	height: 220px;
	display: flex;
	flex-direction: column;
	border: 1px solid #b6b6b6;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	scroll-snap-align: start;
	transition: border-color 0.15s, box-shadow 0.15s;
	position: relative;
	user-select: none;
}

.gift-card:hover:not(.soldout) {
	border-color: #2bc8c8;
}

.gift-card.selected {
	border: 2px solid #2bc8c8;
	background: #f0fcfc;
}

.gift-card.soldout {
	opacity: 0.6;
	cursor: not-allowed;
}

.gift-card img {
	flex: 0 0 100px;
	width: 100%;
	height: 100px;
	object-fit: cover;
	border-radius: 4px 4px 0 0;
	display: block;
}

.gift-card.soldout img {
	filter: grayscale(100%);
}

.gift-card-body {
	flex: 1;
	padding: 8px;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.gift-card-name {
	font-size: 0.88em;
	font-weight: bold;
	margin-bottom: 4px;
	word-break: break-all;
}

.gift-card-desc {
	margin-bottom: 4px;
}

.gift-card-desc span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.78em;
	color: #666;
	line-height: 1.4;
}

.gift-card-amount {
	font-size: 0.8em;
	color: #2bc8c8;
	margin-top: auto;
}

.gift-card-check {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 20px;
	height: 20px;
	background: #2bc8c8;
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	display: none;
}

.gift-card.selected .gift-card-check {
	display: flex;
}

.gift-soldout-mask {
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 100px;
	background: rgba(0,0,0,0.45);
	border-radius: 4px 4px 0 0;
	color: #fff;
	font-size: 0.78em;
	display: flex;
	align-items: center;
	justify-content: center;
}

