:root {
	--smartcartpay-bg-color: #ebebeb;
	--smartcartpay-bg-disabled-color: #b8b8b860;
	--smartcartpay-divider-border: 2px solid #31313150;

	--smartcartpay-modal-bg-color: rgba(255, 255, 255, 0.9);
	--smartcartpay-modal-border: 2px solid #8a8a8a;
	--smartcartpay-modal-footer-border: 2px solid #8a8a8a;
	--smartcartpay-modal-color: #000;
	--smartcartpay-modal-close-bg-color: #000;

	--smartcartpay-address-bg-color: #cecece;
	--smartcartpay-address-selected-bg-color: rgb(251 251 251);
	--smartcartpay-address-divider-border: 2px solid #00000036;

	--smartcartpay-payment-option-bg-color: #dbdbdb;

	--smartcartpay-checkbox-border: 1px solid #1a1a1a;
	--smartcartpay-radio-border: 1px solid #1a1a1a;

	--smartcartpay-discount-bg-color: #fff;
	--smartcartpay-discount-item-bg-color: #ffffff;
	--smartcartpay-discount-item-border: 0px solid #ddd;
}

body#module-smartcartpay-payment.smartcartpay-theme-dark {
	--smartcartpay-bg-color: #171717;
	--smartcartpay-bg-disabled-color: #e9f3ff10;
	--smartcartpay-divider-border: 2px solid #313131;

	--smartcartpay-modal-bg-color: rgba(34,32,32,.9);
	--smartcartpay-modal-border: 2px solid #343434;
	--smartcartpay-modal-footer-border: 2px solid #343434;
	--smartcartpay-modal-color: #fff;
	--smartcartpay-modal-close-bg-color: transparent;

	--smartcartpay-address-bg-color: rgba(38,38,38);
	--smartcartpay-address-selected-bg-color: rgb(22,38,24);

	--smartcartpay-payment-option-bg-color: #2b2b2b;

	--smartcartpay-checkbox-border: initial;
	--smartcartpay-radio-border: initial;

	--smartcartpay-discount-bg-color: #2c2c2c;
	--smartcartpay-discount-item-bg-color: #161616;
	--smartcartpay-discount-item-border: #222222;
}

body#module-smartcartpay-payment section#wrapper .custom-radio {
	border: var(--smartcartpay-checkbox-border);
}

body#module-smartcartpay-payment section#wrapper .custom-checkbox input[type=checkbox]+span:not(.color) {
	border: var(--smartcartpay-checkbox-border);
}

body#module-smartcartpay-payment hr {
	border-top: var(--smartcartpay-divider-border);
	display: none;
}

/* Modellinoshop override */
body#module-smartcartpay-payment.shop-modellinoshop section#wrapper .btn.btn-secondary:hover {
	background-color: #a7a7a7;
}

/* WRS override */
body#module-smartcartpay-payment.shop-wrs section#wrapper .btn-secondary {
	background-color: #484848;
}

body#module-smartcartpay-payment.shop-wrs.smartcartpay-theme-dark section#wrapper {
	background-color: #000;
}

/* Center the Form inputs */
body#module-smartcartpay-payment #customer-form .form-group,
body#module-smartcartpay-payment #login-form .form-group {
	align-items: start!important;
}
body#module-smartcartpay-payment #login-form .form-group .col-form-label,
body#module-smartcartpay-payment #customer-form .form-group .col-form-label {
	margin-top: 3px;
}

.shop-logo-container {
    text-align: center;
    margin-bottom: 25px;
}
.shop-logo-container img {
    max-width: 250px;
}
#module-smartcartpay-payment #inner-wrapper,
#module-smartcashback-summary #inner-wrapper{
    max-width: 1200px;
}
#module-smartcashback-summary .card-header{
	display:block;
	border-bottom:3px solid #dedede6b;
	padding:15px;
	background:none;
}
#module-smartcashback-summary .card-header h1,
#module-smartcashback-summary .card-header h2,
#module-smartcashback-summary .card-header h3{
	padding:0;
	margin:0;
	text-align:center;
	font-size:1.6em;
	display:flex;
	align-items: center;
	justify-content: center;
}
#module-smartcashback-summary .card-header h1 .material-icons,
#module-smartcashback-summary .card-header h2 .material-icons,
#module-smartcashback-summary .card-header h3 .material-icons{
	font-size:1.8em; display:inline-block; margin:0 10px;
}
.cart-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    flex-direction: row;
}
.cart-summary-container {
	position: relative;
	margin-bottom: 20px;
	/* border: 1px solid #ddd; */
	/* border-radius: 8px; */
	/* background-color: #f9f9f9; */
}

