/*
Theme Name: Storefront Child
Theme URI: https://woo.com/products/storefront/
Template: storefront
Author: Automattic
Author URI: https://woo.com/
Version: 4.5.4.1707235593
*/

/* ==========================================================================
   1. БАЗОВОЕ ЖЕЛЕЗНОЕ ВОЗВРАЩЕНИЕ СКРОЛЛА И ГЛОБАЛЬНЫЕ СТИЛИ
   ========================================================================== */
html, body {
    overflow-y: auto !important;   /* Жестко разрешаем вертикальный скролл везде */
    overflow-x: hidden !important;  /* Прячем горизонтальный скролл от вылетов */
    height: auto !important;
}

/* Фикс для админки WP (чтобы внутренние контейнеры не блокировали экран) */
body.wp-admin, body.wp-admin html {
    overflow-y: auto !important;
    overflow-x: auto !important;
}

body {
    background: #000 !important;
}


.wc-block-product-new {
	display:none;
}



a {
    text-decoration: none !important;
}

.col-full {
    width: 100%;
    max-width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.col-1, 
.col-2 {
    max-width: 100% !important;
}

nav.col-2,
.navbar,
#site-navigation,
.site-branding,
.fourohfour-columns-2,
.error404 .woocommerce .columns-4,
.error404 h2,
section.storefront-sticky-add-to-cart,
nav.storefront-product-pagination,
.storefront-breadcrumb {
    display: none !important;
}

h1, h2, h3, h4, h5, h6, 
.wc-block-grid__product-title,
.menu-title {
    color: #fff !important;
    font-family: 'Behrens';
}

.menu-title {
    font-size: 30px !important; 
}

.menu-title:before, 
.menutitle:after {
    margin-top: 10px !important;
}

/* Шрифты */
@font-face {
    font-family: 'Behrens';
    src: url('/web/20240328093100im_/https://aspirog.ru/wp-content/themes/storefront-child/fonts/BehrensAntiqua.woff') format('woff'),
         url('/web/20240328093100im_/https://aspirog.ru/wp-content/themes/storefront-child/fonts/BehrensAntiqua.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Элементы таблиц */
table {
    background: #000 !important;
    border-radius: 10px !important;
    width: 100%;
    border-collapse: collapse;
}

tr {
    display: block;
    margin-bottom: 20px;
    background: #202020;
    border-radius: 10px;
}

th, td {
    color: #fff;
    background: #333 !important;
    border-radius: 10px !important;
    padding: 10px;
}

/* Формы и инпуты */
input, 
input.search-field,
.input-text,
textarea#order_comments {
    border-radius: 10px !important;
    background: #333 !important;
    color: #ccc !important;
    width: 100%;
    box-sizing: border-box;
}

.input-text {
    height: 50px;
    margin-top: -3px;
}

button.alt, 
input[type="button"].alt, 
input[type="reset"].alt, 
input[type="submit"].alt, 
.button.alt, 
.widget-area .widget a.button.alt {
    background-color: #fabe44;
    border-color: transparent;
    color: #000;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================================================
   2. Шапка сайта и Навигация
   ========================================================================== */
header#masthead {
    width: 100%;
    height: 330px;
    background: url(https://web.archive.org/web/20240328093100im_/https://aspirog.ru/img/bg2.png) no-repeat center center;
    background-size: cover;
    padding-top: 20px;
    border: none;
    margin-bottom: 40px;
}

header .col-full {
    max-width: 90% !important;
}

header .site-search {
    display: none !important;
}

.site-logo {
    margin-top: 90px;
}

span.h-tel {
    position: absolute;
    right: 220px;
    margin-top: 12px;
}

.menu-position {
    position: absolute;
    top: 35px;
}

ul.site-menu {
    margin-left: 30px;
    display: block;
    color: white;
    background: none !important;
}

ul.site-menu li {
    display: inline;
    color: white;
    padding-right: 13px;
    font-size: 16px;
}

/* Фиксированная корзина в шапке */
ul#site-header-cart {
    position: fixed;
    z-index: 999;
    right: 60px;
    width: 130px;
    background: #fabe44;
    border-radius: 10px;
    height: 46px;
    color: #000;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul#site-header-cart ul.woocommerce-mini-cart {
    position: relative;
}

a.cart-contents {
    color: #fff !important;
    display: block;
    padding: 10px 13px 0 12px;
    width: 100% !important;
    box-sizing: border-box;
}

.cart-contents span.woocommerce-Price-amount.amount {
    display: none;
}

.cart-contents span.count,
.site-header-cart .cart-contents::after {
    color: #000;
}

.site-header-cart .cart-contents:hover {
    text-decoration: none !important;
}

/* ==========================================================================
   3. Страница каталога (Цикл товаров)
   ========================================================================== */
.home .content-area {
    display: none;
}

.home header#masthead {
    margin-bottom: 0px;
}

header.woocommerce-products-header {
    padding-bottom: 20px !important;
}

.page-title {
    display: flex !important; 
    align-items: center !important; 
    margin: 0 auto !important; 
    justify-content: center;
    font-size: 40px;
}

.page-title:before {
    content: url(/web/20240328093100im_/https://aspirog.ru/img/linebefore.png);
    margin-right: 10px;
    margin-top: -20px;
}

.page-title:after {
    content: url(/web/20240328093100im_/https://aspirog.ru/img/lineafter.png);
    margin-left: 10px;
    margin-top: -20px;
}

p.woocommerce-result-count {
    text-align: center;
    margin-bottom: 0px;
    color: #fff;
}

.woocommerce-ordering {
    display: none;
}

.storefront-sorting {
    margin-bottom: 0px;
}

select.orderby {
    position: absolute;
    right: 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 4px;
    margin-top: -4px;
}

/* Сетка товаров на ПК */
ul.products {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 -10px;
    padding: 0;
}

ul.products li.product {
    background: #101010;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    position: relative;
    box-sizing: border-box;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover {
    text-decoration: none !important;
}

h2.woocommerce-loop-product__title {
    font-size: 20px !important;
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    margin-bottom: 10px;
}

p.paweight {
    text-align: left;
    position: absolute;
    right: 23px;
    top: 363px;
    color: #fff;
    margin: 0;
}

li.product span.onsale {
    position: absolute;
    top: 20px;
    left: 20px;
    background: red;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Цены в каталоге */
li.product span.price {
    text-align: left;
    display: block;
    margin-bottom: 15px;
}

span.price bdi,
span.price ins bdi {
    font-size: 20px;
}

span.price ins bdi {
    float: left;
    margin-left: 0px;
}

li.product .price del {
    opacity: 0.5;
    font-weight: normal !important;
    color: #fff;
    text-decoration: none;
    position: relative;
    margin-left: 10px;
}

li.product .price del::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 2px solid white;
}

/* Кнопки в каталоге */
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    border-radius: 10px;
    background: #fabe44;
    width: 110px;
    color: #000;
    text-align: center;
    font-weight: bold;
}

.added_to_cart.alt, 
.added_to_cart, 
.widget a.button.checkout {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
    border-radius: 10px;
    margin-left: 8px;
}

a.added_to_cart.wc-forward {
    position: absolute;
    bottom: 29px;
    right: 20px;
    display: inline-block;
    width: 41px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    font-family: "Font Awesome 5 Free";
    font-size: 0px;
}

a.added_to_cart.wc-forward::after {
    content: "\f054";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    margin: auto;
    font-size: 10px;
}

/* Пагинация */
span.page-numbers.current {
    border-radius: 10px !important;
    padding: 5px 10px;
}

.woocommerce-pagination .page-numbers li .page-numbers.current {
    background-color: #fabe44;
    font-weight: bold;
    color: #000;
}

/* --- Десктопное позиционирование цены и кнопки на одной линии --- */
@media screen and (min-width: 769px) {
    ul.products li.product {
        padding-bottom: 70px !important;
    }

    ul.products li.product span.price {
        position: absolute !important;
        bottom: 25px !important;
        left: 20px !important;
        margin-bottom: 0 !important;
        display: inline-block !important;
    }

    ul.products li.product a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        position: absolute !important;
        bottom: 20px !important;
        right: 20px !important;
        margin: 0 !important;
	
        transition: right 0.2s ease !important;
    }
	


    ul.products li.product:has(.added_to_cart) a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        right: 65px !important;
    }

    ul.products li.product a.added_to_cart.wc-forward {
        position: absolute !important;
        bottom: 20px !important;
        right: 20px !important;
        display: block !important;
        width: 35px !important;
        height: 34px !important;
        background: #333333 !important;
        border: 1px solid #fabe44 !important;
        border-radius: 8px !important;
        text-align: center !important;
        line-height: 32px !important;
        z-index: 11 !important;
        margin: 0 !important;
    }

    ul.products li.product a.added_to_cart.wc-forward::after {
        content: "\f054" !important;
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;
        font-size: 12px !important;
        color: #fabe44 !important;
        position: static !important;
    }
}

/* ==========================================================================
   4. Карточка товара (Single Product)
   ========================================================================== */
p.single-weight {
    position: absolute;
    top: 100px;
    left: 223px;
}

.woocommerce-product-details__short-description p {
    color: #fff;
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper {
    display: none !important;
}

/* ==========================================================================
   5. Страница Корзины (Новые блоки WooCommerce)
   ========================================================================== */
table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block {
    background: #101010 !important;
    border-radius: 10px;
    padding: 20px;
}

tr.wc-block-cart-items__row {
    margin: 20px;
    position: relative;
}

tr.wc-block-cart-items__header {
    display: none;
}

.wc-block-cart__main .wc-block-cart-items td {
    border-top: none !important;
}

td.wc-block-cart-item__image {
    width: 160px;
}

a.wc-block-components-product-name {
    color: #fff;
    text-decoration: none !important;
}

span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    font-size: 25px;
}

.wc-block-components-product-metadata__description {
    display: none !important;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap, 
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap {
    gap: 10px;
}

.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    bottom: 20px;
    font-weight: bold;
}

.wc-block-components-quantity-selector {
    background: #333;
    color: #fff;
}

.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
    background: #101010;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.is-large.wc-block-cart .wc-block-cart__totals-title {
    text-align: left !important;
    font-size: 20px !important;
}

