.egifts .container-egifts .card-preview .desc-card p{font-size: 15px;font-weight: normal;}
.egifts .container-egifts .card-preview .desc-card p.card-price span{display: block;font-family: 'RobotoBold', sans-serif;font-weight: normal; font-size: 45px;font-feature-settings: 'pnum' on, 'lnum' on}
.egifts .label-card-title {font-weight: 600;color: currentColor !important;}
.egift-secondary-font {font-family: 'SegoeUI';}
.egift-secondary-font b {font-family: 'SegoeUI-Bold';font-weight: normal;}

.egifts .container-egifts .card-preview .desc-card, .egifts .card-message, .egifts .card-code {padding-left: 25px;padding-right: 25px;}
.egifts .container-egifts .card-preview{position: relative;border-bottom: 2px solid #E8E8E8;}
.egifts .container-egifts .card-preview img{display: block;width: 100%;height: auto;}
.egifts .container-egifts .card-preview .desc-card{position: absolute;bottom: 0;left: 0;width: 100%;padding-top: 25px;padding-bottom: 25px;}
.egifts .wrapper-card-preview {margin: auto;background: linear-gradient(0deg, #FBFBFD, #FBFBFD);box-shadow: 0px 4px 6px rgb(102 102 102 / 50%);border-radius: 20px;overflow: hidden;max-width: 520px;}
.egifts .card-message {border-bottom: 2px solid transparent;min-height: 0;transition: height 0.4s ease-in-out, border-color 0.4s ease-in-out;overflow: hidden;height: 0;}
.egifts .card-message .message {padding-top: 15px;padding-bottom: 15px;min-height: 56px;}
.egifts .card-message .message span {max-height: 185px;overflow: hidden;display: block;}
.egifts .card-message.card-message-show {height: 58px;max-height: 250px;border-color: #E8E8E8;overflow: hidden;}
.egifts .card-message.card-message-hide {height: 0 !important;}
.egifts .card-message p {font-size: 15px;font-weight: normal;color: #000;line-height: 26px;}
.egifts .card-code {text-align: center;padding-top: 30px;padding-bottom: 22px;}

.wrapper-cards-item img{display: block;width: 100%;height: auto;}
.container-egifts textarea{height: 75px;min-height: 0;display: block;}

.egifts .form-field-egift-option {margin-top: 40px;}
.egifts .rdc-sp-form-desc + .form-field-egift-option {margin-top: 0;}
.egifts .form-field-egift-option, .egifts .form-field {margin-bottom: 10px;}
.egifts div.wrapper-form .form-field.last-field {margin-bottom: 0;}
.egifts div.wrapper-form .form-field label {display: block;}
.egifts div.wrapper-form .form-field label + label {margin-top: 1.4em;}

#giftcard-floating-area {position: sticky;bottom: 0;background-color: var(--color-background);padding-left: 0;padding-right: 0;border-bottom: 2px solid var(--color-lines);z-index: 80;}

#egift-info-delivery {display: flex;align-items: center;}
#egift-info-delivery .rdc-icon-svg {margin-right: 6px;margin-top: -2px;width: 18px;height: 18px;}
#egift-summary-info .column-cards {display: flex;justify-content: space-between;align-items: center;}
#show_policy_page .rdc-wrapper-popup-body{height: 100%;}
#show_policy_page .rdc-wrapper-popup-footer{padding: 24px 24px 0 24px}

.egifts .button-card {min-height: 70px;}

@media screen and (max-width: 767px) {
	.egifts .container-egifts .card-preview .desc-card {transform: scale(0.64) translateY(28%);transform-origin: left center;}
	.egifts .card-code svg {margin: -14px 0 0;}
	.egifts .card-message {zoom: 0.8;}
	.egifts .card-message {padding-left: 20px;padding-right: 20px;}

	@-moz-document url-prefix() {
	  .egifts .card-message .message {padding-top: 0;padding-bottom: 0;}
	}
}

@media screen and (max-width: 991px) {
	#rdc-egift-area-a {padding: 30px 30px}
	#rdc-egift-area-wrapper {display: flex;flex-direction: column;}
	#rdc-egift-area-b {order: -1;}
	#wrapper-cards-list .wrapper-cards-item {grid-column: span 6;}
	#egift-info-delivery {margin-bottom: 15px;}
	#giftcard-floating-area {padding-top: 15px;padding-bottom: 15px;}
	.egift-column-header_title {max-width: calc(100% - 50px)}

	.egift-column-header {display: flex;justify-content: space-between;align-items: center;border-bottom: 1px solid var(--color-lines);padding: 15px 0;transition: border-color 0.2s ease;}
	.egift-column-header .egift-column-header_icon {width: 20px;height: 20px;}
	.egift-column-body {overflow: hidden;max-height: 0;animation-duration: 0.4s;}
	.egift-column-body > div {padding: 3px 3px 40px 3px;}
	
	/* opened  */
	.column-cards-item.card-opened .egift-column-header {border-bottom-color: transparent;}
	/*.column-cards-item.card-opened .egift-column-header_icon.rdc-icon-arrowdown {display: none}*/
	.column-cards-item.card-opened .egift-column-header_link {display: none}
	.column-cards-item.card-opened .egift-column-body{max-height: 100%;}

	/* close */
	.column-cards-item.card-close .egift-column-header {border-bottom-color: transparent;}
	.column-cards-item.card-close .egift-column-header_icon.rdc-icon-arrowup {display: none}
	/*.column-cards-item.card-close .egift-column-header_icon.rdc-icon-arrowdown {display: block !important}*/
	.column-cards-item.card-close .egift-column-header_link {display: none}
	.column-cards-item.card-close .egift-column-body{animation-name: advConfigurator__fadeOutUp;max-height: 0;}

	/* End */
	.column-cards-item.card-end .egift-column-header_icon.rdc-icon-arrowup {display: none}
	/*.column-cards-item.card-end .egift-column-header_icon.rdc-icon-arrowdown {display: none}*/

	/* open */
	.column-cards-item.card-open .egift-column-header {border-bottom-color: transparent;}
	/*.column-cards-item.card-open .egift-column-header_icon.rdc-icon-arrowdown {display: none}*/
	.column-cards-item.card-open .egift-column-header_icon.rdc-icon-arrowup {display: block}
	.column-cards-item.card-open .egift-column-header_link {display: none}
	.column-cards-item.card-open .egift-column-body{animation-name: advConfigurator__fadeInUp;max-height: var(--configurator-height);}
}

@media screen and (min-width: 992px) {
	#wrapper-cards-list .wrapper-cards-item {grid-column: span 3;}
	#egift-summary-info .row,
    #egift-summary-info .column-form,
    #egift-info-delivery {display: flex;align-items: center;}
    .egifts .column-cards-item:not(:last-child) {margin-bottom: 30px;}
    #giftcard-floating-area {padding-top: 20px;padding-bottom: 20px;}
}

@media screen and (min-width: 1200px) {
    #egift-summary-info .column-form {justify-content: space-around;}
}

@media screen and (min-width: 1600px) {
	.wrapper-card-preview {width: 520px;}
}

@keyframes advConfigurator__fadeOutUp {
	from {opacity: 1;max-height: var(--configurator-height);}
	to {opacity: 0;max-height: 0;}
}
@keyframes advConfigurator__fadeInUp {
	from {opacity: 0;max-height: 0;}
	to {opacity: 1;max-height: var(--configurator-height);}
}