.cart-summary-container #button_edit_cart {
	font-size: 14px;
	line-height: 28px;
}

@media (max-width: 991px) {
	.cart-summary-container {
		margin-top: 25px;
	}
}
#module-smartcartpay-payment .step-title {
        text-align:center;
        font-size: 1.6em;
        padding:5px 0;
        margin:5px;
        /* display: none; */
        display: flex;
    }
#module-smartcartpay-payment h2 .material-icons {
        margin:0 5px 0 0;
    }

.cart-summary-flag {
    padding: 10px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
}

.cart-summary-content {
	padding: 10px 0 16px 0;
}

.cart-summary-content table {
	margin: 0;
}

/* .cart-summary-content {
    padding: 20px;

} */
/*Table*/
/*Cart Summary Table*/

.table-wrapper{
	 overflow-x:auto;
}
#module-smartcashback-summary .table-wrapper{
	overflow:initial;
}
@media (max-width: 430px) {
	#module-smartcashback-summary .table-wrapper{
		overflow-x:auto;
	}
}
.cart-summary-content tr th,
.smartcashback-resume-table tr th{
    background: #408394;
    color: white;
}
#module-smartcashback-summary .table th,
#module-smartcashback-summary .table td{
  vertical-align:center !important;
}

/* .cart-summary-content tr,
.smartcashback-resume-table tr{
    background:#4083940a;
}
.cart-summary-content tr td{
	border-top: 1px solid #dee2e6;
}
.cart-summary-content tr:nth-child(even),
.smartcashback-resume-table tr:nth-child(even){
  background:#40839412;
}
.cart-summary-content tfoot tr,
.cart-summary-content tfoot tr:nth-child(even){
    background:#4083941c;
}
.cart-summary-content tfoot tr:first-child {
border-top:2px solid #40839480;
} */
.cart-summary-content tfoot tr.total-row,
.smartcashback-resume-table tfoot tr.total-row {
    background: #408394;
	color:white;
	text-wrap:nowrap;
}
.smartcashback-resume-table tfoot{
	position:sticky;
	bottom:0;
}
.cart-summary-content tfoot tr.total-row,
.smartcashback-resume-table tfoot tr.total-row {
    padding:20px 10px;
	border-top:2px solid #40839480;
	border-bottom:2px solid#40839480;
}
.cart-summary-content tfoot tr.total-taxes {
	opacity:.6;
}
.cart-summary-content tfoot tr.total-taxes .smartcart-foot-num  {
	font-style: italic;
}
.cart-summary-content .tot-qt-value{
	background:transparent;
	padding:0;
	margin:0
}

.cart-summary-foot-tot {
    font-weight: 600;
    font-size: 1.4em !important;
}
.cart-summary .cart-item {
    flex: 1;
    padding: 20px;
    background:#4083942b;
    border: none;
    text-align: center;
    font-size:1.4em;

}.align-r{
	text-align: right;
}
.smartcashback-resume-table .badge{
	padding:8px; color:white; text-transform:uppercase;
}

.cart-summary-content .discount-row td:nth-child(4),
.cart-summary-content .discount-row td:nth-child(5) {
    background:#32b15c2b;
}
.cart-summary .cart-item strong {
    display:block;
    font-size:0.8em;
    padding:0 0 5px 0;
}
#payment-form {
    width: 100% !important;
    padding: 20px;
}