a.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    color: #000;
    background: #fabe44;
    border-radius: 10px;
}

.wc-block-cart__submit-container {
    background: black;
}

a.wc-block-components-totals-coupon-link {
    color: #fabe44;
    border: 1px solid #fabe44;
    border-radius: 10px;
    padding: 5px 20px;
    text-decoration: none !important;
}

a.wc-block-components-totals-coupon-link:hover {
    background: #fabe44;
    color: #000;
}

.wc-block-components-notice-banner {
    background: #fabe44 !important;
    color: #000;
    border: 1px solid #000 !important;
    border-radius: 10px;
    margin-bottom: 40px !important;
}

.wc-block-components-notice-banner.is-info>svg {
    background-color: #000 !important;
}

.woocommerce-info, 
.woocommerce-noreviews, 
p.no-comments {
    background-color: #fabe44;
    color: #000;
}

.page-id-8 .hentry .entry-content a {
    color: #fff;
    font-size: 20px;
}

.page-id-8 .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    position: absolute;
    right: 30px;
}

.page-id-8 .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
    height: 340px;
}

/* ==========================================================================
   6. Оформление заказа (Checkout)
   ========================================================================== */
#order_review {
    background-color: #101010;
}

.woocommerce-checkout p {
    display: block !important;
}

.woocommerce-checkout label,
label {
    color: #fff !important;
    border-radius: 10px;
    background: transparent !important; /* Убрали темную заливку, чтобы не перекрывать поля */
    font-size: 18px !important; 
}

