/**
 * Ultras World Games — panel gracza (konto WooCommerce), logowanie/rejestracja i podstawy sklepu.
 * Ładowany tylko na stronach WooCommerce.
 */

/* ------------------------------------------------------------------ rama panelu */
.uwg-panel .content-area,
.uwg-gate .content-area {
	margin-top: 34px;
}

.uwg-panel .woocommerce {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.uwg-panel .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.uwg-panel .woocommerce-MyAccount-navigation,
.uwg-panel .woocommerce-MyAccount-content {
	float: none;
	width: auto;
}

.uwg-panel .woocommerce-MyAccount-navigation {
	padding: 10px;
	border: 2px solid var(--uwg-yellow);
	background: #0c0c0c;
	box-shadow: 0 0 18px rgba(255, 190, 0, 0.220);
}

.uwg-panel .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.uwg-panel .woocommerce-MyAccount-navigation li {
	margin: 0 0 6px;
	border: 0;
}

.uwg-panel .woocommerce-MyAccount-navigation li:last-child {
	margin-bottom: 0;
}

.uwg-panel .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 10px 14px;
	border: 1px solid #2f2f2f;
	background: #161616;
	color: #fff;
	font-family: var(--uwg-display);
	font-size: 19px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
}

.uwg-panel .woocommerce-MyAccount-navigation li a:hover {
	border-color: var(--uwg-yellow);
	color: var(--uwg-yellow);
}

.uwg-panel .woocommerce-MyAccount-navigation li.is-active a {
	border-color: var(--uwg-yellow);
	background: var(--uwg-yellow);
	color: #0b0b0b;
}

.uwg-panel .woocommerce-MyAccount-content {
	min-height: 320px;
	padding: 26px;
	border: 1px solid #2c2c2c;
	background: #0c0c0c;
}

/* Powitanie WooCommerce pod kartą gracza — zastąpione kartą. */
/* ------------------------------------------------------------------ karta gracza */
.uwg-player .uwg-player__card {
	display: flex;
	gap: 22px;
	align-items: center;
}

.uwg-player .uwg-player__avatar {
	display: grid;
	flex: none;
	width: 104px;
	height: 104px;
	border: 3px solid var(--uwg-yellow);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, #2b2b2b, #0a0a0a);
	box-shadow: 0 0 22px rgba(255, 170, 0, 0.450);
	color: var(--uwg-yellow);
	font-family: var(--uwg-display);
	font-size: 58px;
	font-style: italic;
	font-weight: 900;
	place-items: center;
}

.uwg-player p.uwg-player__label {
	margin: 0;
	color: #9a9a9a;
	font-family: var(--uwg-display);
	font-size: 14px;
	letter-spacing: 0.220em;
	text-transform: uppercase;
}

.uwg-player h2.uwg-player__name {
	margin: 2px 0;
	color: #fff;
	font-family: var(--uwg-display);
	font-size: clamp(34px, 4.400vw, 56px);
	font-style: italic;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.uwg-player p.uwg-player__since {
	margin: 0;
	color: #bdbdbd;
	font-size: 14px;
}

.uwg-player ul.uwg-player__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 26px 0;
	padding: 0;
	list-style: none;
}

.uwg-player .uwg-player__stats li {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #333;
	border-left: 3px solid var(--uwg-yellow);
	background: #141414;
	font-family: var(--uwg-display);
	text-transform: uppercase;
}

.uwg-player .uwg-player__stats span {
	display: block;
	color: #a3a3a3;
	font-size: 14px;
	letter-spacing: 0.140em;
}

.uwg-player .uwg-player__stats strong {
	color: #fff;
	font-size: 34px;
	font-style: italic;
	font-weight: 800;
	line-height: 1.100;
}

.uwg-player .uwg-player__go {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.uwg-panel .uwg-player__empty {
	color: #cfcfcf;
}

.uwg-panel table.uwg-player__table,
.uwg-panel .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	border: 1px solid #2c2c2c;
	border-collapse: collapse;
}

.uwg-panel table.uwg-player__table th,
.uwg-panel table.uwg-player__table td {
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid #262626;
	text-align: left;
}

