p.sw-wishlist-container-product {
    margin-top: 10px;
}
.wishlist-privacy {
    margin-bottom: 15px;
}

/* li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--smart_wishlist a::before {
    content: '\f004';
} */

.sw-wishlist-product-thumb {
    position: absolute;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
}

li.wc-block-product {
    position: relative;
}

p.sw-wishlist-main button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.wc-block-product p.sw-wishlist-main button {
    background-color: black;
    border-radius: .33rem;
    border-color: black;
    border-width: 0;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 500;
    line-height: inherit;
    padding-top: 0.6rem;
    padding-right: 1rem;
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.wc-block-product p.sw-wishlist-main.sw-wishlist-container-archive {
    text-align: center;
}

.sw-wishlist-product-thumb.product-thumb.bottom_left {
    bottom: 10px;
    left: 15px;
}

.sw-wishlist-product-thumb.product-thumb.bottom_right {
    bottom: 10px;
    right: 15px;
}

.sw-wishlist-product-thumb.product-thumb.top_left {
    top: 10px;
    left: 15px;
}

.sw-wishlist-product-thumb.product-thumb.top_right {
    top: 10px;
    right: 55px;
}

/* .sw-wishlist-product-thumb.loop-thumb.top_right {
    top: 10px;
    right: 15px;
}

.sw-wishlist-product-thumb.loop-thumb.top_right {
    top: 10px;
    right: 15px;
} 

.sw-wishlist-product-thumb.loop-thumb.bottom_right {
    inset: 194.297px 17px auto auto;
}

.sw-wishlist-product-thumb.loop-thumb.bottom_left {
    inset: 194.297px auto auto 17px;
} */

/* .sw-wishlist-product-thumb.loop-thumb.top_left {
    top: 10px;
    left: 15px;
}  */

/* tooltip css */
.sw-tooltip {
    position: relative;
    display: inline-block;
}

.sw-tooltip .sw-tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #6d6d6d;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 50;
    font-size: 14px;
}


.sw-wishlist-product-thumb.top_right .sw-tooltiptext,
.sw-wishlist-product-thumb.bottom_right .sw-tooltiptext {
    right: 35px !important;
}

.sw-wishlist-product-thumb.top_right .sw-tooltiptext::after,
.sw-wishlist-product-thumb.bottom_right .sw-tooltiptext::after {
    rotate: 180deg !important;
    left: 100% !important
}

.sw-wishlist-product-thumb.top_left .sw-tooltiptext,
.sw-wishlist-product-thumb.bottom_left .sw-tooltiptext {
    left: 35px !important;
}


div[data-type="sw_remove"] .sw-tooltip .sw-tooltiptext {
    width: 160px !important;
}

.sw-tooltip:hover .sw-tooltiptext {
    visibility: visible;
}

.sw-tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #555 transparent transparent;
}

a.a.sw-wishlist-action:focus {
    outline: none !important;
    text-decoration: underline;
}

.sw-wishlist-product-thumb i {
    opacity: 0.8;
}

.sw_icon {
    -webkit-transition: all 0.14s ease-in-out;
    -o-transition: all 0.14s ease-in-out;
    transition: all 0.14s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}
.sw_icon.hover-effect:hover {
    -webkit-transform: translateZ(0) scale(1.5, 1.5);
    transform: translateZ(0) scale(1.5, 1.5)
}

/* popup css */

.sw-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: visible;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.sw-overlay.active {
    opacity: 1;
}

.sw-overlay:target {
    visibility: visible;
    opacity: 1;
}
.sw-popup {
    padding: 20px 40px;
    background: #fff;
    border-radius: 15px;
    width: 40%;
    position: relative;
    transition: all 2s ease-in-out;
    padding-top: 30px !important;
}

.sw-popup .sw-close {
    position: absolute;
    top: -5px;
    right: 10px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none !important;
    color: #333;
}

.sw-close:focus {
    outline: none !important;
}

.sw-popup .sw-content {
    max-height: 30%;
    overflow: auto;
    margin-bottom: 20px;
}

.sw-popup h4 {
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto !important;
}

.sw-popup h4 i {
    margin-right: 10px;
}