.woocommerce-billing-fields label,
#order_comments_field label,
.page-id-10 label {
    background: none !important;
}

.woocommerce-checkout input:focus {
    background: #333;
}

.notes {
    color: #fff;
}

td.product-total {
    text-align: center;
    float: right;
    margin-top: -58px;
    background: #333 !important; /* Заменили слепящий серый #BFBFBF на темный #333 */
    font-weight: 700;
    width: 140px;
    color: #fff !important;
}

td.woocommerce-table__product-name.product-name a {
    color: #fff;
}

span.woocommerce-Price-amount.amount {
    color: #fff;
    font-weight: 600;
}

tr.cart-subtotal, 
tr.cart-subtotal td {
    background: #202020 !important; /* Заменили слепящий серый #BFBFBF на темный #202020 */
    color: #fff !important;
}

tr.order-total,
tr.order-total td,
.order-total td {
    background: #FABE44 !important;
    color: #000 !important; /* Сделали текст черным для отличной читаемости на золотом фоне */
}

li.wc_payment_methods {
    background: #333 !important;
}

li.wc_payment_method.payment_method_cod {
    background: black !important;
}

li.wc_payment_method.payment_method_cod label {
    margin: 0;
    margin-top: -43px;
}

.payment_box.payment_method_cod {
    display: block !important; /* Вернули отображение описания при выборе оплаты при получении */
    background: #202020 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

#payment .payment_methods li input[type=radio]:first-child:checked+label:before {
    color: white;
}

