/*
Theme Name: ChorapiBox
Theme URI: https://chorapibox.com
Author: ChorapiBox
Author URI: https://chorapibox.com
Description: Лека one-page WooCommerce тема за ChorapiBox — боксове с 6 чифта чорапи. Mobile-first, без page builder, vanilla JS, AJAX количка, опростена поръчка с наложен платеж и съвместимост с Econt/Speedy.
Version: 1.0.11
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chorapibox
Domain Path: /languages
Tags: e-commerce, one-column, custom-colors, custom-logo, translation-ready, theme-options
*/

/* ==========================================================================
   Fonts (self-hosted, SIL OFL 1.1 — no requests to Google)
   ========================================================================== */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url(assets/fonts/inter-cyrillic.woff2) format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url(assets/fonts/inter-latin.woff2) format("woff2");
	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: "Montserrat";
	font-style: normal;
	font-weight: 700 900;
	font-display: swap;
	src: url(assets/fonts/montserrat-cyrillic.woff2) format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 700 900;
	font-display: swap;
	src: url(assets/fonts/montserrat-latin.woff2) format("woff2");
	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;
}

/* ==========================================================================
   Tokens (accent colors are overridden from the Customizer)
   ========================================================================== */
:root {
	--cbx-accent: #ff5a1f;
	--cbx-accent-dark: #e04a12;
	--cbx-accent-soft: rgba(255, 90, 31, 0.18);
	--cbx-accent-contrast: #0b0b0b;
	--cbx-black: #0b0b0b;
	--cbx-ink: #111111;
	--cbx-white: #ffffff;
	--cbx-grey: #f3f3f3;
	--cbx-grey-2: #e6e6e6;
	--cbx-grey-3: #c9c9c9;
	--cbx-muted: #646464;
	--cbx-success: #23803f;
	--cbx-danger: #c62828;
	--cbx-radius: 16px;
	--cbx-radius-sm: 10px;
	--cbx-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--cbx-font-head: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--cbx-header-h: 64px;
	--cbx-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
	--cbx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}
html.cbx-lock { overflow: hidden; }

body {
	margin: 0;
	background: var(--cbx-white);
	color: var(--cbx-ink);
	font: 400 16px/1.6 var(--cbx-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
	font-family: var(--cbx-font-head);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
}

:focus-visible {
	outline: 2px solid var(--cbx-accent);
	outline-offset: 2px;
}

section[id] { scroll-margin-top: calc(var(--cbx-header-h) + 8px); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.cbx-skip:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0;
	top: 8px;
	left: 8px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--cbx-black);
	color: #fff;
	border-radius: 8px;
}

.cbx-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	vertical-align: middle;
}

.cbx-container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 16px;
}
@media (min-width: 768px) { .cbx-container { padding: 0 24px; } }
@media (min-width: 1200px) { .cbx-container { padding: 0 32px; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.cbx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 0.75em 1.4em;
	border: 2px solid var(--cbx-black);
	border-radius: 999px;
	background: var(--cbx-black);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--cbx-ease);
}
.cbx-btn:hover { transform: translateY(-1px); }
.cbx-btn:active { transform: translateY(0); }
.cbx-btn .cbx-icon { width: 18px; height: 18px; }
.cbx-btn--accent {
	background: var(--cbx-accent);
	border-color: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
}
.cbx-btn--accent:hover {
	background: var(--cbx-accent-dark);
	border-color: var(--cbx-accent-dark);
}
.cbx-btn--outline { background: transparent; color: var(--cbx-black); }
.cbx-btn--outline:hover { background: var(--cbx-black); color: #fff; }
.cbx-btn--block { display: flex; width: 100%; }
.cbx-btn--lg { min-height: 56px; padding: 1em 2em; font-size: 1rem; }
.cbx-btn[disabled],
.cbx-btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.cbx-btn.is-loading { cursor: progress; }

/* ==========================================================================
   Announcement bar + Header
   ========================================================================== */
.cbx-announce {
	background: var(--cbx-black);
	color: #fff;
	text-align: center;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 9px 0;
}
.cbx-announce__dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--cbx-accent);
	vertical-align: middle;
	animation: cbx-pulse 2s infinite;
}

.cbx-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.admin-bar .cbx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cbx-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cbx-header { top: 0; } }
.cbx-header.is-scrolled {
	border-color: var(--cbx-grey-2);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
.cbx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: var(--cbx-header-h);
}

.cbx-logo {
	font-family: var(--cbx-font-head);
	font-weight: 900;
	font-size: 1.45rem;
	letter-spacing: -0.03em;
	line-height: 1;
	text-decoration: none;
	color: var(--cbx-black);
}
.cbx-logo span { color: var(--cbx-accent); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-link img { max-height: 40px; width: auto; }

.cbx-nav { display: none; }
@media (min-width: 900px) { .cbx-nav { display: block; } }
.cbx-nav ul {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}
.cbx-nav a {
	position: relative;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.92rem;
}
.cbx-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: var(--cbx-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--cbx-ease);
}
.cbx-nav a:hover::after { transform: scaleX(1); }

.cbx-cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	background: var(--cbx-black);
	color: #fff;
	text-decoration: none;
	transition: transform 0.2s var(--cbx-ease);
}
.cbx-cart-btn:hover { transform: scale(1.06); }
.cbx-cart-btn .cbx-icon { width: 21px; height: 21px; }
.cbx-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
	animation: cbx-bump 0.4s var(--cbx-ease);
}
.cbx-cart-count[data-count="0"] { display: none; }

/* ==========================================================================
   Sections & typography helpers
   ========================================================================== */