.uwg-panel table.uwg-player__table th {
	color: var(--uwg-yellow);
	font-family: var(--uwg-display);
	font-size: 14px;
	letter-spacing: 0.120em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------ logowanie / rejestracja */
.uwg-gate .woocommerce {
	max-width: 980px;
	margin: 0 auto;
}

.uwg-gate .woocommerce h2 {
	color: var(--uwg-yellow);
	font-family: var(--uwg-display);
	font-size: 44px;
	font-style: italic;
	font-weight: 900;
	text-transform: uppercase;
}

.uwg-gate .woocommerce form.login,
.uwg-gate .woocommerce form.register,
.uwg-gate .woocommerce form.lost_reset_password {
	margin: 0;
	padding: 26px;
	border: 2px solid var(--uwg-yellow);
	border-radius: 0;
	background: #0c0c0c;
	box-shadow: 0 0 18px rgba(255, 190, 0, 0.220);
}

/* ------------------------------------------------------------------ pola i przyciski WooCommerce */
.uwg-site .woocommerce form .form-row label {
	color: #d6d6d6;
	font-family: var(--uwg-display);
	font-size: 16px;
	letter-spacing: 0.080em;
	text-transform: uppercase;
}

.uwg-site .woocommerce form .form-row input.input-text,
.uwg-site .woocommerce form .form-row textarea,
.uwg-site .woocommerce form .form-row select {
	border: 1px solid #3a3a3a;
	border-radius: 0;
	background: #151515;
	color: #fff;
}

.uwg-site .woocommerce form .form-row input.input-text:focus {
	border-color: var(--uwg-yellow);
	outline: 0;
}

.uwg-site .woocommerce button.button,
.uwg-site .woocommerce a.button,
.uwg-site .woocommerce input.button {
	border-radius: 0;
	background: var(--uwg-yellow);
	color: #0b0b0b;
	font-family: var(--uwg-display);
	font-size: 19px;
	font-weight: 700;
	text-transform: uppercase;
}

.uwg-site .woocommerce button.button:hover,
.uwg-site .woocommerce a.button:hover {
	background: var(--uwg-amber);
	color: #0b0b0b;
}

.uwg-site .woocommerce-info,
.uwg-site .woocommerce-message,
.uwg-site .woocommerce-error {
	border-top-color: var(--uwg-yellow);
	background: #111;
	color: #eee;
}

.uwg-site ul.products li.product {
	border: 1px solid #2c2c2c;
	background: #0e0e0e;
}

@media (max-width: 820px) {

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

	.uwg-player ul.uwg-player__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------------ pola: wysokość dotykowa, oko hasła */
.uwg-site .woocommerce form .form-row input.input-text,
.uwg-site .woocommerce form .form-row select {
	min-height: 46px;
}

.uwg-site .woocommerce form .show-password-input {
	top: 50%;
	right: 4px;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
}

.uwg-site .woocommerce-ordering select.orderby {
	min-height: 44px;
	border: 1px solid #3a3a3a;
	background-color: #151515;
	color: #fff;
}

/* ------------------------------------------------------------------ sklep: lista i produkt */
.uwg-site ul.products li.product {
	transition: border-color 0.15s, box-shadow 0.15s;
}

.uwg-site ul.products li.product:hover {
	border-color: var(--uwg-yellow);
	box-shadow: 0 0 16px rgba(255, 190, 0, 0.220);
}

.uwg-site ul.products li.product .woocommerce-loop-product__title,
.uwg-site div.product .product_title {
	color: #fff;
	font-family: var(--uwg-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
}

.uwg-site ul.products li.product .woocommerce-loop-product__title {
	font-size: 22px;
	line-height: 1.05;
}

.uwg-site div.product .product_title {
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1;
}

.uwg-site ul.products li.product .price,
.uwg-site div.product p.price {
	color: var(--uwg-yellow);
	font-family: var(--uwg-display);
	font-weight: 700;
}

.uwg-site ul.products li.product .price {
	font-size: 20px;
}

.uwg-site div.product p.price {
	font-size: 34px;
}

.uwg-site ul.products li.product .button,
.uwg-site div.product form.cart .button {
	min-height: 46px;
	padding: 0 24px;
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.uwg-site .product_meta {
	display: none;
}

.uwg-site .woocommerce-breadcrumb,
.uwg-site .woocommerce-breadcrumb a {
	color: #a3a3a3;
}

.uwg-site span.onsale {
	border-radius: 0;
	background: var(--uwg-yellow);
	color: #0b0b0b;
}

/* ------------------------------------------------------------------ koszyk i kasa (bloki WooCommerce) */
.uwg-site .wc-block-components-form .wc-block-components-text-input input[type],
.uwg-site .wc-block-components-text-input input,
.uwg-site .wc-block-components-text-input.is-active input,
.uwg-site .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.uwg-site .wc-blocks-components-select .wc-blocks-components-select__select,
.uwg-site .wc-block-components-textarea {
	border: 1px solid #3a3a3a;
	border-radius: 0;
	background: #151515;
	color: #fff;
}

.uwg-site .wc-block-components-form .wc-block-components-text-input input[type]:focus,
.uwg-site .wc-block-components-text-input input:focus,
.uwg-site .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.uwg-site .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--uwg-yellow);
	box-shadow: 0 0 0 1px var(--uwg-yellow);
}

.uwg-site .wc-block-components-text-input label,
.uwg-site .wc-block-components-combobox .wc-block-components-combobox-control label,
.uwg-site .wc-blocks-components-select .wc-blocks-components-select__label {
	color: #9a9a9a;
}

.uwg-site .wc-blocks-components-select .wc-blocks-components-select__expand {
	fill: #fff;
}

.uwg-site .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	border-color: #6a6a6a;
	border-radius: 0;
	background: #151515;
}

.uwg-site .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--uwg-yellow);
	background: var(--uwg-yellow);
}