.form-row.place-order {
    margin: 0 !important;
    margin-top: 18px !important;
    border-radius: 10px;
    background: #333 !important;
    color: #fff;
}

.form-row.place-order a {
    color: #fff;
}

button#place_order {
    background: #FABE44 !important;
    color: black !important;
}

/* === ИСПРАВЛЕНО: Теперь детали заказа (адрес, телефон) ПОКАЗЫВАЮТСЯ на странице успешной оплаты === */
.page-id-9 .woocommerce-order-details {
    display: block !important;
}

/* ==========================================================================
   7. Личный кабинет (My Account)
   ========================================================================== */
.page-id-10 .entry-content {
    background: #101010;
    border-radius: 10px;
    border: 1px solid #fabe44;
    padding: 20px;
}

.page-id-10 nav.woocommerce-MyAccount-navigation a {
    color: #fff !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.page-id-10 .woocommerce-MyAccount-navigation a::before {
    color: #fabe44 !important;
    opacity: 1 !important;
}

.page-id-10 .woocommerce-MyAccount-navigation a:hover {
    background: #333;
    border-radius: 10px;
}

.page-id-10 .woocommerce-MyAccount-content,
.page-id-10 .woocommerce-MyAccount-content a {
    color: #fff;
}

fieldset, fieldset legend {
    background: none;
}

fieldset {
    padding: 0;
}

span.password-input {
    margin-top: -10px;
    margin-left: 20px;
}

button.woocommerce-Button.button,
a.woocommerce-button.button.view {
    border-radius: 10px;
    background: #fabe44;
}

a.woocommerce-button.button.view {
    color: #000;
}

/* ==========================================================================
   8. Блок социальных иконок и футер
   ========================================================================== */
.site-footer {
    background-color: #000;
    border-top: 1px solid #FABE44;
    padding: 20px 0;
}

p.mb-0.footer-phones {
    text-align: right;   
}

.sm-icons {
    position: absolute;
    right: 60px;
    bottom: 0px;
}

.social {
    display: inline-block;
}

.social a {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 10px 10px 0;
    text-align: center;
    color: #000;
    background: #fff;
    border-radius: 24px;
}

.social svg {
    margin-top: 1px;
    width: 20px;
    height: 20px;
}

.instagram a, .telegram a, .vk a, .whatsapp a {
    transition: transform 0.1s ease-in-out;
}

.instagram a:hover, .telegram a:hover, .vk a:hover, .whatsapp a:hover {
    transform: translateY(-5px); 
}

.page-id-173 .text {
    color: black;
    margin-left: 30px;
    font-size: 14px;
}

.page-id-173 header.entry-header,
.page-id-182 header.entry-header {
    padding-bottom: 0px !important;
}

.page-id-182 h1.entry-title {
    text-align: center;
}

.hentry .entry-content a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

header.entry-header {
    padding-bottom: 40px !important;
}

.swiper-container {
    overflow: hidden;
}

