/**
 * PPC Additions - Дополнительные стили для динамической функциональности
 * Уведомления, анимации, предупреждения о стоках
 *
 * @package PPC_Rebels
 */

/* ============== УВЕДОМЛЕНИЯ (TOAST) ============== */

.ppc-notification {
	position: fixed !important;
	bottom: 32px !important;
	right: 32px !important;
	width: auto !important;
	max-width: 480px !important;
	padding: 16px 20px !important;
	border-radius: 12px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	white-space: nowrap !important;

	/* Единый нейтральный стиль */
	background: #192230 !important;
	color: #fff !important;
	border: 1px solid #2d3748 !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;

	z-index: 10000 !important;
	opacity: 0 !important;
	transform: translateY(100px) scale(0.95) !important;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
	pointer-events: none !important;
}

.ppc-notification.show {
	opacity: 1 !important;
	transform: translateY(0) scale(1) !important;
	pointer-events: all !important;
}

/* Адаптив для мобильных */

@media (max-width: 768px) {
	.ppc-notification {
		bottom: 20px !important;
		right: 16px !important;
		left: 16px !important;
		min-width: auto !important;
		max-width: none !important;
	}
}

/* ============== ПРЕДУПРЕЖДЕНИЯ О СТОКАХ ============== */

.stock-warnings {
	margin: 20px 0 !important;
	display: none !important;
}

.stock-warning {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	padding: 16px !important;
	margin-bottom: 12px !important;
	background: #fef3c7 !important;
	border: 1px solid #fbbf24 !important;
	border-radius: 8px !important;
	color: #92400e !important;
}

.stock-warning__icon {
	width: 20px !important;
	height: 20px !important;
	line-height: 1 !important;
	flex-shrink: 0 !important;
	color: currentColor !important;
}

.stock-warning__icon svg {
	width: 100% !important;
	height: 100% !important;
	display: block !important;
}

.stock-warning__message {
	font-size: 14px !important;
	line-height: 1.5 !important;
}

/* ============== АНИМАЦИЯ ЗАГРУЗКИ НА КНОПКАХ ============== */

.product-order__button.loading {
	position: relative !important;
	color: transparent !important;
	pointer-events: none !important;
}

.product-order__button.loading::after {
	content: '' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 20px !important;
	height: 20px !important;
	margin: -10px 0 0 -10px !important;
	border: 2px solid rgba(255, 255, 255, 0.3) !important;
	border-top-color: #fff !important;
	border-radius: 50% !important;
	animation: ppc-spin 0.6s linear infinite !important;
}

@keyframes ppc-spin {
	to {
		transform: rotate(360deg) !important;
	}
}

/* ============== СОСТОЯНИЕ DRAGGING ДЛЯ ЗАГРУЗКИ ФАЙЛОВ ============== */

.product-controls__file-label.dragging {
	border-color: #045B6C !important;
	background: rgba(4, 91, 108, 0.05) !important;
}

.product-controls__file-label.dragging::before {
	content: 'Отпустите файлы здесь' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #045B6C !important;
	pointer-events: none !important;
}

/* ============== АНИМАЦИЯ ДЛЯ МОДАЛЬНОГО ОКНА ============== */

.price-modal {
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.price-modal.active {
	opacity: 1 !important;
	visibility: visible !important;
}

.price-modal__overlay {
	opacity: 0 !important;
	transition: opacity 0.3s ease !important;
}

.price-modal.active .price-modal__overlay {
	opacity: 1 !important;
}

.price-modal__content {
	transform: scale(0.9) !important;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.price-modal.active .price-modal__content {
	transform: scale(1) !important;
}

/* ============== АНИМАЦИЯ ДЛЯ FAQ ============== */

.faq__answer {
	max-height: 0 !important;
	overflow: hidden !important;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out !important;
}

.faq__item--active .faq__answer {
	max-height: 2000px !important;
	transition: max-height 0.5s ease-in, padding 0.3s ease-in !important;
}

.faq__question-icon {
	transition: transform 0.3s ease !important;
}

.faq__item--active .faq__question-icon {
	transform: rotate(180deg) !important;
}

/* ============== АНИМАЦИЯ ДЛЯ ТЕКСТ-КОЛЛАПСА ============== */

.product-section__content {
	transition: max-height 0.3s ease !important;
}

.product-section__content.is-collapsed::after {
	content: '' !important;
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	height: 80px !important;
	background: linear-gradient(to bottom, transparent, #fff) !important;
	pointer-events: none !important;
}

.product-section__toggle-button {
	display: block !important;
	margin: 20px auto 0 !important;
	padding: 12px 32px !important;
	background: #045B6C !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background 0.25s ease, transform 0.1s ease !important;
}

.product-section__toggle-button:hover {
	background: #034a5a !important;
}

.product-section__toggle-button:active {
	transform: scale(0.98) !important;
}

/* ============== ФОКУС-СТИЛИ ДЛЯ ДОСТУПНОСТИ ============== */

.product-controls__section.focused {
	outline: 2px solid #045B6C !important;
	outline-offset: 2px !important;
	border-radius: 4px !important;
}

/* ============== СОСТОЯНИЯ КНОПОК ============== */

.product-order__button:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
}

.product-order__button:not(:disabled):hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(4, 91, 108, 0.3) !important;
}

.product-order__button:not(:disabled):active {
	transform: translateY(0) !important;
}

/* ============== ПРЕЛОАДЕР ДЛЯ PRODUCT-ORDER ============== */

/* Оверлей с прелоадером для всего блока */
.product-order.loading {
	position: relative !important;
	pointer-events: none !important;
}

.product-order.loading::before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: rgba(230, 238, 240, 0.95) !important;
	backdrop-filter: blur(4px) !important;
	border-radius: inherit !important;
	z-index: 10 !important;
}

.product-order.loading::after {
	content: '' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	margin: -25px 0 0 -25px !important;
	width: 50px !important;
	height: 50px !important;
	border: 4px solid rgba(255, 255, 255, 0.2) !important;
	border-top-color: #045B6C !important;
	border-radius: 50% !important;
	animation: ppc-spinner-rotate 0.8s linear infinite !important;
	z-index: 11 !important;
}