.payment-options-container {
    margin-bottom: 20px;
    /* gap: 20px;
    display: flex;
	flex-wrap: wrap; */
}
.payment-option-container {
    /* margin-bottom: 20px; */
    flex: 1 1 48%;
    display: flex;
}

.payment-option-container:not(:has(.payment-option[style*="display: none"])),
.payment-option-container:not(:has(.payment-option[style*="display:none"])) {
	margin-bottom: 20px;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 9px!important;
    /* border: 3px solid #ddd; */
    /* border-radius: 8px; */
    background-color: var(--smartcartpay-payment-option-bg-color);
    transition: background-color 0.3s, box-shadow 0.3s;
    width: 100%;
}

.payment-option > div:first-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
}
.payment-additional-info .alma-fee-plan--block{
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: start !important;
    padding: 4px 0;
    margin: 4px 0;
}
.payment-additional-info .alma-fee-plan--block .alma-fee-plan--description{
    border-bottom: 1px solid lightgrey !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
    max-width: 396px;
    padding: 5px;
}

.alma-fee-plan--date{
	font-weight:bold;
	color:black;
}
.alma-fee-plan--amount{
	color:black;
}

.payment-option:hover {
    /* background-color: #f1f1f1; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.payment-option input[type="radio"] {
    margin-right: 10px;
}
.payment-option label {
    cursor: pointer;
    padding: 5px 0 0 8px;
    font-size: 1.3em;
}
.payment-option label img {
	max-height: 26px!important;
}
.payment-option label strong {
    /* margin-left: 10px; */
}
.payment-option img {
    margin-left: 10px;
    max-height: 30px;
}
.payment-option-form,
.payment-additional-info {
    padding: 10px;
    font-size: 1em;
    line-height:1.6em;
    color: #000000;
    width: 100%;
}
.ps-shown-by-js{
	text-align:center;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}
.payment-submit-button {
    display: flex;
    padding: 18px 20px;
    color: #fff;
    background-color: #2dde00;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    justify-content: center;
}
.payment-submit-button:hover {
	background-color: #27c300 !important;
}
.payment-submit-button span{
	font-size:1.6em; line-height:1.5em; margin:0 3px
}
.payment-submit-button.disabled,
.payment-submit-button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

#payment-back-to-cart{
	margin-bottom:25px;
}
#payment-back-to-cart button{
	display:flex;
	font-size:14px;
}
#payment-back-to-cart button span{
	font-size:14px; line-height:24px; margin:0 3px
}
#payment-back-to-cart .btn.btn-secondary{
	background: var(--smartcartpay-bg-color);
}
.terms-container {
	margin: 15px 0 8px 0;
}
#payment-confirmation label[for="terms_and_conditions"] {
	margin: 0;
}
#payment-confirmation label[for="terms_and_conditions"] a {
	font-weight: bolder;
	text-decoration: underline;
}

/*Account page*/
.cash-box-col{
	display:flex;
	justify-content: center;
}
.cash-box{
	display:flex;
	flex-direction:column;
	padding: 25px;
	border-radius:10px;
	margin: 25px 0 0 0;
	align-items: center;
	width: 380px;
}
.cash-box strong{font-size:1.4em;line-height:1.5em;}
.cash-box span{font-size: 3em;line-height:1.5em;}

.cash-available{
	background:#64d67e7a;
	border: 3px solid #47c664;
}
.cash-pending{
	background:#fed3136b;
	border: 3px solid #e9c319;
}

.ps_checkout-button[data-funding-source="paypal"],
.ps_checkout-button[data-funding-source="paylater"] {
	display: flex;
	justify-content: center;
}

.payment-submit-button,
.paypal-buttons-label-pay:has([allowpaymentrequest]),
.paypal-buttons-layout-horizontal:has([allowpaymentrequest]) {
	margin: 20px auto !important;
	width: 480px!important;
}
@media (max-width: 575.98px) {
	.payment-submit-button,
	.paypal-buttons-label-pay:has([allowpaymentrequest]),
	.paypal-buttons-layout-horizontal:has([allowpaymentrequest]) {
		max-width: 100% !important;
		width: 100%;
		font-size: 1.4em !important;
	}
}
.payment-submit-button:hover {
    background-color: #0056b3;
}

