/*
 * ExShare — WooCommerce styles
 * Загружается только на WC-страницах (is_woocommerce / cart / checkout / account).
 * Дизайн: тёмный фон #04040a, акценты #6f00ff (purple) / #00f7ff (cyan).
 */

/* =============================================================
   1. ОБЩИЕ ОБЁРТКИ И СБРОС
   ============================================================= */

.woocommerce,
.woocommerce-page {
    color: #d0d0ff;
}

/* Скрываем заглушку «нет поддержки JS» */
.woocommerce-no-js-message { display: none; }

/* Loading overlay */
.blockUI.blockOverlay {
    background: rgba(4, 4, 10, 0.75) !important;
}
.blockUI.blockMsg {
    background: #0a0a18 !important;
    border: 1px solid rgba(111, 0, 255, 0.4) !important;
    border-radius: 12px !important;
    color: #d0d0ff !important;
}

/* Спиннер WooCommerce */
.woocommerce-form-login .woocommerce-form-login__rememberme,
.loader,
.loading::after {
    color: #a5a5d6;
}

/* =============================================================
   2. УВЕДОМЛЕНИЯ
   ============================================================= */

.woocommerce-notices-wrapper { margin-bottom: 24px; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 20px 14px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
}

.woocommerce-message {
    background: rgba(0, 247, 255, 0.07);
    border-left: 3px solid #00f7ff;
    color: #d0d0ff;
}
.woocommerce-message a.button {
    background: rgba(0, 247, 255, 0.12);
    border: 1px solid rgba(0, 247, 255, 0.4);
    color: #00f7ff;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}
.woocommerce-message a.button:hover {
    background: rgba(0, 247, 255, 0.2);
}

.woocommerce-info {
    background: rgba(111, 0, 255, 0.08);
    border-left: 3px solid #6f00ff;
    color: #d0d0ff;
}

.woocommerce-error {
    background: rgba(255, 60, 60, 0.08);
    border-left: 3px solid #ff4444;
    color: #ffb0b0;
    padding-left: 24px;
}
.woocommerce-error li { margin: 4px 0; }

/* =============================================================
   3. ХЛЕБНЫЕ КРОШКИ
   ============================================================= */

.woocommerce-breadcrumb {
    color: #666;
    font-size: 13px;
    margin-bottom: 24px;
    line-height: 1.4;
}
.woocommerce-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}
.woocommerce-breadcrumb a:hover { color: #00f7ff; }

/* =============================================================
   4. СТРАНИЦА МАГАЗИНА — АРХИВ ТОВАРОВ
   ============================================================= */

/* Обёртка страницы */
body.post-type-archive-product .site-main,
body.woocommerce .site-main {
    padding-top: 100px;
}

/* Заголовок страницы */
.woocommerce-products-header__title,
.woo-catalog-title,
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(111, 0, 255, 0.5);
    margin-bottom: 32px;
    text-align: center;
}

/* Строка с сортировкой и счётчиком */
.woocommerce-result-count {
    color: #666;
    font-size: 13px;
    margin-bottom: 0;
}
.woocommerce-ordering {
    margin-bottom: 0;
    float: right;
}
.woocommerce-ordering select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.4);
    border-radius: 8px;
    color: #d0d0ff;
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a0a0cc'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus { border-color: #00f7ff; }
.woocommerce-ordering select option { background: #0a0a18; }

/* Список товаров — WC дефолтный ul.products */
ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
ul.products li.product {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}
ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 247, 255, 0.4);
    box-shadow: 0 8px 30px rgba(111, 0, 255, 0.25);
}
ul.products li.product a {
    text-decoration: none;
    color: inherit;
}
ul.products li.product img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
ul.products li.product:hover img { transform: scale(1.04); }

ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0ff;
    padding: 14px 16px 6px;
    margin: 0;
}
ul.products li.product .price {
    display: block;
    padding: 0 16px 10px;
    font-size: 17px;
    font-weight: 700;
    color: #00f7ff;
}
ul.products li.product .price del {
    color: #555;
    font-size: 13px;
    margin-right: 6px;
}
ul.products li.product .price ins {
    text-decoration: none;
    color: #00f7ff;
}
ul.products li.product .price .woocommerce-Price-amount { color: inherit; }

/* Кнопка «В корзину» в карточке */
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
    display: block;
    margin: 6px 16px 16px;
    padding: 9px 0;
    text-align: center;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(90deg, #6f00ff, #00f7ff);
    background-size: 200%;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-position 0.4s, box-shadow 0.3s;
    text-decoration: none;
}
ul.products li.product:hover .button,
ul.products li.product:hover .add_to_cart_button {
    background-position: right;
    box-shadow: 0 0 16px rgba(0, 247, 255, 0.4);
}
ul.products li.product .added_to_cart {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #00f7ff;
    padding-bottom: 10px;
    text-decoration: none;
}