.cbx-section { padding: 64px 0; }
@media (min-width: 768px) { .cbx-section { padding: 96px 0; } }
.cbx-section--grey { background: var(--cbx-grey); }
.cbx-section--dark { background: var(--cbx-black); color: #fff; }

.cbx-section__head { max-width: 720px; margin: 0 0 32px; }
@media (min-width: 768px) { .cbx-section__head { margin-bottom: 48px; } }
.cbx-section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.cbx-section__title {
	font-size: clamp(1.9rem, 5vw, 3.2rem);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	margin: 0 0 0.35em;
}
.cbx-section__text { color: var(--cbx-muted); font-size: 1.05rem; margin: 0; }
.cbx-section--dark .cbx-section__text { color: rgba(255, 255, 255, 0.7); }

.cbx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 0.9em;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.cbx-eyebrow::before {
	content: "";
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: var(--cbx-accent);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.cbx-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: min(88vh, 820px);
	min-height: min(88svh, 820px);
	overflow: hidden;
	background: var(--cbx-black);
	color: #fff;
}
.cbx-hero__media { position: absolute; inset: 0; z-index: -1; }
.cbx-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% center;
	animation: cbx-zoom 1.8s var(--cbx-ease) both;
}
.cbx-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 34%, rgba(0, 0, 0, 0.9) 58%, #000 100%);
}
@media (min-width: 768px) {
	.cbx-hero { align-items: center; }
	.cbx-hero__media::after {
		background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0) 78%);
	}
}
.cbx-hero__content { padding-top: 120px; padding-bottom: 48px; }
@media (min-width: 768px) { .cbx-hero__content { padding-top: 96px; padding-bottom: 96px; } }
.cbx-hero__content > * { animation: cbx-rise 0.8s var(--cbx-ease) both; }
.cbx-hero__content > :nth-child(2) { animation-delay: 0.08s; }
.cbx-hero__content > :nth-child(3) { animation-delay: 0.16s; }
.cbx-hero__content > :nth-child(4) { animation-delay: 0.24s; }
.cbx-hero__content > :nth-child(5) { animation-delay: 0.32s; }
.cbx-hero__content > :nth-child(6) { animation-delay: 0.4s; }
.cbx-hero .cbx-eyebrow { color: rgba(255, 255, 255, 0.9); }
.cbx-hero__title {
	max-width: 12ch;
	margin: 0 0 0.35em;
	font-size: clamp(2.4rem, 8.5vw, 5.4rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}
.cbx-hero__subtitle {
	max-width: 46ch;
	margin: 0 0 1.25em;
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	color: rgba(255, 255, 255, 0.82);
}
.cbx-hero__price {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	margin: 0 0 1.5em;
	padding: 0.5em 1em;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-weight: 700;
}
.cbx-hero__price::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cbx-accent);
}
.cbx-hero__actions { display: block; }
.cbx-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.86);
}
.cbx-hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.cbx-hero__trust .cbx-icon { width: 16px; height: 16px; color: var(--cbx-accent); }

/* ==========================================================================
   Product grid + cards
   ========================================================================== */
.cbx-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
@media (min-width: 640px) { .cbx-grid { gap: 16px; } }
@media (min-width: 900px) { .cbx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cbx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1280px) { .cbx-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.cbx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius);
	background: #fff;
	container-type: inline-size;
	transition: box-shadow 0.3s, border-color 0.3s;
}
.cbx-card:hover { box-shadow: var(--cbx-shadow); border-color: transparent; }
.cbx-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--cbx-black);
}
.cbx-card__media > a { display: block; height: 100%; }
.cbx-card__media img,
.cbx-card__media svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--cbx-ease);
}
.cbx-card:hover .cbx-card__media img,
.cbx-card:hover .cbx-card__media svg { transform: scale(1.07); }
.cbx-card__sku {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--cbx-black);
	color: #fff;
	font-family: var(--cbx-font-head);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}
.cbx-card__flag {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--cbx-ink);
	font-size: 0.7rem;
	font-weight: 700;
}
.cbx-card__flag--sale { background: var(--cbx-accent); color: var(--cbx-accent-contrast); }
.cbx-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
}
@container (min-width: 240px) { .cbx-card__body { padding: 16px; } }
.cbx-card__title {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.25;
}
.cbx-card__title a { text-decoration: none; }
.cbx-card__title small {
	display: block;
	margin-top: 2px;
	font-family: var(--cbx-font);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--cbx-muted);
	letter-spacing: 0.04em;
}
.cbx-nowrap { white-space: nowrap; }
.cbx-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.78rem;
	color: var(--cbx-muted);
}
.cbx-colors li { display: inline-flex; align-items: center; gap: 5px; }
.cbx-colors__dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--c, #ccc);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.cbx-colors--text { display: block; }
.cbx-card__price {
	margin-top: auto;
	font-size: 1.1rem;
	font-weight: 800;
}
.cbx-card__price del { color: var(--cbx-muted); font-size: 0.85em; font-weight: 600; margin-right: 4px; }
.cbx-card__price ins { text-decoration: none; }

.cbx-atc { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.cbx-atc__row { display: flex; flex-direction: column; gap: 8px; }
@container (min-width: 270px) { .cbx-atc__row { flex-direction: row; } }

.cbx-select {
	width: 100%;
	height: 44px;
	padding: 0 36px 0 12px;
	border: 1.5px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius-sm);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
	-webkit-appearance: none;
	appearance: none;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s;
}
.cbx-select:hover,
.cbx-select:focus { border-color: var(--cbx-black); }
@container (max-width: 210px) {
	.cbx-select { padding: 0 26px 0 10px; font-size: 0.82rem; background-position: right 9px center; }
}
.cbx-card.is-invalid .cbx-select {
	border-color: var(--cbx-danger);
	animation: cbx-shake 0.4s;
}

.cbx-qty {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	height: 44px;
	overflow: hidden;
	border: 1.5px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius-sm);
	background: #fff;
}
.cbx-atc .cbx-qty { width: 100%; }
@container (min-width: 270px) { .cbx-atc .cbx-qty { width: auto; flex: 0 0 auto; } }
.cbx-qty button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.2s;
}
.cbx-qty button:hover { background: var(--cbx-grey); }
.cbx-qty .cbx-icon { width: 16px; height: 16px; }
.cbx-qty input {
	width: 34px;
	min-width: 0;
	flex: 1;
	border: 0;
	background: transparent;
	text-align: center;
	font-weight: 700;
	-moz-appearance: textfield;
	appearance: textfield;
}
.cbx-qty input::-webkit-outer-spin-button,
.cbx-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cbx-qty--sm { height: 34px; }
.cbx-qty--sm button { width: 32px; }
.cbx-qty--sm span { min-width: 26px; text-align: center; font-weight: 700; font-size: 0.9rem; }