.cart-options{
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	gap: 15px 30px;
}
.cashback-redeem{
	padding: 20px;
	flex: 1 1 300px;
	width: auto;
	margin: 15px 0;
	border: 3px solid #dee2e6;
	background:#cce5ff2e;
}
#smartcartcashback-apply-all{
	display:flex;
	background-color: #00cf23;
	border:none;
	color:#fff;
}
#smartcartcashback-apply-all:hover{
	background-color: #00b41e;
}
#smartcartcashback-apply-all .material-icons{
	color:#fff;
	margin:0 5px 0 0;
}

/* Discount */
#module-smartcartpay-payment .discount-code-container {
	padding: 10px 20px;
	flex: 1 1 300px;
	width: auto;
	margin: 15px 0;
	border-radius: 0;
	border: 1px solid rgba(160, 160, 160, .25);
	background: var(--smartcartpay-discount-bg-color);
}

.alert-msg{
	border: 0px solid #dee2e6;
	background:white;
	padding:10px 15px;
	margin: 15px 0
}
.discount-code-container label {
    margin-right: 10px;
    display: none;
}
.discount-code-container input {
}
.discount-add-block{
	display:flex;
	justify-content: flex-start;
	align-items: flex-end;
}
/* #apply-discount-code,
.apply-btn-right{
	bottom: 0;
    padding: .6rem 1rem;
    margin: 1px 1px 1px 0;
    position: absolute;
    right: 15px;
} */
.cashback_redeem-block{
	position: relative;
}
.cashback-btn-right{
	bottom: 0;
    padding: .6rem 1rem;
    margin: 1px 1px 1px 0;
    position: absolute;
    right: 0px;
}
.discount-code-message {
    margin-top: 10px;
    color: red;
}
.applied-discount-codes, .available-cart-rules {
    margin-top: 20px;
}
.applied-discount-codes h3, .available-cart-rules h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}
.applied-discount-codes ul, .available-cart-rules ul {
    list-style-type: none;
    padding: 0;
}

.applied-discount-codes li, .available-cart-rules li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 11px 0;
    padding: 9px 20px;
    border-radius: 5px;
    /* max-width: 50%; */
    gap: 15px;
    align-content: center;
}
.applied-discount-codes li button,
.available-cart-rules li button{
	margin:0;
	line-height: 0;
	min-width: 45px;
	min-height: 45px;
}
.discount-txt-block{
	display:flex;
	align-items: center;
	width: 100%;
	gap: 15px;
	justify-content: flex-start;
	margin-right:15px
}
.applied-discount-codes li span,
.available-cart-rules li span {
	min-width:50%;
	width:auto;
	overflow:hidden;
	text-overflow:ellipsis;
}
@media (max-width: 575.98px) {
	.discount-txt-block{
		flex-direction:row;
		flex-wrap:wrap;
		gap: 10px;
	}
	.applied-discount-codes li span,
	.available-cart-rules li span {
		min-width:50%;
		width:auto;
		overflow:hidden;
		text-overflow:ellipsis;
	}
}
.available-cart-rules li {
    background-color: var(--smartcartpay-discount-item-bg-color);
    border: var(--smartcartpay-discount-item-border);
	box-shadow: 0px 0px 5px#00000040;
}
.applied-discount-codes li {
    background-color: #9fff761f;
    border: 2px solid #9fff76;
}
.remove-discount-code{
	background:red !important;
}
.apply-discount-code{
	background:#00cf23 !important;
}
.apply-discount-code:hover{
	background-color: #00b41e!important;
}
.applied-discount-codes button, .available-cart-rules button {
    cursor: pointer;
}
.apply-discount-code {
    color: #fff;
    border: none;
    padding: 5px 10px;
    /* border-radius: 4px; */
    cursor: pointer;
    transition: background-color 0.3s;
}
.remove-discount-code {
    background-color: #d10a43;
    color: #fff;
    border: none;
    padding: 5px 10px;
    /* border-radius: 4px; */
    cursor: pointer;
    transition: background-color 0.3s;
}
.remove-discount-code:hover {
    background-color: #f0628b;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-10px); }
    40%, 80% { transform: translateX(10px); }
}
#discount-code.shake {
    animation: shake 0.3s;
}


