/*!
 * Crealicious – site design layer
 * Works with: Hello Elementor theme + Elementor (Pro) 4.x + WooCommerce.
 * Elementor elements are hooked through CSS classes (Advanced › CSS Classes):
 *   cr-header, cr-hero, cr-logo, cr-badge, cr-heinz, cr-ribbon, cr-nav, cr-cart,
 *   cr-page, cr-title, cr-eyebrow, cr-lead, cr-h2, cr-img, cr-btn, cr-card, cr-placeholder, cr-footer …
 */

/* ------------------------------------------------------------------ */
/* 1. Tokens                                                           */
/* ------------------------------------------------------------------ */
:root {
	--cr-crimson: #8c1a10;
	--cr-crimson-deep: #5e1109;
	--cr-red: #b11806;
	--cr-gold: #f2c14e;
	--cr-gold-soft: #f6dc9c;
	--cr-cream: #fff2d5;
	--cr-paper: #fffaf0;
	--cr-ink: #2b211c;
	--cr-ink-soft: #66554a;
	--cr-line: #e8d6b2;
	--cr-line-soft: #f2e5cb;
	--cr-white: #fff;
	--cr-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--cr-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--cr-radius: 4px;
	--cr-width: 1140px;
	--cr-shadow: 0 24px 48px -28px rgba(70, 30, 10, .45), 0 2px 6px rgba(70, 30, 10, .06);
}

/* Elementor globals → brand (wins over the active kit without touching Site Settings) */
body.crealicious[class*="elementor-kit-"] {
	--e-global-color-primary: var(--cr-crimson);
	--e-global-color-secondary: var(--cr-cream);
	--e-global-color-text: var(--cr-ink);
	--e-global-color-accent: var(--cr-red);
	--e-global-typography-primary-font-family: "Fraunces";
	--e-global-typography-primary-font-weight: 600;
	--e-global-typography-secondary-font-family: "Fraunces";
	--e-global-typography-secondary-font-weight: 500;
	--e-global-typography-text-font-family: "DM Sans";
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-family: "DM Sans";
	--e-global-typography-accent-font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* 2. Base                                                             */
/* ------------------------------------------------------------------ */
body.crealicious {
	--rw: min(1320px, 100vw); /* ribbon width – menu sizes & curve scale with it */
	margin: 0;
	font-family: var(--cr-sans);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--cr-ink);
	background: var(--cr-cream) url("../img/pattern-beige.jpg") center top / 1600px auto repeat-x;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
@media (min-width: 1600px) {
	body.crealicious { background-size: 100% auto; }
}
body.crealicious h1, body.crealicious h2, body.crealicious h3,
body.crealicious h4, body.crealicious h5, body.crealicious h6,
body.crealicious .elementor-heading-title {
	font-family: var(--cr-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--cr-ink);
	font-variation-settings: "SOFT" 30, "WONK" 0;
}
body.crealicious h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
body.crealicious h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
body.crealicious h3 { font-size: 1.35rem; }
body.crealicious h4 { font-size: 1.1rem; }
body.crealicious p { margin: 0 0 1em; }
body.crealicious :where(a) { color: var(--cr-crimson); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.crealicious :where(a):hover, body.crealicious :where(a):focus { color: var(--cr-red); }
body.crealicious ::selection { background: var(--cr-gold-soft); color: var(--cr-ink); }
body.crealicious img { border-radius: 0; }
body.crealicious :focus-visible { outline: 2px solid var(--cr-gold); outline-offset: 2px; }

/* ------------------------------------------------------------------ */
/* 3. Header (Elementor Pro › Theme Builder › Header)                  */
/* ------------------------------------------------------------------ */
.cr-header {
	position: relative;
	z-index: 30;
}
.e-con.cr-hero {
	position: relative;
	isolation: isolate;
	max-width: 100%;
	background:
		linear-gradient(180deg, rgba(150, 28, 16, .62) 0%, rgba(120, 20, 12, .5) 100%),
		var(--cr-crimson) url("../img/pattern-red.jpg") center top / cover no-repeat;
	box-shadow: 0 26px 40px -18px rgba(25, 8, 2, .55);
	overflow: visible;
	min-height: 320px;
}
.e-con.cr-hero::before { /* soft vignette so the logo always reads */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(120% 90% at 22% 35%, rgba(150, 30, 18, .0) 0%, rgba(60, 8, 2, .35) 100%),
		linear-gradient(180deg, rgba(140, 26, 16, .10) 0%, rgba(70, 10, 4, .45) 100%);
	pointer-events: none;
}
.elementor-widget.cr-logo { width: min(500px, 100%); max-width: 100%; }
.cr-logo a, .cr-logo .elementor-widget-container { display: block; width: 100%; }
/* beats Elementor's `.elementor-widget-image a img[src$=".svg"] { width: 48px }` */
body.crealicious .cr-logo.elementor-widget img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 3px 6px rgba(30, 5, 0, .35));
}
.cr-badge { margin-top: -6px; }
body.crealicious .cr-badge .elementor-heading-title,
body.crealicious body.crealicious .cr-badge .elementor-heading-title a {
	display: inline-block;
	font: 600 12.5px/1 var(--cr-sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
}
body.crealicious .cr-badge .elementor-heading-title {
	background: var(--cr-red);
	padding: 9px 13px;
	border-radius: 2px;
	transform: rotate(-3deg);
	box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6);
	transition: transform .2s ease;
}
body.crealicious .cr-badge .elementor-heading-title:hover { transform: rotate(-3deg) scale(1.05); }
.cr-hero .cr-heinz {
	position: absolute !important;
	right: 7%;
	bottom: 46px;
	width: clamp(180px, 20.5vw, 270px) !important;
	max-width: none !important;
	margin: 0 !important;
	z-index: 2;
	pointer-events: none;
}
.cr-hero .cr-heinz img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 12px 16px rgba(20, 4, 0, .35));
}

