.wcf-card {
	margin: 16px 0;
	padding: 20px 22px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 14px;
	background: linear-gradient(135deg, #ffffff 0%, #f6f3ff 100%);
	box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.wcf-card--compact {
	margin: 0 0 18px;
	padding: 16px 18px;
}

.wcf-card__title {
	margin: 12px 0 18px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #161a2d;
}

.wcf-card__text {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.7;
	color: #2c3147;
}

.wcf-card__text--spaced {
	margin-bottom: 18px;
}

.wcf-card--compact .wcf-card__title {
	font-size: 16px;
	margin-bottom: 14px;
}

.wcf-card--compact .wcf-card__text {
	font-size: 14px;
	line-height: 1.6;
}

.wcf-card__text + .wcf-card__text,
.wcf-card__actions,
.wcf-card__hint {
	margin-top: 14px;
}

.wcf-card__actions--secondary {
	margin-top: 12px;
}

.wcf-card__pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: #161a2d;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff;
}

.wcf-card__pill + .wcf-card__title {
	margin-top: 16px;
}

.wcf-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: end;
}

.wcf-card--compact .wcf-card__actions {
	flex-wrap: nowrap;
	align-items: end;
}

.wcf-card__field {
	flex: 1 1 140px;
}

.wcf-card--compact .wcf-card__field {
	flex: 1 1 auto;
}

.wcf-card__field label,
.wcf-card__label {
	display: block;
	margin-top: 18px;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #2c3147;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-variant: normal !important;
}

.wcf-card__field input[type="number"] {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid rgba(22, 26, 45, 0.16);
	border-radius: 10px;
	background: #ffffff;
}

.wcf-card__button {
	min-height: 44px;
	padding: 10px 16px;
	border: 0;
	border-radius: 10px;
	background: #161a2d;
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.wcf-card--compact .wcf-card__button {
	white-space: nowrap;
}

.wcf-card__button--ghost {
	background: transparent;
	border: 1px solid rgba(22, 26, 45, 0.18);
	color: #161a2d;
}

.wcf-card__hint {
	margin-top: 12px;
	font-size: 13px;
	color: #5b627c;
}

.woocommerce-checkout-review-order .wcf-card,
.cart_totals .wcf-card {
	width: 100%;
}

.cart_totals .shop_table .fee th,
.cart_totals .shop_table .fee td,
.woocommerce-checkout-review-order-table .fee th,
.woocommerce-checkout-review-order-table .fee td {
	vertical-align: top;
}

.cart_totals .shop_table .fee td,
.woocommerce-checkout-review-order-table .fee td {
	text-align: right !important;
	white-space: nowrap;
}

.wcf-order-summary {
	margin: 24px 0;
	padding: 16px 18px;
	border-radius: 12px;
	background: #f7f4ff;
}

.wcf-order-summary h2 {
	margin: 0 0 10px;
}

.wcf-order-summary ul {
	margin: 0;
	padding-left: 18px;
}

body.wcf-inline-stock-active.single-product div.product .summary p.price,
body.wcf-inline-stock-active.single-product div.product .summary .price {
	margin-bottom: 0;
}

body.wcf-inline-stock-active.single-product div.product .summary p.stock,
body.wcf-inline-stock-active.single-product div.product .summary .stock {
	margin: 0;
}

.wcf-price-stock-row {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.wcf-price-stock-row__stock .stock,
.wcf-price-stock-row__stock,
.wcf-price-stock-row__stock.stock,
.wcf-price-stock-row__stock p.stock {
	margin: 0;
	padding-left: 6px;
}

.wcf-price-stock-row__stock-spacer {
	display: inline-block;
	width: 14px;
}

.wcf-account {
	display: grid;
	gap: 20px;
}

.wcf-account__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(160px, 1fr));
	gap: 14px;
}

.wcf-account__card {
	padding: 18px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 14px;
	background: linear-gradient(135deg, #ffffff 0%, #f6f3ff 100%);
}

.wcf-account__card span {
	display: block;
	margin-bottom: 8px;
	color: #5b627c;
	font-size: 13px;
}

.wcf-account__card strong {
	font-size: 24px;
	line-height: 1.1;
}

.wcf-account__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(280px, 1fr));
	gap: 18px;
}

