/*
 * Frontend theme — matches henrices.com's live design tokens (extracted
 * from the site itself): navy gradient header/hero (#020381 → #2874FC),
 * gold pill CTA buttons (#ffcd57 bg / #0170b9 text), Inter font, #1e293b
 * heading color. Scoped to .henric-catalog / .henric-quote-cart so it
 * never leaks into wp-admin (the .henric-status* badges below stay
 * unstyled by this theme on purpose — those only ever appear inside
 * wp-admin's own list table, which should keep WordPress's own look).
 */

.henric-catalog,
.henric-quote-cart,
.henric-single-product,
.henric-featured-section {
	--henric-navy: #020381;
	--henric-blue: #2874fc;
	--henric-gradient: linear-gradient(135deg, #020381 0%, #2874fc 100%);
	--henric-gold: #ffcd57;
	--henric-gold-text: #0170b9;
	--henric-heading: #1e293b;
	--henric-body: #475569;
	--henric-border: #e2e8f0;
	font-family: 'Inter', 'Noto Sans Thai', sans-serif;
	color: var(--henric-body);
}

/*
 * Block themes (Twenty Twenty-Five, etc.) cap direct children of the page
 * content area at a fixed "content width" (often ~640px) regardless of the
 * visitor's screen size — the sidebar+grid layout needs real room to work,
 * so break out of that constraint here instead of relying on the theme.
 */
.henric-catalog {
	/* !important: ties in specificity with the theme's own
	   ".is-layout-constrained > :where(...)" content-width rule (both are a
	   single class selector — :where() carries zero specificity), and that
	   rule loads after this stylesheet, so it would otherwise win the tie. */
	max-width: 1280px !important;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.henric-catalog-layout {
	display: flex;
	align-items: flex-start;
	gap: 28px;
}

.henric-catalog-sidebar {
	flex: 0 0 240px;
	width: 240px;
	background: #fff;
	border: 1px solid var(--henric-border);
	border-radius: 14px;
	padding: 18px;
	position: sticky;
	top: 20px;
}

.henric-catalog-main {
	flex: 1 1 auto;
	min-width: 0;
}

.henric-sidebar-section {
	margin-top: 22px;
}

.henric-sidebar-section h3 {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--henric-navy);
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--henric-border);
}

.henric-catalog-filters,
.henric-catalog-brand-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.henric-filter-btn,
.henric-brand-btn {
	display: block;
	width: 100%;
	text-align: left;
	padding: 8px 10px;
	border: none;
	border-radius: 8px;
	background: none;
	color: var(--henric-body);
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
	transition: background 0.15s ease, color 0.15s ease;
}

.henric-filter-btn:hover,
.henric-brand-btn:hover {
	background: #f0f5ff;
	color: var(--henric-navy);
}

.henric-filter-btn.is-active,
.henric-brand-btn.is-active {
	background: var(--henric-gradient);
	color: #fff;
	font-weight: 700;
}

.henric-catalog-search-wrap {
	position: relative;
	width: 100%;
}

.henric-catalog-search {
	display: block;
	width: 100%;
	padding: 10px 32px 10px 14px;
	border: 1px solid var(--henric-border);
	border-radius: 10px;
	font-family: inherit;
}

.henric-catalog-search:focus {
	outline: none;
	border-color: var(--henric-blue);
	box-shadow: 0 0 0 3px rgba(40, 116, 252, 0.15);
}

.henric-catalog-search::-webkit-search-cancel-button {
	display: none;
}

.henric-catalog-search-clear {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	border: none;
	background: none;
	font-size: 18px;
	line-height: 1;
	color: #99a3b3;
	cursor: pointer;
	padding: 4px 6px;
}

.henric-catalog-search-clear:hover {
	color: var(--henric-navy);
}

.henric-catalog-result-count {
	margin: 0 0 14px;
	font-size: 13px;
	color: #64748b;
}

.henric-catalog-no-results {
	grid-column: 1 / -1;
	color: #64748b;
	text-align: center;
	padding: 24px 0;
}

.henric-catalog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

@media (max-width: 720px) {
	.henric-catalog-layout {
		flex-direction: column;
	}

	.henric-catalog-sidebar {
		position: static;
		width: 100%;
		flex: 1 1 auto;
	}
}