.uwg-site .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: #0b0b0b;
}

.uwg-site .wc-block-components-checkbox label {
	align-items: flex-start;
	min-height: 44px;
}

.uwg-site .wc-block-components-checkout-step__title,
.uwg-site .wc-block-components-title.wc-block-components-title,
.uwg-site .wc-block-cart__totals-title {
	color: #fff;
	font-family: var(--uwg-display);
	font-size: 24px;
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
}

.uwg-site .wc-block-components-order-summary,
.uwg-site .wc-block-components-totals-wrapper,
.uwg-site .wc-block-components-panel,
.uwg-site .wc-block-components-radio-control-accordion-option,
.uwg-site .wc-block-checkout__payment-method .wc-block-components-radio-control__option {
	border-color: #2c2c2c;
}

.uwg-site .wc-block-components-panel__button {
	min-height: 44px;
}

.uwg-site .wc-block-components-totals-item__value,
.uwg-site .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.uwg-site .wc-block-components-product-price {
	color: var(--uwg-yellow);
	font-weight: 700;
}

.uwg-site .wc-block-components-button:not(.is-link),
.uwg-site .wc-block-cart__submit-button,
.uwg-site .wc-block-components-checkout-place-order-button {
	min-height: 52px;
	border-radius: 0;
	background: var(--uwg-yellow);
	color: #0b0b0b;
	font-family: var(--uwg-display);
	font-size: 21px;
	font-weight: 800;
	text-transform: uppercase;
	clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.uwg-site .wc-block-components-button:not(.is-link):hover {
	background: var(--uwg-amber);
	color: #0b0b0b;
}

.uwg-site .wc-block-components-product-name {
	color: #fff;
	font-weight: 600;
}

.uwg-site .wc-block-components-notice-banner {
	border-radius: 0;
	background: #111;
	color: #eee;
}

/* Galeria produktu: grafika karty jest kompletna — bez lupy i powiększania. */
.uwg-site div.product .woocommerce-product-gallery__trigger {
	display: none;
}

/* Linki-przyciski w panelu i koszyku: wysokość dotykowa. */
.uwg-site .wp-block-button__link.add_to_cart_button,
.uwg-site .wc-block-grid__product-add-to-cart .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	border-radius: 0;
	background: var(--uwg-yellow);
	color: #0b0b0b;
	font-family: var(--uwg-display);
	font-weight: 700;
	text-transform: uppercase;
}

.uwg-site .wc-block-grid__product-title,
.uwg-site .wc-block-grid__product-price {
	color: #fff;
	font-size: 16px;
}

.uwg-site .kadence-customer-image a,
.uwg-site a.kt-link-to-gravatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

.uwg-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #151515;
	box-shadow: inset 0 0 0 2px var(--uwg-yellow);
	color: var(--uwg-yellow);
	font-family: var(--uwg-display);
	font-weight: 800;
	line-height: 1;
}

/* Kilka produktów — przełącznik siatka/lista zbędny. */
.uwg-site .kadence-shop-top-row .kadence-product-toggle-container,
.uwg-site .kadence-toggle-shop-layout {
	display: none;
}