/* Бейдж «Скидка» */
ul.products li.product .onsale,
span.onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #6f00ff, #00f7ff);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 0 12px rgba(111, 0, 255, 0.5);
}

/* Звёздный рейтинг в карточке */
ul.products li.product .star-rating {
    margin: 0 16px 8px;
}

/* Пустой магазин */
.woocommerce-no-products-found,
.woocommerce-info:only-child {
    text-align: center;
    padding: 60px 20px;
    color: #555;
    font-size: 16px;
}

/* Пагинация */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}
.woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid rgba(111, 0, 255, 0.35);
    border-radius: 8px;
    color: #a0a0cc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}
.woocommerce-pagination ul li a:hover {
    border-color: #00f7ff;
    color: #00f7ff;
}
.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, #6f00ff, #00f7ff);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 14px rgba(111, 0, 255, 0.4);
}

/* =============================================================
   5. ЗВЁЗДНЫЙ РЕЙТИНГ (общий)
   ============================================================= */

.star-rating {
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 14px;
    width: 5.4em;
    font-family: WooCommerce;
}
.star-rating::before {
    content: '\53\53\53\53\53';
    color: rgba(111, 0, 255, 0.3);
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    letter-spacing: 0.1em;
}
.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}
.star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    position: absolute;
    left: 0;
    color: #00f7ff;
    letter-spacing: 0.1em;
}

/* =============================================================
   6. СТРАНИЦА ОДНОГО ТОВАРА
   ============================================================= */

/* Галерея */
.woocommerce-product-gallery {
    position: relative;
}
.woocommerce-product-gallery__image {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 0, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
}
.woocommerce-product-gallery__image img {
    width: 100%;
    display: block;
    transition: transform 0.4s;
}
.woocommerce-product-gallery__image:hover img { transform: scale(1.03); }

/* Кнопка зума */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(111, 0, 255, 0.3);
    border: 1px solid rgba(111, 0, 255, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
    z-index: 3;
}
.woocommerce-product-gallery__trigger:hover {
    background: rgba(0, 247, 255, 0.2);
    border-color: #00f7ff;
}
.woocommerce-product-gallery__trigger img { filter: invert(1); }

/* Миниатюры */
.flex-control-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding: 0;
    list-style: none;
}
.flex-control-thumbs li { flex: 0 0 auto; }
.flex-control-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(111, 0, 255, 0.25);
    cursor: pointer;
    transition: border-color 0.3s;
    opacity: 0.7;
}
.flex-control-thumbs img:hover,
.flex-control-thumbs .flex-active img {
    border-color: #00f7ff;
    opacity: 1;
}

