/*
Theme Name: mws
Version: 1.0.0
Description: alright-led
Author: wergut
Author URI:
*/


/*Избранное*/
.yith-wcwl-add-to-wishlist-button__label {
    display: none !important;
}

.yith-wcwl-add-to-wishlist-button {
    padding: 10px !important;
    min-width: auto !important;
}

.yith-wcwl-theme-button-style {
    background: transparent !important;
    border: none !important;
}

.yith-add-to-wishlist-button-block {
    position: absolute !important;
    top: 0;
    right: 10px;
}

.yith-wcwl-feedback-messages-container {
    display: none !important;
}

#flying-item {
    position: fixed;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block {
    width: 100%;
}


.wc-block-components-product-metadata {
    display: none;
}
a.wc-block-components-product-name {
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.02em;
}

.wc-block-components-product-price__value {
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.02em;
}

a.button.product-card-button.product-order-button {
    display: block;
    text-align: center;
}

.product-card-image {
    position: relative;
}

.woocommerce-form-coupon-toggle {
    display: none;
}
ul.woocommerce-error {
    display: none;
}

button.button.update-cart-btn {
    display: none;
}

/* Базовая стилизация форм поиска */
.search-form {
    position: relative;
}

.search-form label {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input1 {
    flex: 1;
    border: 1px solid #ddd;
    padding: 8px 40px 8px 12px;
    border-radius: 4px;
    outline: none;
}

.search-input:focus {
    border-color: #007cba;
}

.search-button {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.search-button img {
    width: 20px;
    height: 20px;
}

/* Результаты поиска */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

/* Элементы результатов */
.search-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    display: block;
}

.search-item:hover {
    background: #f5f5f5;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item__sku {
    font-weight: bold;
    color: #007cba;
    font-size: 14px;
}

.search-item__name {
    font-size: 14px;
    margin: 4px 0;
}

.search-item__price {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.search-item__count {
    font-size: 12px;
    color: #666;
}

.search-all-results {
    display: block;
    padding: 10px;
    text-align: center;
    color: #007cba;
    font-weight: bold;
    text-decoration: none;
    border-top: 1px solid #eee;
}

.search-all-results:hover {
    background: #f5f5f5;
}

a.remove-from-wishlist {
    position: absolute;
    right: 20px;
    top: 20px;
}

.product-card {
    position: relative;
}

.shop_table a {
    display: inline-flex;
}