/*
 * Chickano — theme stylesheet
 *
 * What lives here: things Elementor can't express cleanly (font faces,
 * pseudo-elements, keyframe motion, WooCommerce markup, utilities).
 *
 * What does NOT live here: colours, fonts, sizes or anything an Elementor
 * global class already styles. Use the kit's variables instead of literals:
 *   --prime-orange  --yellow  --text (maroon)  --white  --black  --grey
 *   --heading (heading font)  --inter (body font)
 * Hook classes (star-list, bounce, ...) are created as Elementor global classes
 * so editors can apply them; this file only adds the behaviour Elementor can't.
 */

/* ---------------------------------------------------------------
 * 1. Fonts
 * Lulo Clean One Bold (Yellow Design Studio, licensed via MyFonts), self-hosted.
 * The kit's `heading` variable is set to "Lulo Clean"; inc/fonts.php registers
 * it with Elementor as a custom font so Elementor never requests it from Google.
 * Parkinsans (newsletter text, per Figma) is the OFL Google font, self-hosted.
 * Lulo only ships a Bold, so every weight maps to the same file.
 * ------------------------------------------------------------- */
@font-face {
	font-family: "Lulo Clean";
	src: url("../fonts/lulo-clean-one-bold.woff2") format("woff2"),
	     url("../fonts/lulo-clean-one-bold.woff") format("woff");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* Inter (variable, latin + latin-ext, SIL Open Font License). Self-hosted with
 * relative URLs so it loads on any domain; Elementor's own copy is switched
 * off in inc/enqueue.php because it hard-codes the site address. */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-ext-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Parkinsans";
	src: url("../fonts/parkinsans-400-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------
 * 2. Base
 * ------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--inter, Inter), system-ui, sans-serif;
	color: var(--text, #270000);
	-webkit-font-smoothing: antialiased;
}

:where(a, button, [tabindex]):focus-visible {
	outline: 3px solid var(--yellow, #FCEE1F);
	outline-offset: 3px;
}

/* Anchor targets clear the sticky header. */
:where([id]) {
	scroll-margin-top: 90px;
}

/* ---------------------------------------------------------------
 * 3. Asterisk bullet list  (global class: star-list)
 * Apply to a paragraph/text block containing a <ul>.
 * ------------------------------------------------------------- */
.star-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.star-list li {
	position: relative;
	padding-left: 1.4em;
	margin-bottom: 0.35em;
}

.star-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1em;
	height: 1em;
	background-color: var(--star-color, var(--yellow, #FCEE1F));
	/* The designer's "Asterisk - A" graphic (Figma), tinted by --star-color. */
	-webkit-mask: url("../img/icon-asterisk.svg") center / contain no-repeat;
	mask: url("../img/icon-asterisk.svg") center / contain no-repeat;
}

.star-list--orange {
	--star-color: var(--prime-orange, #F15A29);
}

/* Mobile Figma: the About profile lists' asterisks are 1.2× the text size,
 * with the text 0.2em after them. */
@media (max-width: 767px) {
	.elementor .profile-list li::before {
		top: 0.05em;
		width: 1.2em;
		height: 1.2em;
	}
}

/* ---------------------------------------------------------------
 * 4. Motion  (global classes: bounce, wobble)
 * One orchestrated moment: the hero scroll cue.
 * ------------------------------------------------------------- */
@keyframes chk-bounce {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(14px); }
}

@keyframes chk-wobble {
	0%, 100% { transform: rotate(-6deg); }
	50%      { transform: rotate(6deg); }
}

.bounce {
	animation: chk-bounce 1.6s ease-in-out infinite;
}

.wobble {
	animation: chk-wobble 3s ease-in-out infinite;
	transform-origin: 50% 60%;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bounce,
	.wobble { animation: none; }
}

/* ---------------------------------------------------------------
 * 5. WooCommerce
 * ------------------------------------------------------------- */
.woocommerce .price,
.woocommerce-Price-amount {
	font-family: var(--inter, Inter), system-ui, sans-serif;
	color: var(--text, #270000);
}

/* Header cart count bubble — markup from inc/woocommerce.php, live via cart fragments. */
p.cart-count {
	margin: 0;
	font-size: 0;
	line-height: 0;
}

.chk-cart-count {
	position: absolute;
	top: -6px;
	right: -8px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 99px;
	background-color: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
	font-family: var(--inter, Inter), system-ui, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.chk-cart-count[data-count="0"] {
	display: none;
}

/* ---------------------------------------------------------------
 * 6b. Sticky header (global classes: site-header, site-logo)
 * Elementor wraps the header template in its own <header>; that wrapper is
 * what sticks. assets/js/header.js adds .chk-scrolled to <html> after 40px,
 * which compacts the bar and logo. Full-size values live in the template.
 * ------------------------------------------------------------- */
[data-elementor-type="header"] {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 1000;
}

html.chk-scrolled .site-header {
	min-height: 76px;
	padding-top: 6px;
	padding-bottom: 6px;
}

html.chk-scrolled .site-header .site-logo {
	width: 164px;
	height: 56px;
}

@media (max-width: 1024px) {
	html.chk-scrolled .site-header {
		min-height: 68px;
	}

	html.chk-scrolled .site-header .site-logo {
		width: 150px;
		height: 51px;
	}
}

@media (max-width: 767px) {
	html.chk-scrolled .site-header {
		min-height: 64px;
		align-items: center;
	}

	html.chk-scrolled .site-header .site-logo {
		width: 132px;
		height: 45px;
	}

	/* Burger shrinks with the logo: 42 × 32 → 32 × 24. */
	html.chk-scrolled .chk-nav .elementor-menu-toggle:not(.elementor-active)::before {
		width: 32px;
		height: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-header .site-logo,
	.chk-nav .elementor-menu-toggle::before {
		transition: none !important;
	}
}

/* ---------------------------------------------------------------
 * 7. Navigation (Elementor nav-menu widget: classes chk-nav / chk-nav--footer)
 * The nav-menu widget is a classic Elementor widget and can't take global
 * classes, so its typography lives here.
 * ------------------------------------------------------------- */
.chk-nav .elementor-nav-menu a.elementor-item,
.chk-nav .elementor-nav-menu--dropdown a {
	font-family: var(--heading, "Lulo Clean"), sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--prime-orange, #F15A29);
	padding: 8px 16px; /* 32px between links, per Figma */
}

.chk-nav .elementor-nav-menu--main > .elementor-nav-menu > li:last-child > a.elementor-item {
	padding-right: 0;
}

/* Hover and current page: maroon text (no underline). */
.chk-nav .elementor-nav-menu a.elementor-item:hover,
.chk-nav .elementor-nav-menu a.elementor-item:focus-visible,
.chk-nav .elementor-nav-menu a.elementor-item.elementor-item-active {
	color: var(--text, #270000);
}

/* No hover/active underline (Elementor's pointer lines). */
.chk-nav .elementor-nav-menu--main .elementor-item::before,
.chk-nav .elementor-nav-menu--main .elementor-item::after {
	display: none !important;
}

.chk-nav .elementor-menu-toggle {
	color: var(--prime-orange, #F15A29);
	background: transparent;
	font-size: 26px;
	padding: 4px;
}

.chk-nav > .elementor-widget-nav-menu {
	flex: 0 0 auto;
	width: auto;
}

.chk-nav .elementor-menu-toggle svg {
	fill: var(--prime-orange, #F15A29);
	width: 26px;
	height: 26px;
}

/* Designer's 42×32 burger (assets/img/icon-menu.svg) replaces Elementor's default. */
.chk-nav .elementor-menu-toggle:not(.elementor-active) .elementor-menu-toggle__icon--open {
	display: none;
}

.chk-nav .elementor-menu-toggle:not(.elementor-active)::before {
	content: "";
	display: block;
	width: 42px;
	height: 32px;
	background: url("../img/icon-menu.svg") center / contain no-repeat;
	transition: width 0.25s, height 0.25s;
}

/* Dropdown floats over the page and hangs from the header bar's bottom edge,
 * whatever the bar's current height. Its positioning context is .site-header,
 * so the containers in between are made static. */
.site-header .chk-nav,
.site-header .chk-nav .elementor-widget-nav-menu,
.site-header .chk-nav .elementor-widget-container {
	position: static;
}

.chk-nav .elementor-nav-menu--dropdown.elementor-nav-menu__container {
	position: absolute;
	z-index: 9997;
	top: 100% !important;
	left: 0 !important;
	width: 100% !important;
	margin-top: 0 !important;
	box-shadow: 0 12px 24px rgba(39, 0, 0, 0.12);
}

.chk-nav .elementor-nav-menu--dropdown a,
.chk-nav .elementor-nav-menu--dropdown a.elementor-item-active,
.chk-nav .elementor-nav-menu--dropdown a:hover,
.chk-nav .elementor-nav-menu--dropdown a:focus {
	background-color: transparent;
}

.chk-nav .elementor-nav-menu--dropdown a.elementor-item-active,
.chk-nav .elementor-nav-menu--dropdown a:hover {
	color: var(--text, #270000);
}

.chk-nav .elementor-nav-menu--dropdown {
	background-color: var(--white, #fff);
}

.chk-nav .elementor-nav-menu--dropdown a {
	padding: 14px 24px;
	justify-content: center;
}

.chk-nav--footer .elementor-nav-menu a.elementor-item {
	color: var(--prime-orange, #F15A29);
	padding: 0 32px 0 0; /* 32px between links, per Figma */
}

.chk-nav--footer .elementor-nav-menu a.elementor-item:hover,
.chk-nav--footer .elementor-nav-menu a.elementor-item.elementor-item-active {
	color: var(--white, #fff);
}

.chk-nav--footer .elementor-nav-menu--main .elementor-item::after {
	display: none;
}

/* Footer logos: inline SVGs sit on the text baseline and hang below their box,
 * so "NO AI" ended 6px lower than the JND logo. Block keeps the bottoms aligned. */
.elementor-location-footer .e-svg-base svg {
	display: block;
}

/* Merch card type badge.
 * Each product loop card gets data-badge="sticker|pin|patch|tee" from the product's
 * `chk_badge` custom field, added by chickano_merch_card_badges() in inc/woocommerce.php.
 * Products without the field simply show no badge. */
.merch-card[data-badge] .merch-thumb::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: var(--white, #fff) center / 18px 18px no-repeat;
}

.merch-card[data-badge="sticker"] .merch-thumb::after { background-image: url("../img/badges/sticker.svg"); }
.merch-card[data-badge="pin"] .merch-thumb::after     { background-image: url("../img/badges/pin.svg"); }
.merch-card[data-badge="patch"] .merch-thumb::after   { background-image: url("../img/badges/patch.svg"); }
.merch-card[data-badge="tee"] .merch-thumb::after     { background-image: url("../img/badges/tee.svg"); }

/* WooCommerce price inside merch cards: plain number, no strike/sale styling noise. */
.merch-price .woocommerce-Price-amount {
	font: inherit;
	color: inherit;
}

/* ---------------------------------------------------------------
 * 5b. Button modifiers (global classes btn-orange / btn-white / btn-lg)
 * Elementor prints global-class CSS once per rendered document. When several
 * documents share a page (header, page, saved templates), a later document's
 * `.btn` can override an earlier document's `.btn-white`. Pairing the modifier
 * with the base class keeps the modifier winning regardless of file order.
 * Values mirror the Elementor global classes — change both together.
 * ------------------------------------------------------------- */
.elementor .btn.btn-orange {
	background-color: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
}

.elementor .btn.btn-white {
	background-color: var(--white, #fff);
	color: var(--prime-orange, #F15A29);
}

/* ---------------------------------------------------------------
 * 5c-buttons. Button hover + press, sitewide (Figma "CTA Button / Responsive")
 * Hover: the button springs up in size (~1.3×, bouncy, ~0.95s) with a deeper
 *        shadow, keeping its colour. Press: colour flips (maroon ↔ orange).
 * Applies to every Elementor button, WooCommerce buttons and the newsletter
 * Signup button. Buttons that sit in a row (product page) grow less so they
 * don't cover their neighbours. The Elementor global classes' own hover colours
 * are overridden here so hover keeps the button's colour, as in the design.
 * ------------------------------------------------------------- */
:root {
	--chk-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--chk-btn-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
	--chk-btn-shadow-hover: 0 6px 14px rgba(0, 0, 0, 0.5);
}

@supports (transition-timing-function: linear(0, 1)) {
	:root {
		/* Spring with a ~15% overshoot that settles — Figma's "Bouncy". */
		--chk-spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938, 1.077 20.4%, 1.121, 1.149 24.3%, 1.163, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
	}
}

.elementor .e-button-base,
.chk-btn,
.chk-blog-page .comment-respond .submit,
.chk-blog-page .search-form .search-submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .chk-product-page div.product form.cart .single_add_to_cart_button,
.chk-newsletter button[type="submit"] {
	--chk-btn-grow: 1.3;
	position: relative;
	box-shadow: var(--chk-btn-shadow);
	transform: scale(1);
	transition:
		transform 0.95s var(--chk-spring),
		box-shadow 0.4s ease-out,
		background-color 0.15s ease-out,
		color 0.15s ease-out;
}

.woocommerce .chk-product-page div.product form.cart .single_add_to_cart_button,
.chk-newsletter button[type="submit"],
.woocommerce .cart .button,
.woocommerce .checkout .button {
	--chk-btn-grow: 1.06;
}

/* Two or more buttons side by side (e.g. Shop welcome card): grow less. */
.elementor :has(> .e-button-base + .e-button-base) > .e-button-base {
	--chk-btn-grow: 1.05;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.elementor .e-button-base:hover,
	.chk-btn:hover,
	.chk-blog-page .comment-respond .submit:hover,
	.chk-blog-page .search-form .search-submit:hover,
	.woocommerce a.button:hover,
	.woocommerce button.button:hover:not(:disabled),
	.woocommerce input.button:hover,
	.woocommerce .chk-product-page div.product form.cart .single_add_to_cart_button:hover,
	.chk-newsletter button[type="submit"]:hover {
		z-index: 1;
		transform: scale(var(--chk-btn-grow));
		box-shadow: var(--chk-btn-shadow-hover);
	}
}

/* Hover keeps the colour (beats the global classes' :hover rules). */
.elementor .e-button-base.btn:hover,
.elementor .e-button-base.btn:focus-visible,
.elementor .e-button-base.e-default-button:hover,
.elementor .e-button-base.e-default-button:focus-visible {
	background-color: var(--text, #270000);
	color: var(--white, #fff);
}

.elementor .e-button-base.btn.btn-orange:hover,
.elementor .e-button-base.btn.btn-orange:focus-visible {
	background-color: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
}

.elementor .e-button-base.btn.btn-white:hover,
.elementor .e-button-base.btn.btn-white:focus-visible {
	background-color: var(--white, #fff);
	color: var(--prime-orange, #F15A29);
}

/* Press: colour flips. */
.elementor .e-button-base.btn:active,
.elementor .e-button-base.e-default-button:active,
.woocommerce a.button:active,
.woocommerce button.button:active {
	background-color: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
}

.elementor .e-button-base.btn.btn-orange:active,
.woocommerce .chk-product-page div.product form.cart .single_add_to_cart_button:active,
.chk-newsletter button[type="submit"]:active {
	background-color: var(--text, #270000);
	color: var(--white, #fff);
}

.elementor .e-button-base.btn.btn-white:active {
	background-color: var(--yellow, #FCEE1F);
	color: var(--text, #270000);
}

.elementor .btn.btn-lg {
	font-size: 1.5rem;
	padding: 40px 56px;
}

@media (max-width: 1024px) {
	.elementor .btn.btn-lg {
		font-size: 1rem;
		padding: 28px 40px;
	}
}

@media (max-width: 767px) {
	.elementor .btn.btn-lg {
		font-size: 0.875rem;
		padding: 22px 32px;
	}
}

/* ---------------------------------------------------------------
 * 5d. Home hero scroll cue (global class scroll-cue + assets/js/scroll-cue.js)
 * On load, the "scroll down, homes" cue's bottom edge sits 24px above the
 * bottom of the browser window. The script supplies where the cue's container
 * starts on the page and the cue's height; without it, Elementor's position
 * applies. Hidden on phones (Elementor setting), so tablet/desktop only.
 * ------------------------------------------------------------- */
@media (min-width: 768px) {
	.scroll-cue[style*="--chk-cue-parent-top"] {
		top: max(0px, calc(100svh - var(--chk-cue-parent-top) - var(--chk-cue-height) - 24px)) !important;
		bottom: auto !important;
	}
}

/* ---------------------------------------------------------------
 * 5d-2. Spin section spec list on phones (global class spin-details)
 * Mobile Figma: one list under the "Series 1" pill, 20px rows 40px apart,
 * a 24px star and the text 30px in. Elementor styles can't reach the <li>s.
 * ------------------------------------------------------------- */
@media (max-width: 767px) {
	.elementor .spin-details li {
		padding-left: 30px;
		margin-bottom: 16px;
	}

	.elementor .spin-details li:last-child {
		margin-bottom: 0;
	}

	.elementor .spin-details li::before {
		top: 0;
		width: 24px;
		height: 24px;
	}
}

/* ---------------------------------------------------------------
 * 5d-2b. Spin section spec lists on desktop (global class spin-details)
 * The section's layout (video, lists, scribbles, pill) is set in Elementor;
 * the <li>s sit inside the paragraph widget, so their sizing lives here.
 * ------------------------------------------------------------- */
@media (min-width: 1025px) {
	.elementor .spin-details li {
		padding-left: 30px;
		margin-bottom: 16px;
	}

	.elementor .spin-details li:last-child {
		margin-bottom: 0;
	}

	.elementor .spin-details li::before {
		top: 0;
		width: 24px;
		height: 24px;
	}
}

/* ---------------------------------------------------------------
 * 5d-2c. Home sections on desktop: sizes and spacing from the desktop Figma
 * ("Landing Page - Desktop", 1440 wide). Figma trims text boxes to the cap
 * height and baseline, so some gaps below are smaller than Figma's gap values
 * to land the text and every image, card and button on Figma's positions.
 * Section heights at 1440: hero 1900, Wear 1025, Gallery 960, About 1100,
 * Featured Merch 1353, Promo 1100, Low n' Slow 1012, Pins 801.
 * Tablet/phones keep their Elementor layout.
 * ------------------------------------------------------------- */
@media (min-width: 1025px) {
	/* CTA buttons: 96px tall, 18px label, 48px sides (Figma "CTA Button"). */
	html body.home .elementor .e-button-base.btn {
		padding: 37.2px 48px;
		font-size: 18px;
		line-height: 1.2;
		letter-spacing: -0.08em;
	}

	/* Wear it right hat columns (global classes hat-carousel, hat-col,
	 * hat-sub, hat-art, hat-desc; section layout is in Elementor): four 220px
	 * columns, each 327 tall: script, 14px label, 214px figure, 16px caption. */
	html body .elementor .chk-hat-carousel { margin-top: 41px; }

	/* Column: script and label pinned in the 82px label area; figure and
	 * caption flow below it, so the caption follows the figure's size. */
	html body .elementor .hat-carousel > .hat-col {
		position: relative;
		display: block;
		padding-top: 82px;
	}

	html body .elementor .hat-carousel > .hat-col > :first-child,
	html body .elementor .hat-carousel .hat-sub {
		position: absolute;
		left: 0;
		right: 0;
		margin: 0 auto;
	}

	html body .elementor .hat-carousel > .hat-col > :first-child { top: 0; }

	html body .elementor .hat-carousel .hat-sub {
		top: 66px;
		white-space: nowrap; /* "(no hay prisa)" would wrap onto the figure below 1300px */
		font-size: 14px;
		line-height: 1.4;
		letter-spacing: -0.06em;
	}

	html body .elementor .hat-carousel .hat-art {
		display: block;
		width: 214px;
		height: auto;
		max-width: 100%;
		margin: 0 auto;
	}

	html body .elementor .hat-carousel .hat-art svg {
		display: block;
		width: 100%;
		height: auto;
	}

	html body .elementor .hat-carousel .hat-desc {
		width: auto;
		max-width: none;
		margin: -4px 0 0;
		padding: 0 24px;
		font-size: 16px;
		line-height: 1.2;
		letter-spacing: 0.02em;
	}

	/* Featured Merch and Low n' Slow Pins cards on the home page (global
	 * classes merch-grid, merch-card, merch-name, merch-desc, merch-price;
	 * the sections, loops and grids are laid out in Elementor). */
	html body.home .elementor .merch-grid > * { padding: 0; }
	html body.home .elementor .merch-card { gap: 16px; }
	html body.home .elementor .merch-card > :first-child { border-radius: 32px; }

	html body.home .elementor .merch-name {
		font-size: 18px;
		line-height: 1;
		letter-spacing: 0.02em;
	}

	html body.home .elementor .merch-desc {
		min-height: 2em;
		margin-top: -10px; /* 6px under the name */
		font-size: 16px;
		line-height: 1;
		letter-spacing: 0.02em;
	}

	html body.home .elementor .merch-price {
		font-size: 32px;
		line-height: 1;
		letter-spacing: 0.02em;
	}
}

/* ---------------------------------------------------------------
 * 5d-2e. Home on tablets (768–1024px): Figma "Landing Page - Tablet" (834).
 * Section heights at 834: hero 1695, 360 700, Wear 662, Gallery 601,
 * About 640, Hecho 600, Featured 1086, Promo 791, Low n' Slow 680, Pins 670.
 * Text boxes are trimmed to cap/baseline like Figma, so gaps are Figma's.
 * The Wear card and the About profile card are Figma's desktop versions
 * scaled down (~58% / ~61%), small type included.
 * ------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
	/* CTA buttons: 88px tall, 16px label, 48px sides. */
	html body.home .elementor .e-button-base.btn { padding: 34.4px 48px; font-size: 16px; line-height: 1.2; letter-spacing: -0.08em; }


	/* 360 spec lists (global class spin-details); layout is in Elementor. */
	html body .elementor .spin-details li { padding-left: 30px; margin-bottom: 16px; }
	html body .elementor .spin-details li:last-child { margin-bottom: 0; }
	html body .elementor .spin-details li::before { top: 0; width: 24px; height: 24px; }

	/* Wear it right hat columns: scaled desktop card (section layout in Elementor). */
	html body .elementor .hat-carousel > .hat-col { position: relative; display: block; height: 190px; }
	html body .elementor .hat-carousel > .hat-col > * { position: absolute; left: 0; right: 0; margin: 0 auto; }
	html body .elementor .hat-carousel > .hat-col > :first-child { top: 0; }
	html body .elementor .hat-carousel .hat-sub { top: 41px; font-size: 8.108px; line-height: 1.4; letter-spacing: -0.06em; text-box: trim-both cap alphabetic; }
	html body .elementor .hat-carousel .hat-art { top: 47px; width: 124px; height: 124px; max-width: none; }
	html body .elementor .hat-carousel .hat-art svg { display: block; width: 100%; height: 100%; }
	html body .elementor .hat-carousel .hat-desc { top: 171px; width: auto; max-width: none; padding: 0 13.9px; font-size: 9.267px; line-height: 1.2; letter-spacing: 0.02em; text-box: trim-both cap alphabetic; }

	/* About profile and specs lists (global class profile-list): 10px rows,
	 * 12px asterisks. The <li>s are inside the paragraph widget, so the
	 * element's Elementor styles can't reach them. */
	html body .elementor .profile-list li { padding-left: 14px; margin-bottom: 4px; font-size: 10px; line-height: 12px; }
	html body .elementor .profile-list li:last-child { margin-bottom: 0; }
	html body .elementor .profile-list li::before { top: 0; width: 12px; height: 12px; }

	/* Featured Merch and Low n' Slow Pins cards (home; layout in Elementor). */
	html body.home .elementor .merch-grid > * { padding: 0; }
	html body.home .elementor .merch-card { gap: 16px; }
	html body.home .elementor .merch-card > :first-child { border-radius: 32px; }
	html body.home .elementor .merch-name { font-size: 18px; line-height: 1; letter-spacing: 0.02em; }
	html body.home .elementor .merch-desc { min-height: 2em; margin-top: -10px; font-size: 16px; line-height: 1; letter-spacing: 0.02em; }
	html body.home .elementor .merch-price { font-size: 32px; line-height: 1; letter-spacing: 0.02em; }
}

/* Phones: the 306px CTA buttons never get wider than the screen (320px
 * phones, or a desktop browser window that narrow with a scrollbar). */
@media (max-width: 767px) {
	html body .elementor .e-button-base.btn { max-width: calc(100vw - 16px); }
}

/* ---------------------------------------------------------------
 * 5d-2d. Store sections (saved templates shop-main, section-low-n-slow-pins,
 * section-t-shirt-promo) on the Shop and product pages. Their phone and
 * tablet layout is set in Elementor; the pins card's product cards (global
 * classes shop-card, merch-grid, merch-card, merch-*) are styled here.
 * ------------------------------------------------------------- */
@media (max-width: 767px) {
	html body .elementor .shop-card .merch-grid > * { padding: 0; }
}

/* Tablets: Figma "Shoppig Basket - Tablet - Product" cards. */
@media (min-width: 768px) and (max-width: 1024px) {
	html body .elementor .shop-card .merch-grid > * { padding: 0; }
	html body .elementor .shop-card .merch-card { gap: 16px; }
	html body .elementor .shop-card .merch-card > :first-child { border-radius: 32px; }
	html body .elementor .shop-card .merch-name { font-size: 18px; line-height: 1; letter-spacing: 0.02em; }
	html body .elementor .shop-card .merch-desc { min-height: 2em; margin-top: -10px; font-size: 16px; line-height: 1; letter-spacing: 0.02em; }
	html body .elementor .shop-card .merch-price { font-size: 32px; line-height: 1; letter-spacing: 0.02em; }
}

/* ---------------------------------------------------------------
 * 5d-3. "Wear it right" hat sides: swipe carousel on phones
 * (global class hat-carousel on the Elementor grid + assets/js/hat-carousel.js)
 * Mobile Figma: one 306px side at a time, Front → Right → Back → Left, 24px
 * between sides, 52px arrows (orange at 25%) centred on the figure and
 * reaching 14px past the card's content edge. Tablet/desktop keep the grid.
 * ------------------------------------------------------------- */
.chk-hat-carousel {
	position: relative;
	width: 100%;
}

.chk-hat-carousel__arrow {
	display: none;
}

@media (max-width: 767px) {
	body .elementor .e-con.hat-carousel {
		position: relative; /* slides measure their offset from the strip */
		display: flex;
		gap: 24px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.elementor .hat-carousel::-webkit-scrollbar {
		display: none;
	}

	.elementor .hat-carousel > * {
		flex: 0 0 100%;
		scroll-snap-align: center;
	}

	/* Inline SVGs sit on the text baseline and add a few px under each graphic. */
	.elementor .hat-carousel .e-svg-base svg {
		display: block;
	}

	/* The 300px figure shrinks with the slide on narrow phones (<390px)
	 * instead of being cut off at the carousel's edges. */
	.elementor .hat-carousel .hat-art {
		max-width: 100%;
		height: auto;
		aspect-ratio: 1;
	}

	.elementor .hat-carousel .hat-art svg {
		width: 100%;
		height: 100%;
	}

	.elementor .hat-carousel > :nth-child(1) { order: 1; } /* Front */
	.elementor .hat-carousel > :nth-child(3) { order: 2; } /* Right */
	.elementor .hat-carousel > :nth-child(2) { order: 3; } /* Back */
	.elementor .hat-carousel > :nth-child(4) { order: 4; } /* Left */

	.chk-hat-carousel__arrow {
		position: absolute;
		top: 207px; /* centred on the 300px figure, which starts 82px down */
		z-index: 2;
		display: block;
		width: 52px;
		height: 52px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.chk-hat-carousel__arrow::before {
		content: "";
		position: absolute;
		inset: 0;
		background: url("../img/icon-carousel-arrow.svg") center / contain no-repeat;
		opacity: 0.25;
		transition: opacity 0.15s ease-out;
	}

	.chk-hat-carousel__arrow:hover::before,
	.chk-hat-carousel__arrow:focus-visible::before {
		opacity: 0.6;
	}

	/* Hello Elementor's reset paints buttons pink on hover/focus. */
	.chk-hat-carousel__arrow:hover,
	.chk-hat-carousel__arrow:focus {
		background: none;
	}

	.chk-hat-carousel__arrow--prev {
		left: -14px;
		transform: scaleX(-1);
	}

	.chk-hat-carousel__arrow--next {
		right: -14px;
	}
}

/* ---------------------------------------------------------------
 * 5d-4. Phone-only paragraph stacking (global class stack-mobile)
 * Wrap each sentence of a paragraph in a plain <span>, separated by <br>.
 * Tablet/desktop keep the line breaks; on phones each sentence becomes its
 * own block, 16px apart (mobile Figma, e.g. the T-shirt promo copy).
 * ------------------------------------------------------------- */
@media (max-width: 767px) {
	.stack-mobile br {
		display: none;
	}

	.stack-mobile span {
		display: block;
	}

	.stack-mobile span + br + span {
		margin-top: 16px;
	}
}

/* ---------------------------------------------------------------
 * 5d-5. Phone-only line breaks (global class lines-mobile)
 * Wrap each phone line in a plain <span> (spaces between them). Tablet/
 * desktop: the spans run inline and any <br> inside them breaks as before.
 * Phones: the <br>s go and each span starts a new line, with no gap
 * (mobile Figma, e.g. "Wear it right, / vatos!").
 * ------------------------------------------------------------- */
@media (max-width: 767px) {
	.lines-mobile br {
		display: none;
	}

	.lines-mobile span {
		display: block;
	}
}

/* ---------------------------------------------------------------
 * 5e. Text links (global class link-cta, e.g. "click here to see full gallery")
 * The kit colours links orange, which vanishes on orange sections. Figma:
 * maroon Inter Bold, underlined — the link takes the paragraph's colour.
 * ------------------------------------------------------------- */
.elementor .link-cta a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	transition: opacity 0.15s;
}

.elementor .link-cta a:hover,
.elementor .link-cta a:focus-visible {
	color: inherit;
	opacity: 0.7;
}

/* On yellow (Home promo "click here to see all merch"), the class's white
 * hover is unreadable: keep the text maroon and turn the underline orange. */
html body .elementor .section-yellow .link-cta:hover,
html body .elementor .section-yellow .link-cta:focus-within {
	color: var(--text, #270000);
}

html body .elementor .section-yellow .link-cta a:hover,
html body .elementor .section-yellow .link-cta a:focus-visible {
	opacity: 1;
	text-decoration-color: var(--prime-orange, #F15A29);
	text-decoration-thickness: 3px;
}

/* ---------------------------------------------------------------
 * 5f. "Hecho for la raza by one human vato!" (home, global class hecho)
 * Figma: maroon section, heading left, the toy render on the right, cropped
 * at the top and the right edge, with its feet standing on the section's
 * bottom edge. The render (square, feet at its bottom edge) is positioned
 * against the section, not its column, so it always meets the bottom.
 *   Desktop 1440: section 1100 tall, padding 128, toy 1284 wide, left edge
 *                 384px left of centre.
 *   Tablet 834:   still two columns; 600 tall, padding 64, toy 723 wide,
 *                 left edge 232px left of centre.
 *   Mobile 402:   stacked; padding 48, toy column 360 tall, toy 494 wide,
 *                 centred.
 * Sizes scale with the viewport below each Figma width.
 * ------------------------------------------------------------- */
body .elementor .hecho {
	--hecho-toy: min(1284px, 89.17vw);
	position: relative;
	align-items: flex-start;
	overflow: hidden;
	min-height: min(1100px, 76.39vw);
}

body .elementor .hecho > :last-child {
	position: static;
}

body .elementor .hecho > :last-child img {
	position: absolute;
	inset: auto auto 0 calc(50% - var(--hecho-toy) * 0.299);
	width: var(--hecho-toy);
	max-width: none;
	height: auto;
	margin: 0;
	pointer-events: none;
}

@media (max-width: 1024px) {
	body .elementor .hecho {
		--hecho-toy: 86.69vw;
		flex-direction: row;
		align-items: flex-start;
		min-height: 71.94vw;
		padding: 64px;
	}

	body .elementor .hecho > * {
		flex: 1 1 0;
		width: auto;
	}

	body .elementor .hecho > :last-child img {
		left: calc(50% - var(--hecho-toy) * 0.321);
	}

	body .elementor .hecho h2 {
		font-size: 36px;
	}
}

@media (max-width: 767px) {
	body .elementor .hecho {
		--hecho-toy: 122.89vw;
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		padding: 48px 48px 0;
	}

	body .elementor .hecho > * {
		flex: none;
		width: 100%;
	}

	body .elementor .hecho > :last-child {
		min-height: 360px;
		margin-top: 24px;
	}

	body .elementor .hecho > :last-child img {
		left: calc(50% - var(--hecho-toy) / 2);
	}

	body .elementor .hecho h2 {
		font-size: 32px;
	}
}

/* ---------------------------------------------------------------
 * 5c. Gallery carousel (Elementor Image Carousel widget, CSS class chk-gallery)
 * Photos, autoplay (3.2s), fade (0.3s) and dots are set on the widget; this
 * file only does the look Figma asks for: 2:1 frame with 36px corners (square
 * on phones), the faded Chickano initial in the corner, and maroon/grey pips.
 * ------------------------------------------------------------- */
.chk-gallery {
	width: 100%;
	max-width: 1184px;
}

.chk-gallery .elementor-image-carousel-wrapper {
	position: relative;
	padding-bottom: 0 !important;
}

.chk-gallery .swiper-slide-inner,
.chk-gallery .swiper-slide-image {
	display: block;
	width: 100%;
	margin: 0;
}

.chk-gallery .swiper-slide-image {
	aspect-ratio: 2 / 1;
	height: auto;
	object-fit: cover;
	border-radius: 36px;
	background-color: var(--black, #000);
}

/* Chickano initial watermark, top-left of the photo (108px on a 1184px frame). */
.chk-gallery .elementor-image-carousel-wrapper::after {
	content: "";
	position: absolute;
	top: clamp(10px, 1.44%, 17px);
	left: clamp(10px, 1.44%, 17px);
	z-index: 2;
	width: clamp(64px, 9.12%, 108px);
	aspect-ratio: 1;
	background: url("../img/gallery-initial.svg") center / contain no-repeat;
	pointer-events: none;
}

/* Pips: 16px, 16px apart, 12px below the photo. */
.chk-gallery .swiper-pagination {
	position: static !important;
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 12px;
	padding: 12px 0;
	line-height: 0;
	transform: none;
}

.chk-gallery .swiper-pagination-bullet {
	width: 16px;
	height: 16px;
	margin: 0 !important;
	opacity: 1;
	background-color: var(--grey, #B3B3B3);
	transition: background-color 0.3s ease-out;
}

.chk-gallery .swiper-pagination-bullet-active {
	background-color: var(--text, #270000);
}

.chk-gallery .swiper-pagination-bullet:focus-visible {
	outline: 2px solid var(--text, #270000);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.chk-gallery .swiper-slide-image {
		aspect-ratio: 1;
	}
}

/* ---------------------------------------------------------------
 * Store closed (inc/store.php adds body class chk-store-closed): no header
 * basket (global class cart-link on the header's basket link).
 * ------------------------------------------------------------- */
.chk-store-closed .cart-link {
	display: none;
}

/* ---------------------------------------------------------------
 * 5c-2. Slider (global class chk-slider + assets/js/slider.js)
 * Put the class on a flexbox whose children are the slides (e.g. the shop
 * hero cards). It becomes a one-slide-at-a-time scroll-snap strip that can be
 * swiped; slider.js adds the pips after it and auto-advances. The strip is a
 * size container, so slide styles in Elementor can scale with `cqw` units.
 * Pips: 16px, 16px apart, orange = current, maroon = others (Figma "Pips").
 * ------------------------------------------------------------- */
.elementor .chk-slider {
	container-type: inline-size;
	flex-wrap: nowrap;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.elementor .chk-slider::-webkit-scrollbar {
	display: none;
}

.elementor .chk-slider > * {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.chk-slider__pips {
	display: flex;
	justify-content: center;
	gap: 16px;
	padding: 12px 0;
}

.chk-slider__pip,
.chk-slider__pip:hover,
.chk-slider__pip:focus {
	width: 16px;
	height: 16px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--text, #270000);
	cursor: pointer;
	transition: background-color 0.3s ease-out;
}

.chk-slider__pip[aria-current="true"] {
	background-color: var(--prime-orange, #F15A29);
}

.chk-slider__pip:focus-visible {
	outline: 2px solid var(--text, #270000);
	outline-offset: 3px;
}

/* ===============================================================
 * 8. Shared components — moved from shop.css so the blog can use them.
 * =============================================================== */
/* ---------------------------------------------------------------
 * 8a. Newsletter card (template-parts/newsletter.php) — Figma "Newsletter -
 * Keep in Touch": orange card, Inter Bold heading, Parkinsans text, maroon
 * Signup pill (opens the modal), mail illustration cropped by the card.
 * Desktop 1184 wide, padding 48/64/32; tablet art flipped bottom-left;
 * mobile stacked with the art at the bottom.
 * ------------------------------------------------------------- */
.chk-newsletter {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 1184px;
	margin: 0 auto;
	padding: 35px 64px 32px;
	border-radius: 36px;
	background-color: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}

.chk-newsletter__art {
	position: absolute;
	bottom: 0;
	left: 64px;
	z-index: -1;
	width: 268px;
	height: auto;
	pointer-events: none;
}

.chk-newsletter__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 800px;
}

.chk-newsletter .chk-newsletter__title {
	margin: 0;
	font-family: var(--inter, Inter), system-ui, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--white, #fff);
}

.chk-newsletter .chk-newsletter__text {
	margin: 0;
	font-family: "Parkinsans", var(--inter, Inter), system-ui, sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--white, #fff);
}

/* Signup: 306×64 maroon pill, Lulo 12px (CTA Button / Responsive, Mobile). */
.chk-newsletter .chk-newsletter__cta {
	--chk-btn-grow: 1.06;
	width: 306px;
	max-width: 100%;
	height: 64px;
	padding: 0 24px;
	color: var(--white, #fff);
	font-size: 0.75rem;
	letter-spacing: 0.02em;
}

.chk-newsletter .chk-newsletter__cta:hover,
.chk-newsletter .chk-newsletter__cta:focus {
	background-color: var(--text, #270000);
	color: var(--white, #fff);
}

/* Designer note: pressed = white (Hello Elementor's reset painted it pink). */
.chk-newsletter .chk-newsletter__cta:active {
	background-color: var(--white, #fff);
	color: var(--text, #270000);
}

@media (max-width: 1024px) {
	.chk-newsletter__body {
		max-width: 322px;
	}

	.chk-newsletter__art {
		top: auto;
		bottom: -6px;
		left: 8px;
		width: 205px;
		transform: scaleX(-1);
	}
}

@media (max-width: 767px) {
	.chk-newsletter {
		gap: 32px;
		padding: 48px 24px 204px;
	}

	.chk-newsletter__body {
		max-width: 290px;
	}

	.chk-newsletter__art {
		bottom: -16px;
		left: 50%;
		width: 268px;
		transform: translateX(-50%);
	}
}

/* ---------------------------------------------------------------
 * 8a-2. Signup modal (template-parts/newsletter-modal.php, assets/js/modal.js)
 * ------------------------------------------------------------- */
html.chk-modal-open {
	overflow: hidden;
}

.chk-modal {
	width: min(520px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 48px;
	background: transparent;
	color: var(--text, #270000);
	overflow: visible;
}

.chk-modal::backdrop {
	background: rgba(39, 0, 0, 0.6);
}

.chk-modal[open] {
	animation: chk-modal-in 0.5s var(--chk-spring, ease-out);
}

.chk-modal[open]::backdrop {
	animation: chk-fade-in 0.3s ease-out;
}

@keyframes chk-modal-in {
	from { opacity: 0; transform: translateY(24px) scale(0.92); }
	to   { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes chk-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.chk-modal[open],
	.chk-modal[open]::backdrop {
		animation: none;
	}
}

.chk-modal__card {
	position: relative;
	max-height: calc(100dvh - 32px);
	padding: 0 40px 32px;
	border-radius: 48px;
	background: var(--cream, #FFF8DB);
	box-shadow: 0 24px 60px rgba(39, 0, 0, 0.35);
	overflow-y: auto;
}

/* Orange top, like the newsletter card, with the mail Chickano. */
.chk-modal__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0 -40px 28px;
	padding: 24px 40px 32px;
	border-radius: 48px 48px 0 0;
	background: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
	text-align: center;
}

.chk-modal__art {
	width: 150px;
	height: auto;
	margin-bottom: 4px;
}

.chk-modal .chk-modal__title {
	margin: 0;
	font-family: var(--heading, "Lulo Clean"), sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.08em;
	text-transform: uppercase;
	color: var(--white, #fff);
}

.chk-modal__text {
	margin: 0;
	font-family: "Parkinsans", var(--inter, Inter), system-ui, sans-serif;
	font-size: 0.9375rem;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.chk-modal .chk-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--text, #270000);
	color: var(--white, #fff);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s, transform 0.3s var(--chk-spring, ease-out);
}

.chk-modal .chk-modal__close:hover,
.chk-modal .chk-modal__close:focus-visible {
	background: var(--yellow, #FCEE1F);
	color: var(--text, #270000);
	transform: rotate(90deg);
}

.chk-modal__fine {
	margin: 16px 0 0;
	font-size: 0.8125rem;
	text-align: center;
	color: color-mix(in srgb, var(--text, #270000) 70%, transparent);
}

@media (max-width: 767px) {
	.chk-modal,
	.chk-modal__card {
		border-radius: 36px;
	}

	.chk-modal__card {
		padding: 0 24px 24px;
	}

	.chk-modal__head {
		margin: 0 -24px 24px;
		padding: 20px 56px 28px;
		border-radius: 36px 36px 0 0;
	}

	/* Designer note: drop the illustration on phones to cut scrolling. */
	.chk-modal__art {
		display: none;
	}

	.chk-modal .chk-modal__title {
		font-size: 1.25rem;
	}
}

/* ---------------------------------------------------------------
 * 8e. Forms (Elementor atomic forms in saved templates form-contact and
 * form-newsletter). Global classes: chk-form (+ chk-form--contact: white
 * two-column card; chk-form--signup: stacked pills in the signup modal),
 * chk-field / chk-field--wide, chk-field-label, chk-field-input,
 * chk-form-submit, chk-form-message, chk-form-hp (honeypot).
 * Selectors start with `html .elementor` to beat Elementor's base form styles.
 * ------------------------------------------------------------- */
html .elementor .chk-form {
	gap: 16px;
	padding: 0;
	color: var(--text, #270000);
	font-family: var(--inter, Inter), system-ui, sans-serif;
}

html .elementor .chk-form .chk-field {
	display: flex;
	flex: 1 1 100%;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 0;
}

html .elementor .chk-form .chk-field-label {
	color: var(--text, #270000);
}

html .elementor .chk-form .chk-field-input {
	width: 100%;
	border: 2px solid var(--text, #270000);
	background: var(--white, #fff);
	color: var(--text, #270000);
	font-family: var(--inter, Inter), system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

html .elementor .chk-form .chk-field-input:focus {
	border-color: var(--prime-orange, #F15A29);
	outline: none;
	box-shadow: 0 0 0 4px rgba(241, 90, 41, 0.25);
}

html .elementor .chk-form .chk-field-input:user-invalid {
	border-color: #C0262D;
}

/* Submit: the site's orange pill (hover grows, press flips to maroon). */
html body .elementor .chk-form .chk-form-submit {
	--chk-btn-grow: 1.04;
	flex: 1 1 100%;
	height: 64px;
	margin-top: 8px;
	padding: 0 24px;
	border: 0;
	border-radius: 99px;
	background-color: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
	font-family: var(--heading, "Lulo Clean"), sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	box-shadow: var(--chk-btn-shadow, 0 3px 8px rgba(0, 0, 0, 0.25));
	cursor: pointer;
	transition: transform 0.95s var(--chk-spring, ease-out), box-shadow 0.4s ease-out, background-color 0.15s;
}

html body .elementor .chk-form .chk-form-submit:hover,
html body .elementor .chk-form .chk-form-submit:focus-visible {
	background-color: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	html body .elementor .chk-form .chk-form-submit:hover {
		transform: scale(var(--chk-btn-grow));
		box-shadow: var(--chk-btn-shadow-hover, 0 6px 14px rgba(0, 0, 0, 0.5));
	}
}

html body .elementor .chk-form .chk-form-submit:active {
	background-color: var(--text, #270000);
}

/* Sent / error notes (Elementor shows the right one after submitting). */
html .elementor .chk-form .chk-form-message {
	flex: 1 1 100%;
	padding: 14px 20px;
	border-radius: 16px;
	font-size: 1rem;
	line-height: 1.4;
	text-align: left;
}

html .elementor .chk-form .chk-form-message p {
	margin: 0;
}

html .elementor .chk-form .e-form-success-message-base.chk-form-message {
	background-color: var(--yellow, #FCEE1F);
	color: var(--text, #270000);
}

html .elementor .chk-form .e-form-error-message-base.chk-form-message {
	background-color: #FDE8E6;
	color: #C0262D;
	font-weight: 600;
}

/* Honeypot: off-screen for people, still filled in by bots. */
html .elementor .chk-form .chk-form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Contact page: white card, Name + Email side by side, message full width. */
html .elementor .chk-form.chk-form--contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 16px;
	padding: 40px;
	border-radius: 48px;
	background: var(--white, #fff);
}

html .elementor .chk-form--contact > .chk-field--wide,
html .elementor .chk-form--contact > .chk-form-submit,
html .elementor .chk-form--contact > .chk-form-message {
	grid-column: 1 / -1;
}

html .elementor .chk-form--contact .chk-field-label {
	font-family: var(--heading, "Lulo Clean"), sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

html .elementor .chk-form--contact .chk-field-input {
	height: auto;
	padding: 14px 20px;
	border-radius: 24px;
}

html .elementor .chk-form--contact textarea.chk-field-input {
	min-height: 160px;
	resize: vertical;
}

/* Signup modal: stacked pill fields. */
html .elementor .chk-form--signup .chk-field {
	gap: 6px;
}

html .elementor .chk-form--signup .chk-field-label {
	font-size: 0.875rem;
	font-weight: 600;
}

html .elementor .chk-form--signup .chk-field-input {
	height: 56px;
	padding: 0 22px;
	border-color: color-mix(in srgb, var(--text, #270000) 30%, transparent);
	border-radius: 99px;
}

html .elementor .chk-form--signup .chk-field-input:focus {
	box-shadow: 0 0 0 3px var(--yellow, #FCEE1F);
}

@media (max-width: 767px) {
	html .elementor .chk-form.chk-form--contact {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 24px 20px;
		border-radius: 28px;
	}

	/* Designer note: labels inside the fields to shorten the forms. The label
	 * stays a real <label>, drawn in the top of its field. */
	html .elementor .chk-form .chk-field {
		position: relative;
		gap: 0;
	}

	html .elementor .chk-form .chk-field-label {
		position: absolute;
		top: 9px;
		left: 22px;
		z-index: 1;
		font-family: var(--inter, Inter), system-ui, sans-serif;
		font-size: 0.625rem;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		pointer-events: none;
	}

	html .elementor .chk-form .chk-field-input {
		padding-top: 24px;
	}

	html .elementor .chk-form--signup .chk-field-input {
		padding: 18px 22px 0;
	}
}

/* ---------------------------------------------------------------
 * 8b. Breadcrumb (product pages and blog posts)
 * ------------------------------------------------------------- */
.chk-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	font-family: var(--inter, Inter), system-ui, sans-serif;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--prime-orange, #F15A29);
}

.chk-breadcrumb a {
	color: var(--prime-orange, #F15A29);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.chk-breadcrumb a:hover {
	color: var(--text, #270000);
}

.chk-breadcrumb__sep {
	color: var(--text, #270000);
}

/* WooCommerce's grey breadcrumb rules out-rank .chk-breadcrumb on product
 * pages; match the blog's orange there too (designer note). */
body .woocommerce-breadcrumb.chk-breadcrumb {
	font-size: 0.875rem;
	color: var(--prime-orange, #F15A29);
}

body .woocommerce-breadcrumb.chk-breadcrumb a {
	color: var(--prime-orange, #F15A29);
}

body .woocommerce-breadcrumb.chk-breadcrumb a:hover {
	color: var(--text, #270000);
}

/* ---------------------------------------------------------------
 * 8c. Share button (product pages and blog posts; assets/js/product.js, blog.js)
 * ------------------------------------------------------------- */
.chk-share__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--text, #270000);
	font-family: var(--inter, Inter), system-ui, sans-serif;
	font-size: 0.875rem;
	font-style: italic;
	text-align: left;
	white-space: normal;
	cursor: pointer;
	max-width: 100%; /* the label wraps on 320px phones instead of running off-screen */
}

.chk-share__text {
	min-width: 0;
}

.chk-share__icon {
	flex: none;
	width: 48px;
	height: 48px;
	background: url("../img/shop/icon-share.svg") center / contain no-repeat;
}

.chk-share__button:hover,
.chk-share__button:focus,
.chk-share__button:active {
	background: none;
	color: var(--text, #270000);
}

.chk-share__button:hover .chk-share__text,
.chk-share__button:focus-visible .chk-share__text {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.chk-share__status {
	margin-left: 12px;
	font-size: 0.875rem;
	color: var(--prime-orange, #F15A29);
}

/* ---------------------------------------------------------------
 * 8d. Pill button for theme templates (same look as the Elementor `btn`
 * global class; hover/press animation in section 5c-buttons).
 * ------------------------------------------------------------- */
.chk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 22px 36px;
	border: 0;
	border-radius: 999px;
	background-color: var(--text, #270000);
	font-family: var(--heading, "Lulo Clean"), sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

body a.chk-btn,
body a.chk-btn:hover,
body a.chk-btn:focus-visible,
body a.chk-btn:visited {
	color: var(--white, #fff);
}

.chk-btn--orange {
	background-color: var(--prime-orange, #F15A29);
}

.chk-btn:active {
	background-color: var(--prime-orange, #F15A29);
}

.chk-btn--orange:active {
	background-color: var(--text, #270000);
}

.chk-btn--ghost {
	background-color: transparent;
	box-shadow: inset 0 0 0 2px var(--text, #270000) !important;
}

body a.chk-btn--ghost,
body a.chk-btn--ghost:visited {
	color: var(--text, #270000);
}

body a.chk-btn--ghost:active {
	color: var(--white, #fff);
}

.chk-btn--block {
	display: flex;
	width: 100%;
}

@media (max-width: 767px) {
	.chk-btn {
		padding: 18px 28px;
		font-size: 0.75rem;
	}
}

/* ---------------------------------------------------------------
 * 9. Slide-in basket (inc/mini-cart.php, assets/js/mini-cart.js,
 *    woocommerce/cart/mini-cart.php)
 * ------------------------------------------------------------- */
html.chk-drawer-open {
	overflow: hidden;
}

.chk-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.chk-drawer[hidden] {
	display: none;
}

.chk-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(39, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 0.3s ease-out;
	cursor: pointer;
}

.chk-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(460px, 100%);
	border-radius: 36px 0 0 36px;
	background: var(--cream, #FFF8DB);
	color: var(--text, #270000);
	box-shadow: -12px 0 40px rgba(39, 0, 0, 0.25);
	transform: translateX(105%);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	outline: none;
}

html.chk-drawer-open .chk-drawer__overlay {
	opacity: 1;
}

html.chk-drawer-open .chk-drawer__panel {
	transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
	.chk-drawer__overlay,
	.chk-drawer__panel {
		transition: none;
	}
}

.chk-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 28px 28px 20px 32px;
	border-bottom: 2px dashed color-mix(in srgb, var(--prime-orange, #F15A29) 45%, transparent);
}

.chk-drawer .chk-drawer__title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0;
	font-family: var(--heading, "Lulo Clean"), sans-serif;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.08em;
	text-transform: uppercase;
	color: var(--text, #270000);
}

.chk-drawer__count {
	font-family: var(--inter, Inter), system-ui, sans-serif;
	font-size: 1rem;
	letter-spacing: 0;
	color: var(--prime-orange, #F15A29);
}

.chk-drawer__count[data-count="0"] {
	display: none;
}

.chk-drawer .chk-drawer__close {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--text, #270000);
	color: var(--white, #fff);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s, transform 0.3s var(--chk-spring, ease-out);
}

.chk-drawer .chk-drawer__close:hover,
.chk-drawer .chk-drawer__close:focus-visible {
	background: var(--prime-orange, #F15A29);
	transform: rotate(90deg);
}

.chk-drawer .widget_shopping_cart_content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

/* Items */
html .chk-drawer ul.chk-mini-cart {
	flex: 1 1 auto;
	margin: 0;
	padding: 20px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
}

html .chk-drawer ul.chk-mini-cart li.chk-mini-cart__item {
	position: relative;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 16px;
	margin: 0 0 12px;
	padding: 16px 48px 16px 16px;
	border-radius: 24px;
	background: var(--white, #fff);
	transition: opacity 0.2s;
}

html .chk-drawer ul.chk-mini-cart li.chk-mini-cart__item.is-updating {
	opacity: 0.5;
	pointer-events: none;
}

.chk-mini-cart__thumb {
	width: 88px;
	height: 88px;
	border-radius: 16px;
	background: var(--prime-orange, #F15A29);
	overflow: hidden;
}

html .chk-drawer ul.chk-mini-cart .chk-mini-cart__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	float: none;
}

.chk-mini-cart__info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.chk-drawer .chk-mini-cart__name {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
}

.chk-drawer .chk-mini-cart__name a {
	color: var(--text, #270000);
	text-decoration: none;
}

.chk-drawer .chk-mini-cart__name a:hover {
	color: var(--prime-orange, #F15A29);
}

/* Variation details (Color: Yellow, Size: M) */
.chk-drawer dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	margin: 0;
	font-size: 0.8125rem;
	color: color-mix(in srgb, var(--text, #270000) 75%, transparent);
}

.chk-drawer dl.variation dt,
.chk-drawer dl.variation dd {
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: 500;
}

.chk-drawer dl.variation dd p {
	margin: 0;
}

.chk-drawer dl.variation dd {
	margin-right: 4px;
}

.chk-mini-cart__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 4px;
}

.chk-mini-cart__price,
.chk-mini-cart__price .woocommerce-Price-amount {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text, #270000);
}

/* −/+ stepper: small version of the product page's maroon pill. */
.chk-stepper {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	height: 40px;
	padding: 0 4px;
	border-radius: 99px;
	background: var(--text, #270000);
}

.chk-drawer .chk-stepper__btn {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent center / 12px no-repeat;
	cursor: pointer;
}

.chk-drawer .chk-stepper__btn:hover,
.chk-drawer .chk-stepper__btn:focus-visible {
	background-color: rgba(255, 255, 255, 0.15);
}

.chk-drawer .chk-stepper__btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.chk-drawer .chk-stepper__btn--minus { background-image: url("../img/shop/icon-minus.svg"); }
.chk-drawer .chk-stepper__btn--plus  { background-image: url("../img/shop/icon-plus.svg"); }

.chk-stepper__value {
	min-width: 24px;
	color: var(--white, #fff);
	font-weight: 600;
	text-align: center;
}

.chk-drawer .chk-mini-cart__remove {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--cream, #FFF8DB);
	color: var(--text, #270000);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.chk-drawer .chk-mini-cart__remove:hover,
.chk-drawer .chk-mini-cart__remove:focus-visible {
	background: var(--prime-orange, #F15A29);
	color: var(--white, #fff);
}

/* Footer: subtotal + buttons */
.chk-mini-cart__foot {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 24px 28px;
	border-radius: 36px 0 0 0;
	background: var(--yellow, #FCEE1F);
}

.chk-drawer .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.chk-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount {
	font-size: 1.5rem;
	color: var(--text, #270000);
}

.chk-mini-cart__note {
	margin: -4px 0 4px;
	font-size: 0.8125rem;
}

.chk-drawer .chk-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.chk-drawer .chk-mini-cart__buttons .chk-btn {
	--chk-btn-grow: 1.03;
	margin: 0;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* Empty */
.chk-mini-cart__empty {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 32px;
	text-align: center;
}

.chk-mini-cart__empty p {
	margin: 0;
}

.chk-mini-cart__empty img {
	width: 180px;
	height: auto;
	margin-bottom: 8px;
}

.chk-mini-cart__empty-title {
	font-size: 1.25rem;
	font-weight: 700;
}

.chk-mini-cart__empty .chk-btn {
	margin-top: 12px;
}

@media (max-width: 767px) {
	.chk-drawer__panel {
		border-radius: 0;
	}

	.chk-drawer__head {
		padding: 20px 20px 16px 24px;
	}

	html .chk-drawer ul.chk-mini-cart {
		padding: 16px;
	}

	html .chk-drawer ul.chk-mini-cart li.chk-mini-cart__item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
		padding: 12px 44px 12px 12px;
	}

	.chk-mini-cart__thumb {
		width: 72px;
		height: 72px;
	}

	.chk-mini-cart__foot {
		padding: 16px 16px 24px;
		border-radius: 28px 28px 0 0;
	}
}

/* Add-to-basket button while adding. */
.single_add_to_cart_button.is-loading {
	cursor: progress;
}

/* ---------------------------------------------------------------
 * 6. Utilities
 * ------------------------------------------------------------- */
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* WooCommerce's clearfix pseudo-elements on list items would take a grid cell. */
html .chk-drawer ul.chk-mini-cart li.chk-mini-cart__item::before,
html .chk-drawer ul.chk-mini-cart li.chk-mini-cart__item::after {
	display: none;
	content: none;
}