@keyframes ppc-spinner-rotate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* ============== ПУЛЬСАЦИЯ ДЛЯ РАСЧЁТА ЦЕНЫ ============== */

.product-order__total-value.calculating {
	animation: ppc-pulse 1s ease-in-out infinite !important;
}

@keyframes ppc-pulse {

	0%,
	100% {
		opacity: 1 !important;
	}

	50% {
		opacity: 0.5 !important;
	}
}

/* ============== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ============== */

@media (max-width: 768px) {
	.stock-warning {
		padding: 12px !important;
		gap: 8px !important;
	}

	.stock-warning__message {
		font-size: 13px !important;
	}

	.product-section__toggle-button {
		width: 100% !important;
		padding: 14px 20px !important;
	}
}

/* ============== ТЕМНАЯ ТЕМА (ОПЦИОНАЛЬНО) ============== */

@media (prefers-color-scheme: dark) {
	.stock-warning {
		background: #451a03 !important;
		border-color: #78350f !important;
		color: #fef3c7 !important;
	}
}

/* ============== ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ ============== */

.ppc-fade-in {
	animation: ppc-fade-in 0.3s ease-in !important;
}

@keyframes ppc-fade-in {
	from {
		opacity: 0 !important;
		transform: translateY(-10px) !important;
	}

	to {
		opacity: 1 !important;
		transform: translateY(0) !important;
	}
}

.ppc-slide-down {
	animation: ppc-slide-down 0.3s ease-out !important;
}

@keyframes ppc-slide-down {
	from {
		max-height: 0 !important;
		opacity: 0 !important;
	}

	to {
		max-height: 500px !important;
		opacity: 1 !important;
	}
}

/* ============== ACCESSIBILITY ============== */

/* Увеличиваем область клика для кнопок */
.product-controls__file-remove,
.faq__question,
.product-section__toggle-button {
	min-height: 44px !important;
	min-width: 44px !important;
}

/* Outline для клавиатурной навигации */
*:focus-visible {
	outline: 2px solid #045B6C !important;
	outline-offset: 2px !important;
}

/* Скрываем outline для мыши */
*:focus:not(:focus-visible) {
	outline: none !important;
}

/* ============== PRINT STYLES ============== */

@media print {

	.ppc-notification,
	.stock-warnings,
	.product-order__button,
	.product-section__toggle-button {
		display: none !important;
	}
}

/* ========================================
   КОРЗИНА - PPC CART
   ======================================== */

.ppc-cart {
	max-width: 100% !important;
	margin: 0 auto !important;
}

.ppc-cart .amount {
	color: #fff !important;
}

/* Пустая корзина */
.ppc-cart__empty {
	text-align: center !important;
	padding: 80px 40px !important;
	background: #192230 !important;
	border-radius: 20px !important;
}

.ppc-cart__empty-icon {
	color: #4a5568 !important;
	margin-bottom: 24px !important;
}

.ppc-cart__empty-icon svg {
	width: 80px !important;
	height: 80px !important;
}

.ppc-cart__empty-title {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 12px !important;
}

.ppc-cart__empty-text {
	font-size: 16px !important;
	color: #9ca3af !important;
	margin: 0 0 32px !important;
}

.ppc-cart__empty-btn {
	display: inline-block !important;
	padding: 14px 32px !important;
	background: #045B6C !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 12px !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
}

.ppc-cart__empty-btn:hover {
	background: #034a5a !important;
	color: #fff !important;
	transform: translateY(-2px) !important;
}

/* Заголовок корзины */
.ppc-cart__header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 24px !important;
}

.ppc-cart__title {
	font-size: 32px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 !important;
}

.ppc-cart__clear-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 10px 20px !important;
	background: transparent !important;
	border: 1px solid #d1d5db !important;
	color: #6b7280 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.25s ease !important;
}

.ppc-cart__clear-btn:hover {
	border-color: #ef4444 !important;
	color: #ef4444 !important;
	background: rgba(239, 68, 68, 0.1) !important;
}

.ppc-cart__clear-btn svg {
	width: 16px !important;
	height: 16px !important;
}

/* Список товаров */
.ppc-cart__items {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
	margin-bottom: 24px !important;
}

.ppc-cart__item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 20px !important;
	padding: 24px !important;
	background: #192230 !important;
	border-radius: 16px !important;
	border: 1px solid #2d3748 !important;
	transition: border-color 0.25s ease !important;
}

.ppc-cart__item:hover {
	border-color: #045B6C !important;
}

/* Изображение товара */
.ppc-cart__item-image {
	flex-shrink: 0 !important;
	width: 100px !important;
	height: 100px !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	border: 2px solid #045B6C !important;
}

.ppc-cart__item-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

/* Информация о товаре */
.ppc-cart__item-info {
	flex: 1 !important;
	min-width: 0 !important;
}

.ppc-cart__item-header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	gap: 16px !important;
	margin-bottom: 12px !important;
}

.ppc-cart__item-name {
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 !important;
}

.ppc-cart__item-name a {
	color: inherit !important;
	text-decoration: none !important;
}

.ppc-cart__item-name a:hover {
	color: #045B6C !important;
}

.ppc-cart__item-remove {
	flex-shrink: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	color: #6b7280 !important;
	border-radius: 8px !important;
	transition: all 0.25s ease !important;
}

.ppc-cart__item-remove:hover {
	color: #ef4444 !important;
	background: rgba(239, 68, 68, 0.1) !important;
}

/* Опции товара */
.ppc-cart__item-options {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin-bottom: 8px !important;
}

.ppc-cart__item-option {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	padding: 4px 10px !important;
	background: rgba(4, 91, 108, 1) !important;
	border-radius: 6px !important;
	font-size: 13px !important;
}

.ppc-cart__item-option-label {
	color: #fff !important;
}

.ppc-cart__item-option-value {
	color: #fff !important;
	font-weight: 500 !important;
}

.ppc-cart__item-option--more {
	background: rgba(107, 114, 128, 0.2) !important;
	color: #fff !important;
}

.ppc-cart__item-qty {
	font-size: 14px !important;
	color: #9ca3af !important;
}