/* ==========================================================================
   9. Глобальные медиа-запросы (Мобильная оптимизация)
   ========================================================================== */
@media screen and (max-width: 768px) {
    ul#site-header-cart {
        display: none;
    }
    
    .col-full {
        max-width: 95% !important;
    }
    
    textarea#order_comments {
        height: 120px;
    }
	
	li.product span.onsale { 
	        bottom: 9px;
	        top: auto;
	        font-size: 10px;
	}
	
	li.product .price del::after {
		top: 55% !important;
	}
    
	ul.products li.product .price ins, ul.products .wc-block-grid__product .price ins, .wc-block-grid__products li.product .price ins, .wc-block-grid__products .wc-block-grid__product .price ins {
		margin-left:0 !important;
	}
	
	span.woocommerce-Price-amount.amount {
		padding-left:0px !important; 
	}
	
	.page-id-8 .hentry .entry-content a {
		color: #fff;
		font-size: 16px;
		margin-left: 90px;
	}
	
	.page-id-8 span.price.wc-block-components-product-price {
		display: none;
	}
	.page-id-8 .wc-block-cart-item__prices {
		margin-left: 90px;
	}
	
	a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
		margin-left: 0px;
	}
	
	.page-id-8 .wc-block-cart-item__quantity {
		margin-left:90px;
	}
	
	.page-id-8 td.wc-block-cart-item__image img {
		margin-left: 15px !important;
		margin-top: -22px !important;
	}
	
	.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
		margin-top: 60px;
	}
	
	span.woocommerce-Price-amount.amount {
		margin-left: 10px;
		/* padding-left: 60px; */
	}
	
	.page-id-9 span.woocommerce-Price-amount.amount {
		color:#000 !important; /* Исправлено: белый цвет цены на черном фоне страницы "Спасибо за покупку" */
	}
	
	p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
		color: #fff;
	}
	
    span.h-tel {
        position: static;
        display: block;
        text-align: center;
        font-size: 16px;
        margin-top: 10px;
        color: #fff;
    }
    
    button.woocommerce-button.button.woocommerce-form-login__submit {
        width: 100%;
        background: #fabe44;
        border-radius: 10px;
    }
    
    span.password-input {
        width: 100%;
        margin-left: 0px;
        margin-top: 2px;
    }
    
    .navbar {
        display: flex !important;
    }
    
    .menu-position,
    .wc-block-cart__submit-container.wc-block-cart__submit-container--sticky,
    .wc-block-components-product-metadata,
    .page-id-8 .wc-block-components-product-badge.wc-block-components-sale-badge,
    footer ul.nav,
    .storefront-breadcrumb {
        display: none !important;
    }
    
    header#masthead {
        background: url(https://web.archive.org/web/20240328093052im_/https://aspirog.ru/img/bg2.png) no-repeat center center;
        background-size: cover;
        margin-top: 0px;
        height: 257px;
        padding-top: 10px;
    }
    
    .site-logo {
        margin-top: 15px;
        text-align: center;
    }
    
    .site-logo img {
        width: 110px !important;
        margin: 0 auto;
    }

    ul.products {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    ul.products li.product {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 140px;
        margin: 0 0 15px 0 !important;
        padding: 15px !important;
        padding-bottom: 65px !important;
        box-sizing: border-box !important;
        background: #101010;
        border-radius: 10px;
        overflow: hidden;
    }
    
    ul.products li.product a.woocommerce-LoopProduct-link {
        display: block !important;
        width: 100% !important;
        text-decoration: none !important;
    }

    ul.products li.product img,
    img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        position: absolute !important;
        top: 15px !important;
        left: 15px !important;
        width: 110px !important;
        height: 110px !important;
        object-fit: cover !important;
        margin: 0 !important;
        float: none !important;
        border-radius: 10px !important;
    }
    
    h2.woocommerce-loop-product__title,
    p.paweight,
    li.product span.price,
    a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        float: none !important;
        position: static !important;
        margin: 0 !important;
        width: auto !important;
    }

    h2.woocommerce-loop-product__title {
        font-size: 16px !important;
        line-height: 1.3 !important;
        height: auto !important;
        display: block !important;
        padding: 0 !important;
        padding-left: 125px !important;
        margin-bottom: 6px !important;
        color: #fff !important;
    }
    
    p.paweight {
        display: block !important;
        font-size: 13px !important;
        color: #aaa !important;
        padding-left: 125px !important;
        margin-bottom: 10px !important;
    }

    li.product span.price {
        position: absolute !important;
        bottom: 15px !important;
        left: 140px !important;
        display: inline-flex !important;
        flex-direction: column-reverse !important; 
        align-items: flex-start !important;
        line-height: 1.2 !important;
        height: auto !important;
        width: auto !important;
        z-index: 5 !important;
    }
    
    span.price bdi, 
    span.price ins bdi {
        font-size: 18px !important;
        color: #fff !important;
        font-weight: bold !important;
    }

    li.product .price del,
    li.product .price del bdi {
        font-size: 13px !important;
        opacity: 0.5 !important;
        margin: 0 0 2px 0 !important;
        display: block !important;
    }

    a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        position: absolute !important;
        bottom: 15px !important;
        right: 15px !important; 
        display: block !important;
        width: 110px !important;
        height: 34px !important;
        line-height: 24px !important;
        font-size: 13px !important;
        text-align: center !important;
        padding: 5px !important;
        background: #fabe44 !important;
        color: #000 !important;
        font-weight: bold !important;
        border-radius: 8px !important;
        z-index: 10 !important;
        transition: right 0.2s ease !important;
    }

    li.product:has(.added_to_cart) a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        right: 60px !important;
    }

    a.added_to_cart.wc-forward {
        position: absolute !important;
        bottom: 15px !important;
        right: 15px !important; 
        display: block !important;
        width: 35px !important;
        height: 34px !important;
        background: #333333 !important;
        border: 1px solid #fabe44 !important;
        border-radius: 8px !important;
        text-align: center !important;
        line-height: 32px !important;
        z-index: 11 !important;
        margin: 0 !important;
    }

    a.added_to_cart.wc-forward::after {
        content: "\f054" !important;
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;
        font-size: 12px !important;
        color: #fabe44 !important;
        position: static !important;
    }

    .storefront-handheld-footer-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important; left: 0 !important; right: 0 !important;
        border-top: 1px solid #202020 !important;
        height: 60px !important;
        background: #000 !important;
        z-index: 99999 !important;
    }

    .storefront-handheld-footer-bar ul {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important; padding: 0 !important;
        list-style: none !important;
    }

    .storefront-handheld-footer-bar ul li {
        flex: 1 !important;
        text-align: center !important;
    }

    .storefront-handheld-footer-bar ul li a {
        display: block !important;
        color: #fabe44 !important;
        padding-top: 35px !important;
        position: relative !important;
        font-size: 11px !important;
    }

    .sm-icons {
        position: static !important;
        margin: 20px auto !important;
        text-align: center;
    }
    
    p.mb-0 {
        text-align: center !important;
    }
} /* Медиа-запрос корректно закрыт */