.sw-create-wishlist-fields input[type="text"] {
    display: block;
    width: 96%;
    margin-bottom: 20px !important;
    margin: 0 auto;
}

form[name="sw-create-wishlist"] {
    margin-top: 20px;
}


.sw-create-wishlist-fields h5,
.action h5 {
    font-size: 18px;font-weight: 600;
}

.wishlist-privacy table {
    background: #efefefa6;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
}

.wishlist-privacy table th,
.wishlist-privacy table td {
    padding: 0 !important;
}

.wishlist-privacy table tr th:first-child {
    width: 25%;
}

.wishlist-privacy p.description {
    font-size: 14px;
}


.swfw-field-group label {
    display: block;
    margin-bottom: 5px;
}

.swfw-field-group {
    margin-bottom: 15px;
}

.swfw-field-group input {
    border: 1px solid #aaa;
    border-radius: 0;
    height: 41px;
    width: 100%;
    max-width: 540px;
}

.sw-radio-group:checked,
.sw-radio-group:not(:checked) {
    position: absolute;
    left: -9999px;
}
.sw-radio-group:checked + label,
.sw-radio-group:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
.sw-radio-group:checked + label:before,
.sw-radio-group:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
.sw-radio-group:checked + label:after,
.sw-radio-group:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #2271b1;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.sw-radio-group:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
.sw-radio-group:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.sw-create-wishlist-fields-btn {
    text-align: center;
}

.sw-button {
    background: black !important;
    color: white !important;
    transition: transform 250ms !important;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
}

.sw-button:hover {
    transform: translateY(-3px) !important;
    background: black !important;
    color: white !important;
}

a.sw-button {
    padding: 10px 20px;
    text-decoration: none !important;
    cursor: pointer;
}

input.sw-field {
    height: 40px !important;
    padding-left: 10px !important;
}

input.sw-field.sw-error {
    border: 1px solid #dd3535;
}

button[data-type="sw_add"] i,
button[data-type="sw_remove"] i,
a[data-type="sw_add"] i,
a[data-type="sw_remove"] i {
    transition: color ease-in-out 250ms;
}

div#sw-removed-from-list-popup p,
div#sw-added-to-list-popup p {
    text-align: center;
    font-size: 16px;
}

#sw-added-to-list-popup .sw-content,
#sw-removed-from-list-popup .sw-content {
    text-align: center;
}

#sw-added-to-list-popup .sw-popup,
#sw-removed-from-list-popup .sw-popup {
    width: 30% !important;
}

.sw-wishlist-main .blockUI.blockOverlay {
    color: #4b4a4a !important;
}

/* multi list styles */
.sw-multi-wishlist-container.product .action {
    border-radius: 10px;
    background: #0000ff0d;
    width: 70%;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    max-height: 0;
    transition: max-height ease 0.5s;
    overflow-y: hidden;
}

.sw-multi-wishlist-container.product .action.active {
    border: 1px solid #818183;
    padding: 10px 20px;
    max-height: 1000px;
}

.sw-list-types p strong {
    font-weight: 700;
}

p.list-head {
    margin-bottom: 2px;
}

.list-options {
    margin-bottom: 30px;
}

.list-options label input {
    margin-right: 5px;
}

.checkbox-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    row-gap: 20px;
    margin-bottom: 5px;
}

/* Checkbox Input */
.checkbox-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #ddd;
    transition: 0.3s;
    margin-right: 5px;
}

.checkbox-btn span::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 4px;
    border-bottom: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: scale(0) rotate(-45deg);
    position: relative;
    bottom: 2px;
    transition: 0.6s;
}

.checkbox-btn input {
    display: none;
}

.checkbox-btn input:checked ~ span {
    background-color: #02bcf0;
}

.checkbox-btn input:checked ~ span::before {
    transform: scale(1) rotate(-45deg);
}