.cbx-atc__btn {
	flex: 1;
	min-height: 44px;
	padding: 0.6em 0.9em;
	border-radius: var(--cbx-radius-sm);
	font-size: 0.85rem;
	white-space: normal;
}
.cbx-atc__btn.is-added {
	background: var(--cbx-black);
	border-color: var(--cbx-black);
	color: #fff;
}

.cbx-admin-note {
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 1px dashed #d99a00;
	border-radius: 10px;
	background: #fff8e6;
	font-size: 0.9rem;
}

/* ==========================================================================
   Bundles
   ========================================================================== */
.cbx-bundles__grid { display: grid; gap: 22px; }
@media (min-width: 768px) { .cbx-bundles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.cbx-bundle {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 30px 24px 24px;
	border: 1.5px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius);
	background: #fff;
	transition: transform 0.3s var(--cbx-ease), box-shadow 0.3s;
}
.cbx-bundle:hover { transform: translateY(-4px); box-shadow: var(--cbx-shadow); }
.cbx-bundle.is-featured { background: var(--cbx-black); border-color: var(--cbx-black); color: #fff; }
.cbx-bundle__badge {
	position: absolute;
	top: -12px;
	left: 24px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.cbx-bundle__boxes { display: flex; gap: 6px; }
.cbx-bundle__box {
	position: relative;
	width: 30px;
	height: 24px;
	border-radius: 5px;
	background: var(--cbx-black);
}
.cbx-bundle__box::after {
	content: "";
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: 5px;
	height: 3px;
	border-radius: 2px;
	background: var(--cbx-accent);
}
.cbx-bundle.is-featured .cbx-bundle__box { background: #fff; }
.cbx-bundle__title {
	margin: 4px 0 0;
	font-size: 1.6rem;
	font-weight: 900;
	text-transform: uppercase;
}
.cbx-bundle__text { margin: 0; color: var(--cbx-muted); }
.cbx-bundle.is-featured .cbx-bundle__text { color: rgba(255, 255, 255, 0.72); }
.cbx-bundle__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-top: 4px;
}
.cbx-bundle__price strong {
	font-family: var(--cbx-font-head);
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
}
.cbx-bundle__price del { color: var(--cbx-muted); font-weight: 600; }
.cbx-bundle.is-featured .cbx-bundle__price del { color: rgba(255, 255, 255, 0.55); }
.cbx-bundle__perks {
	display: grid;
	gap: 7px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
}
.cbx-bundle__perks li { display: flex; align-items: center; gap: 8px; }
.cbx-bundle__perks .cbx-icon { width: 16px; height: 16px; color: var(--cbx-accent); }
.cbx-bundle .cbx-btn { margin-top: auto; }

/* ==========================================================================
   Why us
   ========================================================================== */
.cbx-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .cbx-why__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.cbx-why__item {
	padding: 22px 18px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--cbx-radius);
	background: rgba(255, 255, 255, 0.05);
	transition: background-color 0.3s, transform 0.3s var(--cbx-ease);
}
.cbx-why__item:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-3px); }
.cbx-why__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
}
.cbx-why__icon .cbx-icon { width: 26px; height: 26px; }
.cbx-why__title { margin: 0 0 6px; font-size: 1.05rem; }
.cbx-why__text { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.cbx-reviews__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 84%;
	gap: 14px;
	margin: 0 -16px;
	padding: 4px 16px 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.cbx-reviews__grid::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
	.cbx-reviews__grid {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
		margin: 0;
		padding: 0;
		overflow: visible;
	}
}
.cbx-review,
.cbx-review blockquote { margin: 0; }
.cbx-review {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	border: 1px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius);
	background: #fff;
	scroll-snap-align: start;
}
.cbx-stars { display: flex; gap: 2px; color: var(--cbx-accent); }
.cbx-stars .cbx-icon { width: 18px; height: 18px; }
.cbx-stars .is-empty { color: var(--cbx-grey-3); }
.cbx-review__text { margin: 0; font-size: 0.98rem; }
.cbx-review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.cbx-review__avatar {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cbx-black);
	color: #fff;
	font-family: var(--cbx-font-head);
	font-weight: 800;
}
.cbx-review__name { display: block; font-weight: 700; font-size: 0.92rem; line-height: 1.2; }
.cbx-review__meta { font-size: 0.78rem; color: var(--cbx-muted); }
.cbx-review__verified { color: var(--cbx-success); font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.cbx-faq__list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--cbx-grey-2); }
.cbx-faq__item { border-bottom: 1px solid var(--cbx-grey-2); }
.cbx-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	list-style: none;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
}
.cbx-faq__item summary::-webkit-details-marker { display: none; }
.cbx-faq__icon {
	display: grid;
	place-items: center;
	flex: 0 0 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--cbx-grey);
	transition: transform 0.3s var(--cbx-ease), background-color 0.3s, color 0.3s;
}
.cbx-faq__icon .cbx-icon { width: 16px; height: 16px; }
.cbx-faq__item[open] .cbx-faq__icon {
	transform: rotate(45deg);
	background: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
}
.cbx-faq__answer { padding: 0 48px 22px 0; color: var(--cbx-muted); }
.cbx-faq__answer p { margin: 0 0 0.6em; }
.cbx-faq__item[open] .cbx-faq__answer { animation: cbx-rise 0.35s var(--cbx-ease); }

/* ==========================================================================
   Footer
   ========================================================================== */