/* Цена товара */
.ppc-cart__item-price {
	flex-shrink: 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #fff !important;
	text-align: right !important;
}

/* Футер корзины */
.ppc-cart__footer {
	background: #192230 !important;
	border-radius: 16px !important;
	padding: 24px !important;
	border: 1px solid #2d3748 !important;
}

.ppc-cart__total {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 20px !important;
	padding-bottom: 20px !important;
	border-bottom: 1px solid #374151 !important;
}

.ppc-cart__total-label {
	font-size: 18px !important;
	color: #fff !important;
}

.ppc-cart__total-value {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #fff !important;
}

.ppc-cart__actions {
	display: flex !important;
	justify-content: flex-end !important;
}

.ppc-cart__checkout-btn {
	display: inline-block !important;
	padding: 16px 48px !important;
	background: #045B6C !important;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	border-radius: 12px !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
}

.ppc-cart__checkout-btn:hover {
	background: #034a5a !important;
	color: #fff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(4, 91, 108, 0.3) !important;
}

/* ========================================
   CHECKOUT - PPC CHECKOUT
   ======================================== */

.ppc-checkout {
	max-width: 100% !important;
	margin: 0 auto !important;
}

.ppc-checkout__grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 40px !important;
}

.ppc-checkout__fields,
.ppc-checkout__summary {
	background: #192230 !important;
	border-radius: 20px !important;
	padding: 32px !important;
	border: 1px solid #2d3748 !important;
}



.ppc-checkout__section-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 24px !important;
}

.woocommerce-billing-fields>h3 {
	display: none !important;
}

.ppc-checkout__order-notes {
	margin-top: 10px !important;
}

.ppc-checkout__order-notes textarea {
	resize: none !important;
}

/* Поля формы */
.ppc-checkout__customer-details .woocommerce-billing-fields__field-wrapper,
.ppc-checkout__order-notes {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
}

.ppc-checkout .form-row {
	margin: 0 !important;
	padding: 0 !important;
}

.ppc-checkout .form-row label {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #9ca3af !important;
	margin-bottom: 8px !important;
	display: block !important;
}

.ppc-checkout .form-row .required {
	color: #ef4444 !important;
}

.ppc-checkout .form-row input,
.ppc-checkout .form-row textarea {
	width: 100% !important;
	padding: 14px 16px !important;
	background: #0f1720 !important;
	border: 1px solid #374151 !important;
	border-radius: 10px !important;
	color: #fff !important;
	font-size: 16px !important;
	transition: border-color 0.25s ease !important;
}

.ppc-checkout .form-row input:focus,
.ppc-checkout .form-row textarea:focus {
	border-color: #045B6C !important;
	outline: none !important;
}

.ppc-checkout .form-row input::placeholder,
.ppc-checkout .form-row textarea::placeholder {
	color: #6b7280 !important;
}

.ppc-checkout .form-row textarea {
	min-height: 100px !important;
}

/* Товары в сводке */
.ppc-checkout__order-items {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
	margin-bottom: 24px !important;
}

.ppc-checkout__item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 16px !important;
	padding: 16px !important;
	background: rgba(15, 23, 32, 0.5) !important;
	border-radius: 12px !important;
}

.ppc-checkout__item-image {
	flex-shrink: 0 !important;
	width: 60px !important;
	height: 60px !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	border: 2px solid #045B6C !important;
}

.ppc-checkout__item-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.ppc-checkout__item-info {
	flex: 1 !important;
	min-width: 0 !important;
}

.ppc-checkout__item-header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	gap: 12px !important;
	margin-bottom: 8px !important;
}

.ppc-checkout__item-name {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 !important;
}

.ppc-checkout__item-remove {
	flex-shrink: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 24px !important;
	height: 24px !important;
	color: #6b7280 !important;
	border-radius: 6px !important;
	transition: all 0.25s ease !important;
}

.ppc-checkout__item-remove:hover {
	color: #ef4444 !important;
	background: rgba(239, 68, 68, 0.1) !important;
}

.ppc-checkout__item-options {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
}

.ppc-checkout__item-option {
	font-size: 12px !important;
	color: #fff !important;
	padding: 2px 8px !important;
	background: rgba(4, 91, 108, 1) !important;
	border-radius: 4px !important;
}

.ppc-checkout__item-qty {
	font-size: 12px !important;
	color: #6b7280 !important;
	margin-top: 4px !important;
}

.ppc-checkout__item-price .amount {
	flex-shrink: 0 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #fff !important;
}

/* Итого */
.ppc-checkout__totals {
	padding: 20px 0 !important;
	border-top: 1px solid #374151 !important;
	border-bottom: 1px solid #374151 !important;
	margin-bottom: 24px !important;
}

.ppc-checkout__total-row {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
}

.ppc-checkout__total-row--final .ppc-checkout__total-label {
	font-size: 18px !important;
	color: #9ca3af !important;
}

.ppc-checkout__total-row--final .ppc-checkout__total-value {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #fff !important;
}

.ppc-checkout__summary .amount {
	color: #fff !important;
}

/* Способы оплаты */
.ppc-checkout__payment-title {
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 0 16px !important;
}

.ppc-checkout #payment {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

.ppc-checkout .woocommerce-checkout-payment {
	background: transparent !important;
}

.ppc-checkout .wc_payment_methods {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 24px !important;
}

.ppc-checkout .wc_payment_method {
	margin-bottom: 12px !important;
}

.ppc-checkout .wc_payment_method label {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	cursor: pointer !important;
	transition: all 0.25s ease !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 500 !important;
}

.ppc-checkout .wc_payment_method label:hover {
	border-color: #045B6C !important;
}

.ppc-checkout .wc_payment_method input[type="radio"] {
	width: 20px !important;
	height: 20px !important;
	accent-color: #045B6C !important;
}


/* Условия и кнопка */
.ppc-checkout .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 20px !important;
}

.ppc-checkout .woocommerce-terms-and-conditions-checkbox-text {
	color: #9ca3af !important;
	font-size: 14px !important;
}

.ppc-checkout .woocommerce-terms-and-conditions-checkbox-text a {
	color: #045B6C !important;
}