.list-actions {
    text-align: center;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.action .sw-create-wishlist-fields input {
    background: white;
}

.sw-already-in-lists h5 {
    font-weight: 500;
    font-size: 16px;
}

.sw-already-in-lists {
    margin-top: 20px;
}

.sw-wishlists-my-account-btns {
    margin-bottom: 20px;
}

table.shop_table.shop_table_responsive.wishlists-table tbody tr:nth-child(even) td {
    background-color: #f6f6f6 !important;
}

.sw-action-icons a:focus {
    outline: none;
}

.back-to-lists a {
    display: flex;
    align-items: center;
    width: max-content;
    text-decoration: none !important;
}

.back-to-lists a i {
    font-size: 22px;
    margin-right: 10px;
}

p.sw-social-share strong {
    margin-right: 20px;
}

p.sw-social-share i {
    font-size: 25px;
    margin-right: 10px;
}

p.sw-social-share {
    display: flex;
    align-items: center;
}

.sw-social-share i.fab.fa-facebook {
    color: #106afe;
}

.sw-social-share i.fab.fa-twitter {
    color: #1c9cea;
}

.sw-social-share i.fas.fa-envelope-open {
    color: #de5510;
}

.sw-social-share i.fab.fa-pinterest {
    color: #df001f;
}

.sw-list-settings-tab a {
    text-decoration: none !important;
}

.sw-list-settings-tab a.active {
    font-weight: 600;
    color: black;
}

.wishlists-product-table span.qty {
    border: 1px solid gray;
    padding: 3px 20px;
    display: inline-block;
}

.sw-list-settings-tab,
.sw-bulk-actions,
.sw-wishlists-my-account {
    margin-bottom: 20px;
}

.sw-product-box {
    display: flex;
    align-items: center;
}

.sw-cb {
    padding: 10px !important;
    width: 1%;
    vertical-align: middle;
}

.sw-bulk-actions select {
    padding: 10px 25px;
    border-color: #b7b2b2;
    margin-right: 5px;
}

.sw-products-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sw-wishlist-form-group {
    margin-bottom: 20px;
}

.sw-wishlist-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.sw-wishlist-form-group input {
    width: 100%;
}

.wishlist-privacy table tr th {
    padding-bottom: 10px !important;
}

.sw-action-icons a {
    text-decoration: none !important;
}

.sw-action-icons a:first-child {
    margin-right: 8px;
}

.sw-search-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.sw-search-input input {
    width: 60%;
    margin-right: 10px;
}

.sw-find-wishlists-container h2 {
    margin-top: 10px;
    margin-bottom: 30px;
}

.sw-search-input {
    margin-bottom: 30px;
}

p.sw-search-error {
    margin-top: 2px;
    font-size: 14px;
    color: #e72929db;
}

p.sw-social-share a:focus {
    outline: none !important;
}

.sw-select-wishlist-btns {
    display: flex;
    justify-content: space-around;
}

.sw-select-wishlist {
    margin: 20px 0;
}

form[name="sw-select-wishlist"] .checkbox-btn {
    background: #80808014;
    padding: 7px 10px;
    border-radius: 10px;
}

p.select-error {
    color: #e61212de;
    text-align: center;
}

.create-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.create-list-head i {
    margin-bottom: 10px;
    cursor: pointer;
}

/* astra theme */
.ast-container p.sw-wishlist-main.sw-wishlist-container-product {
    margin: 0;
    display: inline-block !important;
}

.ast-container p.sw-wishlist-container-product .sw-wishlist-action {
    margin-left: 15px !important;
    padding: 10px 15px;
}

.ast-container .sw-bulk-actions select {
    height: inherit;
    width: inherit;
}

.ast-container .sw-find-wishlists-container .sw-bulk-actions select {
    width: 170px !important;
}


.wishlists-product-table .sw-action-icons {
    display: flex;
}

.back-to-lists a:focus, .back-to-lists a:focus-visible {
    outline: none !important;
    border: none !important;
}

.sw-bulk-actions, .find-wishlist-fields {
    display: flex !important;
}

input#sw_search_wishlists {
    padding-left: 10px !important;
}

.wishlist-privacy p.description {
    margin: 3px !important;
}

form[name="sw-update-wishlist"] textarea {
    width: 100%;
    padding-left: 10px;
    padding-top: 10px;
}

.woocommerce-uses-block-theme .button.add-to-sw-wishlist,
.woocommerce-uses-block-theme .button.remove-from-sw-wishlist {
    vertical-align: baseline !important;
    float: none !important;
}