/**
 * Front-end styles for the Szyszunia tickets section + The Events Calendar
 * single-event meta block icons.
 *
 * Icons are inline SVG data URIs so the module stays self-contained
 * (no font, no external assets, no extra HTTP requests).
 */

/* ------------------------------------------------------------------ *\
 * TEC single event container — kill the theme/TEC flex that flips order
\* ------------------------------------------------------------------ */

/* The Hello/TEC stack sets display:flex on the event post wrapper,
   which mis-orders the children (tickets section pops above meta).
   Force normal block flow so the HTML source order is honoured. */
.single-tribe_events .tribe-events-single > .tribe_events,
.single-tribe_events #tribe-events-content > .tribe_events,
.single-tribe_events article.tribe_events {
	display: block !important;
}

/* TEC injects a decorative pseudo-divider above the meta block — hide it. */
.single-tribe_events .tribe-events-event-meta::before,
.single-tribe_events .tribe-events-event-meta::after {
	display: none !important;
}

/* ------------------------------------------------------------------ *\
 * TEC meta block — styled to match the tickets section visually
\* ------------------------------------------------------------------ */

/* Outer wrapper: just a grid container — no background/border/padding.
   Each meta group is its own standalone card. */
.single-tribe_events .tribe-events-event-meta.primary {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin: 2.5rem 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	float: none !important;
	width: auto !important;
}

@media (max-width: 720px) {
	.single-tribe_events .tribe-events-event-meta.primary {
		grid-template-columns: 1fr;
	}
}

/* Each meta group is a standalone card identical to the tickets section */
.single-tribe_events .tribe-events-meta-group {
	margin: 0 !important;
	padding: 1.75rem !important;
	width: auto !important;
	background: linear-gradient(135deg, #fff8f3 0%, #fff 60%);
	border: 1px solid #ffd9c4;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(255, 122, 89, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	float: none !important;
}

.single-tribe_events .tribe-events-meta-group:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(255, 122, 89, 0.12);
}

/* Group title styled like .szyszunia-tickets__title */
.single-tribe_events .tribe-events-single-section-title {
	display: flex !important;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1rem !important;
	padding: 0 !important;
	font-size: 1.25rem !important;
	font-weight: 700;
	color: #1a1a1a;
	text-transform: none;
	letter-spacing: normal;
}

.single-tribe_events .tribe-events-single-section-title::before {
	content: '';
	display: inline-block;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* Calendar icon — Szczegóły */
.single-tribe_events .tribe-events-meta-group-details .tribe-events-single-section-title::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
}

/* Pin icon — Miejsce */
.single-tribe_events .tribe-events-meta-group-venue .tribe-events-single-section-title::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}