.ppc-checkout .woocommerce-privacy-policy-text {
	color: #6b7280 !important;
	font-size: 13px !important;
	margin-bottom: 16px !important;
}

.payment_methods .payment_box:before {
	display: none !important;
}

.payment_method_ppc_crypto>p {
	display: none !important;
}

.payment_method_ppc_crypto {
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
}

.ppc-checkout .woocommerce-privacy-policy-text a {
	color: #045B6C !important;
}

.ppc-checkout #place_order {
	width: 100% !important;
	padding: 18px 32px !important;
	background: #045B6C !important;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	border: none !important;
	border-radius: 12px !important;
	cursor: pointer !important;
	transition: all 0.25s ease !important;
}

.ppc-checkout #place_order:hover {
	background: #034a5a !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(4, 91, 108, 0.3) !important;
}

/* Скрываем ненужные элементы WC */
.ppc-checkout .woocommerce-checkout-review-order-table,
.ppc-checkout #order_review_heading,
.ppc-checkout .woocommerce-shipping-fields,
.ppc-checkout h3#ship-to-different-address-checkbox {
	display: none !important;
}

/* ========================================
   THANK YOU PAGE - PPC THANKYOU
   ======================================== */

.ppc-thankyou {
	max-width: 800px !important;
	margin: 0 auto !important;
}

/* Успешный заказ */
.ppc-thankyou__success {
	text-align: center !important;
}

.ppc-thankyou__success-icon {
	color: #10b981 !important;
	margin-bottom: 24px !important;
}

.ppc-thankyou__success-icon svg {
	width: 80px !important;
	height: 80px !important;
}

.ppc-thankyou__title {
	font-size: 36px !important;
	font-weight: 700 !important;
	color: #333 !important;
	margin: 0 0 16px !important;
}

.ppc-thankyou__order-info {
	display: flex !important;
	justify-content: center !important;
	gap: 24px !important;
	margin-bottom: 32px !important;
}

.ppc-thankyou__order-number,
.ppc-thankyou__order-date {
	font-size: 16px !important;
	color: #333 !important;
}

.ppc-thankyou__order-number strong {
	color: #000 !important;
}

/* Что дальше */
.ppc-thankyou__next-steps {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 12px !important;
	padding: 20px 24px !important;
	background: rgba(4, 91, 108, 0.15) !important;
	border: 1px solid rgba(4, 91, 108, 0.3) !important;
	border-radius: 12px !important;
	margin-bottom: 40px !important;
	color: #333 !important;
}

.ppc-thankyou__next-steps-icon {
	color: #045B6C !important;
	flex-shrink: 0 !important;
	line-height: 0 !important;
}

.ppc-thankyou__next-steps p {
	margin: 0 !important;
	color: #000 !important;
	font-size: 16px !important;
	text-align: left !important;
}

/* Детали заказа */
.ppc-thankyou__details {
	background: #192230 !important;
	border-radius: 20px !important;
	padding: 32px !important;
	margin-bottom: 32px !important;
	text-align: left !important;
	border: 1px solid #2d3748 !important;
}

.ppc-thankyou__section-title {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 0 20px !important;
}

.ppc-thankyou__items {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
	margin-bottom: 24px !important;
}

.ppc-thankyou__item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 16px !important;
	padding: 16px !important;
	background: rgba(15, 23, 32, 0.5) !important;
	border-radius: 12px !important;
}

.ppc-thankyou__item-image {
	flex-shrink: 0 !important;
	width: 70px !important;
	height: 70px !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	border: 2px solid #045B6C !important;
}

.ppc-thankyou__item-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.ppc-thankyou__item-info {
	flex: 1 !important;
}

.ppc-thankyou__item-name {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 0 8px !important;
}

.ppc-thankyou__item-options {
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
}

.ppc-thankyou__item-option {
	font-size: 13px !important;
}

.ppc-thankyou__item-option-label {
	color: #6b7280 !important;
}

.ppc-thankyou__item-option-value {
	color: #fff !important;
}

.ppc-thankyou__item-qty {
	font-size: 13px !important;
	color: #6b7280 !important;
	margin-top: 8px !important;
}

.ppc-thankyou__item-price {
	flex-shrink: 0 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #fff !important;
}

.ppc-thankyou__details .amount {
	color: #fff !important;
}

/* Итого на thankyou */
.ppc-thankyou__total {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding-top: 20px !important;
	border-top: 1px solid #374151 !important;
	margin-bottom: 16px !important;
}

.ppc-thankyou__total-label {
	font-size: 18px !important;
	color: #9ca3af !important;
}

.ppc-thankyou__total-value {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #fff !important;
}

.ppc-thankyou__payment-method {
	font-size: 14px !important;
	color: #6b7280 !important;
}

/* Контакты */
.ppc-thankyou__contacts {
	background: #192230 !important;
	border-radius: 16px !important;
	padding: 24px !important;
	margin-bottom: 32px !important;
	text-align: center !important;
	border: 1px solid #2d3748 !important;
}

.ppc-thankyou__contacts-title {
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 0 16px !important;
}

.ppc-thankyou__contacts-list {
	display: flex !important;
	justify-content: center !important;
	gap: 16px !important;
	flex-wrap: wrap !important;
}

.ppc-thankyou__contact {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 12px 20px !important;
	background: rgba(15, 23, 32, 0.5) !important;
	border: 1px solid #374151 !important;
	border-radius: 10px !important;
	color: #fff !important;
	font-size: 15px !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
}

.ppc-thankyou__contact:hover {
	border-color: #045B6C !important;
	color: #fff !important;
}

.ppc-thankyou__contact--tg:hover {
	border-color: #0088cc !important;
	background: rgba(0, 136, 204, 0.1) !important;
}

/* Кнопки */
.ppc-thankyou__actions {
	text-align: center !important;
}

.ppc-thankyou__btn {
	display: inline-block !important;
	padding: 16px 40px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 12px !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
}

.ppc-thankyou__btn--primary {
	background: #045B6C !important;
	color: #fff !important;
}

.ppc-thankyou__btn--primary:hover {
	background: #034a5a !important;
	color: #fff !important;
	transform: translateY(-2px) !important;
}