.henric-product-card {
	border: 1px solid var(--henric-border);
	border-radius: 14px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	background: #fff;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.henric-product-card:hover {
	box-shadow: 0 8px 24px rgba(2, 3, 129, 0.1);
	transform: translateY(-2px);
}

.henric-product-thumb {
	display: block;
}

.henric-product-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 8px;
}

.henric-product-title a {
	color: inherit;
	text-decoration: none;
}

.henric-product-title a:hover {
	color: var(--henric-blue);
}

.henric-product-thumb-placeholder {
	width: 100%;
	height: 160px;
	background: #f1f5f9;
	border-radius: 8px;
}

.henric-product-brand {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--henric-blue);
	margin: 12px 0 0;
}

.henric-product-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--henric-heading);
	margin: 4px 0 4px;
}

.henric-product-sku {
	font-size: 12px;
	color: #94a3b8;
	margin: 0 0 6px;
}

.henric-product-specs {
	font-size: 13px;
	color: var(--henric-body);
	margin: 0 0 8px;
	padding-left: 18px;
}

.henric-product-price {
	font-weight: 700;
	font-size: 16px;
	color: var(--henric-heading);
	margin: 0 0 4px;
}

.henric-product-vat-note {
	display: block;
	font-weight: 400;
	font-size: 12px;
	color: #94a3b8;
}

.henric-product-spec-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--henric-blue);
	margin: 2px 0 10px;
	padding: 6px 10px;
	border: 1px solid var(--henric-border);
	border-radius: 8px;
	background: #f6f9fd;
	text-decoration: none;
}

.henric-product-spec-link:hover {
	border-color: var(--henric-blue);
	text-decoration: underline;
}

.henric-variant-table-wrap {
	overflow-x: auto;
	margin: 4px 0 10px;
	border-radius: 8px;
	border: 1px solid var(--henric-border);
}

.henric-variant-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.henric-variant-table th,
.henric-variant-table td {
	border-bottom: 1px solid var(--henric-border);
	padding: 8px;
	text-align: left;
	white-space: nowrap;
}

.henric-variant-table th {
	background: #f0f5ff;
	color: var(--henric-navy);
	font-weight: 700;
}

.henric-variant-table tbody tr:last-child td {
	border-bottom: none;
}

.henric-variant-sku {
	color: #94a3b8;
}

.henric-variant-price {
	white-space: normal;
	font-weight: 600;
	color: var(--henric-heading);
}

.henric-variant-qty {
	width: 56px;
	padding: 4px 6px;
	border: 1px solid var(--henric-border);
	border-radius: 6px;
	font-family: inherit;
}

.henric-variant-table .henric-add-to-quote {
	margin-top: 0;
	white-space: nowrap;
	padding: 6px 16px;
	font-size: 12px;
}

.henric-add-to-quote,
.henric-submit-quote {
	margin-top: auto;
	background: var(--henric-gold);
	color: var(--henric-gold-text);
	border: none;
	border-radius: 999px;
	padding: 10px 22px;
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.henric-add-to-quote:hover,
.henric-submit-quote:hover {
	filter: brightness(0.96);
	box-shadow: 0 4px 12px rgba(255, 205, 87, 0.5);
}

.henric-catalog-empty {
	grid-column: 1 / -1;
	color: #64748b;
}

/* Cart / quote form */

.henric-quote-layout {
	display: grid;
	gap: 20px;
	align-items: start;
}

.henric-quote-cart {
	max-width: 640px !important;
	width: 100%;
}

.henric-quote-howto {
	background: #f2f5fa;
	border: 1px solid #dbe2ec;
	border-left: 4px solid #f2b705;
	border-radius: 12px;
	padding: 16px 18px;
}

.henric-quote-howto h3 {
	margin: 0 0 8px;
	font-size: 17px;
}

.henric-quote-howto ol {
	margin: 0 0 10px;
	padding-left: 20px;
}

.henric-quote-howto li {
	margin-bottom: 6px;
	line-height: 1.55;
}

.henric-howto-alt {
	margin: 0;
	font-size: 14px;
	color: #5b6577;
}

.henric-cart-empty {
	text-align: center;
	padding: 18px;
	border: 1px dashed #b9c3d3;
	border-radius: 12px;
}

.henric-cart-empty p {
	margin: 0 0 10px;
}

.henric-cart-items {
	margin-bottom: 18px;
}

@media (min-width: 900px) {
	.henric-quote-layout {
		grid-template-columns: minmax(0, 640px) 320px;
		justify-content: start;
	}
	.henric-quote-howto {
		order: 2;
		position: sticky;
		top: 96px;
	}
}

/* "View quote list" bar on catalog / product pages */
.henric-cart-bar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	z-index: 9997;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 10px 16px;
	border-radius: 12px;
	background: #17346b;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.henric-cart-bar[hidden] {
	display: none;
}

