/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/*
 * Codex site maintenance, 2026-06-13.
 * Keeps the storefront visually aligned with a B2B/OEM catalog and quote flow.
 */

:root {
	--cf-brand-ink: #17383e;
	--cf-brand-accent: #d27c61;
	--cf-soft-border: #e7ecec;
}

/* Header: prevent the square logo asset from overflowing into page heroes. */
[data-header] [data-id="logo"],
[data-header] .site-logo-container {
	max-width: 280px !important;
	overflow: visible !important;
}

[data-header] .site-logo-container {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0 !important;
}

[data-header] .site-logo-container::after {
	content: none !important;
	display: none !important;
}

[data-header] [data-id="logo"] img,
[data-header] .site-logo-container img,
.site-branding img {
	width: 132px !important;
	max-width: 180px !important;
	height: auto !important;
	max-height: 64px !important;
	object-fit: contain !important;
}

[data-header] [data-id="logo"] .site-logo-container img.default-logo {
	width: 150px !important;
	max-width: 150px !important;
	max-height: none !important;
}

[data-header] .ct-header [data-row*="middle"] {
	--height: 86px !important;
}

/* This is a quote-led B2B catalog, so remove retail checkout noise. */
[data-id="cart"],
.ct-header-cart,
.ct-cart-item,
.woocommerce-result-count,
.woocommerce-ordering,
.onsale,
.price,
.related .price,
.woocommerce-tabs .reviews_tab,
.woocommerce-tabs #tab-reviews,
.woocommerce-tabs [aria-controls="tab-reviews"],
.woocommerce #reviews {
	display: none !important;
}

/* Product archive: stable product cards with consistent image behavior. */
[data-products] {
	--grid-columns-gap: 34px;
	--grid-rows-gap: 42px;
}

[data-products] .product {
	text-align: left !important;
	--horizontal-alignment: left !important;
	--text-horizontal-alignment: left !important;
}

[data-products] .product figure {
	aspect-ratio: 1 / 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-bottom: 18px !important;
	border: 1px solid var(--cf-soft-border);
	background: #fff;
	overflow: hidden !important;
}

[data-products] .product figure img {
	width: 100% !important;
	height: 100% !important;
	max-height: 280px !important;
	object-fit: contain !important;
	padding: 18px !important;
}

[data-products] .woocommerce-loop-product__title {
	color: var(--cf-brand-ink) !important;
	font-size: 18px !important;
	line-height: 1.35 !important;
}

