/*
Theme Name: Rolto
Template: hello-elementor
Author: Noname
Version: 1.0
*/

:root {
    --font-family: "Cygre-Bold", sans-serif;
    --primary-color: #407e5f;
    --selected-color: #56a47d;
    --text-color: #232323;
    --label-color: #6d747a;
    --border-color: #bdbdbd;
    --bg-color: #faf7fc;
}

/* ======================== */
/* GENERAL STYLES */
/* ======================== */

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--selected-color);
    text-decoration: underline;
}

.elementor-menu-cart__container.elementor-lightbox {
    z-index: 11;
}

.woocommerce-notices-wrapper {
    display: block !important;
}

.wp-block-woocommerce-checkout {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 160px;
    padding-right: 160px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .wp-block-woocommerce-checkout {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 600px) {
    .wp-block-woocommerce-checkout {
        padding-left: 8px;
        padding-right: 8px;
    }
}

.wc-block-cart-item__image > a > img {
    border-radius: 5px;
}

.wc-block-cart-item__wrap > .wc-block-components-product-name {
    color: #232323;
}

.wc-block-components-quantity-selector:after {
    border: 1px solid transparent !important;
}

.woocommerce-pagination {
    display: none;
}

.wp-block-woocommerce-empty-cart-block > .woocommerce > .type-product {
	margin-top: 20px;
}

.tire-finder-filter {
    margin-top: 40px !important;
}

.blocked-block {
    border-radius: 4px;
}

.woocommerce-result-count {
    display: none;
}

.woocommerce-ordering {
    display: none;
}

.elementor-menu-cart__footer-buttons {
    margin-top: 100%;
}

.elementor-menu-cart__footer-buttons > .elementor-button {
    background-color: var(--primary-color);
    border-radius: 5px;
}

.elementor-menu-cart__footer-buttons > .elementor-button > .elementor-button-text {
    font-family: "Cygre", sans-serif; 
    font-weight: 700;
    font-size: 18px; 
    letter-spacing: -0.04em;
    color: #ecebe7;
}

.product-name_second-part > .tyre-size {
	opacity: 0.75;
}

/* ======================== */
/* СКРЫТИЕ КНОПКИ ПОКАЗА/СКРЫТИЯ ПАРОЛЯ */
/* ======================== */

.show-password-input,
.display-password {
    display: none !important;
}

/* ======================== */
/* НОВЫЕ СТИЛИ ДЛЯ ФОРМ ВХОДА И РЕГИСТРАЦИИ */
/* ======================== */

/* Основной контейнер */
body.woocommerce-account.woocommerce-page:not(.logged-in) .woocommerce {
    max-width: 500px;
    margin: 40px auto;
    padding: 0 20px;
}

.woocommerce-auth-container {
    position: relative;
    overflow: hidden;
}

/* Стили для обеих форм */
.woocommerce-login-form,
.woocommerce-register-form {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 45px;
    transition: all 0.3s ease;
}

.woocommerce-login-form:hover,
.woocommerce-register-form:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Заголовки форм */
.woocommerce-login-form h2,
.woocommerce-register-form h2 {
    color: var(--primary-color) !important;
    text-align: center;
    margin-bottom: 35px;
    font-size: 28px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.woocommerce-login-form h2::after,
.woocommerce-register-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--selected-color));
    border-radius: 2px;
}

/* Поля форм */
.woocommerce-form-row.form-row {
    margin-bottom: 25px;
    position: relative;
}

.woocommerce-login-form label,
.woocommerce-register-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--label-color);
    font-family: var(--font-family);
    font-size: 15px;
    transition: color 0.3s ease;
}

/* Поля ввода */
.woocommerce-Input.input-text,
.woocommerce-login-form input[type="text"],
.woocommerce-login-form input[type="email"],
.woocommerce-login-form input[type="password"],
.woocommerce-register-form input[type="text"],
.woocommerce-register-form input[type="email"],
.woocommerce-register-form input[type="password"] {
    width: 100% !important;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.woocommerce-Input.input-text:focus,
.woocommerce-login-form input:focus,
.woocommerce-register-form input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(64, 126, 95, 0.15), inset 0 2px 4px rgba(0,0,0,0.05);
    outline: none;
    transform: translateY(-1px);
}