/* Блок описания */
.summary.entry-summary .product_title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.woocommerce-product-rating .woocommerce-review-link {
    color: #888;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}
.woocommerce-product-rating .woocommerce-review-link:hover { color: #00f7ff; }

.summary.entry-summary .price {
    font-size: 2rem;
    font-weight: 800;
    color: #00f7ff;
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
}
.summary.entry-summary .price del {
    color: #555;
    font-size: 1.2rem;
    font-weight: 400;
    margin-right: 10px;
    text-shadow: none;
}
.summary.entry-summary .price ins { text-decoration: none; }
.summary.entry-summary .price .woocommerce-Price-amount { color: inherit; }

.woocommerce-product-details__short-description {
    color: #a5a5d6;
    line-height: 1.75;
    margin-bottom: 24px;
    font-size: 15px;
}
.woocommerce-product-details__short-description p { margin: 0 0 10px; }

/* Форма «добавить в корзину» */
form.cart {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* Количество */
.quantity {
    display: flex;
    align-items: center;
}
.quantity .qty {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(111, 0, 255, 0.4);
    border-radius: 8px;
    color: #fff;
    padding: 12px 14px;
    font-size: 16px;
    width: 72px;
    text-align: center;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
    -moz-appearance: textfield;
}
.quantity .qty:focus { border-color: #00f7ff; }
.quantity .qty::-webkit-inner-spin-button,
.quantity .qty::-webkit-outer-spin-button { opacity: 0.4; }

/* Кнопка «В корзину» */
.single_add_to_cart_button,
button.single_add_to_cart_button {
    background: linear-gradient(90deg, #6f00ff, #00f7ff, #6f00ff);
    background-size: 300%;
    animation: wc-gradient-flow 4s ease infinite;
    color: #fff !important;
    border: none !important;
    padding: 13px 36px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
    font-family: inherit;
    letter-spacing: 0.3px;
}
.single_add_to_cart_button:hover {
    box-shadow: 0 0 28px rgba(0, 247, 255, 0.55);
    transform: translateY(-2px);
}
.single_add_to_cart_button.loading {
    opacity: 0.7;
    cursor: wait;
}
.single_add_to_cart_button.added {
    background: linear-gradient(90deg, #00b341, #00f7ae) !important;
    animation: none !important;
}

@keyframes wc-gradient-flow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Метаданные товара */
.product_meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(111, 0, 255, 0.2);
    font-size: 13px;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product_meta a {
    color: #a0a0cc;
    text-decoration: none;
    transition: color 0.3s;
}
.product_meta a:hover { color: #00f7ff; }
.product_meta .sku { color: #888; }

/* Статус наличия */
.stock {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}
.in-stock { color: #00d46e; }
.out-of-stock { color: #ff4444; }
.available-on-backorder { color: #f0b429; }

/* =============================================================
   7. ВКЛАДКИ ТОВАРА (Описание / Отзывы / Доп. информация)
   ============================================================= */

.woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 48px;
    clear: both;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(111, 0, 255, 0.3);
    flex-wrap: wrap;
}
.woocommerce-tabs ul.tabs li {
    margin: 0;
}
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 22px;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    transition: 0.3s;
    border: 1px solid transparent;
    border-bottom: none;
    position: relative;
    bottom: -1px;
}
.woocommerce-tabs ul.tabs li a:hover {
    color: #d0d0ff;
    background: rgba(111, 0, 255, 0.1);
}
.woocommerce-tabs ul.tabs li.active a {
    color: #fff;
    background: rgba(111, 0, 255, 0.15);
    border-color: rgba(111, 0, 255, 0.3);
    border-bottom-color: #04040a;
}

.woocommerce-tabs .panel {
    padding: 28px 0;
    color: #a5a5d6;
    line-height: 1.8;
    font-size: 15px;
}
.woocommerce-tabs .panel h2 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 16px;
}
.woocommerce-tabs .panel p { margin-bottom: 14px; }
.woocommerce-tabs .panel a { color: #00f7ff; }

/* Таблица атрибутов */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
}
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.15);
    font-size: 14px;
}
.woocommerce-product-attributes th {
    color: #00f7ff;
    font-weight: 600;
    width: 30%;
}
.woocommerce-product-attributes td { color: #a5a5d6; }

/* =============================================================
   8. ОТЗЫВЫ О ТОВАРЕ
   ============================================================= */

.woocommerce-Reviews #comments { margin-bottom: 32px; }
.woocommerce-Reviews .woocommerce-Reviews-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 24px;
}

.woocommerce-Reviews ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.woocommerce-Reviews ol.commentlist li.comment .comment-text {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
}
.woocommerce-Reviews ol.commentlist li.comment .star-rating {
    margin-bottom: 10px;
}
.woocommerce-Reviews ol.commentlist li.comment .woocommerce-review__author {
    font-weight: 700;
    color: #d0d0ff;
}
.woocommerce-Reviews ol.commentlist li.comment .woocommerce-review__published-date {
    color: #666;
    font-size: 12px;
    margin-left: 8px;
}
.woocommerce-Reviews ol.commentlist li.comment p { color: #a5a5d6; line-height: 1.7; }

/* Форма отзыва */
.woocommerce-Reviews #review_form_wrapper {
    border-top: 1px solid rgba(111, 0, 255, 0.2);
    padding-top: 28px;
}
.woocommerce-Reviews #review_form .comment-form-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.woocommerce-Reviews #review_form .stars a {
    color: rgba(111, 0, 255, 0.4);
    font-size: 20px;
    transition: color 0.2s;
}
.woocommerce-Reviews #review_form .stars a:hover,
.woocommerce-Reviews #review_form .stars a.active { color: #00f7ff; }
.woocommerce-Reviews #review_form label {
    color: #a0a0cc;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}
.woocommerce-Reviews #review_form input[type="text"],
.woocommerce-Reviews #review_form input[type="email"],
.woocommerce-Reviews #review_form textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.35);
    border-radius: 8px;
    color: #fff;
    padding: 11px 14px;
    width: 100%;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    margin-bottom: 14px;
}
.woocommerce-Reviews #review_form input:focus,
.woocommerce-Reviews #review_form textarea:focus {
    border-color: #00f7ff;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.15);
}
.woocommerce-Reviews #review_form input[type="submit"] {
    background: linear-gradient(90deg, #6f00ff, #00f7ff);
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: box-shadow 0.3s;
    width: auto;
    margin: 0;
}
.woocommerce-Reviews #review_form input[type="submit"]:hover {
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.4);
}

/* =============================================================
   9. RELATED PRODUCTS / UPSELLS
   ============================================================= */

.related.products,
.upsells.products {
    margin-top: 56px;
    clear: both;
}
.related.products > h2,
.upsells.products > h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
    text-shadow: 0 0 16px rgba(111, 0, 255, 0.4);
}

/* =============================================================
   10. КОРЗИНА
   ============================================================= */

/* Заголовок страницы */
body.woocommerce-cart h1.page-title,
body.woocommerce-cart h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 28px;
    text-shadow: 0 0 20px rgba(111, 0, 255, 0.4);
}