body.henric-cart-bar-on .henric-line-float {
	bottom: calc(76px + env(safe-area-inset-bottom));
}

body.henric-cart-bar-on .hs-footer {
	padding-bottom: 150px;
}

@media (min-width: 900px) {
	.henric-cart-bar {
		left: auto;
		right: 24px;
		bottom: 92px;
		padding: 10px 22px;
	}
	body.henric-cart-bar-on .henric-line-float {
		bottom: 24px;
	}
}

.henric-quote-cart h3 {
	color: var(--henric-heading);
}

.henric-cart-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
	border: 1px solid var(--henric-border);
	border-radius: 8px;
	overflow: hidden;
}

.henric-cart-table th,
.henric-cart-table td {
	border-bottom: 1px solid var(--henric-border);
	padding: 10px;
	text-align: left;
}

.henric-cart-table th {
	background: #f0f5ff;
	color: var(--henric-navy);
}

.henric-cart-qty {
	width: 70px;
	padding: 4px 6px;
	border: 1px solid var(--henric-border);
	border-radius: 6px;
	font-family: inherit;
}

.henric-cart-remove {
	background: none;
	border: none;
	color: #dc2626;
	cursor: pointer;
	font-weight: 600;
}

.henric-form-row {
	margin-bottom: 14px;
}

.henric-form-row label {
	display: block;
	font-weight: 600;
	color: var(--henric-heading);
	margin-bottom: 4px;
}

.henric-form-row input,
.henric-form-row textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--henric-border);
	border-radius: 8px;
	font-family: inherit;
}

.henric-form-row input:focus,
.henric-form-row textarea:focus {
	outline: none;
	border-color: var(--henric-blue);
	box-shadow: 0 0 0 3px rgba(40, 116, 252, 0.15);
}

.henric-form-row.honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.henric-form-status {
	min-height: 1.2em;
	margin: 10px 0;
	font-size: 14px;
}

.henric-form-status.is-success {
	color: #15803d;
}

.henric-form-status.is-error {
	color: #dc2626;
}

.henric-download-summary {
	display: inline-block;
	margin-top: 8px;
	background: var(--henric-gold);
	color: var(--henric-gold-text);
	border-radius: 999px;
	padding: 8px 18px;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
}

.henric-download-summary:hover {
	filter: brightness(0.96);
}

.henric-privacy-note {
	margin: 8px 0 0;
	font-size: 12px;
	color: #94a3b8;
}

.henric-privacy-note a {
	color: inherit;
	text-decoration: underline;
}

/* Success card after sending a quote request (replaces the form). */
.henric-quote-success {
	border: 2px solid #16a34a;
	background: #f0fdf4;
	border-radius: 14px;
	padding: 22px 22px 18px;
	color: var(--henric-heading);
	scroll-margin-top: 90px;
}

.henric-quote-success-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.henric-quote-success-icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #16a34a;
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	line-height: 44px;
	text-align: center;
}

.henric-quote-success h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
	color: #166534;
	outline: none;
}

.henric-quote-success-ref {
	margin: 14px 0 16px;
	font-size: 16px;
}

.henric-quote-success-ref strong {
	display: inline-block;
	margin-left: 4px;
	font-size: 22px;
	letter-spacing: 0.5px;
	color: var(--henric-navy);
}