[data-products] .entry-meta {
	color: #5f7478 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

/* Product detail pages: make the quote flow clearer and stop images from dominating mobile. */
.single-product .product .summary,
.single-product .entry-summary {
	font-size: 16px;
	line-height: 1.65;
}

.single-product .woocommerce-product-gallery img {
	width: 100% !important;
	max-height: 560px !important;
	object-fit: contain !important;
}

.single-product .yith-ywraq-add-button a,
.single-product .yith_ywraq_add_item_browse-list a,
.single-product .wpforms-submit,
.page-id-1154 .wpforms-submit,
.page-id-838 .wpforms-submit {
	border-radius: 4px !important;
	background: var(--cf-brand-accent) !important;
	color: #fff !important;
	font-weight: 700 !important;
}

.single-product .product_meta,
.single-product .woocommerce-tabs .tabs {
	border-color: var(--cf-soft-border) !important;
}

/* Contact/home cleanup: shortcode remnants and newsletter blocks should not crowd conversion pages. */
.page-id-610 .wp-block-heading:has(+ .wp-block-shortcode),
.page-id-610 .wp-block-shortcode,
.home .wp-block-heading:has(+ .wp-block-shortcode),
.home .wp-block-shortcode {
	display: none !important;
}

/* Home hero: keep the product carousel bounded and useful once images load. */
.home .stk-5a2478e .stk-img-wrapper {
	aspect-ratio: 4 / 3;
	width: 100% !important;
	max-height: 430px !important;
	overflow: hidden !important;
	border-radius: 6px;
	background: #fff;
}

.home .stk-5a2478e .stk-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

@media (max-width: 999.98px) {
	[data-header] .ct-header [data-row*="middle"] {
		--height: 68px !important;
	}

	[data-header] [data-id="logo"] img,
	[data-header] .site-logo-container img,
	.site-branding img {
		width: 116px !important;
		max-width: 142px !important;
		max-height: 52px !important;
	}

	[data-header] [data-id="logo"] .site-logo-container img.default-logo {
		width: 122px !important;
		max-width: 122px !important;
		max-height: none !important;
	}

	[data-prefix="product"] .entry-header .page-title {
		font-size: 32px !important;
		line-height: 1.18 !important;
	}

	[data-prefix="product"] .hero-section[data-type="type-2"] {
		--min-height: 230px !important;
		--container-padding: 36px 0 !important;
	}

	.single-product .woocommerce-product-gallery img {
		max-height: 360px !important;
	}
}

@media (max-width: 689.98px) {
	[data-products] .product figure img {
		max-height: 220px !important;
		padding: 14px !important;
	}

	[data-products] .woocommerce-loop-product__title {
		font-size: 17px !important;
	}
}


/*
 * ClawFinesse redesign, 2026-10-29.
 * Shared styles for the rewritten landing pages (markup uses .cf-* classes) and site-wide polish.
 */

:root {
	--cf-ink: #16343a;
	--cf-ink-soft: #2c4f55;
	--cf-muted: #5d7377;
	--cf-teal: #2f6b5f;
	--cf-accent: #c9643f;
	--cf-accent-dark: #a94f2f;
	--cf-paper: #f4f8f7;
	--cf-cream: #fbf6ef;
	--cf-line: #dce7e5;
	--cf-radius: 14px;
	--cf-shadow: 0 1px 2px rgba(22, 52, 58, .06), 0 8px 24px rgba(22, 52, 58, .07);
}

/* Landing pages render their own hero, so hide the theme title bar on them. */
.page-id-2 .entry-header,
.page-id-1275 .entry-header,
.page-id-1255 .entry-header,
.page-id-1154 .entry-header,
.page-id-838 .entry-header,
.page-id-1267 .entry-header {
	display: none !important;
}

.page-id-2 #main,
.page-id-1275 #main,
.page-id-1255 #main,
.page-id-1154 #main,
.page-id-838 #main,
.page-id-1267 #main {
	padding-top: 0 !important;
}

.cf-shell {
	color: var(--cf-ink);
	background: #fff;
	max-width: 100vw;
	overflow-x: hidden;
	font-size: 17px;
	line-height: 1.6;
}

.cf-shell *,
.cf-shell *::before,
.cf-shell *::after {
	box-sizing: border-box;
}

.cf-shell h1,
.cf-shell h2,
.cf-shell h3 {
	color: var(--cf-ink);
	letter-spacing: -0.01em;
}

.cf-shell p {
	margin: 0;
}

.cf-shell a {
	color: var(--cf-teal);
	font-weight: 700;
	text-decoration: none;
}

.cf-shell a:hover {
	color: var(--cf-accent);
}

.cf-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	min-width: 0;
}

/* Hero */
.cf-hero {
	background: linear-gradient(180deg, var(--cf-paper) 0%, #fff 100%);
	padding: 72px 0 56px;
}

.cf-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 48px;
	align-items: center;
}

.cf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px !important;
	color: var(--cf-accent-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cf-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--cf-accent);
}

.cf-hero h1 {
	margin: 0 0 18px;
	font-size: clamp(32px, 4.4vw, 52px);
	line-height: 1.08;
	font-weight: 800;
}

.cf-lede {
	font-size: 19px;
	line-height: 1.65;
	color: var(--cf-ink-soft);
	max-width: 620px;
}