@media (max-width: 575.98px) {
    .cart-summary {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
        flex-direction: row;
    }
    .cart-summary .cart-item {
        flex-basis: 25%;
    }
	.cashback-redeem{
		padding: 20px;
		margin: 15px 0 0 0;
		}
	.discount-code-container {
		padding: 20px;
		margin: 15px 0 0 0;
	}
}

@media (max-width: 768px) {
	.cart-summary-container,
	.cart-summary-container p {
		font-size:1.1em !important;
		line-height:1.4em;
	}
	.cart-summary-container .btn{
		font-size:1.2em !important;
	}
	.form-control {
	    padding: .8rem 1rem;
	}
	.payment-option-container {
	    margin-bottom: 20px;
	    flex: 1 1 auto;
	    display: flex;
	}
}

/*
@media (max-width: 560px) {
	.cart-summary-content tr th:nth-child(5){
		min-width: 100px;
	}
	.cart-summary-content tr td:nth-child(2){
		min-width: 150px;
		font-size: 1.0em !important;
	}
	.cart-summary-content .smartcartpay-product-text{
		max-width:70%;
		display:inline-block;
	}
	.cart-summary-content tr th:nth-child(1),
    .cart-summary-content tr td:nth-child(1)
    {
        display:none;
    }
	 .cart-summary-content thead {
	    border: none;
	    clip: rect(0 0 0 0);
	    height: 1px;
	    margin: -1px;
	    overflow: hidden;
	    padding: 0;
	    position: absolute;
	    width: 1px;
	  }
	  .cart-summary-content tr {
	    display: block;
	    margin-bottom: .625em;
	  }
	  .cart-summary-content td {
	    display: block;
	    font-size: 1.0em;
	    text-align: right;
	  }
	  .cart-summary-content td::before {
	    content: attr(data-label);
	    float: left;
	    font-weight: bold;
	    text-transform: uppercase;
	    display:inline-block;
	    margin:0 5px 0 0;
	    font-size: .9em;
	    opacity: .7;
	  }
	.cart-summary-content tfoot {
		display:block;
		margin:8px 0;
	}
	.cart-summary-content tfoot tr {
		margin:0
	}
		.hidden-m{
			display:none !important;
		}
		.cart-summary-content .cart-summary-foot-tot {
		    font-weight: 600;
		    font-size: 1.8em !important;
		}
	.cart-summary-content tfoot tr.total-row,
	.smartcashback-resume-table tfoot tr.total-row {
	    padding:15px 10px;
	}
}

@media (min-width: 568px) {
		.cart-summary-content tr th:nth-child(4),
		.cart-summary-content tr th:nth-child(5){
			min-width: 130px;
		}
		.cart-summary-content .align-right{
		text-align:left;
	}
}
*/