.cbx-footer {
	padding: 56px 0 0;
	background: var(--cbx-black);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
}
.cbx-footer__grid { display: grid; gap: 34px; }
@media (min-width: 768px) { .cbx-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.cbx-footer h2 {
	margin: 0 0 14px;
	color: #fff;
	font-family: var(--cbx-font);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.cbx-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cbx-footer a { color: inherit; text-decoration: none; transition: color 0.2s; }
.cbx-footer a:hover { color: #fff; }
.cbx-footer .cbx-logo { color: #fff; font-size: 1.8rem; }
.cbx-footer__about { margin: 14px 0 0; max-width: 34ch; }
.cbx-footer__contact a,
.cbx-footer__contact span { display: inline-flex; align-items: center; gap: 10px; }
.cbx-footer__contact .cbx-icon { width: 18px; height: 18px; color: var(--cbx-accent); }
.cbx-social { display: flex; gap: 10px; margin-top: 20px; }
.cbx-social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.cbx-social a:hover { background: var(--cbx-accent); border-color: var(--cbx-accent); color: var(--cbx-accent-contrast); }
.cbx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cbx-pill {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #fff;
}
.cbx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-top: 48px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.82rem;
}
.cbx-footer__notice {
	flex: 1 0 100%;
	margin: 0 0 6px;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--cbx-radius-sm);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 0.9rem;
}

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.cbx-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0s 0.3s;
}
.cbx-overlay.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.cbx-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	background: #fff;
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
	outline: none;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.4s var(--cbx-ease), visibility 0s 0.4s;
}
.cbx-drawer.is-open { transform: none; visibility: visible; transition: transform 0.4s var(--cbx-ease); }
.cbx-drawer__inner { display: flex; flex-direction: column; height: 100%; min-height: 0; transition: opacity 0.2s; }
.cbx-drawer.is-loading .cbx-drawer__inner { opacity: 0.55; pointer-events: none; }
.cbx-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--cbx-grey-2);
}
.cbx-drawer__title { margin: 0; font-size: 1.15rem; text-transform: uppercase; }
.cbx-drawer__title span { color: var(--cbx-muted); font-weight: 700; }
.cbx-icon-btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--cbx-grey);
	cursor: pointer;
	transition: background-color 0.2s;
}
.cbx-icon-btn:hover { background: var(--cbx-grey-2); }
.cbx-ship { padding: 14px 20px; background: var(--cbx-grey); font-size: 0.88rem; }
.cbx-ship p { margin: 0 0 8px; }
.cbx-progress { height: 8px; overflow: hidden; border-radius: 999px; background: var(--cbx-grey-2); }
.cbx-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--cbx-accent);
	transition: width 0.5s var(--cbx-ease);
}
.cbx-ship.is-done .cbx-progress span { background: var(--cbx-success); }
.cbx-ship.is-done p { color: var(--cbx-success); font-weight: 700; }
.cbx-drawer__items {
	flex: 1;
	min-height: 0;
	margin: 0;
	padding: 4px 20px;
	overflow-y: auto;
	list-style: none;
	overscroll-behavior: contain;
}
.cbx-item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid var(--cbx-grey-2);
}
.cbx-item:last-child { border-bottom: 0; }
.cbx-item__thumb {
	display: block;
	width: 76px;
	height: 76px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--cbx-grey);
}
.cbx-item__thumb img,
.cbx-item__thumb svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.cbx-item__name { margin: 0 0 6px; font-size: 0.92rem; font-weight: 800; line-height: 1.25; }
.cbx-item__name a { text-decoration: none; }
.cbx-item__meta { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 0.75rem; }
.cbx-item__meta li { padding: 2px 8px; border-radius: 999px; background: var(--cbx-grey); font-weight: 600; }
.cbx-item__meta strong { font-weight: 800; }
.cbx-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cbx-item__price { font-size: 0.95rem; font-weight: 800; white-space: nowrap; }
.cbx-item__remove {
	padding: 4px;
	border: 0;
	background: none;
	color: var(--cbx-muted);
	cursor: pointer;
	transition: color 0.2s;
}
.cbx-item__remove:hover { color: var(--cbx-danger); }
.cbx-item__remove .cbx-icon { width: 18px; height: 18px; }
.cbx-drawer__empty {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 40px 24px;
	text-align: center;
}
.cbx-drawer__empty .cbx-icon { width: 56px; height: 56px; color: var(--cbx-grey-3); }
.cbx-drawer__empty p { margin: 0 0 8px; font-weight: 700; }
.cbx-drawer__foot {
	padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--cbx-grey-2);
	background: #fff;
}
.cbx-totals { display: grid; gap: 6px; margin: 0 0 14px; font-size: 0.92rem; }
.cbx-totals div { display: flex; justify-content: space-between; gap: 12px; }
.cbx-totals dt,
.cbx-totals dd { margin: 0; }
.cbx-totals .is-discount { color: var(--cbx-success); font-weight: 700; }
.cbx-totals .is-total { padding-top: 8px; border-top: 1px dashed var(--cbx-grey-3); font-size: 1.1rem; font-weight: 800; }
.cbx-drawer__note { margin: 10px 0 0; font-size: 0.78rem; color: var(--cbx-muted); text-align: center; }

/* ==========================================================================
   Sticky add-to-cart (mobile) + toast
   ========================================================================== */
.cbx-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--cbx-grey-2);
	background: rgba(255, 255, 255, 0.97);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(110%);
	transition: transform 0.35s var(--cbx-ease);
}
.cbx-sticky-atc.is-visible { transform: none; }
html.cbx-lock .cbx-sticky-atc { transform: translateY(110%); }
.cbx-sticky-atc__info { flex: 1; min-width: 0; line-height: 1.25; }
.cbx-sticky-atc__name {
	display: block;
	overflow: hidden;
	font-size: 0.88rem;
	font-weight: 800;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.cbx-sticky-atc__price { display: block; font-size: 0.82rem; color: var(--cbx-muted); }
.cbx-sticky-atc__price del { margin-right: 4px; }
.cbx-sticky-atc__price ins { text-decoration: none; }
.cbx-sticky-atc .cbx-btn { min-height: 46px; padding: 0.6em 1.1em; font-size: 0.88rem; }
@media (min-width: 768px) { .cbx-sticky-atc { display: none; } }
@media (max-width: 767px) { .cbx-has-sticky-atc .cbx-footer__bottom { padding-bottom: 92px; } }

.cbx-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 120;
	max-width: calc(100% - 32px);
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--cbx-black);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	box-shadow: var(--cbx-shadow);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 20px);
	transition: transform 0.3s var(--cbx-ease), opacity 0.3s;
}
.cbx-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cbx-toast--error { background: var(--cbx-danger); }
@media (max-width: 767px) { .cbx-has-sticky-atc .cbx-toast { bottom: 90px; } }