/* ==========================================================================
   10. Дополнительные фиксы десктопных элементов и мини-корзины
   ========================================================================== */
ul#site-header-cart {
    position: fixed;
    z-index: 9999; 
    right: 60px;
    top: 20px; 
    width: 140px; 
    background: #fabe44;
    border-radius: 10px;
    height: 46px;
    color: #000;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul#site-header-cart .widget.woocommerce.widget_shopping_cart {
    display: block !important;
    position: absolute;
    top: 46px;
    right: 0;
    background: #101010;
    border: 1px solid #fabe44;
    border-radius: 10px;
    width: 250px;
    padding: 15px;
    display: none !important; 
}

ul#site-header-cart:hover .widget.woocommerce.widget_shopping_cart {
    display: block !important;
}

ul#site-header-cart:hover .widget_shopping_cart,
ul#site-header-cart:hover .dropdown-menu,
ul#site-header-cart:hover .site-header-cart-menu-toggle {
    display: none !important; 
    visibility: hidden !important;
    opacity: 0 !important;
}

.social.max svg {
    margin-top: 3px;
}

/* ---------- Checkout / Forms (стили для полей ввода) ---------- */
.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=password],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url],
.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text],
.wc-block-components-text-input input[type=url]{
  background-color:#fff !important;
  color:#111 !important;
  border:1px solid #d7d7d7 !important;
}