/* Таблица корзины */
.woocommerce-cart-form table.shop_table {
    width: 100%;
    border-collapse: collapse;
}
.woocommerce-cart-form table.shop_table thead tr {
    border-bottom: 1px solid rgba(111, 0, 255, 0.35);
}
.woocommerce-cart-form table.shop_table thead th {
    color: #00f7ff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 14px;
    text-align: left;
}
.woocommerce-cart-form table.shop_table tbody tr {
    border-bottom: 1px solid rgba(111, 0, 255, 0.12);
    transition: background 0.2s;
}
.woocommerce-cart-form table.shop_table tbody tr:hover {
    background: rgba(111, 0, 255, 0.05);
}
.woocommerce-cart-form table.shop_table td {
    padding: 16px 14px;
    vertical-align: middle;
    color: #d0d0ff;
}

/* Картинка товара */
.woocommerce-cart-form .product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(111, 0, 255, 0.3);
}

/* Ссылка на товар */
.woocommerce-cart-form .product-name a {
    color: #d0d0ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.woocommerce-cart-form .product-name a:hover { color: #00f7ff; }

/* Вариации в корзине */
.woocommerce-cart-form .product-name .variation {
    color: #666;
    font-size: 12px;
    margin-top: 4px;
}

/* Цена и подытог */
.woocommerce-cart-form .product-price .amount,
.woocommerce-cart-form .product-subtotal .amount {
    color: #00f7ff;
    font-weight: 700;
}
.woocommerce-cart-form .product-price .woocommerce-Price-amount,
.woocommerce-cart-form .product-subtotal .woocommerce-Price-amount { color: #00f7ff; }

/* Удалить товар */
.woocommerce-cart-form a.remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444 !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    border-radius: 6px;
    transition: 0.3s;
    text-decoration: none;
}
.woocommerce-cart-form a.remove:hover {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444 !important;
}

/* Строка обновления корзины */
.woocommerce-cart-form .actions {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Купон */
.woocommerce-cart-form .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
}
.woocommerce-cart-form .coupon input[type="text"] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.4);
    border-radius: 8px;
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    width: 200px;
}
.woocommerce-cart-form .coupon input:focus { border-color: #00f7ff; }
.woocommerce-cart-form .coupon input::placeholder { color: #555; }
.woocommerce-cart-form .coupon .button {
    background: rgba(111, 0, 255, 0.15);
    border: 1px solid rgba(111, 0, 255, 0.5);
    color: #d0d0ff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: 0.3s;
}
.woocommerce-cart-form .coupon .button:hover {
    border-color: #00f7ff;
    color: #00f7ff;
}

/* Кнопка «Обновить корзину» */
.woocommerce-cart-form button[name="update_cart"] {
    background: transparent;
    border: 1px solid rgba(111, 0, 255, 0.4);
    color: #a0a0cc;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: 0.3s;
}
.woocommerce-cart-form button[name="update_cart"]:not([disabled]):hover {
    border-color: #00f7ff;
    color: #00f7ff;
}
.woocommerce-cart-form button[name="update_cart"][disabled] { opacity: 0.3; cursor: default; }

/* Итоги корзины */
.cart-collaterals {
    margin-top: 36px;
    display: flex;
    justify-content: flex-end;
}
.cart_totals {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 0, 255, 0.25);
    border-radius: 16px;
    padding: 24px;
}
.cart_totals h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.2);
}
.cart_totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.cart_totals table th,
.cart_totals table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(111, 0, 255, 0.1);
    font-size: 14px;
}
.cart_totals table th { color: #888; font-weight: 500; }
.cart_totals table td { text-align: right; color: #d0d0ff; }
.cart_totals table .amount { color: #00f7ff; font-weight: 700; }
.cart_totals table tr:last-child th,
.cart_totals table tr:last-child td { border-bottom: none; }
.cart_totals table .order-total th,
.cart_totals table .order-total td {
    font-size: 16px;
    font-weight: 700;
}
.cart_totals table .order-total td { color: #00f7ff; font-size: 20px; }

.wc-proceed-to-checkout { margin-top: 4px; }
.wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: linear-gradient(90deg, #6f00ff, #00f7ff, #6f00ff);
    background-size: 300%;
    animation: wc-gradient-flow 4s ease infinite;
    color: #fff !important;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow 0.3s, transform 0.3s;
    border: none;
}
.wc-proceed-to-checkout a.checkout-button:hover {
    box-shadow: 0 0 28px rgba(0, 247, 255, 0.5);
    transform: translateY(-2px);
}

/* Пустая корзина */
.woocommerce-cart table.cart td.actions .button,
.return-to-shop .button {
    background: rgba(111, 0, 255, 0.15);
    border: 1px solid rgba(111, 0, 255, 0.5);
    color: #d0d0ff;
    padding: 11px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}
.return-to-shop .button:hover {
    border-color: #00f7ff;
    color: #00f7ff;
    box-shadow: 0 0 16px rgba(0, 247, 255, 0.2);
}

/* =============================================================
   11. ЧЕКАУТ
   ============================================================= */

body.woocommerce-checkout h1.page-title { display: none; }

.woocommerce-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .woocommerce-checkout { grid-template-columns: 1fr; }
}

/* Панели чекаута */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 0, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.woocommerce-checkout h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.25);
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}
@media (max-width: 600px) {
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}

.form-row {
    margin-bottom: 14px;
}
.form-row.form-row-wide { grid-column: 1 / -1; }
.form-row.form-row-first { grid-column: 1; }
.form-row.form-row-last { grid-column: 2; }
@media (max-width: 600px) {
    .form-row.form-row-first,
    .form-row.form-row-last { grid-column: 1; }
}

.form-row label {
    display: block;
    color: #a0a0cc;
    font-size: 13px;
    margin-bottom: 6px;
}
.form-row label .required { color: #ff4444; margin-left: 2px; }

.form-row input.input-text,
.form-row select,
.form-row textarea,
.woocommerce-checkout .input-text {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.35);
    border-radius: 8px;
    color: #fff;
    padding: 11px 13px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-row input.input-text:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #00f7ff;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.12);
}
.form-row input.input-text::placeholder { color: #444; }
.form-row select option { background: #0a0a18; color: #d0d0ff; }

.form-row.woocommerce-invalid input.input-text,
.form-row.woocommerce-invalid select {
    border-color: #ff4444;
}
.form-row.woocommerce-validated input.input-text {
    border-color: #00d46e;
}

/* Чекбокс «Доставить на другой адрес» */
.woocommerce-shipping-fields #ship-to-different-address {
    margin-bottom: 16px;
}
.woocommerce-shipping-fields #ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #d0d0ff;
    font-size: 14px;
    font-weight: 600;
}
.woocommerce-shipping-fields #ship-to-different-address input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6f00ff;
    cursor: pointer;
}