/* ==========================================================================
   Reveal + keyframes
   ========================================================================== */
.cbx-js .cbx-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--cbx-ease), transform 0.7s var(--cbx-ease);
}
.cbx-js .cbx-reveal.is-visible { opacity: 1; transform: none; }
.cbx-grid > .cbx-reveal:nth-child(5n+2),
.cbx-bundles__grid > .cbx-reveal:nth-child(2),
.cbx-why__grid > .cbx-reveal:nth-child(2),
.cbx-reviews__grid > .cbx-reveal:nth-child(3n+2) { transition-delay: 0.07s; }
.cbx-grid > .cbx-reveal:nth-child(5n+3),
.cbx-bundles__grid > .cbx-reveal:nth-child(3),
.cbx-why__grid > .cbx-reveal:nth-child(3),
.cbx-reviews__grid > .cbx-reveal:nth-child(3n+3) { transition-delay: 0.14s; }
.cbx-grid > .cbx-reveal:nth-child(5n+4),
.cbx-why__grid > .cbx-reveal:nth-child(4) { transition-delay: 0.21s; }
.cbx-grid > .cbx-reveal:nth-child(5n+5) { transition-delay: 0.28s; }

@keyframes cbx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes cbx-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes cbx-bump { 0% { transform: scale(0.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes cbx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes cbx-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.cbx-js .cbx-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Generic pages
   ========================================================================== */
.cbx-main--page { padding: 40px 0 80px; }
@media (min-width: 768px) { .cbx-main--page { padding: 56px 0 96px; } }
.cbx-page-title {
	margin: 0 0 28px;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.02em;
}
.cbx-content { max-width: 860px; }
.cbx-content--wide { max-width: none; }
.cbx-content a { color: var(--cbx-ink); text-decoration-color: var(--cbx-accent); text-underline-offset: 3px; }
.cbx-content h2 { margin-top: 1.6em; font-size: 1.6rem; }
.cbx-content h3 { margin-top: 1.4em; font-size: 1.25rem; }
.cbx-post + .cbx-post { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--cbx-grey-2); }
.cbx-404 { padding: 80px 0; text-align: center; }
.cbx-404 .cbx-page-title { font-size: clamp(4rem, 14vw, 9rem); margin-bottom: 0; }

/* ==========================================================================
   WooCommerce — general (body prefix beats WooCommerce's own stylesheet)
   ========================================================================== */
body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error,
body .woocommerce-notices-wrapper > * {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 0;
	border-left: 4px solid var(--cbx-accent);
	border-radius: 12px;
	background: var(--cbx-grey);
	color: var(--cbx-ink);
	font-size: 0.92rem;
	list-style: none;
}
body .woocommerce-error { border-left-color: var(--cbx-danger); background: #fdecec; }
body .woocommerce-message::before,
body .woocommerce-info::before,
body .woocommerce-error::before { display: none; }
body .woocommerce-message .button,
body .woocommerce-info .button { float: right; margin-left: 12px; }

body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce #respond input#submit,
body .woocommerce-page a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.8em 1.5em;
	border: 0;
	border-radius: 999px;
	background: var(--cbx-black);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color 0.2s, transform 0.2s;
}
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover { background: #2a2a2a; color: #fff; }
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body .woocommerce input.button.alt {
	background: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
}
body .woocommerce a.button.alt:hover,
body .woocommerce button.button.alt:hover,
body .woocommerce input.button.alt:hover { background: var(--cbx-accent-dark); color: var(--cbx-accent-contrast); }
body .woocommerce button.button.disabled,
body .woocommerce button.button:disabled { opacity: 0.55; }

body .woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
body .woocommerce form .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.4;
}
body .woocommerce form .form-row .required { color: var(--cbx-danger); text-decoration: none; }
body .woocommerce form .form-row .input-text,
body .woocommerce form .form-row textarea,
body .woocommerce form .form-row select,
body .woocommerce .quantity .qty,
body .woocommerce div.product form.cart .variations select,
body .select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 50px;
	padding: 0.75em 1em;
	border: 1.5px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius-sm);
	background-color: #fff;
	font-size: 16px; /* prevents iOS zoom */
	line-height: 1.3;
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
body .woocommerce form .form-row textarea { min-height: 96px; }
body .woocommerce .quantity .qty { width: 80px; text-align: center; }
body .select2-container--default .select2-selection--single { display: flex; align-items: center; padding: 0 1em; }
body .select2-container--default .select2-selection--single .select2-selection__arrow { top: 12px; right: 8px; }
body .woocommerce form .form-row .input-text:focus,
body .woocommerce form .form-row textarea:focus,
body .woocommerce form .form-row select:focus {
	border-color: var(--cbx-black);
	box-shadow: 0 0 0 4px var(--cbx-accent-soft);
	outline: none;
}
body .woocommerce form .form-row.woocommerce-invalid .input-text { border-color: var(--cbx-danger); }
.cbx-hidden-field { display: none !important; }

.cbx-notices { padding-top: 20px; }

/* Shop archive grid */
body .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 32px;
	padding: 0;
}
@media (min-width: 900px) { body .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { body .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
body .woocommerce ul.products::before,
body .woocommerce ul.products::after { display: none; }
body .woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	float: none !important;
	list-style: none;
}
body .woocommerce .woocommerce-result-count,
body .woocommerce .woocommerce-ordering { margin-bottom: 24px; font-size: 0.9rem; }
body .woocommerce .woocommerce-breadcrumb { margin-bottom: 20px; font-size: 0.82rem; color: var(--cbx-muted); }
body .woocommerce .woocommerce-breadcrumb a { color: var(--cbx-ink); }

/* Single product */
body.single-product div.product .product_title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.02em;
}
body.single-product div.product p.price,
body.single-product div.product span.price { color: var(--cbx-ink); font-size: 1.5rem; font-weight: 800; }
body.single-product div.product .woocommerce-product-gallery__wrapper img { border-radius: var(--cbx-radius); }
/* WooCommerce hides the gallery (opacity: 0) until its script runs; show the photo immediately. */
body.single-product div.product .woocommerce-product-gallery { opacity: 1 !important; }
/* Without the lightbox the photo links to the raw image file; keep shoppers on the page. */
body.single-product div.product .woocommerce-product-gallery__image a { pointer-events: none; cursor: default; }
body.single-product div.product form.cart .variations { margin-bottom: 16px; }
body.single-product div.product form.cart .variations th,
body.single-product div.product form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; }
body.single-product div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 6px 0 14px; }
body.single-product div.product form.cart .quantity .qty {
	width: 72px;
	height: 56px;
	padding: 0;
	border: 1.5px solid var(--cbx-grey-2);
	border-radius: 999px;
	background: #fff;
	font-size: 16px; /* prevents iOS zoom */
	font-weight: 800;
	text-align: center;
}
body.single-product div.product form.cart .single_add_to_cart_button.button {
	flex: 1;
	min-height: 56px;
	padding: 0.75em 1.4em;
	border: 0;
	border-radius: 999px;
	background: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
	font-size: 1.1rem;
	font-weight: 900;
	letter-spacing: 0.01em;
}
body.single-product div.product form.cart .single_add_to_cart_button.button:hover { background: var(--cbx-accent-dark); color: var(--cbx-accent-contrast); }
body.single-product div.product span.onsale {
	top: 14px;
	left: 14px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1.1;
}
body.single-product div.product p.price ins { text-decoration: none; color: var(--cbx-accent); font-size: 1.9rem; font-weight: 900; }
body.single-product div.product p.price del { margin-right: 6px; color: #8a8a8a; font-size: 1.15rem; font-weight: 700; }
.cbx-pdp-perks { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #ffd9c7; border-radius: 14px; background: #fff3ec; }
.cbx-pdp-perks__tier { margin: 0 0 8px; color: #b83a0b; font-size: 0.95rem; font-weight: 800; }
.cbx-pdp-perks__ship { margin: 0 0 8px; font-size: 0.88rem; font-weight: 600; }
.cbx-pdp-perks ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 0.88rem; font-weight: 600; }
.cbx-pdp-perks li::before { content: "✓ "; color: var(--cbx-success); font-weight: 900; }
.cbx-pdp-acc { margin: 0 0 18px; border-top: 1px solid var(--cbx-grey-2); }
.cbx-pdp-acc details { border-bottom: 1px solid var(--cbx-grey-2); }
.cbx-pdp-acc summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 2px;
	font-size: 1rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}
.cbx-pdp-acc summary::-webkit-details-marker { display: none; }
.cbx-pdp-acc summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--cbx-muted); }
.cbx-pdp-acc details[open] summary::after { content: "−"; }
.cbx-pdp-acc__icon { width: 24px; font-size: 1.15rem; text-align: center; }
.cbx-pdp-acc__icon img.emoji { width: 1.15em !important; height: 1.15em !important; }
.cbx-pdp-acc__body { padding: 0 2px 18px 38px; color: var(--cbx-muted); font-size: 0.95rem; line-height: 1.55; }
.cbx-pdp-acc__body p { margin: 0 0 0.6em; }
.cbx-pdp-acc__body p:last-child { margin: 0; }
body.single-product div.product form.variations_form { display: block; }
body.single-product div.product form.cart .cbx-size-field { width: 100%; max-width: 320px; margin: 0 0 6px; }
body.single-product div.product form.cart .cbx-size-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.86rem; }
body.single-product div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
body.single-product div.product .product_meta { margin-top: 20px; font-size: 0.85rem; color: var(--cbx-muted); }
body.single-product .woocommerce-tabs ul.tabs { padding: 0; }
body.single-product .woocommerce-tabs ul.tabs li { border-radius: 999px 999px 0 0; }