/* Анимация при фокусе на label */
.woocommerce-form-row:focus-within label {
    color: var(--primary-color);
}

/* Кнопки */
.woocommerce-login-form .woocommerce-Button,
.woocommerce-login-form .button,
.woocommerce-login-form input[type="submit"],
.woocommerce-register-form .woocommerce-Button,
.woocommerce-register-form .button,
.woocommerce-register-form input[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--selected-color)) !important;
    color: white !important;
    border: none !important;
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(64, 126, 95, 0.3);
    position: relative;
    overflow: hidden;
}

.woocommerce-login-form .woocommerce-Button:hover,
.woocommerce-login-form .button:hover,
.woocommerce-login-form input[type="submit"]:hover,
.woocommerce-register-form .woocommerce-Button:hover,
.woocommerce-register-form .button:hover,
.woocommerce-register-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 126, 95, 0.4);
}

.woocommerce-login-form .woocommerce-Button:active,
.woocommerce-login-form .button:active,
.woocommerce-login-form input[type="submit"]:active,
.woocommerce-register-form .woocommerce-Button:active,
.woocommerce-register-form .button:active,
.woocommerce-register-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(64, 126, 95, 0.3);
}

/* Чекбокс "Запомнить меня" */
.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 10px 0;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    width: auto !important;
    margin: 0;
    transform: scale(1.2);
    accent-color: var(--primary-color);
}

.woocommerce-form-login__rememberme span {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 600;
}

/* Ссылка "Забыли пароль?" */
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.woocommerce-LostPassword a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.woocommerce-LostPassword a:hover {
    color: var(--selected-color);
    text-decoration: underline;
}

/* Переключение между формами */
.auth-switch-container {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e8e8e8;
}

.auth-switch-container p {
    margin: 0;
    color: var(--label-color);
    font-size: 16px;
}

.auth-switch-container a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.auth-switch-container a:hover {
    color: var(--selected-color);
}

.auth-switch-container a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--selected-color);
    transition: width 0.3s ease;
}

.auth-switch-container a:hover::after {
    width: 100%;
}

/* Обязательные поля */
.required {
    color: #e74c3c;
    font-weight: 700;
}

/* Анимация появления форм */
.woocommerce-login-form,
.woocommerce-register-form {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================== */
/* СТИЛИ ДЛЯ ВАЛИДАЦИИ ФОРМ */
/* ======================== */

/* Поля с ошибками */
.woocommerce-form-register input.error,
.woocommerce-form-login input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

/* Сообщения валидации */
.password-strength {
    margin-top: 8px;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    display: none;
}

.password-strength.weak {
    background: #fdf2f2;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    display: block;
}

.password-strength.medium {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    display: block;
}

.password-strength.strong {
    background: #f0f8f3;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    display: block;
}

/* ======================== */
/* ФОРМА ВОССТАНОВЛЕНИЯ ПАРОЛЯ */
/* ======================== */

.woocommerce-ResetPassword.lost_reset_password,
.woocommerce form.lost_reset_password {
    max-width: 500px;
    margin: 40px auto;
    padding: 45px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.woocommerce-ResetPassword.lost_reset_password:hover,
.woocommerce form.lost_reset_password:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.woocommerce-ResetPassword.lost_reset_password h2,
.woocommerce form.lost_reset_password h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 35px;
    font-size: 28px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.woocommerce-ResetPassword.lost_reset_password h2::after,
.woocommerce form.lost_reset_password h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--selected-color));
    border-radius: 2px;
}

.woocommerce-ResetPassword.lost_reset_password p:first-child,
.woocommerce form.lost_reset_password p:first-child {
    margin-bottom: 30px;
    color: var(--text-color);
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    padding: 15px;
    background: rgba(64, 126, 95, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row,
.woocommerce form.lost_reset_password .form-row {
    margin-bottom: 25px;
}

.woocommerce-ResetPassword.lost_reset_password label,
.woocommerce form.lost_reset_password label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--label-color);
    font-size: 15px;
}