/* Стилизация классического оформления заказа */
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout textarea,
body.woocommerce-checkout select{
  background:#fff !important;
  color:#111 !important;
  border:1px solid #d7d7d7 !important;
  border-radius:12px !important;
  padding:14px 16px !important;
  font-size:15px !important;
  line-height:1.2 !important;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.woocommerce-checkout input::placeholder,
body.woocommerce-checkout textarea::placeholder{
  color:#777 !important;
}
body.woocommerce-checkout input:hover,
body.woocommerce-checkout textarea:hover,
body.woocommerce-checkout select:hover{
  border-color:#c9c9c9 !important;
}
body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus{
  outline:none !important;
  border-color:#FABE44 !important; /* Фокус полей в цвет бренда */
  box-shadow:0 0 0 2px rgba(250, 190, 68, 0.25) !important;
  background:#fff !important;
}
body.woocommerce-checkout .form-row label{
  color:#fff !important; /* ИСПРАВЛЕНО: Белые читаемые надписи полей на черном фоне */
  font-size:13px !important;
  margin-bottom:6px !important;
  display:block !important;
}
body.woocommerce-checkout .form-row .required{ color:#FABE44 !important; } /* Золотая звездочка обязательного поля */
body.woocommerce-checkout .form-row .optional{ color:#888 !important; }
body.woocommerce-checkout input[type="hidden"]{ display:none !important; }

/* === ИСПРАВЛЕНО: Полностью убрано вредоносное скрытие таблицы товаров (.shop_table) === */

/* Стилизация блока обзора заказа */
.woocommerce-checkout #order_review {
  background:#262626 !important;
  border:1px solid #FABE44 !important; /* Рамка вокруг чекаута золотая */
  border-radius:18px !important;
  padding:18px 18px 22px !important;
}
.woocommerce-checkout #order_review table,
.woocommerce-checkout #order_review table.shop_table,
.woocommerce-checkout #order_review .shop_table{
  background:transparent !important;
  border:none !important;
  width: 100% !important;
}
.woocommerce-checkout #order_review table th,
.woocommerce-checkout #order_review table td{
  background:transparent !important;
  border:none !important;
  padding: 12px 0 !important;
  color: #fff !important;
}

/* Финальный итог (Order Total) */
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td{
  color:#000 !important; /* ИСПРАВЛЕНО: Черный текст на контрастной золотой полосе итога */
  font-size:18px !important;
  font-weight:700 !important;
  border-top:1px solid #444 !important;
  padding-top:16px !important;
}
.woocommerce-checkout #order_review .amount,
.woocommerce-checkout #order_review .woocommerce-Price-amount{
  color:inherit !important;
}

/* Доставка на чекауте */
.woocommerce-checkout #order_review .woocommerce-shipping-totals th,
.woocommerce-checkout #order_review .woocommerce-shipping-totals td{
  background:transparent !important;
  color:#fff !important; 
}
.woocommerce-checkout #order_review ul#shipping_method{
  margin:8px 0 0 !important;
  padding:0 !important;
  list-style:none !important;
}
.woocommerce-checkout #order_review ul#shipping_method li{
  padding:10px 12px !important;
  border:1px solid #444 !important;
  border-radius:12px !important;
  background:#333 !important; 
  color: #fff !important;
}
.woocommerce-checkout #order_review ul#shipping_method input[type="radio"]{
  accent-color:#FABE44 !important; /* Радиокнопки золотые */
}
.woocommerce-checkout #order_review ul#shipping_method label{
  color:#fff !important;
  font-weight:500 !important;
}