/* ==========================================================================
   WooCommerce — checkout
   ========================================================================== */
.cbx-upsell {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1.5px dashed var(--cbx-accent);
	border-radius: var(--cbx-radius);
	background: var(--cbx-accent-soft);
	font-size: 0.95rem;
}
.cbx-upsell .cbx-btn { min-height: 42px; padding: 0.55em 1.2em; font-size: 0.88rem; }
.cbx-co-summary {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius);
	background: var(--cbx-white);
	font-size: 0.92rem;
}
.cbx-co-summary__items { margin: 0; padding: 0; list-style: none; }
.cbx-co-summary__items li {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
}
.cbx-co-summary__items li + li { border-top: 1px solid var(--cbx-grey); }
.cbx-co-summary__img { width: 52px; height: 52px; border-radius: var(--cbx-radius-sm); object-fit: cover; }
.cbx-co-summary__name { font-weight: 700; line-height: 1.25; }
.cbx-co-summary__name small { display: block; margin-top: 2px; font-weight: 400; color: var(--cbx-muted); font-size: 0.8rem; }
.cbx-co-summary__price { font-weight: 700; white-space: nowrap; }
.cbx-co-summary__row { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; }
.cbx-co-summary__row--disc { color: var(--cbx-success); }
.cbx-co-summary__row--total { padding-top: 8px; border-top: 1px solid var(--cbx-grey-2); font-weight: 800; font-size: 1.05rem; }
.cbx-co-summary__ship { margin: 6px 0 0; color: var(--cbx-muted); font-size: 0.85rem; }
.cbx-co-summary__trust { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 0.85rem; font-weight: 600; }
.cbx-co-summary__trust li { display: inline-flex; align-items: center; gap: 6px; }
.cbx-co-summary__trust .cbx-icon { width: 15px; height: 15px; color: var(--cbx-success); }
/* Desktop shows the full order summary next to the form already. */
@media (min-width: 992px) { .cbx-co-summary { display: none; } }
.cbx-checkout { display: grid; gap: 20px; }
@media (min-width: 992px) {
	.cbx-checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
	.cbx-checkout__summary { position: sticky; top: calc(var(--cbx-header-h) + 20px); }
}
.cbx-checkout__panel {
	padding: 20px;
	border: 1px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius);
	background: #fff;
}
@media (min-width: 768px) { .cbx-checkout__panel { padding: 28px; } }
.cbx-checkout .cbx-step {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-size: 1.1rem;
	font-weight: 900;
	text-transform: uppercase;
}
.cbx-step__num {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--cbx-black);
	color: #fff;
	font-size: 0.9rem;
}
body .woocommerce .cbx-checkout .col2-set,
body .woocommerce .cbx-checkout .col2-set .col-1,
body .woocommerce .cbx-checkout .col2-set .col-2 {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}
.cbx-checkout .woocommerce-billing-fields > h3 { display: none; }
.cbx-checkout .woocommerce-billing-fields__field-wrapper,
.cbx-checkout .woocommerce-shipping-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	column-gap: 4%;
}
.cbx-checkout .form-row { width: 100%; }
@media (min-width: 480px) {
	body .woocommerce .cbx-checkout .form-row-first,
	body .woocommerce .cbx-checkout .form-row-last { width: 48%; float: none; }
}
.cbx-checkout .woocommerce-additional-fields h3,
.cbx-checkout #ship-to-different-address { margin: 18px 0 12px; font-size: 1rem; font-family: var(--cbx-font); }
.cbx-checkout .woocommerce-account-fields { margin-top: 10px; }