.wcf-account__toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.wcf-account__section-title {
	margin: 0;
}

.wcf-inline-form--filters {
	padding: 12px 14px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 14px;
	background: linear-gradient(135deg, #ffffff 0%, #f9f7ff 100%);
}

.wcf-inline-form--filters input[type="date"] {
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid rgba(22, 26, 45, 0.16);
	border-radius: 10px;
	background: #ffffff;
}

.wcf-filter-button {
	min-height: 42px;
	padding: 8px 18px;
	border-radius: 10px;
}

.wcf-account-table-wrap {
	overflow-x: auto;
	margin-top: 14px;
}

.wcf-account-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.wcf-account-table.shop_table_responsive thead {
	display: table-header-group !important;
}

.wcf-account-table.shop_table_responsive tbody {
	display: table-row-group !important;
}

.wcf-account-table.shop_table_responsive tbody tr {
	display: table-row !important;
}

.wcf-account-table.shop_table_responsive thead th,
.wcf-account-table.shop_table_responsive tbody td {
	display: table-cell !important;
	float: none !important;
}

.wcf-account-table.shop_table_responsive tbody td::before {
	display: none !important;
	content: none !important;
}

.wcf-account-table thead th {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
	text-align: left;
	font-size: 13px;
	letter-spacing: 0.03em;
}

.wcf-account-table tbody td {
	padding: 16px;
	border-bottom: 1px solid rgba(17, 24, 39, 0.06);
	vertical-align: middle;
	text-align: left;
}

.wcf-card--coupons .wcf-card__title {
	margin-bottom: 8px;
	text-align: center;
}

.wcf-card--coupons .wcf-card__hint {
	margin-top: 0;
	margin-bottom: 14px;
	text-align: center;
}

.wcf-card--coupons-standalone {
	max-width: 1040px;
}

.wcf-account-table--coupons thead th:nth-child(1),
.wcf-account-table--coupons tbody td:nth-child(1) {
	width: 34%;
}

.wcf-account-table--coupons thead th:nth-child(2),
.wcf-account-table--coupons tbody td:nth-child(2) {
	width: 18%;
}

.wcf-account-table--coupons thead th:nth-child(3),
.wcf-account-table--coupons tbody td:nth-child(3) {
	width: 24%;
}

.wcf-account-table--coupons thead th:nth-child(4),
.wcf-account-table--coupons tbody td:nth-child(4) {
	width: 24%;
	text-align: center;
}

.wcf-account-table--history thead th:nth-child(1),
.wcf-account-table--history tbody td:nth-child(1) {
	width: 18%;
}

.wcf-account-table--history thead th:nth-child(2),
.wcf-account-table--history tbody td:nth-child(2) {
	width: 20%;
}

.wcf-account-table--history thead th:nth-child(3),
.wcf-account-table--history tbody td:nth-child(3) {
	width: 14%;
}

.wcf-account-table--history thead th:nth-child(4),
.wcf-account-table--history tbody td:nth-child(4) {
	width: 48%;
}

.wcf-account-table--coupons td strong {
	display: inline-block;
	word-break: break-word;
}

.wcf-coupon-status {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.wcf-coupon-status--active {
	background: #e8f6ed;
	color: #1f7a43;
}

.wcf-coupon-status--used {
	background: #f1f3f5;
	color: #5b627c;
}

.wcf-progress {
	margin-top: 12px;
}

.wcf-progress__bar {
	overflow: hidden;
	height: 10px;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.08);
}

.wcf-progress__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #8f6bc7 0%, #161a2d 100%);
}

.wcf-vip-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.wcf-vip-badge--bronze {
	background: #efe2d4;
	color: #83562b;
}

.wcf-vip-badge--silver {
	background: #edf1f5;
	color: #546273;
}

.wcf-vip-badge--gold {
	background: #fff1cc;
	color: #9b6b00;
}

@media (max-width: 900px) {
	.wcf-account__cards,
	.wcf-account__grid {
		grid-template-columns: 1fr;
	}

	.wcf-account__toolbar {
		align-items: stretch;
	}

	.wcf-inline-form--filters {
		width: 100%;
	}
}
