/* Product list */
.product-list-top {
    margin-bottom: 55px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.product-list-count {
    margin-right: 40px;
}

.product-list-spacer {
    flex: 1 1 auto;
}

.product-list-sort {
    background: #FFE2F3;
    display: inline-flex;
    padding: 0 0 0 1em;
    align-items: center;
}

.product-list-sort-current {
    color: #DE058A;
    display: inline-block;
}

.product-list-sort-current,
.product-list-sort-options a {
    padding: 5px;
}

.product-list-sort-dropdown {
    position: relative;
    z-index: 100;
}

.product-list-sort-current::after {
    font-family: 'Font Awesome 5 Pro';
    content: '\f078';
    font-size: 12px;
    margin-left: 5px;
    margin-right: calc(1em - 5px);
    color: #DE058A;
}

.product-list-sort-options {
    display: none;
    position: absolute;
    background: #FFE2F3;
    left: 0;
    min-width: 100%;
}

.product-list-sort-options a {
    color: inherit;
    text-decoration: inherit;
    white-space: nowrap;
    padding: 5px;
    display: block;
}

.products {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Product page */
.product {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: flex-start;
}

.product h1 {
    color: #DE058A;
    font-size: 32px;
    margin: 0 0 25px 0;
}

.product .price {
    color: #DE058A;
    font-size: 32px;
    font-weight: bold;
}

.product .regular-price {
    font-size: 32px;
    margin-right: 20px;
}

.regular-price {
    color: #262626;
    position: relative;
    font-weight: bold;
}

.regular-price::after {
    top: 50%;
    content: '';
    transform: translateY(50%) rotate(-9deg);
    height: 2px;
    width: 100%;
    left: 0;
    position: absolute;
    background: #DE058A;
}

.product-specs {
    flex: 0 0 55%;
}

.product-info {
    flex: 0 0 40%;
    position: sticky;
    top: 0;
}

.product-current-image {
    position: relative;
}

.product-current-image .round-button {
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 0 3px 0 #eee;
    border-radius: 50%;
    width: 50px;
    color: inherit;
    text-align: center;
    color: #DE058A;
    line-height: 1em;
}

.product-current-image .round-button i {
    font-size: 0;
}
.product-current-image .round-button i::before {
    font-size: 1rem;
}
.product-current-image .round-button a {
    color: inherit;
}
.product-current-image .round-button .fas,
.product-current-image .round-button a:hover {
    color: #DE058A;
}

.product-current-image .flag-product {
    position: absolute;
    top: 20px;
    right: 20px;
}

.product-image-list {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
}

.product-image-list a {
    flex: 0 0 calc((100% - 60px) / 3);
    margin-right: 30px;
    margin-bottom: 30px;
}

.product-image-list a img {
    display: block;
    width: 100%;
}


.product-current-image .full-screen {
    background: #DE058A;
    color: #fff;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.product-current-image img {
    width: 100%;
    display: block;
}

.product .product-quantity-input {
    margin: 20px 0;
}

.product-info button.add-to-cart {
    background: #FF9B12;
    color: #fff;
    margin-left:30px;
    padding: 10px 30px;
}

.product-info button.add-to-cart:disabled {
    background: #888;
}

.product-quantity-input {
    border: 1px solid #ccc;
    display: inline-flex;
    background: #fff;
}

.product-quantity-input * {
    border: none;
    text-align: center;
    color: inherit;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
}

.product-quantity-input input {
    appearance: none;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

.product-quantity-input * + * {
    border-left: 1px solid #E5E5E5;
}

.product-features {
    margin-bottom: 40px;
    width: 100%;
}

.product-features th {
    width: 50%;
    text-align: left;
    padding: 20px 0;
}

.product-features td {
    color: #DE058A;
}

.z2-washing-label {
    font-size: 16px;
    padding: 30px 40px;
    background: #FFE2F3;
}

.z2-washing-rules {
    display: flex;
    flex-wrap: wrap;
}

.z2-washing-label h3 { margin-top: 0; }

.z2-washing-rule {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.z2-washing-rules img {
    margin-right: 10px;
    width: 25px;
}

.product-availability {
    margin: 0 0 0 auto;
    padding-left: 50px;
    display: flex;
    align-items: center;
}
.product-availability::before {
    border-radius: 50%;
    content: '';
    margin-right: 10px;
    width: 20px;
    height: 20px;
    background: #58DB58;
    flex: 0 0 20px;
    display: inline-block;
}
.product-availability.unavailable::before {
    background: #DB5858;
}
.product-availability.last_remaining_items::before,
.product-availability.almost_out_of_stock::before {
    background: #DB8958;
}

.product-details h2, .product-details h3 {
    color: #DE058A;
}

/* Product miniature */
.product-miniature {
    flex: 0 0 22%;
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.product-miniature:hover {
    box-shadow: 0 0 0 2px #FFE2F3;
}

.product-miniature-fill {
    flex-basis: 22%;
}

.list-3-products .product-miniature,
.list-3-products .product-miniature-fill {
    flex-basis: 30%;
}

.product-miniature .product-thumbnail {
    display: block;
}

.product-miniature .product-thumbnail-wrapper {
    position: relative;
}

.product-miniature .product-thumbnail img {
    width: 100%;
    display: block;
}

.product-miniature-cart {
    position: absolute;
    bottom: 0;
    right: 0;
    align-items: center;
    display: none;
}

.product-miniature-cart.show-permanent { display: block; }

.product-miniature:hover .product-miniature-cart {
    display: flex;
}

.product-miniature-cart span {
    background: #DE058A;
    color: #fff;
    font-size: 14px;
    border-radius: 20px;
    padding: 8px 21px;
    display: block;
    margin: 20px;
}

.product-miniature-cart button,
.product-miniature-cart .select-options {
    background: #DE058A;
    color: #fff;
    font-size: 18px;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    text-align: center;
    padding: 0;
    line-height: 50px;
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
}

.product-miniature-cart button:disabled {
    background: #888;
}

.product-miniature-cart input {
    border: none;
    background: #fff;
    padding: 5px;
    font-size: 14px;
    border-radius: 15px 0 0 15px;
    box-shadow: 10px 0 #fff;
    width: 50px;
    text-align: center;
    margin-bottom: 10px;
}

.product-miniature .product-flags {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    list-style-type: none;
    padding: 10px;
    margin: 0;
}

.product-miniature .product-flags .on-sale {
    width: 3em;
    height: 3em;
    line-height: 3em;
    color: #fff;
    background: #DE058A;
    border-radius: 50%;
    font-family: 'Gloria Hallelujah';
    /* rotate: -25deg; */
}

.product-miniature .product-flags .discount {
    display: none;
}

.product-miniature .product-title a {
    display: block;
    padding: 15px 0;
    text-align: center;
    font-size: 18px;
    color: inherit;
    text-decoration: none;
}

.product-miniature .price {
    color: #DE058A;
    font-size: 22px;
    font-weight: bold;
}

.product-miniature .regular-price {
    position: relative;
    font-size: 22px;
    font-weight: bold;
}

.product-miniature .regular-price::after {
    height: 2px;
}

/* Product listings */
#search_filters :first-child :first-child { margin-top: 0; }

.filters-clear-all {
    background: #FFE2F3;
    color: #DE058A;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 1em;
    margin-top: 30px;
    display: inline-block;
}

.facet-more-checkbox {
    display: none;
}

.facet-more-checkbox:checked ~ .facet-more-label {
    height: 0;
}

.facet-more-checkbox:checked + .facet-options .more-options {
    height: 1.5em;
    margin-bottom: 10px !important;
}

.facet-options .more-options {
    height: 0;
    margin-bottom: 0 !important;
    transition: height 0.3s ease;
    overflow-y: hidden;
}

.facet-more-label {
    display: block;
    margin-top: 15px;
    overflow: hidden;
    height: 1.5em;
    transition: height 0.3s ease;
}

.facet-more-label span { color: #DE058A; }

.facet-more-label::after {
    color: #DE058A;
    content: '\f078';
    font-family: 'Font Awesome 5 Pro';
    font-weight: normal;
    font-size: 14px;
    display: inline-block;
    margin-left: 10px;
}

.facet-options .facet-option {
    align-items: center;
    margin-bottom: 10px;
    display: flex;
}

.facet-options .facet-option .magnitude {
    font-size: 80%;
    color: #aaa;
    margin-left: 10px;
}

.facet-options .facet-option .magnitude::before { content: '('; }
.facet-options .facet-option .magnitude::after { content: ')'; }

.facet-options .facet-option input[type="checkbox"] {
    display: none;
}

.facet-options .facet-option.disabled {
    color: #AAA;
}

.facet-options .facet-option {
    color: inherit;
    text-decoration: none;
}

.facet-options .facet-option .facet-name {
    margin-left: 10px;
    display: inline-block;
}

.facet-options .facet-option.active {
    color: #DE058A;
}

.facet-options .facet-option .facet-color {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
    box-shadow: 0 0 2px 0 #ccc;
}

.facet-options .facet-option.active .facet-color {
    box-shadow: 0 0 1px 2px #DE058A;
}

.facet-options .facet-option .facet-checkbox {
    border-radius: 3px;
    width: 20px;
    flex: 0 0 20px;
    height: 20px;
    border: 1px solid #aaa;
    box-shadow: 0 0 1px 0 #aaa;
    display: inline-block;
}

.facet-options .facet-option.active .facet-checkbox,
.facet-options .facet-option.active .facet-radio {
    background: #FFE2F3;
    border-color: #DE058A;
    box-shadow: 0 0 1px 0 #DE058A;
    color: #DE058A;
    position: relative;
}

.facet-options .facet-option.active .facet-radio::before,
.facet-options .facet-option.active .facet-checkbox::before {
    position: absolute;
    line-height: 20px;
    width: 20px;
    text-align: center;
    font-family: 'Font Awesome 5 Pro';
    content: '\f00c';
    font-size: 14px;
    font-weight: 400;
}

.facet-options .facet-option .facet-radio {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid #aaa;
    box-shadow: 0 0 1px 0 #aaa;
    display: inline-block;
}

.facet-options .facet-option.active .facet-radio::before {
    content: '\f111';
}

/* Wishlist */
.wishlist_button {
    position: absolute;
    top: 10px;
    right: 10px;
    width:50px;
    height:50px;
    padding:0;
    line-height:50px;
    display: none;
}

.product-thumbnail-wrapper .wishlist_button {
    display: block;
}


/* Return */
#return-products select {
    display: none
}
#return-products :checked ~ select {
    display: inline;
}
#return-products .select label { display: flex; align-items: center }
#return-products .select label select { padding: 5px; }

.table-bordered tfoot tr:first-child td {
    border-top: 1px solid #F4F4F4;
}

.product-variants-item select {
    border: 2px solid #E7E7E7;
    margin: 20px;
    display: inline-block;
    padding: 10px 30px 10px 10px;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    background: #fff url(../image/chevron-down.png) no-repeat calc(100% - 10px) center / 12px 7px;
}

.product-price-and-shipping.product-prices {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