body .woocommerce table.woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0 0 20px;
	border: 0;
	border-collapse: collapse;
	font-size: 0.92rem;
}
body .woocommerce table.woocommerce-checkout-review-order-table th,
body .woocommerce table.woocommerce-checkout-review-order-table td {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--cbx-grey-2);
	background: transparent;
	text-align: left;
	vertical-align: top;
}
body .woocommerce table.woocommerce-checkout-review-order-table th:last-child,
body .woocommerce table.woocommerce-checkout-review-order-table td:last-child { text-align: right; }
body .woocommerce table.woocommerce-checkout-review-order-table thead th {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cbx-muted);
}
body .woocommerce table.woocommerce-checkout-review-order-table .product-name { font-weight: 700; }
body .woocommerce table.woocommerce-checkout-review-order-table .order-total th,
body .woocommerce table.woocommerce-checkout-review-order-table .order-total td { border-bottom: 0; font-size: 1.15rem; font-weight: 800; }
body .woocommerce table.woocommerce-checkout-review-order-table .fee td { color: var(--cbx-success); font-weight: 700; }
body .woocommerce td.product-name dl.variation,
body .woocommerce .cbx-checkout dl.variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 6px;
	margin: 6px 0 0;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--cbx-muted);
}
body .woocommerce td.product-name dl.variation dt,
body .woocommerce td.product-name dl.variation dd { float: none; margin: 0; padding: 0; }
body .woocommerce td.product-name dl.variation dd p { margin: 0; }
body .woocommerce ul#shipping_method { margin: 0; padding: 0; }
body .woocommerce ul#shipping_method li { margin: 0 0 6px; text-indent: 0; }

body.woocommerce-checkout #payment {
	border-radius: var(--cbx-radius);
	background: var(--cbx-grey);
}
body.woocommerce-checkout #payment ul.payment_methods {
	margin: 0;
	padding: 16px;
	border-bottom: 1px solid var(--cbx-grey-2);
	list-style: none;
}
body.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.5; }
body.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; }
body.woocommerce-checkout #payment div.payment_box {
	margin: 10px 0 4px;
	border-radius: var(--cbx-radius-sm);
	background: #fff;
	color: var(--cbx-ink);
	font-size: 0.88rem;
}
body.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
body.woocommerce-checkout #payment div.form-row { padding: 16px; }
body .woocommerce #payment #place_order,
body .woocommerce-page #payment #place_order {
	float: none;
	width: 100%;
	min-height: 58px;
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.cbx-checkout-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 16px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.8rem;
	color: var(--cbx-muted);
}
.cbx-checkout-trust li { display: inline-flex; align-items: center; gap: 6px; }
.cbx-checkout-trust .cbx-icon { width: 15px; height: 15px; color: var(--cbx-success); }
body .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 16px; }
body .woocommerce form.checkout_coupon {
	margin: 0 0 20px;
	padding: 16px;
	border: 1px dashed var(--cbx-grey-3);
	border-radius: var(--cbx-radius);
}

/* Cart / order received / account */
body .woocommerce table.shop_table {
	border: 1px solid var(--cbx-grey-2);
	border-radius: var(--cbx-radius);
	border-collapse: separate;
	overflow: hidden;
}
body .woocommerce table.shop_table th { font-weight: 700; }
body .woocommerce ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
	padding: 18px;
	border-radius: var(--cbx-radius);
	background: var(--cbx-grey);
}
body .woocommerce ul.order_details li { margin: 0; padding-right: 12px; border-right-color: var(--cbx-grey-3); }
body .woocommerce-thankyou-order-received {
	padding: 18px 20px;
	border-radius: var(--cbx-radius);
	background: var(--cbx-black);
	color: #fff;
	font-family: var(--cbx-font-head);
	font-size: 1.2rem;
	font-weight: 800;
}

/* --------------------------------------------------------------------------
 * "Added to cart" offer sheet (Customizer → card action "upsell")
 * ----------------------------------------------------------------------- */