.cf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.cf-shell .cf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 24px;
	border-radius: 999px;
	background: var(--cf-accent);
	border: 1px solid var(--cf-accent);
	color: #fff;
	font-weight: 800;
	line-height: 1.2;
	transition: background .15s ease, transform .15s ease;
}

.cf-shell .cf-btn:hover {
	background: var(--cf-accent-dark);
	border-color: var(--cf-accent-dark);
	color: #fff;
	transform: translateY(-1px);
}

.cf-shell .cf-btn.is-ghost {
	background: #fff;
	border-color: var(--cf-line);
	color: var(--cf-ink);
}

.cf-shell .cf-btn.is-ghost:hover {
	border-color: var(--cf-ink);
	color: var(--cf-ink);
}

.cf-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	color: var(--cf-ink-soft);
	font-size: 15px;
	font-weight: 600;
}

.cf-checks li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.cf-checks li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	border-radius: 50%;
	background: var(--cf-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Hero product stage */
.cf-stage {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	min-width: 0;
}

.cf-stage figure {
	margin: 0;
	background: #fff;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	box-shadow: var(--cf-shadow);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.cf-stage figure:first-child {
	grid-row: span 2;
}

.cf-stage img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
}

.cf-stage figure:first-child img {
	min-height: 380px;
	padding: 26px;
}

.cf-stage .is-photo img {
	object-fit: cover;
	padding: 0;
}

/* Stats */
.cf-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: 48px;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	background: #fff;
	overflow: hidden;
}

.cf-stat {
	padding: 22px 24px;
	border-left: 1px solid var(--cf-line);
}

.cf-stat:first-child {
	border-left: 0;
}

.cf-stat strong {
	display: block;
	font-size: 28px;
	line-height: 1.1;
	font-weight: 800;
	color: var(--cf-ink);
}

.cf-stat span {
	display: block;
	margin-top: 6px;
	color: var(--cf-muted);
	font-size: 14px;
	line-height: 1.4;
}

/* Sections */
.cf-section {
	padding: 80px 0;
}

.cf-section.is-tint {
	background: var(--cf-paper);
}

.cf-section.is-cream {
	background: var(--cf-cream);
}

.cf-head {
	max-width: 720px;
	margin-bottom: 36px;
}

.cf-head.is-center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.cf-head h2 {
	margin: 0 0 12px;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
	font-weight: 800;
}

.cf-head p {
	color: var(--cf-muted);
	font-size: 18px;
}

.cf-grid {
	display: grid;
	gap: 20px;
}

.cf-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cf-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cf-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cf-grid.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Product / category cards */
.cf-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	overflow: hidden;
	min-width: 0;
	transition: box-shadow .2s ease, transform .2s ease;
}

.cf-shell a.cf-card {
	color: inherit;
	font-weight: inherit;
}

.cf-card:hover {
	box-shadow: var(--cf-shadow);
	transform: translateY(-2px);
}

.cf-card-img {
	aspect-ratio: 1 / 1;
	background: #fff;
	border-bottom: 1px solid var(--cf-line);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.cf-card-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
}

.cf-card-img.is-photo img {
	object-fit: cover;
	padding: 0;
}

.cf-card-body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.cf-card h3 {
	margin: 0;
	font-size: 19px;
	line-height: 1.25;
	font-weight: 800;
}

.cf-card p {
	color: var(--cf-muted);
	font-size: 15px;
	line-height: 1.55;
}

.cf-more {
	margin-top: auto;
	padding-top: 6px;
	color: var(--cf-teal);
	font-weight: 800;
	font-size: 15px;
}

.cf-more::after {
	content: " \2192";
}

/* Feature (split image + text) */
.cf-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.cf-feature-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.cf-feature-media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--cf-radius);
	background: #fff;
	border: 1px solid var(--cf-line);
}

.cf-feature-media img:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 10;
}