/* Ribbon with the main menu */
.e-con.cr-ribbon {
	position: relative;
	z-index: 5;
	width: min(1320px, 100%) !important;
	max-width: 100%;
	min-height: 0;
	aspect-ratio: 1026 / 111;
	margin: calc(var(--rw) * -0.074) auto calc(var(--rw) * -0.022) !important;
	padding: 0 9% 0 9.5% !important;
	background: url("../img/ribbon.svg") center / 100% auto no-repeat;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.cr-nav { width: auto !important; max-width: 100%; flex: 1 1 auto; }
.cr-nav .elementor-nav-menu--main .elementor-nav-menu { justify-content: space-evenly; width: 100%; }
.cr-nav .elementor-nav-menu--main { width: 100%; }
.cr-nav .elementor-nav-menu--main .elementor-item,
.cr-nav .elementor-nav-menu--main .elementor-item:visited {
	color: #fff;
	fill: #fff;
	font: 600 max(10.5px, calc(var(--rw) * .00947))/1 var(--cr-sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 12px max(4px, calc(var(--rw) * .0106));
	white-space: nowrap;
	text-shadow: 0 1px 1px rgba(40, 5, 0, .45);
	transition: color .2s ease;
}
.cr-nav .elementor-nav-menu--main .elementor-item:hover,
.cr-nav .elementor-nav-menu--main .elementor-item:focus,
.cr-nav .elementor-nav-menu--main .elementor-item.elementor-item-active,
.cr-nav .elementor-nav-menu--main .elementor-item.highlighted {
	color: var(--cr-gold);
	fill: var(--cr-gold);
}
.cr-nav .elementor-nav-menu--main .elementor-item.has-submenu { padding-right: max(4px, calc(var(--rw) * .0106)); }
.cr-nav .sub-arrow { padding-left: 4px; opacity: .75; }
.cr-nav .elementor-nav-menu--main .sub-menu,
.cr-nav .elementor-nav-menu--dropdown {
	background: var(--cr-paper);
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius);
	box-shadow: 0 16px 30px -14px rgba(40, 15, 5, .45);
	min-width: 230px;
}
.cr-nav .elementor-nav-menu--dropdown a,
.cr-nav .elementor-nav-menu--dropdown a.elementor-sub-item,
.cr-nav .elementor-nav-menu--dropdown a.elementor-item {
	color: var(--cr-ink);
	font: 500 14px/1.3 var(--cr-sans);
	letter-spacing: 0;
	text-transform: none;
	text-shadow: none;
	padding: 11px 18px;
	background: transparent;
}
.cr-nav .elementor-nav-menu--dropdown a:hover,
.cr-nav .elementor-nav-menu--dropdown a.elementor-item-active,
.cr-nav .elementor-nav-menu--dropdown a.highlighted {
	color: var(--cr-crimson);
	background: var(--cr-line-soft);
}
.cr-nav .elementor-menu-toggle { color: #fff; background: transparent; border: 0; }
.cr-nav .elementor-menu-toggle svg { fill: #fff; }

/* Follow the curve of the ribbon.
 * assets/js/ribbon.js places every item exactly on the band (any number of items, any width).
 * The values below are the same result for the current 7 items – used only until/if the script runs. */
@media (min-width: 1025px) {
	.cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li > a { transform-origin: 50% 50%; }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(1) { transform: translateY(calc(var(--rw) * 0.01023)); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(1) > a { transform: rotate(-4.6deg); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(2) { transform: translateY(calc(var(--rw) * 0.00045)); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(2) > a { transform: rotate(-3.7deg); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(3) { transform: translateY(calc(var(--rw) * -0.00568)); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(3) > a { transform: rotate(-1.0deg); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(4) { transform: translateY(calc(var(--rw) * -0.00553)); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(4) > a { transform: rotate(1.4deg); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(5) { transform: translateY(calc(var(--rw) * 0.00295)); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(5) > a { transform: rotate(3.7deg); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(6) { transform: translateY(calc(var(--rw) * 0.01417)); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(6) > a { transform: rotate(3.2deg); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(7) { transform: translateY(calc(var(--rw) * 0.01598)); }
	.cr-ribbon:not(.is-fitted) .cr-nav .elementor-nav-menu--main > .elementor-nav-menu > li:nth-child(7) > a { transform: rotate(0.2deg); }
	.cr-ribbon:not(.is-fitted) .cr-cart .elementor-menu-cart__toggle_wrapper { transform: translateY(calc(var(--rw) * 0.00955)); }
}

/* Mini cart on the ribbon */
.cr-cart { position: absolute !important; right: 9.5%; top: 50%; transform: translateY(-50%); width: auto !important; margin: 0 !important; }
.cr-cart .elementor-menu-cart__toggle .elementor-button,
.cr-cart .elementor-menu-cart__toggle_button {
	background: transparent !important;
	color: #fff !important;
	border: 0 !important;
	padding: 6px !important;
	font: 600 13px/1 var(--cr-sans);
}
.cr-cart .elementor-menu-cart__toggle .elementor-button-icon { color: #fff; }
.cr-cart .elementor-menu-cart__toggle .elementor-button-icon svg { fill: #fff; }
.cr-cart .elementor-button-icon[data-counter]::before,
.cr-cart .elementor-button-icon-qty {
	background: var(--cr-gold) !important;
	color: var(--cr-ink) !important;
	font-weight: 700;
}

/* Tablet / mobile header */
@media (max-width: 1024px) {
	.e-con.cr-hero { min-height: 260px; }
	.e-con.cr-ribbon {
		aspect-ratio: auto;
		width: 100% !important;
		margin: 0 auto !important;
		padding: 10px 16px !important;
		background: var(--cr-crimson-deep);
		box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6);
		justify-content: space-between;
	}
	.cr-nav { flex: 0 0 auto; }
	.cr-cart { position: relative !important; right: auto; top: auto; transform: none; }
	.cr-nav .elementor-nav-menu--dropdown { position: absolute; left: 0; right: 0; }
}
@media (max-width: 1024px) and (min-width: 768px) {
	.cr-logo.elementor-widget { width: min(400px, 56%); }
}
@media (max-width: 767px) {
	.e-con.cr-hero { min-height: 0; }
	.cr-hero .cr-heinz { display: none; }
	.cr-logo img { width: min(320px, 100%); margin: 0 auto; }
	.cr-badge { text-align: center; }
}

/* ------------------------------------------------------------------ */
/* 4. Content "paper"                                                  */
/* ------------------------------------------------------------------ */
body.crealicious .site-main {
	box-sizing: border-box;
	position: relative;
	z-index: 1;
	width: min(var(--cr-width), 100%);
	max-width: none;
	margin: calc(var(--rw) * -0.034) auto 0; /* tuck under the ribbon – no seam */
	padding: 72px clamp(20px, 5.6vw, 64px) 64px;
	background: var(--cr-paper);
	box-shadow: var(--cr-shadow);
	border-left: 1px solid var(--cr-line-soft);
	border-right: 1px solid var(--cr-line-soft);
}
@media (max-width: 1024px) {
	body.crealicious .site-main { margin-top: 0; padding-top: 40px; }
}
body.crealicious .page-header { margin-bottom: 28px; }
body.crealicious .page-header .entry-title,
body.crealicious .woocommerce-products-header__title {
	margin: 0 0 8px;
	font-size: clamp(2rem, 3.6vw, 2.8rem);
}
body.crealicious .page-content > :last-child { margin-bottom: 0; }
body.crealicious .post-tags, body.crealicious .comments-area { margin-top: 40px; }

/* Elementor page blocks */
.cr-page { --gap: 36px; }
body.crealicious .cr-title .elementor-heading-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 2.4vw, 26px);
	font-size: clamp(2.2rem, 4.4vw, 3.3rem);
	font-weight: 600;
	text-align: center;
}
body.crealicious .cr-title .elementor-heading-title::before,
body.crealicious .cr-title .elementor-heading-title::after {
	content: "";
	flex: 0 0 clamp(26px, 7vw, 84px);
	height: 1px;
	background: currentColor;
	opacity: .35;
}
body.crealicious .cr-title--left .elementor-heading-title { justify-content: flex-start; }
body.crealicious .cr-title--left .elementor-heading-title::before { display: none; }
body.crealicious .cr-eyebrow .elementor-heading-title {
	font: 600 12px/1.3 var(--cr-sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--cr-crimson);
}
.cr-lead, .cr-lead p { font-size: 1.12rem; color: var(--cr-ink-soft); }
.cr-lead.cr-center { max-width: 760px; margin-inline: auto; text-align: center; }
body.crealicious .cr-h2 .elementor-heading-title { font-size: clamp(1.5rem, 2.5vw, 2rem); }
body.crealicious .cr-h3 .elementor-heading-title { font-size: 1.3rem; }
.cr-img img { display: block; width: 100%; object-fit: cover; border-radius: var(--cr-radius); }
.cr-img--hero img { height: clamp(220px, 30vw, 340px); }
.cr-img--wide img { height: clamp(240px, 38vw, 460px); }
.cr-img--portrait img { height: auto; object-fit: contain; }
.cr-divider {
	display: block;
	border: 0;
	height: 12px;
	margin: 0;
	background:
		radial-gradient(circle, var(--cr-crimson) 2.2px, transparent 2.6px) center / 12px 12px no-repeat,
		radial-gradient(circle, #d9c39b 1.5px, transparent 2px) center / 14px 12px repeat-x;
	-webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* Buttons */
.cr-btn .elementor-button,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) a.button,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) button.button,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) input.button,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) #respond input#submit,
body.crealicious .wc-block-components-button:not(.is-link),
body.crealicious .elementor-field-type-submit .elementor-button {
	background: var(--cr-ink);
	color: #fff;
	font: 600 12.5px/1 var(--cr-sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 15px 22px;
	border: 0;
	border-radius: 2px;
	box-shadow: none;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease;
}
.cr-btn .elementor-button:hover, .cr-btn .elementor-button:focus,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) a.button:hover,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) button.button:hover,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) input.button:hover,
body.crealicious .wc-block-components-button:not(.is-link):hover,
body.crealicious .elementor-field-type-submit .elementor-button:hover {
	background: var(--cr-crimson);
	color: #fff;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) a.button.alt,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) button.button.alt,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) input.button.alt,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) .single_add_to_cart_button,
.cr-btn--primary .elementor-button {
	background: var(--cr-crimson);
	color: #fff;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) a.button.alt:hover,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) button.button.alt:hover,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) .single_add_to_cart_button:hover,
.cr-btn--primary .elementor-button:hover { background: var(--cr-red); }
.cr-btn--ghost .elementor-button {
	background: transparent;
	color: var(--cr-crimson);
	box-shadow: inset 0 0 0 1px currentColor;
}
.cr-btn--ghost .elementor-button:hover { background: var(--cr-crimson); color: #fff; }
.cr-link a, a.cr-link {
	font: 600 12.5px/1.2 var(--cr-sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--cr-crimson);
}
.cr-link a::after, a.cr-link::after { content: " →"; }

/* Content tables, lists, legal pages */
body.crealicious .cr-table { width: 100%; border-collapse: collapse; margin: 8px 0 26px; background: #fff; font-size: 15px; }
body.crealicious .cr-table th, body.crealicious .cr-table td { padding: 11px 14px; border: 1px solid var(--cr-line); text-align: left; vertical-align: middle; }
body.crealicious .cr-table tbody td { background: #fff; }
body.crealicious .cr-table thead th { background: var(--cr-ink); color: #fff; font: 600 11.5px/1.3 var(--cr-sans); letter-spacing: .14em; text-transform: uppercase; border-color: var(--cr-ink); }
body.crealicious .cr-table tbody th { font-family: var(--cr-serif); font-weight: 600; background: rgba(232, 214, 178, .22); }
body.crealicious .cr-table--details { max-width: 520px; }
@media (max-width: 600px) {
	body.crealicious .cr-table { font-size: 13.5px; }
	body.crealicious .cr-table th, body.crealicious .cr-table td { padding: 8px 9px; }
}
body.crealicious .cr-table--details th { width: 38%; }
body.crealicious .page-content ol, body.crealicious .page-content ul:not([class]) { padding-left: 1.3em; margin: 0 0 1.2em; }
body.crealicious .page-content li { margin-bottom: .3em; }
body.crealicious .page-content h3 { margin: 1.6em 0 .5em; font-size: 1.3rem; }
.cr-legal-date { margin-top: 2em; color: var(--cr-ink-soft); }
.cr-list { list-style: none; margin: 4px 0 0; padding: 0; columns: 2 260px; column-gap: 28px; }
.cr-list li { break-inside: avoid; position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid var(--cr-line-soft); }
.cr-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--cr-crimson); }
@media (min-width: 768px) { .e-con.cr-sticky { position: sticky; top: 28px; } }

/* Gallery (Elementor Basic Gallery with class cr-gallery) – masonry columns + lightbox */
.cr-gallery .gallery { display: block !important; columns: 3 240px; column-gap: 16px; margin: 0 !important; }
.cr-gallery .gallery br { display: none; }
.cr-gallery .gallery-item {
	display: block !important; float: none !important; width: 100% !important; max-width: none !important;
	margin: 0 0 16px !important; padding: 0 !important; break-inside: avoid;
}
.cr-gallery .gallery-icon { overflow: hidden; border-radius: var(--cr-radius); background: var(--cr-line-soft); }
.cr-gallery .gallery-item img { display: block; width: 100%; height: auto; border: 0 !important; transition: transform .4s ease; }
.cr-gallery .gallery-item a:hover img { transform: scale(1.035); }
.cr-gallery .gallery-caption { display: none; }
@media (max-width: 560px) { .cr-gallery .gallery { columns: 1; } }

.cr-img--tile img { height: auto; aspect-ratio: 4 / 3; }

/* Shop filters */
.cr-filters {
	display: grid;
	gap: 10px;
	margin: 0 0 26px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, .65);
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius);
}
.cr-filters__row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cr-filters__label { flex: 0 0 76px; font: 600 11px/1.2 var(--cr-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cr-ink-soft); }
.cr-filters__chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
body.crealicious .cr-chip {
	display: inline-block;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid var(--cr-line);
	border-radius: 2px;
	color: var(--cr-ink);
	font: 500 13.5px/1 var(--cr-sans);
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
body.crealicious .cr-chip:hover { border-color: var(--cr-crimson); color: var(--cr-crimson); }
body.crealicious .cr-chip.is-active { background: var(--cr-crimson); border-color: var(--cr-crimson); color: #fff; }
.cr-filters__reset { justify-self: start; margin-top: 2px; }
@media (max-width: 600px) {
	.cr-filters { padding: 12px; }
	.cr-filters__row { flex-direction: column; align-items: stretch; gap: 6px; }
	.cr-filters__label { flex: none; }
	body.crealicious .cr-chip { padding: 8px 10px; font-size: 13px; }
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) .woocommerce-result-count { margin: 6px 0 18px; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) .woocommerce-ordering { margin: 0 0 18px; }

/* Cards & placeholders */
.e-con.cr-card {
	background: rgba(255, 255, 255, .72);
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius);
	transition: box-shadow .2s ease, transform .2s ease;
}
.e-con.cr-card:hover { box-shadow: 0 18px 30px -22px rgba(70, 30, 10, .5); }
.cr-placeholder .elementor-widget-container,
.cr-placeholder:not(:has(.elementor-widget-container)) {
	border: 1px dashed #cdb48a;
	background: repeating-linear-gradient(-45deg, rgba(232, 214, 178, .18) 0 10px, transparent 10px 20px);
	padding: 18px 22px;
	border-radius: var(--cr-radius);
	color: var(--cr-ink-soft);
}
.cr-placeholder p:last-child { margin-bottom: 0; }
.cr-placeholder strong:first-child {
	display: inline-block;
	margin-bottom: 6px;
	font: 700 10.5px/1 var(--cr-sans);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cr-crimson);
}
.cr-contact-list { list-style: none; margin: 0; padding: 0; }
.cr-contact-list li { padding: 10px 0; border-bottom: 1px solid var(--cr-line); }
.cr-contact-list li span { display: block; font: 600 11px/1.4 var(--cr-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cr-crimson); }
.cr-social { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cr-social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font: 600 12.5px/1 var(--cr-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.cr-social svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.cr-social--buttons a { padding: 13px 18px; color: var(--cr-crimson); box-shadow: inset 0 0 0 1px currentColor; border-radius: 2px; }
.cr-social--buttons a:hover { background: var(--cr-crimson); color: #fff; }

/* Forms (Elementor Pro form + WooCommerce) */
body.crealicious .elementor-field-group .elementor-field-textual,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) form .form-row .input-text,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) form .form-row select,
body.crealicious input[type="text"], body.crealicious input[type="email"], body.crealicious input[type="tel"],
body.crealicious input[type="number"], body.crealicious input[type="search"], body.crealicious textarea, body.crealicious select {
	font-family: var(--cr-sans);
	font-size: 15.5px;
	color: var(--cr-ink);
	background: #fff;
	border: 1px solid #d8c4a0;
	border-radius: 2px;
	padding: 11px 13px;
}
body.crealicious input:focus, body.crealicious textarea:focus, body.crealicious select:focus {
	border-color: var(--cr-crimson);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(140, 26, 16, .12);
}
body.crealicious .elementor-field-group > label,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) form .form-row label {
	font: 600 11.5px/1.4 var(--cr-sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cr-ink-soft);
}

/* ------------------------------------------------------------------ */
/* 5. Posts list – [cr_posts]                                          */
/* ------------------------------------------------------------------ */
.cr-posts { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.cr-posts--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cr-post {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, .72);
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius);
	overflow: hidden;
}
.cr-post__thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cr-post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cr-post__meta { font: 600 11px/1.4 var(--cr-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cr-crimson); }
.cr-post__title { margin: 6px 0 8px !important; font-size: 1.3rem !important; line-height: 1.25 !important; }
body.crealicious .cr-post__title a { color: var(--cr-ink); text-decoration: none; }
body.crealicious .cr-post__title a:hover { color: var(--cr-crimson); }
.cr-post__excerpt { color: var(--cr-ink-soft); margin: 0 0 12px; }
.cr-post__more { margin-top: auto; }
.cr-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.cr-pagination .page-numbers {
	min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 8px;
	border: 1px solid var(--cr-line); border-radius: 2px; text-decoration: none; color: var(--cr-ink); font-weight: 600;
}
.cr-pagination .page-numbers.current, .cr-pagination .page-numbers:hover { background: var(--cr-crimson); border-color: var(--cr-crimson); color: #fff; }
.cr-empty { color: var(--cr-ink-soft); font-style: italic; }

/* ------------------------------------------------------------------ */
/* 6. WooCommerce                                                      */
/* ------------------------------------------------------------------ */
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0 0 1.5em;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products::before,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products::after { display: none; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 14px 14px 18px;
	display: flex;
	flex-direction: column;
	text-align: center;
	background: #fff;
	border: 1px solid var(--cr-line);
	border-radius: var(--cr-radius);
	transition: box-shadow .2s ease, transform .2s ease;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products li.product:hover {
	box-shadow: 0 22px 34px -24px rgba(70, 30, 10, .55);
	transform: translateY(-2px);
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products li.product a img {
	aspect-ratio: 320 / 293;
	object-fit: cover;
	margin: 0 0 14px;
	border-radius: 2px;
	background: var(--cr-line-soft);
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--cr-serif);
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--cr-ink);
	padding: 0 4px;
	margin: 0 0 8px;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products li.product .price {
	color: var(--cr-crimson);
	font: 600 15px/1.2 var(--cr-sans);
	letter-spacing: .02em;
	margin-bottom: 14px;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products li.product .button { margin-top: auto; width: 100%; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) span.onsale {
	background: var(--cr-red); border-radius: 2px; min-height: 0; min-width: 0; line-height: 1;
	padding: 8px 10px; font: 600 11px/1 var(--cr-sans); letter-spacing: .12em; text-transform: uppercase;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) .woocommerce-result-count,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) .woocommerce-ordering select { font-size: 14px; color: var(--cr-ink-soft); }
body.crealicious .woocommerce-breadcrumb { font-size: 13px; color: var(--cr-ink-soft); }
body.crealicious .woocommerce-breadcrumb a { color: var(--cr-ink-soft); }

/* Single product */
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .product_title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 10px; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product p.price,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product span.price { color: var(--cr-crimson); font: 600 1.45rem/1.2 var(--cr-sans); }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-product-details__short-description { color: var(--cr-ink-soft); }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product div.images img { border-radius: var(--cr-radius); background: var(--cr-line-soft); }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product form.cart .qty { padding: 11px 6px; border: 1px solid #d8c4a0; border-radius: 2px; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .product_meta { font-size: 13.5px; color: var(--cr-ink-soft); border-top: 1px solid var(--cr-line); padding-top: 14px; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--cr-line); }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-tabs ul.tabs::before { display: none; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-tabs ul.tabs li {
	background: transparent; border: 0; border-radius: 0; margin: 0 22px 0 0; padding: 0;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-tabs ul.tabs li::before,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-tabs ul.tabs li::after { display: none; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-tabs ul.tabs li a {
	padding: 12px 0; font: 600 12.5px/1 var(--cr-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cr-ink-soft);
	border-bottom: 2px solid transparent; margin-bottom: -1px;
}
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-tabs ul.tabs li.active a { color: var(--cr-crimson); border-bottom-color: var(--cr-crimson); }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) table.shop_attributes { border-top: 1px solid var(--cr-line); }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) table.shop_attributes th,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) table.shop_attributes td { border-bottom: 1px solid var(--cr-line); padding: 10px 12px; font-style: normal; }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) table.shop_attributes tr:nth-child(even) th,
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) table.shop_attributes tr:nth-child(even) td { background: rgba(232, 214, 178, .18); }
body.crealicious .related.products > h2, body.crealicious .upsells.products > h2 { font-size: 1.6rem; margin: 40px 0 20px; }

/* Course tables inside product descriptions */
.cr-course-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 14px; }
.cr-course-table th, .cr-course-table td { padding: 8px 10px; border-bottom: 1px solid var(--cr-line); text-align: center; }
.cr-course-table th:first-child, .cr-course-table td:first-child { text-align: left; }
.cr-course-table thead th { font: 600 11px/1.3 var(--cr-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cr-ink-soft); }
.cr-course-table .cr-module td { background: rgba(232, 214, 178, .28); font-weight: 600; }
.cr-course-table td:last-child { font-weight: 600; }
.cr-legend { font-size: 13.5px; color: var(--cr-ink-soft); }

/* Notices, cart & checkout (classic + blocks) */
body.crealicious .woocommerce-message,
body.crealicious .woocommerce-info { border-top-color: var(--cr-crimson); background: #fff; }
body.crealicious .woocommerce-message::before,
body.crealicious .woocommerce-info::before { color: var(--cr-crimson); }
:is(body.crealicious.woocommerce, body.crealicious .woocommerce) table.shop_table { border-color: var(--cr-line); border-radius: var(--cr-radius); background: #fff; }
body.crealicious .wc-block-components-totals-wrapper,
body.crealicious .wc-block-components-panel { border-color: var(--cr-line); }

@media (max-width: 720px) {
	:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products,
	:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products.columns-4,
	.cr-posts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products,
	:is(body.crealicious.woocommerce, body.crealicious .woocommerce) ul.products.columns-4,
	.cr-posts--grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* 7. "Look inside" PDF viewer – [cr_pdf_preview]                      */
/* ------------------------------------------------------------------ */
.cr-pdf {
	margin: 28px 0 8px;
	border-radius: var(--cr-radius);
	overflow: hidden;
	background: #2e221c;
	color: #fff;
	box-shadow: 0 20px 40px -26px rgba(40, 15, 5, .7);
}
.cr-pdf__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 10px 12px 10px 18px;
	background: var(--cr-ink);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.cr-pdf__title {
	font: 600 12px/1.2 var(--cr-sans);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cr-gold);
}
.cr-pdf__controls { display: flex; align-items: center; gap: 6px; }
.cr-pdf__page { min-width: 118px; text-align: center; font: 500 13px/1 var(--cr-sans); color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.cr-pdf button,
.cr-pdf .cr-pdf__open {
	-webkit-appearance: none;
	appearance: none;
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 2px;
	cursor: pointer;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease;
}
.cr-pdf button:hover, .cr-pdf button:focus, .cr-pdf .cr-pdf__open:hover {
	background: transparent;
	color: var(--cr-gold);
	border-color: var(--cr-gold);
}
.cr-pdf button:disabled { opacity: .3; cursor: default; color: #fff; border-color: rgba(255, 255, 255, .22); }
.cr-pdf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-pdf__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 440px;
	padding: 26px;
	background: radial-gradient(ellipse at 50% 40%, #5b4335 0%, #2a1e18 75%);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
}
.cr-pdf__stage canvas { display: block; background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.cr-pdf__stage canvas.is-left { box-shadow: -6px 14px 30px rgba(0, 0, 0, .45); }
.cr-pdf__stage canvas.is-right { box-shadow: 6px 14px 30px rgba(0, 0, 0, .45); }
.cr-pdf__stage canvas.is-left + canvas.is-right { margin-left: 0; }
.cr-pdf__spine { position: absolute; top: 26px; bottom: 26px; width: 26px; left: 50%; transform: translateX(-50%); pointer-events: none;
	background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.18) 55%, rgba(0,0,0,0) 100%); }
.cr-pdf__status {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font: 500 14px/1.4 var(--cr-sans);
	color: rgba(255, 255, 255, .8);
	text-align: center;
	padding: 20px;
	pointer-events: none;
}
.cr-pdf__status:empty { display: none; }
.cr-pdf__status a { color: var(--cr-gold); pointer-events: auto; }
.cr-pdf.is-loading .cr-pdf__status::before {
	content: "";
	display: block;
	width: 28px;
	height: 28px;
	margin: 0 auto 10px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .2);
	border-top-color: var(--cr-gold);
	animation: cr-spin .8s linear infinite;
}
@keyframes cr-spin { to { transform: rotate(360deg); } }
.cr-pdf.is-full, .cr-pdf:fullscreen { display: flex; flex-direction: column; border-radius: 0; margin: 0; }
.cr-pdf.is-full .cr-pdf__stage, .cr-pdf:fullscreen .cr-pdf__stage { flex: 1; min-height: 0; }
.cr-pdf__note { font-size: 12.5px; color: var(--cr-ink-soft); margin: 8px 2px 0; }
.cr-pdf--remote iframe { display: block; width: 100%; height: min(80vh, 720px); border: 0; background: #2a1e18; }
@media (max-width: 600px) {
	.cr-pdf__stage { min-height: 320px; padding: 14px; }
	.cr-pdf__bar { padding: 8px 10px; }
	.cr-pdf__page { min-width: 84px; font-size: 12px; }
}

/* ------------------------------------------------------------------ */
/* 8. Footer (Elementor Pro › Theme Builder › Footer)                  */
/* ------------------------------------------------------------------ */
.e-con.cr-footer {
	width: min(var(--cr-width), 100%) !important;
	margin: 0 auto 48px !important;
	background:
		linear-gradient(180deg, rgba(110, 18, 10, .7), rgba(80, 12, 6, .78)),
		var(--cr-crimson-deep) url("../img/pattern-red.jpg") center 20% / cover no-repeat;
	color: #f3e2c2;
	border-radius: 0 0 var(--cr-radius) var(--cr-radius);
	box-shadow: var(--cr-shadow);
}
.cr-footer, .cr-footer p, .cr-footer .elementor-text-editor { font-size: 13px; color: #f3e2c2; margin: 0; }
body.crealicious .cr-footer a { color: #fff; text-decoration: none; }
body.crealicious .cr-footer a:hover { color: var(--cr-gold); }
.cr-footer .elementor-nav-menu--main .elementor-item {
	color: #f3e2c2;
	font: 500 12.5px/1 var(--cr-sans);
	letter-spacing: .04em;
	padding: 6px 8px;
}
.cr-footer .elementor-nav-menu--main .elementor-item:hover { color: var(--cr-gold); }
.cr-footer-nav { width: 100%; }
.cr-footer-nav .elementor-nav-menu--main .elementor-nav-menu { justify-content: flex-end; flex-wrap: wrap; }
.cr-footer .cr-social a { color: #fff; }
.cr-footer .cr-social a:hover { color: var(--cr-gold); }
@media (max-width: 767px) {
	.e-con.cr-footer { margin-bottom: 0 !important; border-radius: 0; text-align: center; }
	.cr-footer-nav .elementor-nav-menu--main .elementor-nav-menu { justify-content: center; }
	.cr-footer .cr-social { justify-content: center; }
}