.payment-option-container.selected {
    border: 4px solid #ffffff;
    border-radius: 0px;
    background: linear-gradient(135deg, #e9f3ff, #f0f8ff);
    box-shadow: 0 0 0 5px rgb(255 255 255 / 20%);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.payment-option-container:hover {
    box-shadow: 0 0 0 2px rgb(255 255 255 / 15%);
    transition: box-shadow 0.2s ease;
}



.smartcartpay-steps-container {
	display: flex;
	flex-direction: column;
	gap: 8px;

	/* border: 1px solid #80808080; */
	/* border-radius: 8px; */
}


.smartcartpay-steps-container .btn {
	border-radius: 4px;
}

.smartcartpay-steps-container .btn:hover,
.smartcartpay-steps-container .btn.disabled,
.smartcartpay-steps-container .btn:disabled {
	color: white!important;
}

/* .smartcartpay-steps-container .btn-secondary {
	background: #484848
} */

/* .smartcartpay-steps-container .btn-danger {
	background: #ff0000
} */

.smartcartpay-step-title {
	background-color: var(--smartcartpay-bg-color);
}

/*
.smartcartpay-step:not(:first-child) {
	border: 1px solid #80808080;
	border-width: 1px 0px 0px 0px !important;
}
	*/

.smartcartpay-step-title {
	display: flex;
	align-items: center;
}

.smartcartpay-step-title:disabled,
.smartcartpay-step-title.disabled,
#checkout-payment-step:has(#scp_tab_addresses > .tab-content.expanded) .smartcartpay-step:not(#scp_step_addresses) > .smartcartpay-step-title
{
	background-color: var(--smartcartpay-bg-disabled-color);
	cursor: not-allowed;
}
/* .smartcartpay-step:not(:disabled):not(.disabled):hover {
	background-color: #00000010;
} */

.smartcartpay-step-title:not(:disabled):not(.disabled) {
	cursor: pointer;
}

/* .smartcartpay-step-titles-container .smartcartpay-step-title:first-child {
	border-radius: 8px 8px 0 0
}

.smartcartpay-step-titles-container .smartcartpay-step-title:last-child {
	border-radius: 0 0 8px 8px
} */

.smartcartpay-step-titles-container .smartcartpay-step-title:not(:last-child) {
	border-bottom: none;
}

.smartcartpay-step-title .step-title {
	font-weight: 300;
	padding: 18px!important;
}

.smartcartpay-tab {
	width: 100%;
	/* border: solid #80808080; */
	/* border-width: 1px 0 0 0; */

	/* background: #f0f0f010; */
	margin-top: 8px;
	padding: 8px 16px 4px 16px;
	background-color: var(--smartcartpay-bg-color);
}

.smartcartpay-continue,
.smartcartpay-address button[type="submit"],
.smartcartpay-registration [data-link-action="save-customer"],
.smartcartpay-login [data-link-action="sign-in"] {
	display: block;
	font-size: large;
	margin: 16px auto 8px auto;
	width: calc(100% * (2 / 3));
	border-radius: 4px;
	padding: .8rem 1.25rem;
}

@media (max-width: 575.98px) {
	.smartcartpay-continue,
	.smartcartpay-address button[type="submit"],
	.smartcartpay-registration [data-link-action="save-customer"] {
		width: 100%;
	}
}

.identification-helper-text {
	margin-bottom: 18px;
}

.smartcartpay-completed {
	display: none
}
.smartcartpay-step.completed .smartcartpay-completed {
	display: block
}

.smartcartpay-address-selection #delivery-addresses {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

#scp_tab_addresses .address-type-title {
	margin-top: 16px;
	margin-bottom: 8px;
	margin-left: 12px;
}

#scp_tab_addresses .address-footer {
	display: flex;
	flex-direction: row;
	gap: 12px;
}

.smartcartpay-delete-address {
	padding: 16px;
}

/* The z-index seems to be always above growl */
.smartcartpay-modal {
	width: 100%;
	max-height: 100vh;

	padding: 0px 12px 12px 12px;
	border: var(--smartcartpay-modal-border);
	background-color: var(--smartcartpay-modal-bg-color);
	color: var(--smartcartpay-modal-color);
}

.smartcartpay-modal[open], .smartcartpay-modal[open] form[method="dialog"] {
	display: flex;
	flex-direction: column;
	min-height: 90vh; /* Fix for safari */
}

/* Fix for mobile being cut out */
@media (max-width: 768px) {
	.smartcartpay-modal .form-control-select {
		padding: .2rem 1rem;
	}
}

.smartcartpay-modal > form {
	overflow: hidden;
}

.smartcartpay-modal[open] form[method="dialog"] {
	height: 100%;
}

body:has(.smartcartpay-modal[open]) {
	overflow: hidden;
}

.smartcartpay-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.8);
}

.smartcartpay-modal .smartcartpay-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: lighter;
	padding: 0.8rem 0 0.8rem 0;
}

.smartcartpay-modal .smartcartpay-modal-body {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
}

.smartcartpay-modal .smartcartpay-modal-footer {
	padding: 25px 10px 10px 10px;
	margin-top: auto;
}