.cf-feature h2 {
	margin: 0 0 14px;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
	font-weight: 800;
}

.cf-feature p + p {
	margin-top: 12px;
}

.cf-list {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.cf-list li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 30px;
	color: var(--cf-ink-soft);
}

.cf-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--cf-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.cf-list strong {
	color: var(--cf-ink);
}

/* Benefit tiles */
.cf-tile {
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	min-width: 0;
}

.cf-tile-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: #e7f1ee;
	color: var(--cf-teal);
}

.cf-tile-icon svg {
	width: 24px;
	height: 24px;
}

.cf-tile h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 800;
}

.cf-tile p {
	color: var(--cf-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* Steps */
.cf-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	counter-reset: cf-step;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cf-steps.is-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cf-steps li {
	position: relative;
	margin: 0;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--cf-line);
	border-radius: var(--cf-radius);
	counter-increment: cf-step;
}

.cf-steps li::before {
	content: counter(cf-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--cf-ink);
	color: #fff;
	font-weight: 800;
}

.cf-steps h3 {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 800;
}

.cf-steps p {
	color: var(--cf-muted);
	font-size: 15px;
	line-height: 1.55;
}

/* Pills */
.cf-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.cf-pills li {
	margin: 0;
	padding: 7px 14px;
	border: 1px solid var(--cf-line);
	border-radius: 999px;
	background: #fff;
	color: var(--cf-ink);
	font-size: 14px;
	font-weight: 700;
}

/* Quote block */
.cf-quote {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: 48px;
	align-items: start;
}

.cf-quote h2 {
	margin: 0 0 14px;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
	font-weight: 800;
}

.cf-quote-intro p {
	color: var(--cf-ink-soft);
}

.cf-contact {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}

.cf-shell a.cf-contact-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--cf-line);
	border-radius: 12px;
	color: var(--cf-ink);
	font-weight: 600;
}

.cf-shell a.cf-contact-item:hover {
	border-color: var(--cf-teal);
	color: var(--cf-ink);
}

.cf-contact-item svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--cf-teal);
}

.cf-contact-item small {
	display: block;
	color: var(--cf-muted);
	font-size: 13px;
	font-weight: 500;
}

.cf-form-card {
	padding: 30px;
	background: #fff;
	border: 1px solid var(--cf-line);
	border-radius: 18px;
	box-shadow: var(--cf-shadow);
	min-width: 0;
	scroll-margin-top: 110px;
}

.cf-note {
	margin-top: 16px !important;
	color: var(--cf-muted);
	font-size: 14px;
}

/* CTA band */
.cf-band {
	padding: 56px 0;
	background: var(--cf-ink);
	color: #fff;
}

.cf-band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}

.cf-band h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 800;
}

.cf-band p {
	color: rgba(255, 255, 255, .78);
}