/* Блок выбора платежных систем */
.woocommerce-checkout #payment{
  background:transparent !important;
  border:none !important;
  margin-top:16px !important;
  padding:0 !important;
}
.woocommerce-checkout #payment .wc_payment_methods{
  background:transparent !important;
  border:none !important;
  padding:0 !important;
  margin:0 !important;
  list-style:none !important;
}
.woocommerce-checkout #payment .wc_payment_method{
  background:#333 !important; 
  border:1px solid #444 !important;
  border-radius:14px !important;
  padding:14px 16px !important;
  margin:0 0 12px !important;
}
.woocommerce-checkout #payment .wc_payment_method label{
  color:#fff !important;
  font-weight:600 !important;
}
.woocommerce-checkout #payment .wc_payment_method input[type="radio"]{
  accent-color:#FABE44 !important;
}
.woocommerce-checkout #payment .payment_box{
  background:#202020 !important;
  border:1px solid #444 !important;
  color:#fff !important;
  border-radius:12px !important;
  padding:12px 14px !important;
}

/* Текст политики конфиденциальности */
.woocommerce-checkout #order_review .woocommerce-privacy-policy-text,
.woocommerce-checkout #order_review .woocommerce-privacy-policy-text p{
  color:#aaa !important;
}
.woocommerce-checkout #order_review .woocommerce-privacy-policy-text a{
  color:#fff !important;
  text-decoration:underline !important;
}

/* Кнопка оформления заказа */
.woocommerce-checkout #place_order.button,
.woocommerce-checkout #place_order{
  width:100% !important;
  margin-top:16px !important;
  background:#FABE44 !important; /* ИСПРАВЛЕНО: Кнопка золотая */
  border:none !important;
  border-radius:12px !important; 
  color:#000 !important; /* Черный текст на золотом фоне */
  padding:16px !important;
  font-weight:700 !important;
  transition: background .2s ease, opacity .2s ease;
}
.woocommerce-checkout #place_order:hover{ 
  background:#FABE44 !important; 
  opacity:0.9 !important; 
}

/* Обертка блока подтверждения заказа */
.woocommerce-checkout #order_review .place-order,
.woocommerce-checkout .woocommerce-checkout-payment .place-order{
  background:#333 !important;
  border:1px solid #444 !important;
  border-radius:18px !important;
  padding:16px !important;
  margin-top:14px !important;
}
.woocommerce-checkout #order_review .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper{
  background:transparent !important;
  border:none !important;
  padding:0 !important;
  margin:0 !important;
}
.woocommerce-checkout #order_review .woocommerce-privacy-policy-text,
.woocommerce-checkout #order_review .woocommerce-privacy-policy-text p,
.woocommerce-checkout .woocommerce-checkout-payment .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-checkout-payment .woocommerce-privacy-policy-text p{
  color:#aaa !important;
  font-size:12px !important;
  line-height:1.4 !important;
  margin:0 0 12px !important;
}
.woocommerce-checkout #order_review .woocommerce-privacy-policy-text a,
.woocommerce-checkout .woocommerce-checkout-payment .woocommerce-privacy-policy-text a{
  color:#fff !important;
  text-decoration:underline !important;
}

/* Скрытия лишних адресов/колонок (если нужно) */
section.woocommerce-columns.woocommerce-columns--2.woocommerce-columns--addresses.col2-set.addresses{ display:none; }

#customer_details .col-1 {
  width: 100%;
}
#customer_details .col-2 {
  width: 100%;
}

#menu img{
	min-width:100%;
}

li.wc_payment_method.payment_method_cod label {
    margin-top: 2px;
    margin-left: -20px;
}

tr.order-total {
    padding-left: 20px;
}

span.woocommerce-Price-amount.amount {
    padding-left: 10px;
}

table.shop_table.woocommerce-checkout-review-order-table {
    margin-bottom: -20px !important;
}

tr.woocommerce-shipping-totals.shipping th{
	display:none;
}

ul#shipping_method li {
    margin-left: 20px;
}

@media (max-width: 767px) {
    a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        width: 86px !important;
    }

header.entry-header {
    padding-bottom: 0px !important;
}
	
	.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background-color: #fabe44 !important;
    color: #000 !important;
}
	
}

.mrjong-weight {
    display: none;
}