.smartcartpay-modal .smartcartpay-modal-footer:not(:empty) {
	border-top: var(--smartcartpay-modal-footer-border);
}

.smartcartpay-modal .btn {
	font-weight: bold;
	font-size: medium;
	padding: 8px 16px 8px 16px;
	border-radius: 6px;
}

.smartcartpay-modal .close-button {
	background-color: var(--smartcartpay-modal-close-bg-color);
    background-repeat: no-repeat;
    border: none;
	padding: 10px;
	font-size: 2em;
	color: white;
	display: none;
}

@media (max-width: 768px) {
	.smartcartpay-modal:modal {
		max-width: 100vw;
		max-height: 100vh;
	}

	.smartcartpay-modal {
		height: 100%;
		margin: 0px;
	}

	.smartcartpay-modal .close-button {
		display: block;
	}
}

@media (min-width: 768px) {
	.smartcartpay-modal {
		max-width: 600px;
	}
}

@media (min-width: 1024px) {
	.smartcartpay-modal {
		max-width: 900px;
	}
}

#smartcartpay_address_modal .smartcartpay-address {
	margin-right: 10px;
}


/* Address stuff */
.smartcartpay-addresses-container,
.smartcartpay-addresses-container > div {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.smartcartpay-address-item {
	width: 100%;
	padding: 18px;
	border-radius: 16px;
	background-color: var(--smartcartpay-address-bg-color);
}

.selected-address-delivery .smartcartpay-address-item.selected {
	background-color: var(--smartcartpay-address-selected-bg-color);
}

.smartcartpay-address-item header {
	display: flex;
	flex-direction: column;
	max-width: 150px;
	width: 100%;
}

.selected-address-invoice .address-current-selection {
	display: none;
}

.smartcartpay-address-item .address-current-selection {
	font-style: italic;
	font-weight: lighter;
	font-size: 0.8rem;
}

.smartcartpay-address-item .vr {
	max-height: 80%;
	height: auto;

	margin: 0 20px 0 20px;
	border-left: var(--smartcartpay-address-divider-border);
}

.smartcartpay-address-item .address {
	font-size: small;
}

.smartcartpay-address-item .item-actions,
.smartcartpay-address-item .item-actions > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
}

.smartcartpay-address-item .item-actions {
	margin-left: auto;
	font-size: larger;
	font-weight: 600;
}

.action-row {
	display: flex;
	justify-content: space-between;
}

.action-row .add-address {
	text-align: end;
}

.smartcartpay-green {
    color: #00ff1d;
}

@media (max-width: 578px) {
	.smartcartpay-address-item {
		padding: 13px 18px 18px 18px;
	}

	.smartcartpay-address-item header {
		max-width: 100%;
		padding: 0 0 5px 0;
	}

	.smartcartpay-address-item label.radio-block {
		margin-bottom: 0px;
		padding: 5px 0 5px 0;
	}

	.smartcartpay-address-item .address-body {
		flex-direction: column;
	}

	.smartcartpay-address-item .address {
		padding: 10px 0 0 0;
		border-top: var(--smartcartpay-address-divider-border);
	}

	.smartcartpay-address-item .vr {
		display: none;
	}

	.smartcartpay-address-item .item-actions,
	.smartcartpay-address-item .item-actions > div {
		flex-direction: row;
	}
}

/* Expanded state handling */
.smartcartpay-addresses-container .additional-addresses,
.smartcartpay-addresses-container .expanded-actions {
	display: none!important;
}

.smartcartpay-addresses-container.expanded .additional-addresses,
.smartcartpay-addresses-container.expanded .expanded-actions {
	display: flex!important;
}

.smartcartpay-addresses-container.expanded .initial-actions {
	display: none!important;
}

#scp_tab_addresses .expanded-view > div {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.tab-content .expanded-view {
	display: none
}

.tab-content.expanded .expanded-view {
	display: block
}

.tab-content.expanded .initial-view {
	display: none
}

#scp_tab_addresses .tab-content.expanded .address-status {
	display: none!important;
}

