/* Основной контейнер */
.shop_list {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Контейнер с товарами */
.shop_list .shop-pane {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Стили для карточки товара */
.shop_list .shop-item {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.shop_list .shop-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Изображение товара */
.shop_list .shop_img {
    position: relative; /* ДОБАВИТЬ */
    text-align: center;
    margin-bottom: 15px;
}

.shop_list .shop_img img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* Метка/бейдж поверх картинки */
.shop_list .shop_img .shop-photo-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.shop_list .shop_img .shop-photo-labels img {
   
    height: auto;
    display: block;
}

/* Кнопка избранного (сердечко) - тоже поверх */
.shop_list .shop_img .shop_wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.shop_list .shop_img .shop_wishlist i {
    color: #ccc;
    font-size: 18px;
}

.shop_list .shop_img .shop_wishlist:hover i {
    color: #ff4444;
}


/* Изображение товара 
.shop_list .shop_img {
    text-align: center;
    margin-bottom: 15px;
}

.shop_list .shop_img img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain; */
}

/* Заголовок товара */
.shop_list .shop-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin: 10px 0;
    line-height: 1.4;
}

/* Анонс товара */
.shop_list .shop_anons {
    font-size: 14px;
    color: #666;
    
}

.shop_anons p {
	margin-bottom: 0px !important;
}

/* Цена */
.shop_list .shop-item-price {
    font-size: 20px;
    font-weight: bold;
    color: #e44d26;
    margin: 10px 0;
}

/* Кнопка покупки */
.shop_list .shop_buy {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop_list .shop_buy input.number {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.shop_list .shop_buy input.button {
    flex: 1;
    padding: 8px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

label {
	padding-left: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .shop_list .shop-pane {
        grid-template-columns: repeat(2, 1fr); /* 2 товара в ряд на планшете */
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .shop_list .shop-pane {
        grid-template-columns: repeat(1, 1fr); /* 1 товар в ряд на мобильном */
        gap: 15px;
    }
}

/* Стили для кнопки "Купить в один клик" как у основной кнопки */
.shop_list .shop_one_click input.button,
.shop_list .js_shop_one_click input[type="button"] {
    background: #4CAF50; /* Зеленый фон как у кнопки Купить */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
    transition: background 0.3s ease;
    width: 100%; /* На всю ширину */
    margin-top: 10px; /* Отступ сверху */
}

.shop_list .shop_one_click input.button:hover,
.shop_list .js_shop_one_click input[type="button"]:hover {
    background: #45a049; /* Темнее при наведении */
}




/* Стили для полей ввода */
.js_cart_one_click.cart_one_click input[type="text"],
.js_cart_one_click.cart_one_click input[type="email"],
.js_cart_one_click.cart_one_click input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    margin: 8px 0 16px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f9f9f9;
}

/* Стили при фокусе */
.js_cart_one_click.cart_one_click input[type="text"]:focus,
.js_cart_one_click.cart_one_click input[type="email"]:focus,
.js_cart_one_click.cart_one_click input[type="tel"]:focus {
    outline: none;
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

/* Стили для подписей полей */
.js_cart_one_click.cart_one_click .infofield {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    display: block;
}

/* Стили для звездочки обязательных полей */
.js_cart_one_click.cart_one_click .infofield span[style*="color:red;"] {
    color: #ff4444 !important;
    margin-left: 4px;
}

/* Контейнер для каждого поля */
.js_cart_one_click.cart_one_click [class^="order_form_param"] {
    margin-bottom: 10px;
}

/* Кнопка "Заказать" в стиле "Купить в один клик" */
.js_cart_one_click.cart_one_click input[type="button"][value="Заказать"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin: 20px 0 15px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.js_cart_one_click.cart_one_click input[type="button"][value="Заказать"]:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.js_cart_one_click.cart_one_click input[type="button"][value="Заказать"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

/* Эффект пульсации при наведении */
.js_cart_one_click.cart_one_click input[type="button"][value="Заказать"]:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Стили для сообщения об ошибках */
.js_cart_one_click.cart_one_click .errors {
    color: #ff4444;
    font-size: 13px;
    margin-top: -12px;
    margin-bottom: 10px;
    padding-left: 4px;
}

/* Стили для текста об обязательных полях */
.js_cart_one_click.cart_one_click .required_field {
    font-size: 13px;
    color: #888;
    margin: 10px 0;
    text-align: center;
}

/* Стили для согласия на обработку данных */
.js_cart_one_click.cart_one_click .privacy_field {
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.5;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.js_cart_one_click.cart_one_click .privacy_field a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.js_cart_one_click.cart_one_click .privacy_field a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Стили для скрытых полей */
.js_cart_one_click.cart_one_click input[type="hidden"] {
    display: none;
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .js_cart_one_click.cart_one_click {
        padding: 20px;
        margin: 10px;
    }
    
    .js_cart_one_click.cart_one_click input[type="text"],
    .js_cart_one_click.cart_one_click input[type="email"],
    .js_cart_one_click.cart_one_click input[type="tel"] {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .js_cart_one_click.cart_one_click input[type="button"][value="Заказать"] {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* Анимация появления формы */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.js_cart_one_click.cart_one_click {
    animation: fadeInUp 0.4s ease-out;
}

.error {
	display: none !important;
}

/* ===== СТАРАЯ ЦЕНА - полное оформление ===== */

/* Контейнер старой цены */
.shop_old_price.price-old {
    display: inline-block;
    margin-left: 12px;
}

/* Перечеркивание для числа */
.shop_old_price .shop_price_value {
    text-decoration: line-through !important;
    color: #e44d26 !important;
    font-size: 20px !important;
    font-weight: normal !important;
}

/* Перечеркивание для валюты */
.shop_old_price .shop_price_currency {
    text-decoration: line-through !important;
    color: #999 !important;
    font-size: 85% !important;
    font-weight: normal !important;
}

/* Адаптивность для мобильных */
@media (max-width: 576px) {
    .shop_old_price.price-old {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .shop_old_price .shop_price_value,
    .shop_old_price .shop_price_currency {
        font-size: 80% !important;
    }
}