/* ==========================================================================
   Kondido — WooCommerce minimal integration
   ==========================================================================
   Prevents obvious visual conflicts between WooCommerce's default markup
   and the Kondido design system, reusing the same tokens/patterns as
   style.css (buttons, form inputs, notices, container). This is NOT a
   Shop/Product page redesign — layout for the product loop and single
   product page is intentionally left to WooCommerce's own defaults beyond
   the light resets below.
   ========================================================================== */

/* ---- Buttons: match the theme's .btn.btn-solid look ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 34px;
	font-family: var(--font-sans);
	font-size: var(--text-base);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: var(--r);
	background: var(--accent-deep);
	color: var(--white);
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--ink);
	color: var(--white);
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}
.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* ---- Form fields: match the theme's .form-input look ---- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce select,
.woocommerce .quantity .qty {
	border: 1.5px solid var(--border-soft);
	background: var(--white);
	padding: 13px 16px;
	font-family: var(--font-sans);
	font-size: var(--text-md);
	color: var(--ink);
	border-radius: var(--r);
	transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce select:focus,
.woocommerce .quantity .qty:focus {
	border-color: var(--accent-deep);
	outline: none;
	box-shadow: 0 0 0 3px rgba(138, 95, 34, 0.14);
}
.woocommerce form .form-row label {
	font-size: var(--text-sm);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-muted);
}

/* ---- Notices ---- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background: var(--cream);
	border: 1px solid var(--border-soft);
	border-inline-start: 3px solid var(--accent-deep);
	border-radius: var(--r);
	color: var(--ink);
	padding: 16px 20px;
	font-size: var(--text-md);
	list-style: none;
	margin: 0 0 24px;
}
.woocommerce-error {
	border-inline-start-color: var(--rose-deep);
}
.woocommerce-message .button,
.woocommerce-info .button {
	float: none;
	margin-inline-start: 12px;
}

/* ---- Star ratings ---- */
.woocommerce .star-rating {
	color: var(--accent-deep);
}
.woocommerce .star-rating::before {
	color: var(--border-soft);
}
.woocommerce .star-rating span::before {
	color: var(--accent-deep);
}

/* ---- Price ---- */
.woocommerce .price {
	font-family: var(--font-sans);
	font-weight: 700;
	color: var(--ink);
}
.woocommerce .price del {
	color: var(--text-muted);
	opacity: 0.7;
	font-weight: 400;
}
.woocommerce .price ins {
	color: var(--accent-deep);
	text-decoration: none;
}

/* ---- Breadcrumb ---- */
.woocommerce-breadcrumb {
	font-size: var(--text-sm);
	color: var(--text-muted);
	margin-bottom: 24px;
}
.woocommerce-breadcrumb a {
	color: var(--accent-deep);
}
.woocommerce-breadcrumb a:hover {
	text-decoration: underline;
}

/* ---- Product loop: minimal reset only (no card redesign yet) ---- */
ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}
ul.products li.product img {
	width: 100%;
	height: auto;
	border-radius: var(--r);
}
ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-sans);
	font-size: var(--text-lg);
	font-weight: 500;
	color: var(--ink);
	margin: 12px 0 4px;
}

/* ---- Tables (cart/checkout review): legibility only ---- */
.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-md);
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border: 1px solid var(--border-soft);
	padding: 12px 14px;
	text-align: start;
}