/* Lead form (ricerood-b2b-leads plugin) inside the new form card */
.cf-form-card .ricerood-b2b-form-wrap {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.cf-form-card .ricerood-b2b-form-wrap h3 {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 800;
	color: var(--cf-ink);
}

.cf-form-card .ricerood-b2b-help {
	margin: 0 0 20px;
	color: var(--cf-muted);
	font-size: 15px;
}

.cf-form-card .ricerood-b2b-grid {
	gap: 14px 16px;
}

.cf-form-card .ricerood-b2b-form label {
	color: var(--cf-ink);
	font-size: 14px;
	font-weight: 700;
}

.cf-form-card .ricerood-b2b-form input,
.cf-form-card .ricerood-b2b-form select,
.cf-form-card .ricerood-b2b-form textarea {
	margin-top: 6px;
	border: 1px solid #cfdcda !important;
	border-radius: 10px !important;
	background: #fbfdfc !important;
	font-size: 15px;
}

.cf-form-card .ricerood-b2b-form input:focus,
.cf-form-card .ricerood-b2b-form select:focus,
.cf-form-card .ricerood-b2b-form textarea:focus {
	border-color: var(--cf-teal) !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(47, 107, 95, .15);
	outline: 0;
}

.cf-form-card .ricerood-b2b-form button {
	width: 100%;
	min-height: 52px;
	margin-top: 8px;
	border: 0;
	border-radius: 999px;
	background: var(--cf-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}

.cf-form-card .ricerood-b2b-form button:hover {
	background: var(--cf-accent-dark);
}

/* Responsive */
@media (max-width: 999.98px) {
	.cf-hero {
		padding: 44px 0 40px;
	}

	.cf-hero-grid,
	.cf-feature,
	.cf-quote {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.cf-stage figure:first-child img {
		min-height: 280px;
	}

	.cf-grid.is-4,
	.cf-grid.is-5,
	.cf-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cf-grid.is-3,
	.cf-steps.is-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cf-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cf-stat:nth-child(3) {
		border-left: 0;
	}

	.cf-stat:nth-child(n+3) {
		border-top: 1px solid var(--cf-line);
	}

	.cf-section {
		padding: 56px 0;
	}
}

@media (max-width: 599.98px) {
	.cf-shell {
		font-size: 16px;
	}

	.cf-wrap {
		padding: 0 16px;
	}

	.cf-lede {
		font-size: 17px;
	}

	.cf-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.cf-stage {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
	}

	.cf-stage figure:first-child {
		grid-row: auto;
		grid-column: 1 / -1;
	}

	.cf-stage figure:first-child img {
		min-height: 0;
		max-height: 300px;
	}

	.cf-stage figure:not(:first-child) {
		aspect-ratio: 1 / 1;
	}

	.cf-grid.is-2,
	.cf-grid.is-3,
	.cf-grid.is-4,
	.cf-steps,
	.cf-steps.is-3 {
		grid-template-columns: 1fr;
	}

	.cf-grid.is-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.cf-grid.is-5 .cf-card-body {
		padding: 12px 14px 16px;
	}

	.cf-grid.is-5 .cf-card h3 {
		font-size: 16px;
	}

	.cf-grid.is-5 .cf-card p {
		display: none;
	}

	.cf-stat {
		padding: 16px;
	}

	.cf-stat strong {
		font-size: 23px;
	}

	.cf-form-card {
		padding: 20px 16px;
	}

	.cf-form-card .ricerood-b2b-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Site-wide polish */
.ct-footer .wp-block-woocommerce-product-categories ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ct-footer .wp-block-woocommerce-product-categories li {
	margin-bottom: 4px;
}

.ct-footer a:hover {
	color: #f2b8a2 !important;
}

.ricerood-quote-price {
	color: var(--cf-teal);
	font-weight: 700;
}

.ct-footer .cf-footer-terms {
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
}

/* Full-bleed sections inside the theme content container. */
.entry-content .cf-shell {
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* The homepage header is transparent and overlays the content. */
.home .cf-hero {
	padding-top: 160px;
}

@media (max-width: 999.98px) {
	.home .cf-hero {
		padding-top: 112px;
	}
}

/* Keep the full main menu visible next to the header contacts. */
[data-header*="type-1"] .ct-header [data-id="menu"] {
	--menu-items-spacing: 26px;
}

@media (max-width: 1365.98px) {
	[data-header*="type-1"] .ct-header [data-id="menu"] {
		--menu-items-spacing: 16px;
	}
}

/* Small laptops: the main menu needs the full header width. */
@media (min-width: 1000px) and (max-width: 1365.98px) {
	#header [data-device="desktop"] [data-id="text"],
	#header [data-device="desktop"] [data-id="contacts"] {
		display: none !important;
	}
}

@media (min-width: 1000px) and (max-width: 1199.98px) {
	[data-header*="type-1"] .ct-header [data-id="menu"] {
		--menu-items-spacing: 11px;
	}

	[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
		font-size: 14px;
	}
}