.woocommerce-ResetPassword.lost_reset_password .woocommerce-Input,
.woocommerce form.lost_reset_password input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.woocommerce-ResetPassword.lost_reset_password .woocommerce-Input:focus,
.woocommerce form.lost_reset_password input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(64, 126, 95, 0.15), inset 0 2px 4px rgba(0,0,0,0.05);
    outline: none;
    transform: translateY(-1px);
}

.woocommerce-ResetPassword.lost_reset_password .woocommerce-Button,
.woocommerce form.lost_reset_password button,
.woocommerce form.lost_reset_password input[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--selected-color));
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(64, 126, 95, 0.3);
}

.woocommerce-ResetPassword.lost_reset_password .woocommerce-Button:hover,
.woocommerce form.lost_reset_password button:hover,
.woocommerce form.lost_reset_password input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 126, 95, 0.4);
}

/* ======================== */
/* СООБЩЕНИЯ ОБ ОШИБКАХ И УСПЕХЕ */
/* ======================== */

.woocommerce-notices-wrapper {
    max-width: 500px;
    margin: 20px auto;
    padding: 0 20px;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 18px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-family: var(--font-family);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: none;
    position: relative;
    overflow: hidden;
}

.woocommerce-error::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #e74c3c;
}

.woocommerce-message::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
}

.woocommerce-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #3498db;
}

.woocommerce-error {
    background: linear-gradient(135deg, #fdf2f2, #fcebeb);
    color: #e74c3c;
}

.woocommerce-message {
    background: linear-gradient(135deg, #f0f8f3, #e8f5e8);
    color: var(--primary-color);
}

.woocommerce-info {
    background: linear-gradient(135deg, #e6f3ff, #daeeff);
    color: #3498db;
}

.woocommerce-error .woocommerce-error-icon,
.woocommerce-message .woocommerce-message-icon,
.woocommerce-info .woocommerce-info-icon {
    margin-right: 15px;
    font-size: 20px;
    font-weight: bold;
}

.woocommerce-error .woocommerce-error-icon::before {
    content: '⚠';
}

.woocommerce-message .woocommerce-message-icon::before {
    content: '✓';
}

.woocommerce-info .woocommerce-info-icon::before {
    content: 'ℹ';
}

/* ======================== */
/* IMPROVED MY ACCOUNT PAGE */
/* ======================== */

.rolto-myaccount-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

/* Навигация */
.rolto-account-nav {
    flex: 0 0 280px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation li:not(:last-child) {
    border-bottom: 1px solid rgba(64, 126, 95, 0.1);
}

.woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    padding: 16px 25px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

.woocommerce-MyAccount-navigation li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background: rgba(64, 126, 95, 0.05);
    color: var(--primary-color);
}

.woocommerce-MyAccount-navigation li a:hover::before,
.woocommerce-MyAccount-navigation li.is-active a::before {
    transform: scaleY(1);
}

.woocommerce-MyAccount-navigation li.is-active a {
    font-weight: 800;
}

/* Контент */
.rolto-account-content {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 40px;
}

.rolto-account-content h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 800;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.rolto-account-content h3 {
    color: var(--text-color);
    font-size: 20px;
    margin: 25px 0 15px;
}

/* Формы в личном кабинете */
.rolto-account-content .woocommerce-form-row {
    margin-bottom: 25px;
}

.rolto-account-content .woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--label-color);
}

.rolto-account-content input[type="text"],
.rolto-account-content input[type="email"],
.rolto-account-content input[type="password"],
.rolto-account-content input[type="tel"],
.rolto-account-content select,
.rolto-account-content textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    transition: all 0.3s;
    background: #f9f9f9;
}

.rolto-account-content input:focus,
.rolto-account-content select:focus,
.rolto-account-content textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(64, 126, 95, 0.2);
    outline: none;
}

/* Кнопки в личном кабинете */
.rolto-account-content .woocommerce-Button,
.rolto-account-content .button {
    background: var(--primary-color);
    color: white !important;
    padding: 14px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    text-decoration: none !important;
}