.cbx-offer {
	position: fixed;
	inset: 0;
	z-index: 130;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(11, 11, 11, 0.55);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s var(--cbx-ease), visibility 0.25s;
}
.cbx-offer.is-open { opacity: 1; visibility: visible; }
.cbx-offer:focus { outline: none; }
.cbx-offer__sheet {
	width: 100%;
	max-width: 480px;
	max-height: 92vh;
	max-height: 92dvh;
	display: flex;
	border-radius: 22px 22px 0 0;
	background: var(--cbx-white);
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
	transform: translateY(40px);
	transition: transform 0.3s var(--cbx-ease);
	overflow: hidden;
}
.cbx-offer.is-open .cbx-offer__sheet { transform: none; }
.cbx-offer__inner { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.cbx-offer__body { overflow-y: auto; padding: 16px 18px 8px; overscroll-behavior: contain; }
.cbx-offer__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cbx-offer__head h2 { flex: 1; margin: 0; font-family: var(--cbx-font-head); font-size: 1.15rem; font-weight: 800; }
.cbx-offer__ok {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--cbx-success);
	color: #fff;
}
.cbx-offer__ok svg { width: 16px; height: 16px; stroke-width: 3; }
.cbx-offer__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 14px;
	background: var(--cbx-grey);
}
.cbx-offer__item img, .cbx-offer__item svg { flex: none; width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.cbx-offer__item > div { min-width: 0; }
.cbx-offer__name { margin: 0; font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.cbx-offer__meta { margin: 2px 0 0; font-size: 0.82rem; color: var(--cbx-muted); }
.cbx-offer__item .cbx-offer__price { margin-left: auto; text-align: right; white-space: nowrap; }
.cbx-offer__price del { display: block; font-size: 0.75rem; color: var(--cbx-muted); }
.cbx-offer__price ins { text-decoration: none; font-weight: 800; color: var(--cbx-accent); }
.cbx-offer__item .cbx-offer__price ins { font-size: 1.05rem; }
.cbx-offer__offer {
	margin-top: 12px;
	padding: 12px 12px 10px;
	border: 1.5px solid var(--cbx-accent);
	border-radius: 14px;
	background: #fff4ef;
	text-align: center;
}
.cbx-offer__title { margin: 0; font-weight: 800; font-size: 0.98rem; line-height: 1.35; }
.cbx-offer__title em { font-style: normal; color: var(--cbx-accent); }
.cbx-offer__steps { position: relative; display: flex; margin-top: 12px; }
.cbx-offer__bar {
	position: absolute;
	top: 10px;
	left: calc(50% / var(--cbx-n, 3));
	right: calc(50% / var(--cbx-n, 3));
	height: 6px;
	border-radius: 99px;
	background: #ffd9c9;
}
.cbx-offer__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--cbx-accent); transition: width 0.4s var(--cbx-ease); }
.cbx-offer__step { position: relative; flex: 1; font-size: 0.75rem; line-height: 1.25; color: var(--cbx-muted); }
.cbx-offer__step b {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin: 0 auto 5px;
	border: 2px solid #ffc4ad;
	border-radius: 50%;
	background: #fff;
	font-size: 0.7rem;
}
.cbx-offer__step.is-on { color: var(--cbx-ink); font-weight: 700; }
.cbx-offer__step.is-on b { border-color: var(--cbx-accent); background: var(--cbx-accent); color: #fff; }
.cbx-offer__note { margin: 8px 0 0; font-size: 0.82rem; }
.cbx-offer__label { margin: 14px 0 8px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cbx-offer__list {
	display: flex;
	gap: 10px;
	margin: 0 -18px 0 0;
	padding: 0 18px 6px 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
}
.cbx-offer__list li {
	flex: 0 0 124px;
	overflow: hidden;
	border: 1px solid var(--cbx-grey-2);
	border-radius: 14px;
	scroll-snap-align: start;
}
.cbx-offer__list img, .cbx-offer__list li > svg { display: block; width: 100%; height: 92px; object-fit: cover; }
.cbx-offer__list li > div { padding: 8px; }
.cbx-offer__list .cbx-offer__name { min-height: 2.5em; font-size: 0.78rem; font-weight: 600; }
.cbx-offer__list .cbx-offer__price { margin: 2px 0 6px; font-size: 0.82rem; }
.cbx-offer__list .cbx-offer__price del { display: inline; margin-left: 4px; font-size: 0.7rem; }
.cbx-offer__list .cbx-offer__price .screen-reader-text { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
.cbx-offer__list .cbx-offer__price ins { order: -1; }
.cbx-offer__list .cbx-offer__price { display: flex; align-items: baseline; flex-wrap: wrap; }
.cbx-offer__add {
	width: 100%;
	height: 34px;
	border: 1.5px solid var(--cbx-ink);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--cbx-ink);
	cursor: pointer;
}
.cbx-offer__add.is-added { border-color: var(--cbx-success); background: var(--cbx-success); color: #fff; cursor: default; }
.cbx-offer__add:disabled:not(.is-added) { opacity: 0.6; }
.cbx-offer__foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--cbx-grey-2); }
.cbx-offer__go {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	border-radius: 999px;
	background: var(--cbx-accent);
	color: var(--cbx-accent-contrast);
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
}
.cbx-offer__go:hover { background: var(--cbx-accent-dark); color: var(--cbx-accent-contrast); }
.cbx-offer__go small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.cbx-offer__cont {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 6px;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--cbx-muted);
	text-decoration: underline;
	cursor: pointer;
}
@media (min-width: 640px) {
	.cbx-offer { align-items: center; padding: 24px; }
	.cbx-offer__sheet { max-width: 460px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.cbx-offer, .cbx-offer__sheet, .cbx-offer__bar i { transition: none; }
}

/* Size choice as round buttons (JS hides the select and keeps it as the value). */
.cbx-select.cbx-select--pills { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.cbx-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.cbx-size {
	flex: 1 1 0;
	min-width: 0;
	height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--cbx-grey-2);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--cbx-ink);
	white-space: nowrap;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.cbx-size:hover { border-color: var(--cbx-black); }
.cbx-size.is-selected { border-color: var(--cbx-black); background: var(--cbx-black); color: #fff; }
.cbx-size:focus-visible { outline: 2px solid var(--cbx-accent); outline-offset: 2px; }
.cbx-sizes.is-invalid .cbx-size,
.cbx-card.is-invalid .cbx-size { border-color: var(--cbx-danger); }
.cbx-sizes.is-invalid,
.cbx-card.is-invalid .cbx-sizes { animation: cbx-shake 0.4s; }
body.single-product div.product form.cart .cbx-size-field { max-width: none; }
body.single-product div.product form.cart .cbx-size-field .cbx-sizes { max-width: 360px; }
body.single-product div.product form.cart .cbx-size { height: 52px; font-size: 1rem; }
@container (max-width: 210px) {
	.cbx-size { padding: 0 6px; font-size: 0.82rem; }
}