/* Блок с обзором заказа */
#order_review_heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.25);
}
#order_review {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 0, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 110px;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}
.woocommerce-checkout-review-order-table thead th {
    color: #00f7ff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(111, 0, 255, 0.3);
}
.woocommerce-checkout-review-order-table tbody td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(111, 0, 255, 0.1);
    color: #d0d0ff;
    vertical-align: top;
}
.woocommerce-checkout-review-order-table tbody .product-name {
    font-weight: 600;
}
.woocommerce-checkout-review-order-table tbody .product-name .product-quantity {
    color: #888;
    font-weight: 400;
}
.woocommerce-checkout-review-order-table tbody .product-total { text-align: right; }
.woocommerce-checkout-review-order-table tbody .product-total .amount { color: #00f7ff; font-weight: 700; }
.woocommerce-checkout-review-order-table tfoot th { color: #888; font-size: 13px; padding: 8px 0; }
.woocommerce-checkout-review-order-table tfoot td { text-align: right; padding: 8px 0; color: #d0d0ff; }
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border-top: 1px solid rgba(111, 0, 255, 0.25);
    padding-top: 14px;
}
.woocommerce-checkout-review-order-table tfoot .order-total td .amount {
    color: #00f7ff;
    font-size: 20px;
}

/* Методы оплаты */
#payment {
    margin-top: 20px;
}
#payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#payment .payment_methods li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 0, 255, 0.25);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s;
}
#payment .payment_methods li:has(input:checked) {
    border-color: rgba(0, 247, 255, 0.5);
    background: rgba(0, 247, 255, 0.04);
}
#payment .payment_methods li label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    color: #d0d0ff;
    font-weight: 600;
    font-size: 14px;
}
#payment .payment_methods li input[type="radio"] {
    accent-color: #00f7ff;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
#payment .payment_methods li img {
    height: 22px;
    vertical-align: middle;
}
#payment .payment_methods li .payment_box {
    background: rgba(0, 247, 255, 0.04);
    border-top: 1px solid rgba(111, 0, 255, 0.2);
    padding: 14px 16px;
    font-size: 13px;
    color: #888;
}
#payment .payment_methods li .payment_box p { margin: 0; }

/* Политика конфиденциальности */
.woocommerce-terms-and-conditions-wrapper {
    font-size: 12px;
    color: #666;
    margin-bottom: 14px;
    line-height: 1.6;
}
.woocommerce-terms-and-conditions-wrapper a { color: #a0a0cc; }
.woocommerce-terms-and-conditions-wrapper a:hover { color: #00f7ff; }
.woocommerce-terms-and-conditions-checkbox-text { cursor: pointer; }

/* Кнопка «Оформить заказ» */
#place_order {
    width: 100%;
    display: block;
    padding: 15px;
    text-align: center;
    background: linear-gradient(90deg, #6f00ff, #00f7ff, #6f00ff);
    background-size: 300%;
    animation: wc-gradient-flow 4s ease infinite;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: box-shadow 0.3s, transform 0.3s;
    letter-spacing: 0.3px;
}
#place_order:hover {
    box-shadow: 0 0 32px rgba(0, 247, 255, 0.55);
    transform: translateY(-2px);
}
#place_order.loading { opacity: 0.7; cursor: wait; }

/* =============================================================
   12. СТРАНИЦА «ЗАКАЗ ОФОРМЛЕН» (Thank You)
   ============================================================= */

.woocommerce-order-received h1,
.woocommerce-thankyou-order-received {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00d46e;
    background: rgba(0, 212, 110, 0.08);
    border-left: 3px solid #00d46e;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 28px;
}

.woocommerce-order-overview.order_details {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
.woocommerce-order-overview li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    font-size: 13px;
    color: #888;
}
.woocommerce-order-overview li strong {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-top: 4px;
}
.woocommerce-order-overview li.total strong .amount { color: #00f7ff; }

.woocommerce-order-details,
.woocommerce-customer-details {
    margin-bottom: 32px;
}
.woocommerce-order-details__title,
.woocommerce-column__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.25);
}

