/* Save & Share Cart: its saved carts, popups and list pages. Moved unchanged from style.css; loads after the theme's stylesheets. */
.woocommerce-account .woocommerce-MyAccount-content .wsc_user_carts th {
    color: #000;
    border-bottom: 1px solid #222;
}

body .wsc_save_share_cart_popup,
body .wsc_share_cart_popup,
body .wsc_replace_cart_popup {
    position: fixed;
    right: 0;
    left: 0;
    background: #fff;
    width: 94%;
    max-width: 360px;
    padding: 25px 35px 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 19%);
    margin: 0px auto;
    top: 50%;
    transform: translate(0px, -50%);
	border: none !important;
}

body .wsc_popup_head {
    box-shadow: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

body .wsc_popup_head span.wsc_share_popup_close svg {width: 15px;height: 15px;}

.wsc_save_share_cart_popup,
.wsc_share_cart_popup,
.wsc_replace_cart_popup {
    position: fixed;
    right: 0;
    left: 0;
    background: #fff;
    width: 94%;
    max-width: 500px;
    padding: 40px 20px 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 19%);
    margin: 20px auto;
    top: 50%;
    transform: translate(0px, -50%);
}

.wsc_share_cart_popup .wsc_email_fields input,
.wsc_share_cart_popup .wsc_email_fields select,
.wsc_share_cart_popup .wsc_email_fields textarea {
    width: 100%;
    border-radius: 17px;
    border: 1px solid #717171;
    padding: 4px 12px;
    font-size: 16px;
    resize: none;
}

.wsc_share_cart_popup .wsc_email_fields {
    padding-bottom: 8px;
}

.wsc_share_cart_popup .wsc_email_fields > div {
    width: 100%;
    margin: 0 0 12px;
    font-size: 0;
    text-align: left;
}

.wsc_share_cart_popup .wsc_email_fields > div:last-child {
	margin-bottom: 0;
}

.wsc_share_cart_popup .wsc_email_fields button.wsc_send_cart {
    font-size: 16px;
    background: #2b2e34;
    padding: 10px 15px !important;
    border: 1px solid #2b2e34;
    border-radius: 50px;
    color: #ffffff;
    line-height: 1.2;
    min-width: 112px;
    margin-left: 0;
    display: block;
}

body .wsc_sent_email {
    margin-bottom: 20px;
}

body .wsc_popup_head {
    box-shadow: none;
    margin: 0;
    padding: 0;
    background: transparent;
    visibility: visible;
}

body .wsc_popup_head span.wsc_share_popup_close svg {width: 15px;height: 15px;}

body .wsc_popup_head span.wsc_share_popup_close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}

body .wsc_popup_head h4 {
    width: 100%;
    font-size: 22px;
}

body .wsc_share_cart_popup .wsc_popup_footer {
    display: none !important;
}

span.wsc_popup_close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: #ECECEC;
    border-radius: 50px;
    text-align: center;
    line-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

span.wsc_popup_close svg {
    width: auto;
    height: 10px;
    fill: #000;
    color: #000;
}

span.wsc_popup_close svg path {
    stroke: #000;
    stroke-width: 3;
}

span.wsc_popup_close:hover {
    background: #000;
}

span.wsc_popup_close:hover svg path {
    stroke: #fff;
}

body .wsc_sharing_widgets {
    text-align: center;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

body .wsc_share_cart_popup .wsc_sharing_widgets {
    margin: 25px 0 10px;
	gap: 16px 45px;
    justify-content: center;
}

body .wsc_sharing_widgets > div {
    width: auto;
    flex-grow: inherit;
    margin: 0;
}

.wsc_sharing_widgets a {
    text-decoration: none !important;
}

.wsc_share_cart_popup .wsc_sharing_widgets img {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px;
    margin: 5px auto;
    border-radius: 50px;
    background: #2b2e34;
}

.wsc_share_cart_popup .wsc_sharing_widgets .fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 5px auto;
    border-radius: 50px;
    background: #2b2e34;
    color: #fff;
    font-size: 25px;
}

.wsc_sharing_widgets span {
    color: #2b2e34 !important;
    font-size: 16px;
}
.wsc_share_cart_popup .wsc_sharing_widgets .fa,
.wsc_sharing_widgets span {
    transition: background-color .2s, color .2s;
}
.wsc_sharing_widgets a:hover span,
.wsc_sharing_widgets a:focus-visible span {
    color: #82A0B9 !important;
}
.wsc_share_cart_popup .wsc_sharing_widgets a:hover .fa,
.wsc_share_cart_popup .wsc_sharing_widgets a:focus-visible .fa {
    background: #82A0B9;
}
/* Below the options (shared-carts.php): the Copy Link confirmation and "Create a new link". */
.wsc_share_cart_popup .wsc_sharing_widgets .share-message,
.wsc_share_cart_popup .wsc_sharing_widgets .pse-share-reset {
    flex-basis: 100%;
    margin: 0;
}
.wsc_share_cart_popup .wsc_sharing_widgets .share-message {
    font-size: 14px;
    color: #2b2e34;
}
.wsc_share_cart_popup .wsc_sharing_widgets .share-message.error {
    color: #a00;
}

body .wsc_save_popup_content {
    text-align: center;
}

body .wsc_save_popup_content .wsc-form-field {
    width: 100%;
    margin: 0;
}

body .wsc_save_popup_content label {
    width: 100%;
}

body .wsc_save_popup_content input.wsc_save_cart_title {
    display: block;
    width: 100%;
    border: 1px solid #212529;
    border-radius: 30px;
    padding: 5px 20px;
    height: 44px;
    line-height: normal;
    margin: 0 0 15px 0;
}

body .wsc_save_popup_content .wsc-form-field button {
    width: calc(50% - 10px);
}

.wsc_modal_content {
    max-height: calc(100vh - 64px) !important;
    max-width: calc(100% - 30px);
    width: 580px;
    padding: 40px;
    overflow-y: auto;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    position: relative;
    text-align: center;
}

.wsc_modal_overlay {
    left: 0;
    top: 0;
    position: fixed;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 100%;
    z-index: 9999;
    bottom: 0;
    background-color: rgba(0, 0, 0, .8);
    justify-content: center;
    align-items: center;
    pointer-events: all;
    display: flex;
}

body.admin-bar .wsc_modal_overlay {
    height: calc(100vh - 32px);
}

.wsc_modal_content p {
    font-size: 18px;
}

.wsc-saved-cart-table .product-img img {
	height: 50px !important;
	object-fit: contain;
}

.wsc-saved-cart-form span.toggle-icon img {
    height: 10px;
    width: 10px;
    object-fit: contain;
    transform: rotate(90deg);
}

.wsc-saved-cart-form .room-summary-label .room-name {
    color: #212529;
    opacity: 0.5;
    font-size: 16px;
}

.wsc-saved-cart-form .room-summary-label span.room-subtotal {
    opacity: 0.5;
    color: #212529;
    font-size: 18px;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
body .wsc_share_cart_popup .wsc_sharing_widgets {
		gap: 35px;
	}

body .wsc_save_share_cart_popup,
body .wsc_share_cart_popup,
body .wsc_replace_cart_popup {
		padding-left: 30px;
		padding-right: 30px;
	}

}