.henric-quote-success-download {
	display: block;
	text-align: center;
	background: var(--henric-gold);
	color: var(--henric-navy);
	border-radius: 12px;
	padding: 16px 18px;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(2, 3, 129, 0.15);
}

.henric-quote-success-download:hover,
.henric-quote-success-download:focus {
	filter: brightness(0.96);
	color: var(--henric-navy);
}

.henric-quote-success-hint {
	margin: 8px 0 0;
	font-size: 14px;
	text-align: center;
	color: var(--henric-body);
}

.henric-quote-success-steps {
	margin: 18px 0 0;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--henric-body);
}

.henric-quote-success-steps li + li {
	margin-top: 6px;
}

.henric-quote-success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.henric-quote-success-actions a {
	flex: 1 1 200px;
	text-align: center;
	border-radius: 999px;
	padding: 10px 16px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}

/* The theme colours every link blue; these need the card's own colours. */
.henric-quote-success a.henric-quote-success-line,
.henric-quote-success a.henric-quote-success-line:visited,
.henric-quote-success a.henric-quote-success-line:hover,
.henric-quote-success a.henric-quote-success-line:focus {
	background: #06c755;
	color: #fff !important;
}

.henric-quote-success a.henric-quote-success-line:hover {
	filter: brightness(0.95);
}

.henric-quote-success a.henric-quote-success-download,
.henric-quote-success a.henric-quote-success-download:visited {
	color: var(--henric-navy) !important;
}

.henric-quote-success-more {
	border: 1px solid var(--henric-border);
	background: #fff;
	color: var(--henric-navy);
}

@media (max-width: 480px) {
	.henric-quote-success {
		padding: 18px 16px 16px;
	}
	.henric-quote-success h3 {
		font-size: 19px;
	}
	.henric-quote-success-ref strong {
		display: block;
		margin: 4px 0 0;
	}
}

/* Single product detail page */

.henric-single-product {
	font-family: 'Inter', 'Noto Sans Thai', sans-serif;
	color: var(--henric-body);
	max-width: 1000px !important;
	width: 100%;
	margin: 0 auto;
	padding: 20px 16px 60px;
}

.henric-breadcrumb {
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 18px;
}

.henric-breadcrumb a {
	color: #94a3b8;
	text-decoration: none;
}

.henric-breadcrumb a:hover {
	color: var(--henric-blue);
}

.henric-single-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	margin-bottom: 36px;
}

.henric-single-thumb img {
	width: 100%;
	border-radius: 14px;
	object-fit: cover;
	max-height: 420px;
}

.henric-single-gallery-strip {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.henric-single-gallery-strip img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--henric-border);
}

.henric-single-title {
	font-size: 26px;
	font-weight: 700;
	color: var(--henric-heading);
	margin: 6px 0 8px;
}

.henric-single-price {
	font-size: 24px;
}

.henric-single-details .henric-add-to-quote {
	margin-top: 12px;
}

.henric-single-section {
	margin-bottom: 36px;
}

.henric-single-section h2 {
	font-size: 18px;
	font-weight: 700;
	color: var(--henric-heading);
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--henric-border);
}

.henric-single-description {
	line-height: 1.7;
}

.henric-spec-table,
.henric-related-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
	border: 1px solid var(--henric-border);
	border-radius: 8px;
	overflow: hidden;
}

.henric-spec-table th,
.henric-spec-table td,
.henric-related-table td {
	border-bottom: 1px solid var(--henric-border);
	padding: 10px 14px;
	text-align: left;
	font-size: 14px;
}

.henric-spec-table th {
	width: 220px;
	background: #f8fafc;
	color: var(--henric-heading);
	font-weight: 600;
}

.henric-related-table thead th {
	background: #f0f5ff;
	color: var(--henric-navy);
	font-weight: 700;
	padding: 10px 14px;
	border-bottom: 1px solid var(--henric-border);
}

.henric-related-table td a {
	color: var(--henric-navy);
	font-weight: 600;
	text-decoration: none;
}

.henric-related-table td a:hover {
	color: var(--henric-blue);
}

.henric-related-price {
	white-space: nowrap;
	text-align: right;
	font-weight: 600;
	color: var(--henric-heading);
}