.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.woocommerce-table--order-details thead th {
    color: #00f7ff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.3);
    text-align: left;
}
.woocommerce-table--order-details tbody td {
    padding: 12px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.1);
    color: #d0d0ff;
}
.woocommerce-table--order-details tfoot th { color: #888; padding: 10px 12px; }
.woocommerce-table--order-details tfoot td { text-align: right; padding: 10px 12px; color: #d0d0ff; }
.woocommerce-table--order-details .amount { color: #00f7ff; font-weight: 700; }

.woocommerce-customer-details address {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 0, 255, 0.2);
    border-radius: 12px;
    padding: 18px;
    color: #a5a5d6;
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
}

/* =============================================================
   13. ЛИЧНЫЙ КАБИНЕТ (My Account)
   ============================================================= */

body.woocommerce-account h1.page-title { display: none; }

.woocommerce-MyAccount-navigation {
    margin-bottom: 28px;
}
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 9px 18px;
    border: 1px solid rgba(111, 0, 255, 0.35);
    border-radius: 8px;
    color: #a0a0cc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}
.woocommerce-MyAccount-navigation ul li a:hover {
    border-color: rgba(0, 247, 255, 0.5);
    color: #00f7ff;
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, rgba(111,0,255,0.25), rgba(0,247,255,0.15));
    border-color: rgba(0, 247, 255, 0.5);
    color: #fff;
}

/* Контент кабинета */
.woocommerce-MyAccount-content {
    color: #d0d0ff;
}
.woocommerce-MyAccount-content p {
    color: #a5a5d6;
    line-height: 1.7;
    margin-bottom: 14px;
}
.woocommerce-MyAccount-content a { color: #00f7ff; text-decoration: none; }
.woocommerce-MyAccount-content a:hover { text-decoration: underline; }
.woocommerce-MyAccount-content strong { color: #fff; }

/* Таблица заказов */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.woocommerce-orders-table thead th {
    color: #00f7ff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.3);
    text-align: left;
}
.woocommerce-orders-table tbody tr {
    border-bottom: 1px solid rgba(111, 0, 255, 0.1);
    transition: background 0.2s;
}
.woocommerce-orders-table tbody tr:hover {
    background: rgba(111, 0, 255, 0.05);
}
.woocommerce-orders-table td {
    padding: 12px;
    color: #d0d0ff;
    vertical-align: middle;
}
.woocommerce-orders-table .woocommerce-button {
    padding: 7px 16px;
    font-size: 12px;
    border-radius: 8px;
    background: rgba(111, 0, 255, 0.15);
    border: 1px solid rgba(111, 0, 255, 0.45);
    color: #d0d0ff;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}
.woocommerce-orders-table .woocommerce-button:hover {
    border-color: #00f7ff;
    color: #00f7ff;
}

/* Статус заказа */
.woocommerce-order-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.order-status-processing { background: rgba(0, 247, 255, 0.12); color: #00f7ff; border: 1px solid rgba(0,247,255,0.3); }
.order-status-completed  { background: rgba(0, 212, 110, 0.12); color: #00d46e; border: 1px solid rgba(0,212,110,0.3); }
.order-status-cancelled  { background: rgba(255, 68, 68, 0.12); color: #ff4444; border: 1px solid rgba(255,68,68,0.3); }
.order-status-pending    { background: rgba(240,180,41,0.12); color: #f0b429; border: 1px solid rgba(240,180,41,0.3); }
.order-status-on-hold    { background: rgba(240,180,41,0.12); color: #f0b429; border: 1px solid rgba(240,180,41,0.3); }
.order-status-refunded   { background: rgba(111,0,255,0.12); color: #a066ff; border: 1px solid rgba(111,0,255,0.3); }

/* Форма редактирования аккаунта и адресов */
.woocommerce-EditAccountForm fieldset,
.woocommerce-address-fields {
    border: 1px solid rgba(111, 0, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.woocommerce-EditAccountForm fieldset legend,
.woocommerce-address-fields h3 {
    color: #00f7ff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 6px;
}
.woocommerce-EditAccountForm .form-row label,
.woocommerce-address-fields .form-row label {
    display: block;
    color: #a0a0cc;
    font-size: 13px;
    margin-bottom: 6px;
}
.woocommerce-EditAccountForm .form-row input,
.woocommerce-address-fields .form-row input,
.woocommerce-address-fields .form-row select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.35);
    border-radius: 8px;
    color: #fff;
    padding: 10px 13px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}
.woocommerce-EditAccountForm .form-row input:focus,
.woocommerce-address-fields .form-row input:focus,
.woocommerce-address-fields .form-row select:focus {
    border-color: #00f7ff;
}
.woocommerce-EditAccountForm .form-row input::placeholder { color: #444; }

/* Кнопка «Сохранить» в кабинете */
.woocommerce-EditAccountForm button[type="submit"],
.woocommerce-address-fields button[type="submit"] {
    background: linear-gradient(90deg, #6f00ff, #00f7ff);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: box-shadow 0.3s;
}
.woocommerce-EditAccountForm button[type="submit"]:hover,
.woocommerce-address-fields button[type="submit"]:hover {
    box-shadow: 0 0 22px rgba(0, 247, 255, 0.45);
}

/* =============================================================
   14. ФОРМА ЛОГИНА / РЕГИСТРАЦИИ (на странице кабинета)
   ============================================================= */

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 700px) {
    .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}
.woocommerce-account .woocommerce.logged-in {
    display: block;
}

.woocommerce-form-login,
.woocommerce-form-register {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(111, 0, 255, 0.25);
    border-radius: 16px;
    padding: 28px;
}
.woocommerce-form-login h2,
.woocommerce-form-register h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(111, 0, 255, 0.2);
}
.woocommerce-form-login label,
.woocommerce-form-register label {
    display: block;
    color: #a0a0cc;
    font-size: 13px;
    margin-bottom: 6px;
}
.woocommerce-form-login input,
.woocommerce-form-register input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.35);
    border-radius: 8px;
    color: #fff;
    padding: 11px 13px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 14px;
}
.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus { border-color: #00f7ff; }
.woocommerce-form-login input::placeholder,
.woocommerce-form-register input::placeholder { color: #444; }

.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 13px;
    margin-bottom: 16px;
    cursor: pointer;
}
.woocommerce-form-login__rememberme input { width: auto; margin: 0; accent-color: #6f00ff; }

.woocommerce-form-login .woocommerce-button,
.woocommerce-form-register .woocommerce-button,
.woocommerce-form-login button[type="submit"],
.woocommerce-form-register button[type="submit"] {
    background: linear-gradient(90deg, #6f00ff, #00f7ff);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: box-shadow 0.3s;
    width: 100%;
}
.woocommerce-form-login button[type="submit"]:hover,
.woocommerce-form-register button[type="submit"]:hover {
    box-shadow: 0 0 22px rgba(0, 247, 255, 0.45);
}

.woocommerce-LostPassword {
    margin-top: 12px;
    text-align: right;
}
.woocommerce-LostPassword a {
    color: #888;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}
.woocommerce-LostPassword a:hover { color: #00f7ff; }

/* =============================================================
   15. SELECT2 (поиск / вариации)
   ============================================================= */

.select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(111, 0, 255, 0.4) !important;
    border-radius: 8px !important;
    height: 42px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #d0d0ff !important;
    line-height: 42px !important;
    padding-left: 12px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 9px !important;
    right: 8px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #a0a0cc transparent transparent !important;
}
.select2-dropdown {
    background: #0d0d20 !important;
    border: 1px solid rgba(111, 0, 255, 0.4) !important;
    border-radius: 8px !important;
}
.select2-results__option {
    color: #d0d0ff !important;
    font-size: 14px;
    padding: 10px 14px !important;
}
.select2-results__option--highlighted {
    background: rgba(111, 0, 255, 0.2) !important;
    color: #fff !important;
}
.select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(111, 0, 255, 0.3) !important;
    border-radius: 6px !important;
    color: #fff !important;
    outline: none;
}

/* Вариации товара */
.variations td.label label { color: #a0a0cc; font-size: 14px; }
.variations select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.4);
    border-radius: 8px;
    color: #d0d0ff;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s;
}
.variations select:focus { border-color: #00f7ff; }
.reset_variations {
    color: #888;
    font-size: 12px;
    text-decoration: none;
    display: block;
    margin-top: 8px;
    transition: color 0.3s;
}
.reset_variations:hover { color: #00f7ff; }
.woocommerce-variation-price .price { color: #00f7ff; font-size: 1.4rem; font-weight: 700; }

/* --- Variation Swatches (плагин WVS): кнопочные и image-свотчи --- */
.variations td.value { padding-top: 4px; }

.woo-selected-variation-item-name {
    color: #00f7ff;
    font-weight: 600;
    font-size: 14px;
}

.variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.variable-item {
    cursor: pointer;
    border-radius: 10px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    outline: none;
}

/* Кнопочный свотч */
.button-variable-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.4);
    color: #d0d0ff;
}
.button-variable-item .variable-item-span-button {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}
.button-variable-item:hover {
    border-color: #00f7ff;
    color: #fff;
}

/* Image-свотч (тип атрибута «Изображение») */
.image-variable-item {
    width: 60px;
    height: 60px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(111, 0, 255, 0.4);
    overflow: hidden;
}
.image-variable-item .variable-item-contents,
.image-variable-item img,
.image-variable-item .variable-item-span-image {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    display: block;
}
.image-variable-item:hover {
    border-color: #00f7ff;
    transform: translateY(-2px);
}

/* Цветовой свотч (на будущее) */
.color-variable-item {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(111, 0, 255, 0.4);
}
.color-variable-item .variable-item-span-color {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9px;
}

/* Выбранное состояние — неоновое кольцо */
.variable-item.selected,
.variable-item[aria-checked="true"] {
    border-color: #00f7ff;
    box-shadow: 0 0 0 1px #00f7ff, 0 0 16px rgba(0, 247, 255, 0.45);
}
.button-variable-item.selected,
.button-variable-item[aria-checked="true"] {
    background: rgba(0, 247, 255, 0.1);
    color: #fff;
}
.variable-item:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 247, 255, 0.6);
}

/* Недоступная вариация */
.variable-item.disabled,
.variable-item.wvs-disabled-archive-item,
.variable-item[aria-disabled="true"] {
    opacity: 0.35;
    cursor: not-allowed;
    position: relative;
}
.variable-item.disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 46%, rgba(251, 113, 133, 0.7) 47%, rgba(251, 113, 133, 0.7) 53%, transparent 54%);
    border-radius: inherit;
}

/* Подпись-тултип плагина */
.wvs-tooltip,
.woo-variation-swatches-tooltip {
    background: #0a0a1a;
    border: 1px solid rgba(0, 247, 255, 0.4);
    color: #fff;
    font-size: 12px;
    border-radius: 8px;
    padding: 6px 10px;
}

/* =============================================================
   16. MISCELLANEOUS
   ============================================================= */

/* Store notice */
.woocommerce-store-notice {
    background: linear-gradient(135deg, rgba(111,0,255,0.15), rgba(0,247,255,0.08));
    border-bottom: 1px solid rgba(111, 0, 255, 0.3);
    color: #d0d0ff;
    padding: 12px 20px;
    text-align: center;
    font-size: 13px;
}
.woocommerce-store-notice a { color: #00f7ff; }

/* Скрыть стандартный WC-сброс фильтров (если нет виджета фильтрации) */
.woocommerce-widget-layered-nav-list { list-style: none; padding: 0; }
.woocommerce-widget-layered-nav-list a { color: #a0a0cc; text-decoration: none; font-size: 14px; }
.woocommerce-widget-layered-nav-list a:hover { color: #00f7ff; }

/* Кнопки «Продолжить покупки» и прочие вторичные */
.woocommerce a.button.wc-backward,
.woocommerce .woocommerce-button:not(button):not(.alt):not(.checkout-button) {
    background: transparent;
    border: 1px solid rgba(111, 0, 255, 0.4);
    color: #a0a0cc;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}
.woocommerce a.button.wc-backward:hover {
    border-color: #00f7ff;
    color: #00f7ff;
}

/* =============================================================
   17. АДАПТИВ
   ============================================================= */

@media (max-width: 768px) {
    ul.products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
    ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
    ul.products li.product .price { font-size: 15px; }

    .cart-collaterals { justify-content: stretch; }
    .cart_totals { max-width: 100%; }

    .woocommerce-checkout { grid-template-columns: 1fr; }

    .woocommerce-order-overview.order_details {
        grid-template-columns: 1fr 1fr;
    }

    .woocommerce-account .woocommerce { grid-template-columns: 1fr; }

    .woocommerce-MyAccount-navigation ul { gap: 4px; }
    .woocommerce-MyAccount-navigation ul li a { font-size: 12px; padding: 7px 12px; }

    .flex-control-thumbs img { width: 56px; height: 56px; }

    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
    .form-row.form-row-first,
    .form-row.form-row-last { grid-column: 1; }

    .woocommerce-orders-table { font-size: 12px; }
    .woocommerce-orders-table thead th,
    .woocommerce-orders-table td { padding: 8px 6px; }
}

@media (max-width: 480px) {
    ul.products { grid-template-columns: 1fr 1fr; }

    .woocommerce-cart-form table.shop_table { font-size: 13px; }
    .woocommerce-cart-form table.shop_table td { padding: 10px 8px; }
    .woocommerce-cart-form .product-thumbnail img { width: 52px; height: 52px; }

    .woocommerce-order-overview.order_details { grid-template-columns: 1fr; }

    #order_review { position: static; }
}
