.wc-block-components-notices {
    margin-bottom: 20px;
}

.wc-block-cart-items__header {
    background: #2e7d32;
    color: white;
    font-weight: bold;
}

.wc-block-cart-items__header span {
    text-transform: uppercase;
}

.wc-block-cart-items__row {
    border-bottom: 2px solid #f0f0f0;
    padding: 20px 0;
}

.wc-block-cart-item__product {
    align-items: center;
    height: 200px;
}

.wc-block-cart-item__image img {
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-top: 30px !important;
}

.wc-block-cart-item__product a, span.wc-block-components-product-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px !important;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.wc-block-cart-item__product a:hover {
    color: #f45d01;
}

.wc-block-cart-item__prices .price {
    font-size: 20px;
    color: #2e7d32;
    font-weight: bold;
}

.wc-block-components-quantity-selector__input {
    font-size: 18px;
    padding: 5px;
    width: 60px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.wc-block-components-quantity-selector__button {
    font-size: 18px;
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wc-block-components-quantity-selector__button:hover {
    background-color: #1c5b23;
}

.wc-block-cart-item__remove-link {
    color: #f45d01;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}

.wc-block-cart-item__remove-link:hover {
    text-decoration: underline;
}

.wc-block-cart__totals-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.wc-block-components-totals-item__label {
    font-size: 18px;
    color: #333;
}

.wc-block-components-totals-item__value {
    font-size: 20px;
    font-weight: bold;
    color: #2e7d32;
}

.wc-block-components-totals-item__value .wc-block-formatted-money-amount {
    font-size: 24px;
}

.wc-block-cart__submit-button {
    background: linear-gradient(90deg, #f7b42c, #fc924c);
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    width: 100% !important;
    transition: background 0.3s !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none;
}

.wc-block-cart__submit-button:hover {
    background: linear-gradient(90deg, #f45d01, #f7b42c);
}

.wc-block-cart__payment-options {
    margin-top: 30px;
}

.wc-block-cart__payment-options .payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.wc-block-cart__payment-options .payment-icons img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.wc-block-cart__payment-options .payment-icons img:hover {
    transform: scale(1.1);
}

.wc-block-cart__totals-wrapper {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

.wc-block-components-sidebar {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
}

.wc-block-components-totals-item__value .wc-block-formatted-money-amount {
    color: #f45d01;
    font-size: 24px;
    font-weight: bold;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
    padding: 20px;
}

.is-large.wc-block-cart .wc-block-cart-items th, .wc-block-cart-items__header-total {
    padding: 5px !important;
    text-align: center !important;
}

.wc-block-cart-item__image {
    padding-top: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.wc-block-cart-item__product {
    padding-top: 15px !important;
    padding-left: 25px !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.cart-discount-banner {
    background-color: #f8d7da; /* Светлый фон */
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    color: #721c24;
    text-align: center;
}

.discount-message {
    font-size: 16px;
}

.discount-text {
    font-weight: bold;
}

.discount-details {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

.wc-block-components-product-price__value {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

#wc-guest-checkout-notice {
    display: none;
}

/****/
/* Общие уведомления */
.wc-block-components-notices {
    margin-bottom: 20px;
}

/* Заголовки секций */
.wc-block-components-checkout-step__title {
    background: #2e7d32;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    text-transform: uppercase;
}

/* Поля ввода */
.wc-block-components-text-input input,
.wc-block-components-address-form select {
    border: 2px solid #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.wc-block-components-text-input input:focus,
.wc-block-components-address-form select:focus {
    border-color: #2e7d32;
    outline: none;
}

/* Кнопка оформления заказа */
.wc-block-components-checkout-place-order-button {
    background: #f45d01;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.wc-block-components-checkout-place-order-button:hover {
    background: #d94c00;
}

/* Кнопка возврата в корзину */
.wc-block-components-checkout-return-to-cart-button {
    color: #2e7d32;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.wc-block-components-checkout-return-to-cart-button:hover {
    color: #1b5e20;
}

/* Контейнер заказа */
.wc-block-checkout__sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Стиль карточек товаров */
.wc-block-components-order-summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
}

.wc-block-components-order-summary-item__image img {
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Общая сумма заказа */
.wc-block-components-totals-footer-item {
    font-size: 22px;
    font-weight: bold;
    color: #2e7d32;
}
h2 {
    font-family: 'Montserrat', sans-serif;
    color: #777;
    letter-spacing: 2px;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2FydDMiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTAgMS41QS41LjUgMCAwIDEgLjUgMUgyYS41LjUgMCAwIDEgLjQ4NS4zNzlMMi44OSAzSDE0LjVhLjUuNSAwIDAgMSAuNDkuNTk4bC0xIDVhLjUuNSAwIDAgMS0uNDY1LjQwMWwtOS4zOTcuNDcyTDQuNDE1IDExSDEzYS41LjUgMCAwIDEgMCAxSDRhLjUuNSAwIDAgMS0uNDkxLS40MDhMMi4wMSAzLjYwNyAxLjYxIDJILjVhLjUuNSAwIDAgMS0uNS0uNU0zLjEwMiA0bC44NCA0LjQ3OSA5LjE0NC0uNDU5TDEzLjg5IDR6TTUgMTJhMiAyIDAgMSAwIDAgNCAyIDIgMCAwIDAgMC00bTcgMGEyIDIgMCAxIDAgMCA0IDIgMiAwIDAgMCAwLTRtLTcgMWExIDEgMCAxIDEgMCAyIDEgMSAwIDAgMSAwLTJtNyAwYTEgMSAwIDEgMSAwIDIgMSAxIDAgMCAxIDAtMiIvPgo8L3N2Zz4=) !important;
    color: #777;
    font-size: 35px;
}

/*****/
.wc-block-components-title.wc-block-components-title {
    padding: 15px !important;
}

.wp-block-woocommerce-checkout-order-summary-block {
    border: none !important;
}

/****/
.wc-block-components-validation-error p {
    font-size: inherit;
    color: #cc1818;
}

/* Order-received */
/* .woocommerce {
	margin-bottom: 35px;
} */
.woocommerce-notice--success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-weight: bold;
}

.woocommerce-order-overview {
    padding: 0;
    font-size: 16px;
	width: 100%; 
    display: flex; 
	border: 1px dashed #cfc8d8;
}
.woocommerce-order-overview li {
	flex: 1;
    padding: 10px !important;
	height: 65px;
	border: none !important;
}

.woocommerce-order-overview strong {
    color: #333;
}

.woocommerce-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fdfdfd; 
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05); 
}

.woocommerce-table th, .woocommerce-table td {
    padding: 12px;
    border: 1px solid #e0e0e0; 
}

.woocommerce-table th {
    background: #f5f5f5; 
    color: #333; 
    text-align: left;
    font-weight: 600;
}

.woocommerce-table td {
    background: #ffffff; 
    color: #555; 
}

.woocommerce-table tbody tr:hover {
    background: #f9f9f9;
}


.order-actions-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}
.order-actions-button:hover {
    background: #0056b3;
}

.woocommerce-customer-details {
    background: #f8f9fa; /* Светло-серый нейтральный фон */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6; /* Мягкая граница */
    margin-top: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05); /* Легкая тень */
}

.woocommerce-customer-details h2 {
    color: #495057; /* Темно-серый цвет заголовка */
    font-size: 18px;
    font-weight: 600;
}

.woocommerce-customer-details address {
    font-style: normal;
    color: #6c757d; /* Умеренно-серый текст */
    line-height: 1.6;
}

.woocommerce-customer-details p {
    color: #6c757d;
    margin: 5px 0;
}

/* Легкое выделение при наведении */
.woocommerce-customer-details:hover {
    background: #f1f3f5;
}

/*** ***/
.wp-block-woocommerce-cart-totals-block .wc-block-components-radio-control, .wc-block-components-totals-item__description {
	display: none;
}

.wc-block-components-totals-wrapper {
	border-top: 1px solid hsla(0, 0%, 7%, .11) !important;
}

.wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title:before {
	top: 13px !important;
	color: black;
}