.henric-spec-table tbody tr:last-child th,
.henric-spec-table tbody tr:last-child td,
.henric-related-table tbody tr:last-child td {
	border-bottom: none;
}

@media (max-width: 680px) {
	.henric-single-main {
		grid-template-columns: 1fr;
	}
}

/* Homepage "featured products" teaser section */

.henric-featured-section {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 40px 20px;
	text-align: center;
}

.henric-featured-header h2 {
	color: var(--henric-heading);
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px;
}

.henric-featured-header p {
	color: var(--henric-body);
	margin: 0 0 32px;
}

.henric-featured-grid {
	text-align: left;
}

.henric-featured-card {
	align-items: stretch;
}

.henric-featured-view {
	margin-top: auto;
	align-self: flex-start;
	background: transparent;
	color: var(--henric-blue);
	border: 1px solid var(--henric-blue);
	border-radius: 8px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.henric-featured-view:hover {
	background: var(--henric-blue);
	color: #fff;
}

.henric-featured-cta {
	margin-top: 32px;
}

.henric-featured-cta-btn {
	display: inline-block;
	background: var(--henric-gold);
	color: var(--henric-gold-text);
	font-weight: 700;
	padding: 14px 32px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 15px;
}

.henric-featured-cta-btn:hover {
	filter: brightness(0.96);
}

/* wp-admin quote-list status badges — intentionally left in WordPress's
   own default look, not the frontend theme above. */

.henric-status {
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	background: #eee;
}

.henric-status-new {
	background: #fde68a;
}

.henric-status-quoted {
	background: #bfdbfe;
}

.henric-status-closed {
	background: #bbf7d0;
}

/* Phones: category and brand filters become one swipeable row of chips each,
   so products start on the first screen instead of below two long lists. */
@media (max-width: 720px) {
	.henric-catalog-sidebar .henric-sidebar-section h3 {
		margin-bottom: 6px;
	}
	.henric-catalog-filters,
	.henric-catalog-brand-list {
		display: flex;
		flex-direction: row;
		gap: 8px;
		overflow-x: auto;
		padding-bottom: 6px;
		margin: 0;
		-webkit-overflow-scrolling: touch;
	}
	.henric-catalog-filters li,
	.henric-catalog-brand-list li {
		flex: 0 0 auto;
	}
	.henric-catalog-filters .henric-filter-btn,
	.henric-catalog-brand-list .henric-brand-btn {
		width: auto;
		white-space: nowrap;
		border: 1px solid #dbe2ec;
		border-radius: 999px;
		padding: 6px 14px;
	}
}

/* Sub-categories open right under their parent (desktop); on phones catalog.js
   moves the open list into .henric-subcat-mobile, a second chip row. */
.henric-filter-btn { display: flex; align-items: center; gap: 6px; }
.henric-filter-count { margin-left: auto; font-size: 12px; font-weight: 600; color: #8792a5; }
.henric-filter-count:empty { display: none; }
.henric-filter-btn.is-active .henric-filter-count { color: rgba(255, 255, 255, 0.85); }
.henric-cat-item.has-subcats > .henric-filter-btn::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	opacity: 0.55;
	flex: 0 0 auto;
	transition: transform 0.15s ease;
}
.henric-cat-item.has-subcats > .henric-filter-btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.henric-filter-btn.is-parent-active { font-weight: 700; color: #17346b; background: #eef3fb; }
.henric-cat-item > .henric-subcats { margin: 4px 0 8px 10px; padding-left: 10px !important; border-left: 3px solid #f2b705; }
.henric-filter-btn.henric-filter-sub { font-size: 14px; padding: 7px 10px; line-height: 1.35; }
.henric-subcats[hidden] { display: none !important; }
.henric-subcats .henric-filter-btn.is-active { background: #17346b !important; color: #fff !important; }
@media (max-width: 720px) {
	.henric-cat-item.has-subcats > .henric-filter-btn::after { width: 6px; height: 6px; }
	.henric-subcat-mobile { margin-top: 6px; }
	.henric-subcat-mobile:empty { display: none; }
	.henric-subcat-mobile .henric-subcats { padding: 8px 0 6px !important; border-left: 0; border-top: 1px dashed #dbe2ec; }
	.henric-subcats .henric-filter-btn { background: #fff8de; }
	.henric-filter-count { margin-left: 2px; }
}

/* "Order in 3 steps" box above the products */
.henric-buy-steps {
	background: #f2f5fa;
	border: 1px solid #dbe2ec;
	border-left: 4px solid #f2b705;
	border-radius: 12px;
	padding: 14px 18px;
	margin: 0 0 16px;
}
.henric-buy-steps-title { margin: 0; font-weight: 700; color: #17346b; font-size: 16px; cursor: pointer; }
.henric-buy-steps[open] .henric-buy-steps-title { margin-bottom: 6px; }
.henric-buy-steps-title::marker { color: #f2b705; }
.henric-buy-steps ol { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; line-height: 1.55; font-size: 14px; }
@media (min-width: 1200px) {
	.henric-buy-steps ol { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.henric-buy-chip { display: inline-block; padding: 0 8px; border-radius: 6px; background: var(--henric-gradient, #17346b); color: #fff; font-weight: 700; font-size: 13px; }
.henric-buy-steps-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.henric-buy-cart {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: #17346b;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	font-size: 14px;
}
.henric-buy-cart:hover { background: #0f2550; }
.henric-buy-line { color: #06a24b !important; font-weight: 700; font-size: 14px; }
.henric-catalog-result-count { font-size: 14px; color: #17346b; font-weight: 600; }

/* Multi-size products (cables, breakers…): one full-width row each, like a price list.
   Photo beside the table only on wide screens; on tablets (iPad upright) the photo
   sits on top so the size/price/qty/add table fits without sideways scrolling. */
@media (min-width: 721px) {
	.henric-product-card--wide { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.henric-product-card--wide { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 24px; align-items: start; }
	.henric-product-card--wide > .henric-product-thumb { grid-row: 1 / span 6; }
	.henric-product-card--wide > :not(.henric-product-thumb) { grid-column: 2; }
}
@media (min-width: 721px) and (max-width: 1099px) {
	.henric-catalog-layout { gap: 18px; }
	.henric-catalog-sidebar { flex-basis: 200px; width: 200px; }
	.henric-product-card--wide .henric-product-thumb img { max-height: 200px; object-fit: contain; }
	.henric-product-card--wide .henric-product-thumb-placeholder { height: 120px; }
}
.henric-variant-table td:last-child, .henric-variant-table th:last-child { width: 1%; white-space: nowrap; }
/* Long size names wrap instead of pushing the add button off-screen. */
.henric-variant-table td:first-child { white-space: normal; min-width: 80px; }
.henric-variant-table .henric-variant-qty { width: 64px; }
@media (max-width: 720px) {
	.henric-variant-table th:nth-child(3), .henric-variant-table td:nth-child(3) { display: none; }
	.henric-variant-table th, .henric-variant-table td { padding: 10px 6px; }
	.henric-product-card--wide .henric-product-thumb img, .henric-product-card--wide .henric-product-thumb-placeholder { max-height: 180px; object-fit: contain; }
	.henric-product-card--wide .henric-product-thumb-placeholder { height: 120px; }
}

/* "Where can this cable be used" box */
.henric-usage {
	margin: 4px 0 10px;
	padding: 8px 12px;
	border: 1px solid var(--henric-border);
	border-radius: 8px;
	background: #fbfcfe;
}

.henric-usage-title {
	margin: 0 0 4px;
	font-size: 13.5px;
	font-weight: 700;
	color: #17346b;
}

.henric-usage ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}

.henric-usage li {
	display: flex;
	gap: 6px;
	font-size: 13.5px;
	line-height: 1.5;
}

.henric-usage li span {
	flex: 0 0 16px;
	font-weight: 700;
	text-align: center;
}

.henric-usage li.is-ok span { color: #15803d; }
.henric-usage li.is-no { color: #b91c1c; }
.henric-usage li.is-no span { color: #b91c1c; }
.henric-usage li.is-note span { color: #2563eb; }

.henric-usage-src {
	margin: 4px 0 0;
	font-size: 11.5px;
	color: #94a3b8;
}