.ppc-thankyou__btn--secondary {
	background: transparent !important;
	border: 1px solid #374151 !important;
	color: #9ca3af !important;
}

.ppc-thankyou__btn--secondary:hover {
	border-color: #045B6C !important;
	color: #fff !important;
}

/* Ошибка и не найден */
.ppc-thankyou__error,
.ppc-thankyou__not-found {
	text-align: center !important;
	padding: 60px 40px !important;
	background: #192230 !important;
	border-radius: 20px !important;
	border: 1px solid #2d3748 !important;
}

.ppc-thankyou__error-icon,
.ppc-thankyou__not-found-icon {
	color: #ef4444 !important;
	margin-bottom: 24px !important;
}

.ppc-thankyou__error-title,
.ppc-thankyou__not-found-title {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 12px !important;
}

.ppc-thankyou__error-text,
.ppc-thankyou__not-found-text {
	font-size: 16px !important;
	color: #9ca3af !important;
	margin: 0 0 32px !important;
}

.ppc-thankyou__error-actions {
	display: flex !important;
	justify-content: center !important;
	gap: 16px !important;
	flex-wrap: wrap !important;
}

/* ========================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ
   ======================================== */

@media (max-width: 768px) {

	/* Корзина */
	.ppc-cart__header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 16px !important;
	}

	.ppc-cart__title {
		font-size: 24px !important;
	}

	.ppc-cart__item {
		flex-direction: column !important;
		gap: 16px !important;
	}

	.ppc-cart__item-image {
		width: 80px !important;
		height: 80px !important;
	}

	.ppc-cart__item-price {
		text-align: left !important;
	}

	.ppc-cart__footer {
		padding: 20px !important;
	}

	.ppc-cart__total-value {
		font-size: 24px !important;
	}

	.ppc-cart__checkout-btn {
		width: 100% !important;
		text-align: center !important;
		padding: 16px 24px !important;
	}

	/* Checkout */
	.ppc-checkout__grid {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	.ppc-checkout__fields,
	.ppc-checkout__summary {
		padding: 24px !important;
	}

	.ppc-checkout__section-title {
		font-size: 20px !important;
	}

	/* Thank You */
	.ppc-thankyou__title {
		font-size: 28px !important;
	}

	.ppc-thankyou__order-info {
		flex-direction: column !important;
		gap: 8px !important;
	}

	.ppc-thankyou__next-steps {
		flex-direction: column !important;
		text-align: center !important;
	}

	.ppc-thankyou__next-steps p {
		text-align: center !important;
	}

	.ppc-thankyou__details {
		padding: 24px !important;
	}

	.ppc-thankyou__item {
		flex-direction: column !important;
	}

	.ppc-thankyou__item-price {
		text-align: left !important;
	}

	.ppc-thankyou__contacts-list {
		flex-direction: column !important;
	}

	.ppc-thankyou__contact {
		justify-content: center !important;
	}

	.ppc-thankyou__btn {
		width: 100% !important;
	}
}

/* ========================================
   СКРЫВАЕМ СТАНДАРТНЫЕ ЭЛЕМЕНТЫ WC
   ======================================== */

.ppc-cart-page .woocommerce-cart-form__contents,
.ppc-cart-page .cart-collaterals,
.ppc-cart-page .shop_table,
.ppc-cart-page .cart_totals,
.ppc-cart-page .cross-sells,
.ppc-checkout-page .woocommerce-form-coupon-toggle,
.ppc-checkout-page #ship-to-different-address-checkbox {
	display: none !important;
}

/* Скрываем стандартные WC notices на этих страницах */
.ppc-cart-page .woocommerce-info,
.ppc-cart-page .woocommerce-message:not(.ppc-notification),
.ppc-checkout-page .woocommerce-info,
.ppc-thankyou-page .woocommerce-info {
	background: rgba(4, 91, 108, 0.15) !important;
	border-color: rgba(4, 91, 108, 0.3) !important;
	color: #333 !important;
	border-radius: 12px !important;
	padding: 16px 20px !important;
	margin-bottom: 20px !important;
}

.ppc-cart-page .woocommerce-info a,
.ppc-cart-page .woocommerce-message:not(.ppc-notification) a,
.ppc-checkout-page .woocommerce-info a,
.ppc-thankyou-page .woocommerce-info a {
	color: #333 !important;
}

.restore-item {
	display: none !important;
}

.wd-notice:before,
div.wpcf7-response-output:before,
.mc4wp-alert:before,
:is(.woocommerce-error, .woocommerce-message, .woocommerce-info):before {
	display: none !important;
}

.ppc-cart-page .woocommerce-error,
.ppc-checkout-page .woocommerce-error,
.ppc-thankyou-page .woocommerce-error {
	background: rgba(239, 68, 68, 0.15) !important;
	border-color: rgba(239, 68, 68, 0.3) !important;
	color: #fca5a5 !important;
	border-radius: 12px !important;
	padding: 16px 20px !important;
}

/* ========================================
   ПУСТАЯ КОРЗИНА
   ======================================== */

/* Скрываем стандартный блок WooCommerce и WoodMart */
.woocommerce .cart-empty,
.woocommerce .woocommerce-info.cart-empty,
.woocommerce .wc-empty-cart-message,
.woocommerce .empty-page,
.woocommerce .wd-empty-page,
.woocommerce .wd-empty-page-text {
	display: none !important;
}

.ppc-empty-cart {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 500px !important;
	padding: 60px 40px !important;
	background: #192230 !important;
	border-radius: 20px !important;
	text-align: center !important;
	position: relative !important;
	overflow: hidden !important;
}




.ppc-empty-cart__icon {
	width: 120px !important;
	height: 120px !important;
	margin-bottom: 30px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #045B6C !important;
	border-radius: 50% !important;
	color: rgba(255, 255, 255, 0.4) !important;
	position: relative !important;
	z-index: 1 !important;
	animation: floatIcon 3s ease-in-out infinite !important;
}

@keyframes floatIcon {

	0%,
	100% {
		transform: translateY(0px) !important;
	}

	50% {
		transform: translateY(-10px) !important;
	}
}

