/* PAROX — Variatii produs (culori) : swatches for cards + single product */

.parox-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 10px 2px 0;
}

/* On the shop card, the row sits between the image and the body. */
.product-card__img + .parox-swatches {
	padding: 10px 14px 0;
	margin: 0;
}

.parox-swatch {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	transition: transform .15s ease, box-shadow .15s ease;
	line-height: 0;
}
.parox-swatch__dot {
	display: block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.parox-swatch:hover { transform: translateY(-1px); }
.parox-swatch.is-active {
	box-shadow: 0 0 0 2px var(--c-primary, #D9462D);
}
.parox-swatch.is-oos { opacity: .4; }
.parox-swatch.is-oos::after {
	content: "";
	position: absolute;
}

/* Slightly larger on the single product page. */
.parox-swatches--big { gap: 10px; margin-top: 4px; }
.parox-swatch--big { width: 34px; height: 34px; }
.parox-swatch--big .parox-swatch__dot { width: 26px; height: 26px; }
.parox-swatch--big.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c-primary, #D9462D); }

/* Single product selector block. */
.parox-variations-block {
	margin: 4px 0 20px;
}
.parox-variations-block__label {
	font-size: .95rem;
	color: var(--c-muted, #6b7280);
	margin-bottom: 10px;
}
.parox-variations-block__label strong {
	color: var(--c-secondary, #1F2329);
	font-weight: 700;
}

@media (max-width: 480px) {
	.parox-swatch--big { width: 30px; height: 30px; }
	.parox-swatch--big .parox-swatch__dot { width: 22px; height: 22px; }
}

/* ---------------------------------------------------------------------------
 * WooCommerce default notices — the theme dequeues WC's CSS, so cart/checkout
 * messages render as bare full-width strips. Style them as PAROX cards.
 * ------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce .cart-empty,
.woocommerce-cart .cart-empty {
	position: relative;
	border: 1px solid var(--c-border-l, #eadfce);
	border-left: 4px solid var(--c-primary, #D9462D);
	background: #fffdf8;
	border-radius: 12px;
	padding: 15px 18px;
	margin: 0 auto 18px;
	max-width: 1180px;
	list-style: none;
	color: var(--c-secondary, #1F2329);
	font-size: .97rem;
	line-height: 1.45;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	box-shadow: 0 2px 12px rgba(31, 35, 41, .04);
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce .cart-empty::before {
	font-family: inherit;
	content: "";
}
.woocommerce-info,
.woocommerce .cart-empty { border-left-color: #3B82F6; }
.woocommerce-error { border-left-color: #E4342B; background: #fff7f6; }
.woocommerce-message { border-left-color: var(--c-success, #7BB833); background: #f7fbf0; }

/* Buttons inside a notice (Undo, Return to shop, View cart) pushed to the right. */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: auto;
}
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a { color: var(--c-primary, #D9462D); font-weight: 600; }

/* Empty-cart layout: message then the Return-to-shop button on its own row. */
.woocommerce-cart .cart-empty.woocommerce-info { justify-content: flex-start; }
.woocommerce .return-to-shop { margin-top: 4px; }

/* Keep WC form-row validation notices tidy on checkout. */
.woocommerce form .form-row.woocommerce-invalid input.input-text {
	border-color: #E4342B;
}

/* The default cart page ([woocommerce_cart]) isn't wrapped in the theme
 * container, so its content sits flush against the viewport edge. Constrain it. */
.woocommerce-cart main .woocommerce {
	max-width: 1220px;
	margin-left: auto;
	margin-right: auto;
	padding: 34px 24px 56px;
	box-sizing: border-box;
}
.woocommerce-cart .return-to-shop { margin-top: 8px; }
.woocommerce-cart .return-to-shop .button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Light styling for the default cart table so a filled cart doesn't look bare. */
.woocommerce-cart table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid var(--c-border-l, #eadfce);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 24px;
}
.woocommerce-cart table.shop_table th {
	text-align: left;
	padding: 14px 16px;
	background: #faf7f1;
	font-size: .88rem;
	font-weight: 700;
	color: var(--c-secondary, #1F2329);
}
.woocommerce-cart table.shop_table td {
	padding: 14px 16px;
	border-top: 1px solid var(--c-border-l, #eadfce);
	vertical-align: middle;
}
.woocommerce-cart table.shop_table img {
	width: 64px;
	height: auto;
	border-radius: 8px;
	display: block;
}
.woocommerce-cart .cart_totals {
	background: #fff;
	border: 1px solid var(--c-border-l, #eadfce);
	border-radius: 12px;
	padding: 20px 22px;
}
.woocommerce-cart .cart_totals table { width: 100%; }
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td { padding: 10px 0; }