#scp_tab_addresses .tab-content:not(.expanded) .edit {
	display: none!important;
}

#scp_tab_addresses .tab-content.expanded .view {
	display: none!important;
}

.selected-invoice-container.same-or-empty {
	display: none;
}

.selected-address-invoice .smartcartpay-address-item .item-actions {
	display: none;
}

/* Summary */
#smartcartpay_address_modal .smartcartpay-address {
	margin-right: 10px;
}
#discount{
	color: #18b842;
}
.edit-cart-txt{
	font-size: 1.25em;
	font-weight: bold;
}

/* #button-edit-cart{
	background-color: #484848 !important;
} */
.summary-label,.summary-value{
  font-size: 1rem;
}
.inner-table-product-name{
	font-size:0.75rem;
}
#up-collapse-table{
	/* background-color:#1c1c1c; */
	border-top:1px solid #38383850;
	border-bottom:1px solid #38383850;
}
#down-collapse-table{
	/* background-color:#1c1c1c; */
	border-bottom:1px solid #38383850;
}
.toggle-span{
	cursor:pointer;
}
#mini-table-elem{
	margin-bottom:3px !important;
}
#button-edit-cart{
	border-radius: 4px;
}
.inner-table-product-name {
	line-height: 1.2rem;
}

.scp-overlay {
	background-color: rgba(0,0,0,0.5);
	z-index: 1;
	width: 100%;
	height: 100%;
	position: absolute;
	align-content: center;
	text-align: center;
	left: 0;
	top: 0;
}


/* Mask the radio input as a checkbox */
.radio-invoice, .radio-invoice label {
	margin-bottom: 0;
}

.radio-invoice .custom-radio {
	border-radius: 0;
}

.radio-invoice .custom-radio span {
	background-color: transparent!important;
	left: 0px;
	top: 0px;

	right: unset!important;
	bottom: unset!important;
}

.radio-invoice .custom-radio span .checkbox-checked {
	display: none;
	position: absolute;
	top: 2px;
	left: 2px;
	bottom: 0;
	right: 0;
	margin: auto;
	font-size: 10px;
}

.radio-invoice .custom-radio input[type="radio"]:checked + span,
.radio-invoice .custom-radio input[type="radio"]:checked + span .checkbox-checked,
.radio-invoice .custom-radio input[type="radio"]:checked + span i {
	display: block;
}

/* Carrier|Shipping */
.delivery-option .carrier-info > div {
	align-content: center;
}

.delivery-option label {
	margin: 0;
}

.delivery-option {
	margin-bottom: 5px;
	border-bottom: 1px solid #cbcbcb;
	padding: 15px 0;
}

.smartcartpay-delivery-options .delivery-option .carrier-logo-container div,
.smartcartpay-delivery-options .delivery-option .carrier-logo-container img {
	max-width: -webkit-fill-available!important;
	max-width: -moz-available!important;
}


@media (max-width: 575.98px) {
	.carrier-info {
		flex-direction: column;
		align-self: center;
	}

	.carrier-logo-container {
		justify-items: right;
	}
}

/* Payment */
#scp_tab_payment [paypal-mark-container] {
	display: none!important;
}

#scp_tab_payment .payment-option label {
	width: 100%;
	text-align: left;
}

.payment-option label img:where([src*="paypalobjects.com"]) {
	max-width: 40px;
    max-height: 20px;
    transform: scale(1.5);
    margin-left: 15px;
    background: #fff;
    padding: 3px;
    border-radius: 4px;
}

.smartcartpay-tab .paypal-mark img:first-child {
	margin-left: 0;
}

.payment-option label img:where([src*="google-pay.svg"]) {
	transform: scale(2.5)!important;
	padding: 0px!important;
	background: none!important;
}

/*PS-Checkout*/

.ps_checkout-info-button .popup-content {   
    background-color: #3a3a3a;   
}
/*Orders*/

.order-options{
	padding:5px 5px;
}
.order-options label{
	padding:5px 0;
}
.carrier-name{
	font-size:1.2rem;
}
.carrier-delay,.carrier-price{
	font-size:1rem;
}