.ppc-empty-cart__icon svg {
	width: 80px !important;
	height: 80px !important;
}

.ppc-empty-cart__content {
	position: relative !important;
	z-index: 1 !important;
	max-width: 500px !important;
}

.ppc-empty-cart__title {
	color: #fff !important;
	font-size: 32px !important;
	font-weight: 700 !important;
	margin: 0 0 15px 0 !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.ppc-empty-cart__text {
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 16px !important;
	line-height: 1.7 !important;
	margin: 0 0 35px 0 !important;
}

.ppc-empty-cart__actions {
	display: flex !important;
	gap: 15px !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	margin-bottom: 25px !important;
	margin-top: 25px !important;
}

/* Белая кнопка для пустой корзины */
.ppc-empty-cart .ppc-btn {
	padding: 16px 40px !important;
	font-size: 16px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	background: #fff !important;
	color: #192230 !important;
	border: 2px solid transparent !important;
	font-weight: 700 !important;
	border-radius: 12px !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.ppc-empty-cart .ppc-btn:hover {
	background: transparent !important;
	color: #fff !important;
	border-color: #fff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

.ppc-empty-cart .ppc-btn svg {
	width: 20px !important;
	height: 20px !important;
}

.ppc-empty-cart__hint {
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 14px !important;
	margin: 0 !important;
}

.ppc-empty-cart__link {
	color: #045B6C !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	transition: all 0.2s ease !important;
	background: linear-gradient(135deg, #045B6C 0%, #0a6f86 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
}

.ppc-empty-cart__link:hover {
	opacity: 0.8 !important;
	text-decoration: underline !important;
}

/* Адаптив для пустой корзины */
@media (max-width: 768px) {
	.ppc-empty-cart {
		min-height: 400px !important;
		padding: 40px 20px !important;
	}

	.ppc-empty-cart__icon {
		width: 100px !important;
		height: 100px !important;
		margin-bottom: 25px !important;
	}

	.ppc-empty-cart__icon svg {
		width: 60px !important;
		height: 60px !important;
	}

	.ppc-empty-cart__title {
		font-size: 24px !important;
	}

	.ppc-empty-cart__text {
		font-size: 15px !important;
	}

	.ppc-empty-cart__actions {
		flex-direction: column !important;
		width: 100% !important;
	}

	.ppc-empty-cart .ppc-btn {
		width: 100% !important;
		justify-content: center !important;
		padding: 14px 30px !important;
	}
}

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

.ppc-auth {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 40px !important;
	max-width: 1000px !important;
	margin: 0 auto !important;
}

.ppc-auth:has(.ppc-auth__column:only-child) {
	grid-template-columns: 1fr !important;
	max-width: 500px !important;
}

.ppc-auth__column {
	display: flex !important;
	flex-direction: column !important;
}

.ppc-auth__form-wrapper {
	background: #192230 !important;
	border-radius: 20px !important;
	padding: 40px !important;
	border: 1px solid #2d3748 !important;
	height: 100% !important;
}

.ppc-auth__title {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 30px 0 !important;
	text-align: center !important;
}

.ppc-auth__description {
	color: #9ca3af !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
	text-align: center !important;
	margin: 0 0 25px 0 !important;
	padding: 0 !important;
}

.ppc-auth__form {
	display: flex !important;
	flex-direction: column !important;
	gap: 20px !important;
	color: #fff !important;
}

.ppc-auth__field {
	margin: 0 0 16px 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

.ppc-auth__field label {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #9ca3af !important;
	margin: 0 0 8px 0 !important;
	padding: 0 !important;
	display: block !important;
}

.ppc-auth__field .required {
	color: #ef4444 !important;
}

.ppc-auth__input {
	width: 100% !important;
	padding: 14px 16px !important;
	background: #0f1720 !important;
	border: 1px solid #374151 !important;
	border-radius: 10px !important;
	color: #fff !important;
	font-size: 16px !important;
	transition: border-color 0.25s ease !important;
	margin: 0 !important;
}

.ppc-auth__input:focus {
	border-color: #045B6C !important;
	outline: none !important;
}

.ppc-auth__input::placeholder {
	color: #6b7280 !important;
}

.ppc-auth__remember {
	margin: 0 !important;
	padding: 0 !important;
}

.ppc-auth__checkbox-label {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	cursor: pointer !important;
	color: #9ca3af !important;
	font-size: 14px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ppc-auth__checkbox {
	width: 18px !important;
	height: 18px !important;
	accent-color: #045B6C !important;
	cursor: pointer !important;
	margin: 0 !important;
}

.ppc-auth__button {
	width: 100% !important;
	padding: 16px !important;
	background: #045B6C !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border: none !important;
	border-radius: 12px !important;
	cursor: pointer !important;
	transition: all 0.25s ease !important;
	margin: 10px 0 0 0 !important;
}

.ppc-auth__button:hover {
	background: #034a5a !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(4, 91, 108, 0.3) !important;
}

.ppc-auth__button:active {
	transform: translateY(0) !important;
}

.ppc-auth__lost-password {
	text-align: center !important;
	margin: 10px 0 0 0 !important;
	padding: 0 !important;
}

.ppc-auth__lost-password a {
	color: #045B6C !important;
	font-size: 14px !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease !important;
}

.ppc-auth__lost-password a:hover {
	opacity: 0.8 !important;
	text-decoration: underline !important;
}

@media (max-width: 768px) {
	.ppc-auth {
		grid-template-columns: 1fr !important;
		gap: 30px !important;
	}

	.ppc-auth__form-wrapper {
		padding: 30px 24px !important;
	}

	.ppc-auth__title {
		font-size: 24px !important;
		margin-bottom: 24px !important;
	}
}

/* ========================================
   ФОРМА ЗАПРОСА ЦЕНЫ (INQUIRY)
   ======================================== */

/* Используем ту же сетку что и конфигуратор: .product__controls-wrapper */
.ppc-inquiry-form-wrapper {
	/* Стили контейнера уже есть в .product__controls-wrapper */
}

.ppc-inquiry-form {
	display: flex !important;
	flex-direction: column !important;
	gap: 15px !important;
}

/* Заголовок формы - как в конфигураторе */
.ppc-inquiry-form__header {
	display: flex !important;
	gap: 10px !important;
	margin-bottom: 15px !important;
}

.ppc-inquiry-form__title {
	color: #000 !important;
	font-size: 20px !important;
	font-style: normal !important;
	font-weight: 500 !important;
	line-height: normal !important;
	position: relative !important;
	margin: 0 !important;
}

.ppc-inquiry-form__title::after {
	content: "" !important;
	display: block !important;
	width: 50px !important;
	height: 2px !important;
	background: #045B6C !important;
	margin-top: 12px !important;
}

.ppc-inquiry-form__description {
	color: #000 !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	margin: 0 0 20px 0 !important;
	font-weight: 400 !important;
}

/* Поля формы */
.ppc-inquiry-form__fields {
	display: flex !important;
	flex-direction: column !important;
	gap: 15px !important;
}

.ppc-inquiry-form__field {
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
}

.ppc-inquiry-form__label {
	color: #000 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	display: block !important;
	margin: 0 !important;
}

.ppc-inquiry-form__label .required {
	color: #045B6C !important;
	margin-left: 2px !important;
}

.ppc-inquiry-form__label .optional-indicator {
	color: #666 !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	margin-left: 4px !important;
}

.ppc-inquiry-form__input,
.ppc-inquiry-form__textarea {
	width: 100% !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 8px !important;
	padding: 12px 16px !important;
	color: #000 !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	transition: all 0.2s ease !important;
	outline: none !important;
	font-family: inherit !important;
}

.ppc-inquiry-form__input::placeholder,
.ppc-inquiry-form__textarea::placeholder {
	color: #999 !important;
}

.ppc-inquiry-form__input:focus,
.ppc-inquiry-form__textarea:focus {
	border-color: #045B6C !important;
	box-shadow: 0 0 0 3px rgba(4, 91, 108, 0.1) !important;
}

.ppc-inquiry-form__textarea {
	resize: vertical !important;
	min-height: 120px !important;
}

/* Подсказка */
.ppc-inquiry-form__hint {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 12px 16px !important;
	background: #fff4e6 !important;
	border: 1px solid #ffd699 !important;
	border-radius: 8px !important;
	color: #663c00 !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	margin-top: -5px !important;
}

.ppc-inquiry-form__hint svg {
	flex-shrink: 0 !important;
	color: #ff9800 !important;
}

/* Кнопка - в стиле конфигуратора */
.ppc-inquiry-form__actions {
	margin-top: 10px !important;
}

.ppc-inquiry-form__submit {
	width: 100% !important;
	background: #045B6C !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 16px 24px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	outline: none !important;
	position: relative !important;
}

.ppc-inquiry-form__submit:hover:not(:disabled) {
	background: #034a5a !important;
}

.ppc-inquiry-form__submit:active:not(:disabled) {
	transform: translateY(0) !important;
}

.ppc-inquiry-form__submit:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
}

.ppc-inquiry-form__submit.loading {
	position: relative !important;
	color: transparent !important;
}

.ppc-inquiry-form__submit.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: ppc-spin 0.6s linear infinite;
}

@keyframes ppc-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Сообщение об успехе - компактное под кнопкой */
.ppc-inquiry-form__success {
	display: none;
	align-items: center !important;
	gap: 12px !important;
	margin-top: 16px !important;
	padding: 16px 20px !important;
	background: #d4edda !important;
	border: 1px solid #c3e6cb !important;
	border-radius: 8px !important;
	animation: ppc-success-slide 0.3s ease-out !important;
}

.ppc-inquiry-form__success[style*="display: flex"] {
	display: flex !important;
}

.ppc-inquiry-form__success-icon {
	width: 24px !important;
	height: 24px !important;
	flex-shrink: 0 !important;
	color: #28a745 !important;
}

.ppc-inquiry-form__success-icon svg {
	width: 100% !important;
	height: 100% !important;
	stroke-width: 2.5 !important;
}

@keyframes ppc-success-slide {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ppc-inquiry-form__success-message {
	color: #155724 !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	margin: 0 !important;
	flex: 1 !important;
}

/* Блок информации справа */
.ppc-inquiry-info__content {
	margin-top: 20px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
}

.ppc-inquiry-info__text {
	color: #000 !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	margin: 0 !important;
}

.ppc-inquiry-info__text strong {
	color: #045B6C !important;
	font-weight: 600 !important;
	display: block !important;
	margin-bottom: 4px !important;
}

/* Адаптивность */
@media (max-width: 768px) {
	.ppc-inquiry-form__title {
		font-size: 18px !important;
	}

	.ppc-inquiry-form__description {
		font-size: 14px !important;
	}

	.ppc-inquiry-form__fields {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}

	.ppc-inquiry-form__submit {
		width: 100% !important;
		min-width: auto !important;
	}
}

@media (max-width: 480px) {
	.ppc-inquiry-form {
		padding: 24px 20px !important;
		border-radius: 8px !important;
	}

	.ppc-inquiry-form__header {
		margin-bottom: 24px !important;
	}

	.ppc-inquiry-form__title {
		font-size: 22px !important;
	}

	.ppc-inquiry-form__fields {
		gap: 14px !important;
		margin-bottom: 24px !important;
	}

	.ppc-inquiry-form__success {
		min-height: 250px !important;
		padding: 30px 16px !important;
	}

	.ppc-inquiry-form__success-icon {
		width: 60px !important;
		height: 60px !important;
		margin-bottom: 20px !important;
	}

	.ppc-inquiry-form__success-message {
		font-size: 16px !important;
	}
}

/* ============== КРИПТОВАЛЮТНАЯ ОПЛАТА ============== */

.ppc-crypto-payment {
	margin: 20px 0 !important;
}

/* Сетка криптовалют */
.ppc-crypto-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 12px !important;
	margin-bottom: 24px !important;
}

/* Карточка криптовалюты */
.ppc-crypto-card {
	position: relative !important;
	background: #0f1720 !important;
	border: 2px solid #2d3748 !important;
	border-radius: 12px !important;
	padding: 24px 16px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	text-align: center !important;
}

.ppc-crypto-card:hover {
	border-color: #045B6C !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(4, 91, 108, 0.3) !important;
}

.ppc-crypto-card.active {
	border-color: #045B6C !important;
	background: #192230 !important;
	box-shadow: 0 0 0 3px rgba(4, 91, 108, 0.2) !important;
}

/* Скрываем стандартный radio */
.ppc-crypto-radio {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Label */
.ppc-crypto-label {
	display: block !important;
	cursor: pointer !important;
	margin: 0 !important;
}

.ppc-crypto-name {
	display: block !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #fff !important;
}

.payment_methods li img {
	aspect-ratio: 1 !important;
	max-height: max-content !important;
}

.ppc-crypto-hint {
	display: block !important;
	font-size: 12px !important;
	color: #6b7280 !important;
	margin-top: 4px !important;
}

/* Скрываем детали - они будут в модальном окне */
.ppc-crypto-details {
	display: none !important;
}

/* Модальное окно */
.ppc-crypto-modal {
	display: none !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0, 0, 0, 0.85) !important;
	z-index: 999999 !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 20px !important;
	backdrop-filter: blur(4px) !important;
}

.ppc-crypto-modal.show {
	display: flex !important;
	animation: fadeIn 0.3s ease !important;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.ppc-crypto-modal-content {
	background: #192230 !important;
	border-radius: 16px !important;
	max-width: 500px !important;
	width: 100% !important;
	max-height: 90vh !important;
	overflow-y: auto !important;
	position: relative !important;
	border: 2px solid #2d3748 !important;
	animation: slideUp 0.3s ease !important;
}

@keyframes slideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.ppc-crypto-modal-header {
	padding: 24px 24px 16px !important;
	border-bottom: 1px solid #2d3748 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}

.ppc-crypto-modal-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 !important;
}

.ppc-crypto-modal-close {
	background: transparent !important;
	border: none !important;
	color: #9ca3af !important;
	font-size: 28px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	padding: 0 !important;
	width: 32px !important;
	height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 8px !important;
	transition: all 0.2s ease !important;
}

.ppc-crypto-modal-close:hover {
	background: #2d3748 !important;
	color: #fff !important;
}

.ppc-crypto-modal-body {
	padding: 24px !important;
}

/* QR-код в модальном окне */
.ppc-crypto-modal-qr {
	text-align: center !important;
	margin-bottom: 24px !important;
	padding: 20px !important;
	background: #fff !important;
	border-radius: 12px !important;
	display: inline-block !important;
	width: 100% !important;
}

.ppc-crypto-modal-qr img {
	max-width: 280px !important;
	width: 100% !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto !important;
}

/* Адрес кошелька в модальном окне */
.ppc-crypto-modal-wallet {
	margin-top: 24px !important;
}

.ppc-crypto-modal-wallet-label {
	display: block !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #9ca3af !important;
	margin-bottom: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.ppc-crypto-modal-wallet-value {
	background: #0f1720 !important;
	border: 2px solid #2d3748 !important;
	border-radius: 12px !important;
	padding: 16px !important;
	color: #fff !important;
	font-size: 14px !important;
	font-family: 'Courier New', monospace !important;
	word-break: break-all !important;
	line-height: 1.6 !important;
	margin-bottom: 12px !important;
}

.ppc-crypto-modal-copy-btn {
	background: #045B6C !important;
	color: #fff !important;
	border: none !important;
	border-radius: 12px !important;
	padding: 14px 24px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	width: 100% !important;
	display: block !important;
}

.ppc-crypto-modal-copy-btn:hover {
	background: #034a5a !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(4, 91, 108, 0.4) !important;
}

.ppc-crypto-modal-copy-btn:active {
	transform: translateY(0) !important;
}

.ppc-crypto-modal-copy-btn.copied {
	background: #10b981 !important;
}

/* Поле хеша транзакции */
.ppc-crypto-hash-field {
	margin-top: 24px !important;
	padding: 20px !important;
	background: #0f1720 !important;
	border: 2px solid #2d3748 !important;
	border-radius: 12px !important;
}

.ppc-crypto-hash-field label {
	display: block !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin-bottom: 12px !important;
}

.ppc-crypto-hash-field .required {
	color: #ff4444 !important;
}

.ppc-crypto-hash-field input[type="text"] {
	width: 100% !important;
	background: #192230 !important;
	border: 2px solid #2d3748 !important;
	border-radius: 8px !important;
	padding: 14px 16px !important;
	color: #fff !important;
	font-size: 15px !important;
	font-family: 'Courier New', monospace !important;
	transition: border-color 0.2s ease !important;
}

.ppc-crypto-hash-field input[type="text"]:focus {
	outline: none !important;
	border-color: #045B6C !important;
	box-shadow: 0 0 0 3px rgba(4, 91, 108, 0.1) !important;
}

.ppc-crypto-hash-field small {
	display: block !important;
	margin-top: 8px !important;
	font-size: 13px !important;
	color: #6b7280 !important;
	line-height: 1.4 !important;
}

/* Адаптив для планшетов */
@media (max-width: 1024px) {
	.ppc-crypto-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.ppc-crypto-modal-qr img {
		max-width: 240px !important;
	}
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
	.ppc-crypto-grid {
		grid-template-columns: repeat(1, 1fr) !important;
		gap: 10px !important;
	}

	.ppc-crypto-card {
		padding: 20px 12px !important;
	}

	.ppc-crypto-name {
		font-size: 18px !important;
	}

	.ppc-crypto-modal-content {
		max-width: 95% !important;
	}

	.ppc-crypto-modal-qr img {
		max-width: 200px !important;
	}

	.ppc-crypto-modal-header {
		padding: 20px 16px 12px !important;
	}

	.ppc-crypto-modal-title {
		font-size: 20px !important;
	}

	.ppc-crypto-modal-body {
		padding: 20px 16px !important;
	}

	.ppc-crypto-hash-field {
		padding: 16px !important;
	}
}

@media (max-width: 480px) {

	.ppc-crypto-card {
		padding: 16px 10px !important;
	}

	.ppc-crypto-name {
		font-size: 16px !important;
	}
}