/* Meta list — stacked items */
.single-tribe_events .tribe-events-meta-list {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

/* Each meta item — pill-style row with circular icon background */
.single-tribe_events .tribe-events-meta-item {
	display: grid !important;
	grid-template-columns: 36px 1fr;
	align-items: center;
	gap: 0.85rem;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #222;
}

/* Icon-only meta label (the text is hidden, the gradient square + glyph stands in) */
.single-tribe_events .tribe-events-meta-label {
	display: block;
	width: 36px;
	height: 36px;
	font-size: 0;
	color: transparent;
	border-radius: 10px;
	background-color: #ffd5b8;
	background-repeat: no-repeat, no-repeat;
	background-position: center, center;
	background-size: 18px 18px, 100% 100%;
}

/* Calendar glyph for Data: */
.single-tribe_events .tribe-events-start-date-label {
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>"),
		linear-gradient(135deg, #ffe7d6, #ffcdb2);
}

/* Clock glyph for Czas: */
.single-tribe_events .tribe-events-start-time-label {
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>"),
		linear-gradient(135deg, #ffe7d6, #ffcdb2);
}

/* Meta value — main visible text */
.single-tribe_events .tribe-events-meta-value {
	font-weight: 500;
	color: #222;
}

.single-tribe_events .tribe-events-meta-value .tribe-events-abbr {
	text-decoration: none;
	border: none;
	color: inherit;
}

/* Venue items don't carry a label/value pair — give them their own icon prefix */
.single-tribe_events .tribe-events-meta-item.tribe-venue,
.single-tribe_events .tribe-events-meta-item.tribe-venue-location {
	display: grid !important;
	grid-template-columns: 36px 1fr;
	align-items: start;
	gap: 0.85rem;
}

.single-tribe_events .tribe-events-meta-item.tribe-venue::before,
.single-tribe_events .tribe-events-meta-item.tribe-venue-location::before {
	content: '';
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background-color: #ffd5b8;
	background-repeat: no-repeat, no-repeat;
	background-position: center, center;
	background-size: 18px 18px, 100% 100%;
}

/* Building icon for the venue name row */
.single-tribe_events .tribe-events-meta-item.tribe-venue::before {
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M3 21h18'/><path d='M5 21V7l8-4v18'/><path d='M19 21V11l-6-4'/><path d='M9 9h.01'/><path d='M9 13h.01'/><path d='M9 17h.01'/></svg>"),
		linear-gradient(135deg, #ffe7d6, #ffcdb2);
}

.single-tribe_events .tribe-events-meta-item.tribe-venue {
	font-weight: 600;
	color: #1a1a1a;
}

/* Pin icon for the address row */
.single-tribe_events .tribe-events-meta-item.tribe-venue-location::before {
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"),
		linear-gradient(135deg, #ffe7d6, #ffcdb2);
}

.single-tribe_events .tribe-events-address {
	font-style: normal;
	color: #444;
	line-height: 1.55;
}

.single-tribe_events .tribe-events-address .tribe-address {
	display: block;
}

.single-tribe_events .tribe-events-address .tribe-events-abbr {
	text-decoration: none;
	border: none;
	color: inherit;
}

/* ------------------------------------------------------------------ *\
 * Szyszunia tickets section — below the meta block
\* ------------------------------------------------------------------ */

.szyszunia-tickets {
	margin: 2.5rem 0;
	padding: 1.75rem;
	background: linear-gradient(135deg, #fff8f3 0%, #fff 60%);
	border: 1px solid #ffd9c4;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(255, 122, 89, 0.08);
}

.szyszunia-tickets__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a1a1a;
}

.szyszunia-tickets__title::before {
	content: '';
	display: inline-block;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v2z'/><path d='M13 5v2'/><path d='M13 17v2'/><path d='M13 11v2'/></svg>");
}

.szyszunia-tickets__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

.szyszunia-tickets__item {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem 1.5rem;
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.szyszunia-tickets__item:hover {
	box-shadow: 0 6px 18px rgba(255, 122, 89, 0.15);
	transform: translateY(-1px);
	border-color: #ffcdb2;
}

.szyszunia-tickets__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, #ffe7d6, #ffcdb2);
	color: #ff7a59;
}

.szyszunia-tickets__icon svg {
	display: block;
}

.szyszunia-tickets__info {
	min-width: 0;
}

.szyszunia-tickets__name {
	margin: 0 0 0.3rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
}

.szyszunia-tickets__desc {
	margin: 0 0 0.5rem;
	color: #555;
	font-size: 0.93rem;
	line-height: 1.45;
}

.szyszunia-tickets__stock {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin: 0;
	padding: 0.2rem 0.55rem;
	font-size: 0.82rem;
	font-weight: 500;
	color: #2e7d32;
	background: rgba(46, 125, 50, 0.08);
	border-radius: 999px;
}

.szyszunia-tickets__stock svg {
	display: block;
}

.szyszunia-tickets__action {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.6rem;
}

.szyszunia-tickets__price {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1;
}

.szyszunia-tickets__price .woocommerce-Price-amount,
.szyszunia-tickets__price ins {
	color: inherit;
	text-decoration: none;
}

.szyszunia-tickets__buy {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.5rem;
	background: linear-gradient(135deg, #ff7a59 0%, #ff5a36 100%);
	color: #fff !important;
	text-decoration: none !important;
	border: none;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.95rem;
	box-shadow: 0 4px 12px rgba(255, 90, 54, 0.3);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.szyszunia-tickets__buy:hover,
.szyszunia-tickets__buy:focus {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(255, 90, 54, 0.4);
	color: #fff !important;
	text-decoration: none !important;
}

.szyszunia-tickets__buy svg {
	display: block;
}

.szyszunia-tickets__soldout {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 1.2rem;
	background: #f5f5f5;
	color: #999;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9rem;
}

@media (max-width: 600px) {
	.szyszunia-tickets {
		padding: 1.25rem;
	}

	.szyszunia-tickets__item {
		grid-template-columns: 44px 1fr;
		grid-template-areas:
			"icon info"
			"action action";
		gap: 0.85rem;
	}

	.szyszunia-tickets__icon {
		grid-area: icon;
	}

	.szyszunia-tickets__info {
		grid-area: info;
	}

	.szyszunia-tickets__action {
		grid-area: action;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding-top: 0.85rem;
		border-top: 1px solid #f0f0f0;
	}

	.szyszunia-tickets__buy {
		flex: 1;
		justify-content: center;
	}
}

/* ================================================================== *\
 * WooCommerce Blocks — Cart, Checkout, My Account
 * Targets .wc-block-* / .wp-block-woocommerce-* class names emitted by
 * the Gutenberg-based WC cart/checkout. Same orange theme as tickets.
\* ================================================================== */

:root {
	--szy-accent: #ff7a59;
	--szy-accent-dark: #ff5a36;
	--szy-accent-soft: #ffe7d6;
	--szy-accent-border: #ffd9c4;
	--szy-card-bg: linear-gradient(135deg, #fff8f3 0%, #fff 60%);
	--szy-card-shadow: 0 4px 20px rgba(255, 122, 89, 0.08);
}

/* ------------------------------------------------------------------ *\
 * Page-level layout
\* ------------------------------------------------------------------ */

.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout {
	max-width: 1200px;
	margin: 2.5rem auto;
	padding: 0 1rem;
}

/* ------------------------------------------------------------------ *\
 * Buttons — all primary action buttons share the same orange CTA
\* ------------------------------------------------------------------ */

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
.wc-block-components-checkout-place-order-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.85rem 1.6rem !important;
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	box-shadow: 0 4px 12px rgba(255, 90, 54, 0.3) !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease !important;
	text-decoration: none !important;
	min-height: auto !important;
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(255, 90, 54, 0.4) !important;
	background: linear-gradient(135deg, var(--szy-accent-dark) 0%, var(--szy-accent) 100%) !important;
}

.wc-block-components-button:not(.is-link):disabled,
.wc-block-components-button:not(.is-link)[disabled] {
	background: #f5f5f5 !important;
	color: #aaa !important;
	box-shadow: none !important;
	cursor: not-allowed;
	transform: none;
}

/* Outline / secondary button variant */
.wc-block-components-button.outlined,
.wc-block-components-button.contained.outlined,
.wc-block-cart__submit-container .wc-block-components-button.outlined {
	background: #fff !important;
	color: var(--szy-accent) !important;
	border: 2px solid var(--szy-accent-border) !important;
	box-shadow: none !important;
}

.wc-block-components-button.outlined:hover {
	background: var(--szy-accent-soft) !important;
	border-color: var(--szy-accent) !important;
	transform: none;
}

/* "Apply" button inside coupon row */
.wc-block-components-totals-coupon__button {
	padding: 0.55rem 1.1rem !important;
	font-size: 0.9rem !important;
}

/* ------------------------------------------------------------------ *\
 * Form inputs — text, email, select, textarea, address autocomplete
\* ------------------------------------------------------------------ */

.wc-block-components-text-input,
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-address-form input,
.wc-block-components-combobox input,
.wc-block-components-text-input textarea {
	border-radius: 10px !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-text-input textarea {
	padding: 0.85rem 0.9rem !important;
	background: #fff !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 10px !important;
	font-size: 0.95rem !important;
	color: #1a1a1a !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
	min-height: auto !important;
	height: auto !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-text-input:focus-within input {
	outline: none !important;
	border-color: var(--szy-accent) !important;
	box-shadow: 0 0 0 3px var(--szy-accent-soft) !important;
}

.wc-block-components-text-input label {
	color: #555 !important;
	font-weight: 500 !important;
	font-size: 0.92rem !important;
	padding-left: 0 !important;
	left: 0.9rem !important;
	right: 0.9rem !important;
}

.wc-block-components-text-input:focus-within label,
.wc-block-components-text-input.is-active label {
	color: var(--szy-accent) !important;
}

/* Select / dropdown */
.wc-block-components-select select,
.wc-block-components-combobox-control select {
	padding: 0.85rem 0.9rem !important;
	background: #fff !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 10px !important;
	font-size: 0.95rem !important;
	color: #1a1a1a !important;
	height: auto !important;
}

.wc-block-components-select select:focus {
	outline: none !important;
	border-color: var(--szy-accent) !important;
	box-shadow: 0 0 0 3px var(--szy-accent-soft) !important;
}

/* Checkboxes and radios */
.wc-block-components-checkbox input[type="checkbox"],
.wc-block-components-radio-control__input,
input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--szy-accent);
}

.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label {
	color: #1a1a1a !important;
	font-weight: 500;
}

/* Quantity selector */
.wc-block-components-quantity-selector {
	border: 1px solid #e0e0e0 !important;
	border-radius: 10px !important;
	overflow: hidden;
	background: #fff;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	background: transparent !important;
	border: none !important;
	color: #1a1a1a !important;
	font-weight: 600 !important;
	min-height: 40px !important;
}

.wc-block-components-quantity-selector__button {
	color: var(--szy-accent) !important;
	background: transparent !important;
	border: none !important;
	font-weight: 700 !important;
	transition: background 0.15s ease;
}

.wc-block-components-quantity-selector__button:hover {
	background: var(--szy-accent-soft) !important;
}

/* ------------------------------------------------------------------ *\
 * Cart page — items list (left) + totals (right)
\* ------------------------------------------------------------------ */

/* The real flex container is .wp-block-woocommerce-filled-cart-block.
   Force grid layout with explicit columns so items take ~2/3, totals ~1/3. */
.wp-block-woocommerce-filled-cart-block {
	display: grid !important;
	gap: 2rem !important;
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 900px) {
	.wp-block-woocommerce-filled-cart-block {
		grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
	}
}

.wp-block-woocommerce-cart-items-block,
.wp-block-woocommerce-cart-totals-block {
	max-width: 100% !important;
	width: 100% !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Totals sidebar stack: order summary card, then proceed-to-checkout */
.wp-block-woocommerce-cart-totals-block {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.85rem !important;
}

/* Hide the empty accepted-payment-methods placeholder */
.wp-block-woocommerce-cart-accepted-payment-methods-block:empty,
.wp-block-woocommerce-cart-accepted-payment-methods-block > div:empty {
	display: none !important;
}

/* Legacy wc-block-cart fallback (when WC uses div wrapper) */
.wc-block-cart {
	max-width: 100% !important;
}

.wc-block-cart__main,
.wc-block-cart__sidebar {
	padding: 0 !important;
	max-width: 100% !important;
}

/* WC's sidebar-layout helper constrains the columns to fixed widths.
   Relax them so the grid above can size them via fr units. */
.wc-block-components-sidebar-layout .wc-block-components-main {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
}

.wc-block-components-sidebar-layout .wc-block-components-sidebar {
	width: auto !important;
	max-width: 100% !important;
	padding: 0 !important;
}

/* Items list — single white card */
.wc-block-cart-items {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	overflow: hidden;
	margin: 0;
	padding: 0.5rem 1.25rem;
}

.wc-block-cart-items__header,
.wc-block-cart-items__header-product,
.wc-block-cart-items__header-total {
	background: transparent !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	color: #999 !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 1px solid #f0f0f0 !important;
	padding: 1rem 0 !important;
}

.wc-block-cart-items__row {
	padding: 1.25rem 0 !important;
	border-bottom: 1px solid #f3f3f3 !important;
	align-items: center !important;
}

.wc-block-cart-items__row:last-child {
	border-bottom: none !important;
}

.wc-block-cart-item__image img {
	border-radius: 10px !important;
	max-width: 72px !important;
}

.wc-block-cart-item__product-name,
.wc-block-components-product-name {
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	text-decoration: none !important;
}

.wc-block-cart-item__remove-link,
.wc-block-components-product-metadata__description {
	font-size: 0.85rem !important;
	color: #999 !important;
}

.wc-block-cart-item__remove-link:hover {
	color: #c62828 !important;
}

.wc-block-components-product-price,
.wc-block-cart-item__total-price {
	font-weight: 700 !important;
	color: #1a1a1a !important;
}

/* Cart totals card — orange gradient sidebar */
.wc-block-cart__sidebar > div,
.wp-block-woocommerce-cart-order-summary-block {
	padding: 1.75rem !important;
	background: var(--szy-card-bg) !important;
	border: 1px solid var(--szy-accent-border) !important;
	border-radius: 16px !important;
	box-shadow: var(--szy-card-shadow);
}

.wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-order-summary-totals-block,
.wp-block-woocommerce-cart-order-summary-subtotal-block,
.wp-block-woocommerce-cart-order-summary-discount-block,
.wp-block-woocommerce-cart-order-summary-shipping-block,
.wp-block-woocommerce-cart-order-summary-fee-block,
.wp-block-woocommerce-cart-order-summary-taxes-block {
	padding: 0.6rem 0 !important;
	border-bottom: 1px dashed var(--szy-accent-border) !important;
}

.wp-block-woocommerce-cart-order-summary-totals-block:last-child,
.wp-block-woocommerce-cart-order-summary-block > .wc-block-components-totals-wrapper:last-child {
	border-bottom: none !important;
}

.wc-block-components-totals-item {
	padding: 0.5rem 0 !important;
	border: none !important;
}

.wc-block-components-totals-item__label {
	font-weight: 500 !important;
	color: #555 !important;
}

.wc-block-components-totals-item__value {
	font-weight: 600 !important;
	color: #1a1a1a !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
}

.wc-block-components-totals-footer-item {
	border-top: 1px solid var(--szy-accent-border) !important;
	padding-top: 0.85rem !important;
	margin-top: 0.5rem !important;
}

/* Order summary title */
.wp-block-woocommerce-cart-order-summary-heading-block,
.wc-block-components-title.wc-block-cart__totals-title {
	margin: 0 0 1rem !important;
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
}

/* Coupon */
.wc-block-components-totals-coupon {
	margin: 1rem 0 !important;
	padding-top: 0.85rem !important;
	border-top: 1px dashed var(--szy-accent-border) !important;
}

.wc-block-components-totals-coupon__form {
	display: flex !important;
	gap: 0.5rem !important;
	align-items: stretch !important;
}

.wc-block-components-totals-coupon__input {
	flex: 1 !important;
}

.wc-block-components-panel__button {
	color: var(--szy-accent) !important;
	font-weight: 600 !important;
}

/* Proceed to checkout button — full-width */
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button {
	display: flex !important;
	width: 100% !important;
	padding: 1rem 1.5rem !important;
	font-size: 1.05rem !important;
}

/* ------------------------------------------------------------------ *\
 * Checkout page — fields (left) + order summary (right)
\* ------------------------------------------------------------------ */

.wc-block-checkout {
	gap: 2rem !important;
}

@media (min-width: 900px) {
	.wc-block-checkout {
		display: grid !important;
		grid-template-columns: 1.4fr 1fr;
	}
}

.wc-block-checkout__main,
.wc-block-checkout__sidebar {
	padding: 0 !important;
}

/* Step cards (Contact, Shipping, Billing, Payment) — each as a white card */
.wc-block-components-checkout-step,
.wp-block-woocommerce-checkout-contact-information-block,
.wp-block-woocommerce-checkout-shipping-method-block,
.wp-block-woocommerce-checkout-pickup-options-block,
.wp-block-woocommerce-checkout-shipping-address-block,
.wp-block-woocommerce-checkout-billing-address-block,
.wp-block-woocommerce-checkout-payment-block,
.wp-block-woocommerce-checkout-additional-information-block,
.wp-block-woocommerce-checkout-order-note-block,
.wp-block-woocommerce-checkout-terms-block {
	margin: 0 0 1.25rem !important;
	padding: 1.5rem 1.75rem !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-radius: 14px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
	transition: box-shadow 0.18s ease;
}

.wc-block-components-checkout-step:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

.wc-block-components-checkout-step__title {
	display: flex !important;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem !important;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
}

.wc-block-components-checkout-step__description {
	color: #777 !important;
	font-size: 0.92rem !important;
	margin: -0.5rem 0 1rem !important;
}

.wc-block-components-checkout-step__heading-content {
	color: #777 !important;
	font-size: 0.9rem !important;
}

/* Numbered step badge (1, 2, 3 ...) */
.wc-block-components-checkout-step__heading {
	margin-bottom: 1rem !important;
}

.wc-block-checkout__contact-information::before,
.wc-block-checkout__shipping-address::before,
.wc-block-checkout__billing-address::before,
.wc-block-checkout__payment-method::before {
	display: none !important;
}

/* Order summary sidebar */
.wp-block-woocommerce-checkout-order-summary-block {
	position: sticky;
	top: 1.5rem;
	align-self: start;
	padding: 1.75rem !important;
	background: var(--szy-card-bg) !important;
	border: 1px solid var(--szy-accent-border) !important;
	border-radius: 16px !important;
	box-shadow: var(--szy-card-shadow) !important;
}

.wp-block-woocommerce-checkout-order-summary-cart-items-block {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none !important;
	margin-bottom: 1rem !important;
}

.wc-block-components-order-summary-item {
	padding: 0.85rem 0 !important;
	border-bottom: 1px dashed var(--szy-accent-border) !important;
	background: transparent !important;
}

.wc-block-components-order-summary-item:last-child {
	border-bottom: none !important;
}

.wc-block-components-order-summary-item__image {
	border-radius: 8px !important;
	overflow: hidden;
}

.wc-block-components-order-summary-item__quantity {
	background: var(--szy-accent) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	border: 2px solid #fff !important;
}

.wc-block-components-order-summary-item__description {
	color: #777 !important;
	font-size: 0.85rem !important;
}

/* Payment methods */
.wc-block-components-payment-method-options,
.wc-block-components-radio-control {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.6rem !important;
	margin: 0 !important;
}

.wc-block-components-radio-control__option {
	display: grid !important;
	grid-template-columns: 24px 1fr auto;
	column-gap: 0.85rem;
	align-items: center;
	padding: 0.85rem 1rem !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-radius: 10px !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
	cursor: pointer;
	overflow: visible !important;
}

.wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control__option:has(input:checked) {
	border-color: var(--szy-accent) !important;
	box-shadow: 0 0 0 3px var(--szy-accent-soft) !important;
}

/* Native radio input — visible, accent-colored, no clipping */
.wc-block-components-radio-control__input,
.wc-block-components-radio-control__option input[type="radio"] {
	position: static !important;
	margin: 0 !important;
	width: 18px !important;
	height: 18px !important;
	accent-color: var(--szy-accent) !important;
	opacity: 1 !important;
	cursor: pointer;
	flex-shrink: 0;
}

.wc-block-components-radio-control__label {
	font-weight: 600 !important;
	color: #1a1a1a !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0;
}

.wc-block-components-radio-control__description,
.wc-block-components-radio-control__secondary-label,
.wc-block-components-radio-control__secondary-description {
	grid-column: 2 / -1;
	margin: 0.2rem 0 0 !important;
	font-weight: 400 !important;
	color: #666 !important;
	font-size: 0.88rem !important;
}

.wc-block-components-payment-method-content {
	grid-column: 1 / -1;
	padding: 0.85rem 0 0 !important;
	margin-top: 0.5rem !important;
	background: transparent !important;
	border-top: 1px dashed #ececec;
}

/* ------------------------------------------------------------------ *\
 * Notice banners (validation / info / success / error) — flex layout
\* ------------------------------------------------------------------ */

.wc-block-components-notice-banner {
	display: grid !important;
	grid-template-columns: auto 1fr;
	column-gap: 0.75rem;
	align-items: center;
	padding: 0.85rem 1.15rem !important;
	margin: 0.5rem 0 !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-left: 4px solid var(--szy-accent) !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
	color: #1a1a1a !important;
	font-size: 0.93rem;
	line-height: 1.45;
}

.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner__icon.is-error {
	border-left-color: #c62828 !important;
}

.wc-block-components-notice-banner.is-success {
	border-left-color: #2e7d32 !important;
}

.wc-block-components-notice-banner__icon {
	position: static !important;
	margin: 0 !important;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: var(--szy-accent);
}

.wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__icon {
	color: #c62828;
}

.wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__icon {
	color: #2e7d32;
}

.wc-block-components-notice-banner__content {
	min-width: 0;
	color: inherit !important;
}

/* Terms & conditions */
.wc-block-checkout__terms .wc-block-components-checkbox {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
}

/* Place order button — hero CTA */
.wp-block-woocommerce-checkout-actions-block .wc-block-components-checkout-place-order-button {
	width: 100% !important;
	padding: 1.05rem 1.5rem !important;
	font-size: 1.05rem !important;
}

/* ------------------------------------------------------------------ *\
 * Notices (info / success / error) on cart, checkout, account
\* ------------------------------------------------------------------ */

.wc-block-components-notice-banner,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex !important;
	align-items: center;
	gap: 0.6rem;
	padding: 1rem 1.25rem !important;
	margin: 0 0 1.5rem !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-left: 4px solid var(--szy-accent) !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
	color: #1a1a1a !important;
	font-size: 0.95rem;
}

.wc-block-components-notice-banner.is-success,
.woocommerce-message {
	border-left-color: #2e7d32 !important;
}

.wc-block-components-notice-banner.is-error,
.woocommerce-error {
	border-left-color: #c62828 !important;
	list-style: none !important;
}

.wc-block-components-notice-banner__content {
	color: #1a1a1a !important;
}

/* ------------------------------------------------------------------ *\
 * My Account (shortcode-based) — keep using classic selectors
\* ------------------------------------------------------------------ */

.woocommerce-account .woocommerce {
	max-width: 1200px;
	margin: 2.5rem auto;
	padding: 0 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 1.25rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 0.65rem 1rem;
	color: #444;
	text-decoration: none;
	font-weight: 500;
	border-radius: 8px;
	transition: background 0.15s ease, color 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--szy-accent-soft);
	color: var(--szy-accent-dark);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%);
	color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
	padding: 1.5rem 1.75rem;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* ================================================================== *\
 * WooCommerce — Shop archive, Product category, Single product
\* ================================================================== */

/* ------------------------------------------------------------------ *\
 * Shared layout container
\* ------------------------------------------------------------------ */

.woocommerce-shop .woocommerce,
.tax-product_cat .woocommerce,
.tax-product_tag .woocommerce,
.single-product .product {
	max-width: 1200px;
	margin: 2.5rem auto;
	padding: 0 1rem;
}

/* Page title — large welcoming header */
.woocommerce-products-header__title,
.woocommerce-shop .page-title,
.tax-product_cat .woocommerce-products-header__title {
	font-size: 2rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 0 1rem !important;
}

/* Term description (category description text) */
.term-description {
	margin: 0 0 2rem !important;
	padding: 1.25rem 1.5rem !important;
	background: var(--szy-card-bg);
	border: 1px solid var(--szy-accent-border);
	border-radius: 14px;
	color: #444;
	font-size: 0.95rem;
	line-height: 1.55;
}

/* ------------------------------------------------------------------ *\
 * Result count + ordering toolbar
\* ------------------------------------------------------------------ */

.woocommerce-notices-wrapper + .woocommerce-result-count,
.woocommerce-result-count {
	display: inline-flex;
	align-items: center;
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
	font-size: 0.9rem;
	color: #777;
}

.woocommerce-ordering {
	margin: 0 0 1.5rem !important;
	float: right !important;
}

.woocommerce-ordering select {
	padding: 0.55rem 2.25rem 0.55rem 0.9rem !important;
	background: #fff;
	border: 1px solid #e0e0e0 !important;
	border-radius: 10px !important;
	font-size: 0.9rem;
	color: #1a1a1a;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.7rem center;
	background-size: 14px 14px;
}

.woocommerce-ordering select:focus {
	outline: none;
	border-color: var(--szy-accent);
	box-shadow: 0 0 0 3px var(--szy-accent-soft);
}

/* ------------------------------------------------------------------ *\
 * Product grid — shop archive + category
\* ------------------------------------------------------------------ */

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
	gap: 1.25rem !important;
	list-style: none !important;
	margin: 0 0 2rem !important;
	padding: 0 !important;
	clear: both;
}

.woocommerce ul.products li.product {
	display: flex !important;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: 1rem !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-radius: 14px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	float: none !important;
	clear: none !important;
	text-align: left !important;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(255, 122, 89, 0.15);
	border-color: var(--szy-accent-border);
}

.woocommerce ul.products li.product a {
	text-decoration: none !important;
	color: inherit;
}

.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 0 0 0.85rem !important;
	background: var(--szy-accent-soft);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	padding: 0 !important;
	margin: 0 0 0.5rem !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	line-height: 1.35;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 0 0.85rem !important;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: var(--szy-accent) !important;
}

.woocommerce ul.products li.product .price del {
	color: #aaa;
	font-weight: 500;
	margin-right: 0.4rem;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: inherit;
}

.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
	color: inherit;
}

/* Add to cart / Read more button inside loop */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button.add_to_cart_button {
	margin-top: auto !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 1rem !important;
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	box-shadow: 0 3px 10px rgba(255, 90, 54, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce ul.products li.product .button:hover {
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(255, 90, 54, 0.35);
	background: linear-gradient(135deg, var(--szy-accent-dark) 0%, var(--szy-accent) 100%) !important;
}

.woocommerce ul.products li.product .added_to_cart {
	margin-top: 0.4rem !important;
	font-size: 0.85rem;
	color: var(--szy-accent-dark) !important;
}

/* Out of stock label */
.woocommerce ul.products li.product .out-of-stock {
	color: #999 !important;
	font-style: italic;
	font-size: 0.85rem;
	margin-top: 0.5rem;
}

/* "Onsale" badge */
.woocommerce span.onsale {
	position: absolute;
	top: 1rem !important;
	left: 1rem !important;
	min-height: auto !important;
	min-width: auto !important;
	padding: 0.3rem 0.65rem !important;
	background: linear-gradient(135deg, #ff7a59, #ff5a36) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-size: 0.75rem !important;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 2px 6px rgba(255, 90, 54, 0.3);
}

/* ------------------------------------------------------------------ *\
 * Pagination
\* ------------------------------------------------------------------ */

.woocommerce nav.woocommerce-pagination {
	margin: 2rem 0;
	text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 0.3rem;
	list-style: none;
	margin: 0;
	padding: 0;
	border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li {
	margin: 0;
	border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 0.6rem !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-radius: 10px !important;
	color: #444 !important;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--szy-accent-soft) !important;
	border-color: var(--szy-accent-border) !important;
	color: var(--szy-accent-dark) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%) !important;
	border-color: transparent !important;
	color: #fff !important;
}

/* ------------------------------------------------------------------ *\
 * Single product page
\* ------------------------------------------------------------------ */

.single-product div.product {
	display: grid !important;
	grid-template-columns: 1.1fr 1fr;
	gap: 2.5rem !important;
}

@media (max-width: 880px) {
	.single-product div.product {
		grid-template-columns: 1fr;
	}
}

.single-product .product .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery img {
	border-radius: 14px;
	background: var(--szy-accent-soft);
}

.single-product .woocommerce-product-gallery__trigger {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	right: 1rem !important;
	top: 1rem !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	color: var(--szy-accent) !important;
	font-size: 0 !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 20px 20px !important;
}

/* Right column — summary */
.single-product .product .summary,
.single-product .product .entry-summary {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 1.75rem !important;
	background: var(--szy-card-bg) !important;
	border: 1px solid var(--szy-accent-border) !important;
	border-radius: 16px !important;
	box-shadow: var(--szy-card-shadow);
}

.single-product .product .summary .product_title {
	margin: 0 0 0.85rem !important;
	font-size: 1.8rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	line-height: 1.25;
}

.single-product .product .summary .price {
	margin: 0 0 1.25rem !important;
	font-size: 2rem !important;
	font-weight: 700 !important;
	color: var(--szy-accent) !important;
}

.single-product .product .summary .price del {
	color: #aaa;
	font-size: 1.3rem;
	font-weight: 500;
	margin-right: 0.5rem;
}

.single-product .product .summary .price ins {
	text-decoration: none;
	color: inherit;
}

.single-product .product .summary .woocommerce-product-details__short-description {
	margin: 0 0 1.5rem !important;
	color: #444;
	line-height: 1.6;
	font-size: 1rem;
}

/* Stock indicator */
.single-product .product .stock {
	display: inline-flex !important;
	align-items: center;
	gap: 0.3rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.single-product .product .stock.in-stock {
	background: rgba(46, 125, 50, 0.08);
	color: #2e7d32;
}

.single-product .product .stock.out-of-stock {
	background: rgba(198, 40, 40, 0.08);
	color: #c62828;
}

/* Add to cart form */
.single-product .product form.cart {
	display: flex !important;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.5rem !important;
	padding: 1rem;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 12px;
}

.single-product .product form.cart .quantity input.qty {
	width: 70px;
	height: 44px;
	padding: 0.4rem 0.6rem;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
}

.single-product .product form.cart .quantity input.qty:focus {
	outline: none;
	border-color: var(--szy-accent);
	box-shadow: 0 0 0 3px var(--szy-accent-soft);
}

.single-product .product form.cart button.single_add_to_cart_button {
	flex: 1;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem !important;
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	box-shadow: 0 4px 12px rgba(255, 90, 54, 0.3);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.single-product .product form.cart button.single_add_to_cart_button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(255, 90, 54, 0.4);
	background: linear-gradient(135deg, var(--szy-accent-dark) 0%, var(--szy-accent) 100%) !important;
}

/* Product meta (SKU, categories, tags) */
.single-product .product .product_meta {
	padding-top: 1rem;
	border-top: 1px dashed var(--szy-accent-border);
	font-size: 0.88rem;
	color: #777;
	line-height: 1.8;
}

.single-product .product .product_meta > span {
	display: block;
}

.single-product .product .product_meta a {
	color: var(--szy-accent-dark);
	text-decoration: none;
}

.single-product .product .product_meta a:hover {
	text-decoration: underline;
}

/* Tabs below product */
.single-product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: 2rem;
}

.single-product .woocommerce-tabs ul.tabs {
	display: flex !important;
	gap: 0.3rem !important;
	margin: 0 0 1rem !important;
	padding: 0 !important;
	border: none !important;
	list-style: none !important;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after {
	display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
	display: inline-flex !important;
	align-items: center;
	padding: 0.7rem 1.25rem !important;
	background: #fff !important;
	color: #555 !important;
	border: 1px solid #ececec !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%) !important;
	color: #fff !important;
	border-color: transparent !important;
}

.single-product .woocommerce-tabs .panel,
.single-product .woocommerce-Tabs-panel {
	margin: 0 !important;
	padding: 1.75rem !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-radius: 14px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.single-product .woocommerce-tabs .panel h2 {
	margin: 0 0 1rem !important;
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
}

/* Related products section */
.single-product .related.products,
.single-product .upsells.products {
	grid-column: 1 / -1;
	margin-top: 2.5rem;
}

.single-product .related.products > h2,
.single-product .upsells.products > h2 {
	margin: 0 0 1.5rem !important;
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
}

/* ================================================================== *\
 * Floating cart widget — bottom-right shortcut to the cart page
\* ================================================================== */

.szyszunia-floating-cart {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.15rem;
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(255, 90, 54, 0.4);
	font-weight: 600;
	font-size: 0.95rem;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.szyszunia-floating-cart:hover,
.szyszunia-floating-cart:focus {
	color: #fff !important;
	text-decoration: none !important;
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 32px rgba(255, 90, 54, 0.5);
}

.szyszunia-floating-cart__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.szyszunia-floating-cart__icon svg {
	display: block;
}

.szyszunia-floating-cart__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 0.4rem;
	background: #fff;
	color: var(--szy-accent-dark);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
}

.szyszunia-floating-cart__total {
	padding-left: 0.25rem;
	border-left: 1px solid rgba(255, 255, 255, 0.35);
	padding-left: 0.7rem;
	white-space: nowrap;
}

.szyszunia-floating-cart__total .woocommerce-Price-amount {
	color: inherit;
}

@media (max-width: 480px) {
	.szyszunia-floating-cart {
		right: 1rem;
		bottom: 1rem;
		padding: 0.7rem 0.95rem;
		font-size: 0.9rem;
	}
}

/* ================================================================== *\
 * Misc WC overrides — drop legacy clearfix that fights our grid layout
\* ================================================================== */

/* WC's old reset adds table-display pseudo-elements that break grid columns. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	content: none !important;
	display: none !important;
}

/* ================================================================== *\
 * Order received / Thank you page
\* ================================================================== */

.woocommerce-order-received .woocommerce {
	max-width: 1200px;
	margin: 2.5rem auto;
	padding: 0 1rem;
}

.woocommerce-order-received .woocommerce-notices-wrapper {
	margin-bottom: 1.5rem;
}

.woocommerce-order-received .woocommerce-order {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* "Dziękujemy" heading */
.woocommerce-order-received p.woocommerce-thankyou-order-received {
	margin: 0;
	padding: 1.75rem;
	background: var(--szy-card-bg);
	border: 1px solid var(--szy-accent-border);
	border-radius: 16px;
	box-shadow: var(--szy-card-shadow);
	font-size: 1.15rem;
	font-weight: 600;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.woocommerce-order-received p.woocommerce-thankyou-order-received::before {
	content: '';
	display: inline-block;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d32' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><polyline points='22 4 12 14.01 9 11.01'/></svg>");
}

/* Order overview — meta strip (number, date, email, total, payment) */
.woocommerce-order-received ul.woocommerce-order-overview,
.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0.85rem !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 1.25rem 1.5rem !important;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.woocommerce-order-received ul.woocommerce-order-overview li {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	font-size: 0.85rem;
	color: #777;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
}

.woocommerce-order-received ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.3rem;
	font-size: 1rem;
	font-weight: 700;
	color: #1a1a1a;
	text-transform: none;
	letter-spacing: normal;
}

/* Order details table (product listing) */
.woocommerce-order-received h2 {
	margin: 0.5rem 0 1rem !important;
	font-size: 1.4rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
	margin: 0 !important;
	padding: 1.5rem 1.75rem !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-radius: 14px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.woocommerce-order-received .woocommerce-order-details table.shop_table,
.woocommerce-order-received .woocommerce-customer-details table.shop_table {
	width: 100%;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	border-collapse: collapse !important;
}

.woocommerce-order-received .woocommerce-order-details table thead th,
.woocommerce-order-received .woocommerce-customer-details table thead th {
	padding: 0.6rem 0 !important;
	background: transparent !important;
	border-bottom: 2px solid var(--szy-accent-soft) !important;
	font-size: 0.82rem;
	font-weight: 700;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.woocommerce-order-received .woocommerce-order-details table tbody td,
.woocommerce-order-received .woocommerce-customer-details table tbody td {
	padding: 0.85rem 0 !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid #f3f3f3 !important;
	vertical-align: middle;
}

.woocommerce-order-received .woocommerce-order-details table tfoot th,
.woocommerce-order-received .woocommerce-order-details table tfoot td {
	padding: 0.6rem 0 !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 1px dashed var(--szy-accent-border) !important;
	font-weight: 600;
}

.woocommerce-order-received .woocommerce-order-details table tfoot tr:last-child th,
.woocommerce-order-received .woocommerce-order-details table tfoot tr:last-child td {
	padding-top: 1rem !important;
	font-size: 1.2rem;
	font-weight: 700;
	color: #1a1a1a;
	border-bottom: none !important;
}

.woocommerce-order-received .product-quantity {
	color: #777;
	font-weight: 500;
}

/* Customer details columns */
.woocommerce-order-received .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin: 1rem 0 0 !important;
}

@media (max-width: 720px) {
	.woocommerce-order-received .woocommerce-columns--addresses {
		grid-template-columns: 1fr;
	}
}

.woocommerce-order-received .woocommerce-column {
	margin: 0 !important;
	padding: 1.25rem !important;
	background: #fafafa !important;
	border: 1px solid #ececec;
	border-radius: 12px;
}

.woocommerce-order-received .woocommerce-column h2 {
	margin: 0 0 0.6rem !important;
	font-size: 1rem !important;
	font-weight: 700;
	color: #1a1a1a;
}

.woocommerce-order-received address {
	font-style: normal;
	color: #444;
	line-height: 1.55;
}

/* "Pay" button (shown when order is still pending payment) — styled but with a warning bar */
.woocommerce-order-received .woocommerce-message,
.woocommerce-order-received .woocommerce-info {
	border-left-color: var(--szy-accent) !important;
}

.woocommerce-order-received a.pay,
.woocommerce-order-received .order-actions a.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.75rem 1.5rem !important;
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(255, 90, 54, 0.3);
}

/* Additional clearfix overrides: WC's order_details table_layout breaks grid */
.woocommerce ul.order_details::before,
.woocommerce ul.order_details::after,
.woocommerce-order-overview::before,
.woocommerce-order-overview::after {
	content: none !important;
	display: none !important;
}

/* Tpay payment-confirmation container — drop the decorative top bar. */
.payment-confirmation-container::before,
.payment-confirmation-container.success::before {
	content: none !important;
	display: none !important;
	background: transparent !important;
	height: 0 !important;
}

/* Hard override: keep the notice-banner icon next to the text, not on top of it. */
.wc-block-components-notice-banner {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 0.75rem !important;
	padding: 0.85rem 1.15rem !important;
	position: relative !important;
}

.wc-block-components-notice-banner__icon,
.wc-block-components-notice-banner > svg {
	position: static !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-shrink: 0 !important;
	width: 22px !important;
	height: 22px !important;
	left: auto !important;
	top: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.wc-block-components-notice-banner__icon svg,
.wc-block-components-notice-banner > svg {
	position: static !important;
	width: 22px !important;
	height: 22px !important;
	display: block !important;
}

.wc-block-components-notice-banner__content {
	position: static !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 1 !important;
	min-width: 0 !important;
	color: inherit !important;
}

/* Floating-label inputs: bigger top padding so the label has breathing room. */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea {
	padding: 1.05rem 0.9rem 0.5rem !important;
}

/* When filled/active, place the label nicely above the value with explicit gap. */
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input:focus-within label,
.wc-block-components-text-input :where(input:not([value=""])) + label,
.wc-block-components-text-input :where(textarea:not(:placeholder-shown)) + label {
	top: 0.3rem !important;
	transform: none !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	line-height: 1 !important;
}

/* Idle (empty) — keep label centered like a placeholder. */
.wc-block-components-text-input label {
	top: 50% !important;
	transform: translateY(-50%) !important;
	transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

/* WC notice list items: bring back proper padding so the message text doesn't hug the icon. */
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li,
.wc-block-components-notice-banner li {
	padding: 0.25rem 0 !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}

.wc-block-components-notice-banner ul,
.wc-block-components-notice-banner ol {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

/* WC inline validation error (the "Wybierz metodę płatności" banner) —
   stop the icon negative margin from biting into the text. */
.wc-block-components-validation-error {
	padding: 0 !important;
}

.wc-block-components-validation-error > p {
	display: flex !important;
	align-items: center !important;
	gap: 0.65rem !important;
	margin: 0.5rem 0 !important;
	padding: 0.75rem 1rem !important;
	background: #fff5f5 !important;
	border: 1px solid #ffcaca !important;
	border-left: 4px solid #c62828 !important;
	border-radius: 10px !important;
	line-height: 1.45 !important;
	color: #6b1717 !important;
	box-shadow: 0 2px 6px rgba(198, 40, 40, 0.06);
}

.wc-block-components-validation-error svg {
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	flex-shrink: 0 !important;
	fill: #c62828 !important;
}

/* Legacy WC notices (woocommerce-error, woocommerce-info, woocommerce-message)
   — WC adds an absolutely-positioned WooCommerce-font icon as a ::before that
   overlaps text. We hide it and use a colored left border + clean padding. */
ul.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.pbl-error {
	display: block !important;
	list-style: none !important;
	padding: 0.85rem 1.15rem !important;
	margin: 0.75rem 0 1rem !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-left: 4px solid var(--szy-accent) !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
	color: #1a1a1a !important;
	font-size: 0.95rem !important;
	line-height: 1.5 !important;
	position: relative !important;
}

ul.woocommerce-error,
.pbl-error {
	border-left-color: #c62828 !important;
	background: #fff5f5 !important;
	color: #6b1717 !important;
}

.woocommerce-message {
	border-left-color: #2e7d32 !important;
	background: #f1f8f2 !important;
	color: #1b4d1f !important;
}

ul.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before,
.pbl-error::before {
	display: none !important;
	content: none !important;
}

ul.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li,
.pbl-error li {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
	line-height: 1.5 !important;
	color: inherit !important;
}

/* Order summary quantity badge: position properly + size + hide when qty=1. */
.wc-block-components-order-summary-item__image {
	position: relative !important;
	overflow: visible !important;
}

.wc-block-components-order-summary-item__image > .wc-block-components-order-summary-item__quantity {
	position: absolute !important;
	top: -8px !important;
	right: -8px !important;
	left: auto !important;
	bottom: auto !important;
	min-width: 24px !important;
	height: 24px !important;
	padding: 0 7px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--szy-accent) 0%, var(--szy-accent-dark) 100%) !important;
	color: #fff !important;
	border: 2px solid #fff !important;
	box-shadow: 0 2px 6px rgba(255, 90, 54, 0.4) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

/* Round, clip-friendly image */
.wc-block-components-order-summary-item__image > img {
	border-radius: 10px !important;
	background: var(--szy-accent-soft);
}

/* Order summary product image: branded gradient + ticket icon as the
   placeholder underlay. Real images cover it; the broken/default placeholder
   gets faded out so users only see our branded square. */
.wc-block-components-order-summary-item__image,
.wc-block-components-product-image {
	position: relative !important;
	width: 64px !important;
	height: 64px !important;
	border-radius: 10px !important;
	background: linear-gradient(135deg, #ffe7d6, #ffcdb2) !important;
	overflow: hidden !important;
	flex-shrink: 0;
}

.wc-block-components-order-summary-item__image::before,
.wc-block-components-product-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a59' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v2z'/><path d='M13 5v2'/><path d='M13 17v2'/><path d='M13 11v2'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 60%;
	pointer-events: none;
}

.wc-block-components-order-summary-item__image img,
.wc-block-components-product-image img {
	position: relative;
	z-index: 1;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 10px !important;
}

/* When WC serves its default placeholder, hide the img so our SVG shows. */
.wc-block-components-order-summary-item__image img[src*="placeholder"],
.wc-block-components-product-image img[src*="placeholder"],
.wc-block-components-order-summary-item__image img.woocommerce-placeholder,
.wc-block-components-product-image img.woocommerce-placeholder {
	opacity: 0 !important;
}