.rolto-account-content .woocommerce-Button:hover,
.rolto-account-content .button:hover {
    background: var(--selected-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Таблица заказов */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
}

.woocommerce-orders-table thead {
    background: var(--primary-color);
    color: white;
}

.woocommerce-orders-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

.woocommerce-orders-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(189, 189, 189, 0.3);
    vertical-align: middle;
}

.woocommerce-orders-table tr:last-child td {
    border-bottom: none;
}

.woocommerce-orders-table tr:hover td {
    background: rgba(64, 126, 95, 0.03);
}

.woocommerce-orders-table .woocommerce-button {
    padding: 8px 15px;
    font-size: 14px;
}

/* Product info styles */
.product-info > .product-name {
    font-size: 18px;
}

div[data-title="Product"] > a {
    color: var(--primary-color);
}

/* Product cart list style begin */
.wrapper_brand-image {
    display: inline-flex;
    width: 100%;
}

.wrapper_brand-image .brand-image {
    display: inline-block; 
    max-width: 150px; 
    border: 2px solid var(--primary-color); 
    border-radius: 5px;
}

.product-cart .product-reassurance {
    display: block;
    list-style: none;
}

.product-cart .product-reassurance li {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.product-cart .product-reassurance li:not(:last-child) {
    margin-bottom: 7px;
}

.custom-product-card .price {
    color: #407e5f;
    font-family: "Cygre-Bold", sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-top: auto;
    align-self: flex-end;
    text-align: right;
    position: static;
}

.product-cart .amount {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 20px;
}

.product-cart_btns {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.btn-secondary {
    font-family: var(--font-family);
    font-size: 18px;
    letter-spacing: -0.04em;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    display: inline-flex;
    width: 100%;
    background: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s;
    text-align: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.add-to-cart-btn {
    font-family: var(--font-family);
    font-size: 18px;
    letter-spacing: -0.04em;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    display: inline-flex;
    width: 100%;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s;
    text-align: center;
    justify-content: center;
}

.add-to-cart-btn:hover {
    color: white;
    background-color: var(--selected-color);
    border-color: var(--selected-color);
    text-decoration: none;
}

.product-info {
    width: calc(70% - 200px);
    padding-left: 15px;
}

.product-cart {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
/* Product cart list style end */

/* Иконки характеристик Begin */
.product-seasons-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    list-style: none;
    padding: 0;
}

.product-seasons-icons-wrapper li {
    display: flex;
    align-items: center;
}

.product-seasons-icons-wrapper li .energy-icon {
    display: inline-flex;
}

.product-info .tooltip,
.product-cart .tooltip {
    position: static;
    display: inline-block;
}

.tooltip-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-toggle img {
    max-width: 25px;
    height: auto;
}

.tooltip-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    z-index: 1;
    max-width: 350px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: #232323;
}

.tooltip:hover .tooltip-content {
    display: block;
}

.picto-energy li {
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.energy-icon {
    margin-right: 5px;
}

.energy-value {
    font-weight: 700;
}

.grade-a .energy-value { color: #2ecc71; }
.grade-b .energy-value { color: #a8e6cf; }
.grade-c .energy-value { color: #ffd93d; }
.grade-d .energy-value { color: #ff9f43; }
.grade-e .energy-value { color: #e74c3c; }
/* Иконки характеристик End */

/* Партнеры */
.partner_item {
    display: inline-block;
    box-sizing: border-box;
    margin: 0;
    padding: 5px;
    width: calc(100% / 8);
    vertical-align: top;
}

.partner_item a {
    display: flex;
    box-sizing: border-box;
    margin: 0;
    padding: 2px;
    border: 1px solid #DBDBEA;
    width: 100%;
    height: 38px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    color: #999;
}

.partner_image {
    max-width: 100%;
    max-height: 100%;
    -webkit-filter: grayscale(100%);
    -webkit-filter: grayscale(1);
    filter: grayscale(100%);
    filter: url('url("data:image/svg+xml;utf8,<svg%20xmlns='http://www.w3.org/2000/svg'><filter%20id='grayscale'><feColorMatrix%20type='matrix'%20values='0.3333%200.3333%200.3333%200%200%200.3333%200.3333%200.3333%200%200%200.3333%200.3333%200.3333%200%200%200%200%200%201%200'/></filter></svg>#grayscale");');
    filter: gray;
    filter: alpha(opacity=50);
    opacity: 0.5;
    vertical-align: middle;
    display: inline-block;
    transition: all 0.3s;
}

.partner_item:hover {
    scale: 1.1;
}

.partner_item:hover .partner_image {
    filter: grayscale(0%);
    filter: 1;
    opacity: 1;
}

/* Хлебные крошки */
.wc_breadcrumbs {
    margin-bottom: 15px;
}

.wc_breadcrumbs a {
    color: var(--text-color);
    font-weight: 600;
}

.wc_breadcrumbs a:hover {
    color: var(--primary-color);
}

.wc_breadcrumbs a::after {
    content: " /";
    padding: 0 2px;
    color: var(--border-color);
}

.wc_breadcrumbs a:last-child::after {
    content: "";
}

.wc_breadcrumbs span {
    color: var(--label-color);
}

.wc_breadcrumbs span::before {
    content: "";
    padding-left: 2px;
}

/* ======================== */
/* RESPONSIVE STYLES */
/* ======================== */

@media (max-width: 1200px) {
    .rolto-myaccount-wrapper {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .rolto-myaccount-wrapper {
        gap: 20px;
    }
    
    .rolto-account-nav {
        flex: 0 0 240px;
    }
    
    .rolto-account-content {
        padding: 30px;
    }
    
    .product-info {
        width: 37%;
    }
    
    .product-cart {
        width: 36%;
    }

    .partner_item {
        width: calc(100% / 7);
    }
}

@media (max-width: 768px) {
    .rolto-myaccount-wrapper {
        flex-direction: column;
    }
    
    .rolto-account-nav {
        position: static;
        margin-bottom: 20px;
    }
    
    .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .woocommerce-MyAccount-navigation li {
        border-bottom: none !important;
    }
    
    .woocommerce-MyAccount-navigation li a {
        padding: 12px 15px;
        border-radius: 5px;
        background: #f5f5f5;
    }
    
    .rolto-account-content {
        padding: 25px;
    }
    
    .product-info > .product-name {
        margin-right: 0px !important;
    }
    
    .product-info > .price {
        bottom: 0px;
    }
    
    .products-grid-wrapper {
        margin-top: 30px !important;
    }
    
    .filter-wrapper {
        margin-top: -10px;
    }
    
    .custom-product-card {
        flex-wrap: wrap;
    }
    
    .custom-product-card .product-link {
        height: auto !important;
    }
    
    .wrapper_brand-image .brand-image {
        max-width: 120px;
    }
    
    .product-info {
        width: calc(100% - 27%);
    }
    
    .product-cart {
        width: 100%;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-top: 15px;
    }
    
    .product-cart_price_instock {
        display: flex;
        align-items: center;
    }
    
    .product-cart .product-reassurance {
        display: flex;
        align-items: center;
        gap: 7px;
        padding-left: 15px;
        margin-top: 0;
    }
    
    .product-cart .product-reassurance li:not(:last-child) {
        margin-bottom: 0;
    }
    
    .product-cart .product-reassurance li > span {
        display: none;
    }
    
    .product-cart_btns {
        margin-top: 0;
        margin-left: auto;
    }
    
    .partner_item {
        width: calc(100% / 6);
    }
    
    /* Адаптация форм авторизации */
    .woocommerce-login-form,
    .woocommerce-register-form,
    .woocommerce-ResetPassword.lost_reset_password,
    .woocommerce form.lost_reset_password {
        padding: 35px;
    }
    
    body.woocommerce-account.woocommerce-page:not(.logged-in) .woocommerce,
    .woocommerce-notices-wrapper {
        padding: 0 15px;
    }
}

@media (max-width: 550px) {
    .custom-product-card .product-link {
        max-width: 25%;
    }
    
    .product-info {
        width: auto;
        max-width: 73%;
    }
    
    .add-to-cart-btn, .btn-secondary {
        font-size: 16px;
        padding: 8px 10px;
    }
    
    .partner_item {
        width: calc(100% / 4);
    }
    
    .rolto-account-content {
        padding: 20px;
    }
    
    .woocommerce-login-form,
    .woocommerce-register-form,
    .woocommerce-ResetPassword.lost_reset_password,
    .woocommerce form.lost_reset_password {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .rolto-account-content h2 {
        font-size: 22px;
    }
    
    .woocommerce-login-form h2,
    .woocommerce-register-form h2,
    .woocommerce-ResetPassword.lost_reset_password h2,
    .woocommerce form.lost_reset_password h2 {
        font-size: 24px;
    }
    
    .woocommerce-orders-table {
        display: block;
        overflow-x: auto;
    }
    
    .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-ResetPassword.lost_reset_password p:first-child,
    .woocommerce form.lost_reset_password p:first-child {
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .product-info {
        max-width: 60%;
    }
    
    .custom-product-card .product-link {
        max-width: 40%;
    }
    
    .product-seasons-icons-wrapper {
        column-gap: 5px;
    }
    
    .partner_item {
        width: calc(100% / 3);
    }
    
    .woocommerce-MyAccount-navigation li a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .rolto-account-content .woocommerce-button {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .woocommerce-login-form,
    .woocommerce-register-form,
    .woocommerce-ResetPassword.lost_reset_password,
    .woocommerce form.lost_reset_password {
        padding: 25px;
    }
    
    body.woocommerce-account.woocommerce-page:not(.logged-in) .woocommerce {
        margin: 20px auto;
    }
    
    .woocommerce-notices-wrapper {
        margin: 15px auto;
    }
}

/**
 * Мобильная адаптация для страницы корзины WooCommerce
 * Адаптивные стили для мобильных устройств с использованием !important
 */

/* Общие стили для мобильных устройств */
@media screen and (max-width: 768px) {
    
    /* Основная форма корзины */
    .woocommerce-cart-form {
        width: 100% !important;
        overflow-x: auto !important;
        margin: 0 !important;
        padding: 10px !important;
    }
    
    /* Таблица корзины */
    .shop_table.cart {
        width: 100% !important;
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    /* Адаптивная таблица - скрываем некоторые столбцы */
    .shop_table.cart .product-thumbnail,
    .shop_table.cart .product-price {
        display: none !important;
    }
    
    /* Заголовки таблицы */
    .shop_table.cart thead th {
        padding: 8px 5px !important;
        font-size: 12px !important;
        text-align: center !important;
    }
    
    /* Ячейки таблицы */
    .shop_table.cart tbody td {
        padding: 10px 5px !important;
        border-bottom: 1px solid #ddd !important;
        text-align: center !important;
        vertical-align: middle !important;
    }
    
    /* Кнопка удаления товара */
    .product-remove .remove {
        width: 30px !important;
        height: 30px !important;
        font-size: 18px !important;
        line-height: 30px !important;
        text-align: center !important;
        border-radius: 50% !important;
        text-decoration: none !important;
        display: inline-block !important;
    }
    
    /* Название продукта */
    .product-name {
        width: 40% !important;
        font-size: 14px !important;
        font-weight: bold !important;
    }
    
    .product-name a {
        text-decoration: none !important;
        display: block !important;
        margin-bottom: 5px !important;
    }
    
    /* Показываем цену в названии продукта */
    .product-name::after {
        content: attr(data-price) !important;
        display: block !important;
        font-size: 12px !important;
        font-weight: normal !important;
        margin-top: 3px !important;
    }
    
    /* Количество товара */
    .product-quantity {
        width: 30% !important;
    }
    
    .product-quantity input[type="number"] {
        width: 60px !important;
        height: 35px !important;
        font-size: 16px !important;
        text-align: center !important;
        border-radius: 5px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Подытог */
    .product-subtotal {
        width: 25% !important;
        font-weight: bold !important;
        font-size: 16px !important;
    }
    
    /* Действия корзины */
    .actions {
        padding: 15px 5px !important;
    }
    
    /* Секция купонов */
    .coupon {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
    }
    
    .coupon input[type="text"] {
        width: 100% !important;
        height: 45px !important;
        font-size: 16px !important;
        padding: 0 15px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    
    .coupon button {
        width: 100% !important;
        height: 45px !important;
        font-size: 16px !important;
        font-weight: bold !important;
        border: none !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .coupon button:hover {
        transform: translateY(-2px) !important;
    }
    
    /* Кнопка обновления корзины */
    button[name="update_cart"] {
        width: 100% !important;
        height: 50px !important;
        font-size: 18px !important;
        font-weight: bold !important;
        border: none !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        margin-top: 10px !important;
        transition: all 0.3s ease !important;
    }
    
    button[name="update_cart"]:hover {
        transform: translateY(-2px) !important;
    }
    
    /* Итоги корзины */
    .cart-collaterals {
        width: 100% !important;
        margin-top: 20px !important;
        padding: 0 10px !important;
    }
    
    .cart_totals {
        width: 100% !important;
        padding: 20px !important;
        border-radius: 10px !important;
        margin-bottom: 20px !important;
    }
    
    .cart_totals h2 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }
    
    .cart_totals table {
        width: 100% !important;
        font-size: 16px !important;
    }
    
    .cart_totals td,
    .cart_totals th {
        padding: 10px !important;
    }
    
    /* Кнопка перейти к оформлению */
    .checkout-button,
    .wc-proceed-to-checkout a {
        width: 100% !important;
        height: 55px !important;
        font-size: 18px !important;
        font-weight: bold !important;
        border: none !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        text-align: center !important;
        line-height: 55px !important;
        text-decoration: none !important;
        display: block !important;
        margin-top: 15px !important;
        transition: all 0.3s ease !important;
    }
    
    .checkout-button:hover,
    .wc-proceed-to-checkout a:hover {
        transform: translateY(-2px) !important;
    }
}

/* Стили для очень маленьких экранов */
@media screen and (max-width: 480px) {
    
    .woocommerce-cart-form {
        padding: 5px !important;
    }
    
    .shop_table.cart {
        font-size: 12px !important;
    }
    
    .shop_table.cart thead th {
        padding: 5px 2px !important;
        font-size: 10px !important;
    }
    
    .shop_table.cart tbody td {
        padding: 8px 2px !important;
    }
    
    .product-name {
        font-size: 12px !important;
    }
    
    .product-quantity input[type="number"] {
        width: 50px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
    
    .product-subtotal {
        font-size: 14px !important;
    }
    
    .coupon input[type="text"],
    .coupon button {
        height: 40px !important;
        font-size: 14px !important;
    }
    
    button[name="update_cart"] {
        height: 45px !important;
        font-size: 16px !important;
    }
    
    .checkout-button,
    .wc-proceed-to-checkout a {
        height: 50px !important;
        line-height: 50px !important;
        font-size: 16px !important;
    }
}

/* Альбомная ориентация на мобильных */
@media screen and (max-width: 768px) and (orientation: landscape) {
    
    .shop_table.cart .product-thumbnail {
        display: table-cell !important;
    }
    
    .product-thumbnail img {
        width: 40px !important;
        height: 40px !important;
        object-fit: cover !important;
        border-radius: 5px !important;
    }
}

/* Дополнительные улучшения UX */
@media screen and (max-width: 768px) {
    
    /* Плавные анимации */
    .shop_table.cart,
    .coupon input,
    .coupon button,
    button[name="update_cart"],
    .checkout-button,
    .wc-proceed-to-checkout a {
        transition: all 0.3s ease !important;
    }
    
    /* Фокус на элементах ввода */
    .coupon input[type="text"]:focus,
    .product-quantity input[type="number"]:focus {
        border-color: #3498db !important;
        outline: none !important;
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.3) !important;
    }
    
    /* Активное состояние кнопок */
    .coupon button:active,
    button[name="update_cart"]:active,
    .checkout-button:active,
    .wc-proceed-to-checkout a:active {
        transform: translateY(0) !important;
        box-shadow: inset 0 3px 5px rgba(0,0,0,0.2) !important;
    }
    
    /* Отзывчивые изображения */
    .product-thumbnail img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Скрытие ненужных элементов на мобильных */
    .screen-reader-text {
        position: absolute !important;
        clip: rect(1px, 1px, 1px, 1px) !important;
        padding: 0 !important;
        border: 0 !important;
        height: 1px !important;
        width: 1px !important;
        overflow: hidden !important;
    }
}