/* Cute Angel: the shop's styles, loaded on every page by mu-plugins/cuteangel.php. Home page
   sections (built by migration/wp/85-home.php), header and shop tweaks, product tabs, help pages.
   Brand colours come from the logo. Kadence palette: 1 = brand blue (#017bc6, the logo's sky blue
   deepened for readable white text), 3/4/5 = text, 7/8 = light blue tints. The other logo colours
   below are accents only: never as small text on white, they are too light to read. */
:root {
	--ca-sky: #00c4fb;         /* logo blue as drawn */
	--ca-pink: #fb5e88;        /* logo pink */
	--ca-pink-strong: #d81b60; /* pink that carries white text (badges) */
	--ca-pink-tint: #fff3f7;
	--ca-turquoise: #1ceddc;
	--ca-green: #70e008;
	--ca-purple: #8d6dfb;
	--ca-rainbow: linear-gradient(90deg, var(--ca-sky), var(--ca-green), var(--ca-pink), var(--ca-purple), var(--ca-turquoise));
	/* Line icons, used as masks and tinted with logo colours deep enough for 3:1 on white. */
	--ca-icon-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.5h12v11h-12z'/%3E%3Cpath d='M13.5 9.5h4.5l3.5 3.8v3.2h-8'/%3E%3Ccircle cx='5.5' cy='17.5' r='2'/%3E%3Ccircle cx='17' cy='17.5' r='2'/%3E%3C/svg%3E");
	--ca-icon-ruler: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='10' rx='1.5'/%3E%3Cpath d='M6 7v4M10 7v3M14 7v4M18 7v3'/%3E%3C/svg%3E");
	--ca-icon-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.4 0 2-1 2-2s-1-1.5-1-2.5 1-2 2-2h2.5A4.5 4.5 0 0 0 21 10c0-3.9-4-7-9-7z'/%3E%3Ccircle cx='7.5' cy='11' r='1.2'/%3E%3Ccircle cx='10.5' cy='7.5' r='1.2'/%3E%3Ccircle cx='15' cy='7.5' r='1.2'/%3E%3C/svg%3E");
	--ca-icon-return: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.4-5.7'/%3E%3Cpath d='M4 4v4.5h4.5'/%3E%3C/svg%3E");
	--ca-icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E");
	--ca-icon-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
	--ca-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E");
}

/* ---------- Sections ---------- */
.home .entry-content > .ca-section {
	margin-top: 0;
	margin-bottom: 0;
}
.ca-section {
	padding: 72px 0;
}
.ca-section.ca-tint {
	background: var(--global-palette8);
}
.ca-section.ca-tint-pink {
	background: var(--ca-pink-tint);
}
.ca-wrap {
	max-width: var(--global-content-width, 1290px);
	margin: 0 auto;
	padding: 0 var(--global-content-edge-padding, 1.5rem);
}
.ca-section h2 {
	margin: 0 0 36px;
	font-size: clamp(28px, 3vw, 38px);
}
/* A short bar in the logo's colours under each section title (not under product or category names). */
.ca-section h2.wp-block-heading::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 14px;
	border-radius: 4px;
	background: var(--ca-rainbow);
}
.ca-section h2.wp-block-heading.has-text-align-center::after {
	margin-left: auto;
	margin-right: auto;
}
.ca-section .wp-block-columns {
	margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.ca-section .wp-block-buttons {
	gap: 12px;
}
.ca-section .wp-block-button__link {
	border-radius: 999px;
	padding: 14px 30px;
	font-weight: 600;
}
.ca-section .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--global-palette1);
	border: 2px solid var(--global-palette1);
}
.ca-section .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--global-palette1);
	color: #fff;
}

/* ---------- Hero ---------- */
.ca-section.ca-hero {
	padding: 56px 0;
	background: linear-gradient(120deg, #e6f7fe 0%, #f6fbff 50%, var(--ca-pink-tint) 100%);
}
.ca-hero .wp-block-columns {
	gap: 64px;
}
.ca-hero .ca-eyebrow {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ca-pink-strong);
}
.ca-hero h1 {
	margin: 0 0 18px;
	font-size: clamp(36px, 4.5vw, 58px);
	line-height: 1.12;
}
.ca-hero p {
	max-width: 32em;
	font-size: 18px;
}
.ca-hero .wp-block-buttons {
	margin-top: 28px;
}
.ca-hero figure.wp-block-image {
	margin: 0;
}
.ca-hero figure.wp-block-image img {
	display: block;
	width: 100%;
	max-height: 600px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	border-radius: 18px;
	box-shadow: 0 24px 48px rgba(1, 123, 198, 0.18);
}

/* ---------- Selling points ---------- */
.ca-section.ca-usps {
	padding: 26px 0;
	border-bottom: 1px solid var(--global-palette7);
}
.ca-usps .wp-block-column {
	text-align: center;
}
/* Line icons (truck, ruler, palette, return arrow), see :root. */
.ca-usps .wp-block-column::before {
	content: "";
	display: block;
	width: 34px;
	height: 34px;
	margin: 0 auto 10px;
	background: var(--ca-icon-colour);
	-webkit-mask: var(--ca-icon) center / contain no-repeat;
	mask: var(--ca-icon) center / contain no-repeat;
}
.ca-usps .wp-block-column:nth-child(1) {
	--ca-icon-colour: #00a1cf;
	--ca-icon: var(--ca-icon-truck);
}
.ca-usps .wp-block-column:nth-child(2) {
	--ca-icon-colour: #54a706;
	--ca-icon: var(--ca-icon-ruler);
}
.ca-usps .wp-block-column:nth-child(3) {
	--ca-icon-colour: #fa386c;
	--ca-icon: var(--ca-icon-palette);
}
.ca-usps .wp-block-column:nth-child(4) {
	--ca-icon-colour: #8d6dfb;
	--ca-icon: var(--ca-icon-return);
}
.ca-usps h3 {
	margin: 0 0 2px;
	font-family: var(--global-body-font-family, inherit);
	font-size: 16px;
	font-weight: 700;
}
.ca-usps p {
	margin: 0;
	font-size: 14px;
	color: var(--global-palette5);
}
.ca-usps a {
	color: inherit;
}

/* ---------- Shop by occasion ---------- */
.ca-categories ul.products {
	margin-bottom: 0;
}
/* Plain tiles: no card background or shadow (Kadence styles them like product cards). */
.ca-categories ul.products li.product-category,
.ca-categories ul.products li.product-category .product-details {
	background: transparent;
	box-shadow: none;
	padding: 0;
}
.ca-categories li.product-category a {
	display: block;
	text-decoration: none;
}
.ca-categories li.product-category img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 14px;
	transition: opacity 0.2s ease;
}
.ca-categories li.product-category a:hover img {
	opacity: 0.85;
}
.ca-categories ul.products li.product-category .woocommerce-loop-category__title {
	margin: 14px 0 0;
	padding: 0;
	text-align: center;
	font-family: var(--global-heading-font-family, inherit);
	font-size: 21px;
	font-weight: 700;
}
.ca-categories mark.count {
	display: none;
}

/* ---------- Made to measure ---------- */
.ca-measure .wp-block-columns {
	gap: 64px;
}
.ca-measure figure.wp-block-image {
	margin: 0;
	padding: 16px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}
.ca-measure h2 {
	margin-bottom: 16px;
}
.ca-measure .wp-block-buttons {
	margin-top: 24px;
}

/* ---------- Made with care ---------- */
.ca-craft .wp-block-columns {
	gap: 28px;
	margin-bottom: 36px;
}
.ca-craft figure.wp-block-image {
	margin: 0 0 16px;
}
.ca-craft figure.wp-block-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 14px;
}
.ca-craft h3 {
	margin: 0 0 6px;
	font-size: 20px;
}
.ca-craft p {
	margin: 0;
	font-size: 15px;
	color: var(--global-palette5);
}

/* ---------- About ---------- */
.ca-about .ca-wrap {
	max-width: 780px;
	text-align: center;
}
.ca-about h2 {
	margin-bottom: 20px;
}
.ca-about p {
	font-size: 17px;
}

/* ---------- Header: sticky logo row shrinks with the row, with a soft shadow ---------- */
#masthead .custom-logo {
	transition: max-height 0.2s ease;
}
#masthead .kadence-sticky-header.item-is-stuck .custom-logo {
	max-height: 48px;
	width: auto;
}
#masthead .kadence-sticky-header.item-is-stuck {
	box-shadow: 0 6px 18px rgba(30, 43, 58, 0.08);
}

/* ---------- Header: links in the blue top bar ---------- */
.site-top-header-wrap .secondary-navigation a:hover,
.site-top-header-wrap .header-html a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Sale badges and star ratings in the logo's pink ---------- */
.woocommerce span.onsale {
	background: var(--ca-pink-strong);
	color: #fff;
}
.woocommerce .star-rating span::before,
.woocommerce p.stars a {
	color: var(--ca-pink-strong);
}

/* ---------- Footer: light blue band, separated from the page ---------- */
.site-footer .site-middle-footer-wrap,
.site-footer .site-bottom-footer-wrap {
	background: var(--global-palette8);
}
.site-footer .site-middle-footer-wrap {
	border-top: 1px solid var(--global-palette7);
}
.site-footer .site-bottom-footer-wrap {
	border-top: 1px solid var(--global-palette7);
	font-size: 14px;
	color: var(--global-palette5);
}

/* ---------- Category and shop pages ---------- */
/* Title area: brand gradient, breadcrumb, title with the logo-colour bar, short intro. */
.product-archive-hero-section .entry-hero-container-inner {
	background: linear-gradient(120deg, #e6f7fe 0%, #f6fbff 50%, var(--ca-pink-tint) 100%);
}
.product-archive-hero-section .entry-header {
	min-height: 0;
	padding: 34px 0 30px;
	text-align: center;
}
.product-archive-title .kadence-breadcrumbs {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--global-palette5);
}
.product-archive-title .kadence-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}
.product-archive-title .kadence-breadcrumbs a:hover {
	color: var(--global-palette1);
}
.product-archive-title .archive-title {
	margin: 0;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.2;
}
.product-archive-title .archive-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 4px;
	background: var(--ca-rainbow);
}
.product-archive-title .archive-description {
	max-width: 720px;
	margin: 14px auto 0;
	font-size: 16px;
	color: var(--global-palette4);
}
.product-archive-title .archive-description p {
	margin: 0;
}
/* Products start closer to the title area than Kadence's 80px page spacing. */
.archive.woocommerce .content-area {
	margin-top: 32px;
}

/* Occasion links. */
.ca-occasions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 22px;
}
.ca-occasion {
	padding: 8px 18px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 999px;
	background: #fff;
	color: var(--global-palette3);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ca-occasion:hover {
	border-color: var(--global-palette1);
	color: var(--global-palette1);
}
.ca-occasion.is-active {
	border-color: var(--global-palette1);
	background: var(--global-palette1);
	color: #fff;
}

/* Filter bar: attribute dropdowns side by side, chosen filters as removable chips. */
.ca-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--global-palette7);
	border-radius: 14px;
	background: var(--global-palette8);
}
.ca-filter-bar .ca-filter {
	flex: 1 1 180px;
	min-width: 0; /* may shrink below its text width; long text ends in "…" */
	max-width: 240px;
	margin: 0;
}
.ca-filter-bar .ca-filter.widget_layered_nav_filters {
	flex-basis: 100%;
	max-width: none;
}
.ca-filter-bar form {
	margin: 0;
}
.ca-filter-bar select,
.ca-filter-bar .select2-container {
	width: 100% !important;
}
.ca-filter-bar .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: 42px;
	padding: 0 14px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 999px;
	background: #fff;
}
.ca-filter-bar .select2-container .select2-selection--single .select2-selection__rendered {
	flex: 1 1 auto;
	padding: 0 20px 0 0; /* keeps the text and the × clear of the arrow */
	line-height: 1.2;
	font-weight: 600;
	color: var(--global-palette3);
}
.ca-filter-bar .select2-container .select2-selection--single .select2-selection__arrow {
	top: 7px;
	right: 10px;
}
.ca-filter-bar .select2-container .select2-selection--single .select2-selection__clear {
	margin: 0 0 0 6px;
	font-size: 18px;
	color: var(--global-palette5);
}
.select2-container .select2-dropdown {
	overflow: hidden;
	border-color: var(--global-palette7);
	border-radius: 12px;
}
.select2-container .select2-results__option--highlighted[aria-selected],
.select2-container .select2-results__option--highlighted[data-selected] {
	background: var(--global-palette1);
}
/* Same specificity as WooCommerce's own rules for these chips, so ours (loaded later) win. */
.ca-filter-bar .widget_layered_nav_filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ca-filter-bar .widget_layered_nav_filters ul li {
	float: none;
	margin: 0;
	padding: 0;
}
.ca-filter-bar .widget_layered_nav_filters ul li a,
.ca-filter-bar .widget_layered_nav_filters ul li a:hover,
.ca-filter-bar .widget_layered_nav_filters ul li a:focus {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--global-palette1);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.ca-filter-bar .widget_layered_nav_filters ul li a::before,
.ca-filter-bar .widget_layered_nav_filters ul li a:hover::before {
	content: "\00d7";
	margin-right: 6px;
	font-family: inherit;
	color: #fff;
}

/* Result count and sorting. */
.kadence-shop-top-row {
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 0;
	padding-bottom: 20px; /* Kadence: 32px */
}
.kadence-shop-top-row .kadence-shop-top-item {
	margin-bottom: 0;
}
.woocommerce-result-count {
	font-size: 14px;
	color: var(--global-palette5);
}
.woocommerce-ordering select {
	padding: 9px 38px 9px 16px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 999px;
	background-color: #fff;
	font-weight: 600;
	color: var(--global-palette3);
}

/* Page numbers as round buttons. */
.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	border: 0;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers::before,
.woocommerce nav.woocommerce-pagination ul.page-numbers::after {
	display: none; /* old float clearfix; in a flex row it adds two empty gaps */
}
.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}
/* .page-numbers in the selector matches Kadence's own rule, so these (loaded later) win. */
.woocommerce nav.woocommerce-pagination ul li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	margin: 0;
	padding: 0 12px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 999px;
	background: #fff;
	color: var(--global-palette3);
	font-weight: 700;
	line-height: 1;
}
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
	border-color: var(--global-palette1);
	color: var(--global-palette1);
}
.woocommerce nav.woocommerce-pagination ul li .page-numbers.current {
	border-color: var(--global-palette1);
	background: var(--global-palette1);
	color: #fff;
}
.woocommerce nav.woocommerce-pagination ul li .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* ---------- Shop listings everywhere: tidy product cards ---------- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding: 0;
	margin: 2px 0 8px;
}
.woocommerce ul.products li.product .price .amount {
	white-space: nowrap;
}

/* ---------- Product pages ---------- */
.single-product .product-title.product-above .kadence-breadcrumbs,
.single-product .kadence-breadcrumbs {
	font-size: 13px;
	color: var(--global-palette5);
}
.single-product .kadence-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}
.single-product .kadence-breadcrumbs a:hover {
	color: var(--global-palette1);
}

/* Photos: rounded like the cards; the zoom stays inside the corners. */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
	overflow: hidden;
	border-radius: 16px;
}
/* Thumbnails in a plain grid under the photo (Kadence pulls them 32px over the photo, hiding the hem). */
.woocommerce div.product div.images .flex-control-thumbs {
	left: auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	gap: 10px;
	width: 100%;
	max-width: none;
	margin: 12px 0 0;
	transform: none;
}
.woocommerce div.product div.images .flex-control-thumbs li:nth-child(n) {
	width: auto;
	height: auto;
	padding: 0;
	background: transparent;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
	display: block;
	width: 100%;
	border: 2px solid transparent;
	border-radius: 10px;
	opacity: 0.6;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
	border-color: var(--global-palette1);
	opacity: 1;
}

/* Title, rating and price. */
.woocommerce div.product .summary .product_title {
	margin-bottom: 10px;
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.28;
}
.woocommerce div.product .summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}
.woocommerce div.product .summary .woocommerce-product-rating .star-rating {
	margin: 0;
}
.woocommerce div.product .summary .woocommerce-review-link {
	font-size: 14px;
	color: var(--global-palette5);
	text-decoration: none;
}
.woocommerce div.product .summary .woocommerce-review-link:hover {
	color: var(--global-palette1);
	text-decoration: underline;
}
/* Current price first and large; the old price after it, small and grey. */
.woocommerce div.product .summary p.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 0 0 22px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--global-palette7);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--global-palette3);
}
.woocommerce div.product .summary p.price ins {
	order: 1;
	text-decoration: none;
}
.woocommerce div.product .summary p.price del {
	order: 2;
	font-size: 17px;
	font-weight: 600;
	color: var(--global-palette6);
	opacity: 1;
}
.woocommerce div.product .summary .woocommerce-product-details__short-description {
	margin-bottom: 20px;
	font-size: 15px;
	color: var(--global-palette4);
}

/* Options (Advanced Product Fields). */
.single-product .wapf-field-container {
	margin-bottom: 20px;
}
.single-product .wapf-field-label label {
	display: block;
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--global-palette3);
}
.single-product .wapf-field-label abbr.required {
	border: 0;
	color: var(--ca-pink-strong);
	text-decoration: none;
}
.single-product .wapf-field-input select,
.single-product .wapf-field-input input[type="text"],
.single-product .wapf-field-input textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 12px;
	background-color: #fff;
	box-shadow: none;
	font-size: 15px;
	color: var(--global-palette3);
}
.single-product .wapf-field-input select {
	padding-right: 40px;
}
.single-product .wapf-field-input textarea {
	min-height: 96px;
}
.single-product .wapf-field-input select:focus,
.single-product .wapf-field-input input[type="text"]:focus,
.single-product .wapf-field-input textarea:focus {
	border-color: var(--global-palette1);
	box-shadow: 0 0 0 3px rgba(1, 123, 198, 0.15);
	outline: none;
}
.single-product .wapf-field-description {
	margin-top: 8px;
	font-size: 13px;
	color: var(--global-palette5);
}
.single-product .wapf-field-description a {
	color: var(--global-palette1);
	font-weight: 600;
	text-decoration: none;
}
.single-product .wapf-field-description a:hover {
	text-decoration: underline;
}

/* Colour and style swatches (product.js in the site plugin). The dropdown underneath is only hidden:
   it is still what gets submitted, and the browser's "please choose" message points at the swatches. */
.wapf-field-container.has-swatches .wapf-field-input {
	position: relative;
}
.single-product .wapf-field-input select.ca-swatch-select {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	min-height: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
}
.ca-swatch-chosen {
	font-weight: 600;
	color: var(--global-palette4);
}
.ca-swatch-chosen:not(:empty)::before {
	content: ": ";
}
.ca-swatch-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 4px;
}
.ca-swatch-list .ca-swatch,
.ca-swatch-list .ca-swatch:hover,
.ca-swatch-list .ca-swatch:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(30, 43, 58, 0.18);
	color: var(--global-palette3);
	cursor: pointer;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.ca-swatch-list .ca-swatch:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 0 1px var(--global-palette1), 0 4px 10px rgba(1, 123, 198, 0.18);
}
.ca-swatch-list .ca-swatch.is-selected {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--global-palette1);
}
.ca-swatch-list .ca-swatch:focus-visible {
	outline: 2px solid var(--global-palette1);
	outline-offset: 4px;
}
.ca-swatch img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}
.ca-swatch-list .ca-swatch--colour {
	width: 38px;
	height: 38px;
}
.ca-swatch-list .ca-swatch--photo {
	width: 64px;
	height: 64px;
	border-radius: 10px;
}
.ca-swatch-list .ca-swatch--text {
	min-height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}

/* Free tiara with every dress (free-tiara.php): the offer under a dress's price, the note on the
   tiara's own page, and its line in the basket. */
.ca-free-gift {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 4px 0 18px;
	padding: 10px 14px;
	border-radius: 14px;
	background: var(--ca-pink-tint);
	font-size: 14px;
	line-height: 1.5;
	color: var(--global-palette4);
}
.ca-free-gift__image {
	flex: none;
}
.ca-free-gift__image img {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
	background: #fff;
}
.ca-free-gift p {
	margin: 0;
}
.ca-free-gift strong {
	color: var(--ca-pink-strong);
}
.ca-free-gift a {
	color: inherit;
}
.ca-free-gift-note {
	margin: 4px 0 18px;
	padding: 10px 14px;
	border-radius: 14px;
	background: var(--ca-pink-tint);
	font-size: 14px;
}
.ca-free-gift-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--ca-pink-strong);
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	vertical-align: middle;
}
.ca-free-gift-price {
	font-weight: 700;
	color: var(--ca-pink-strong);
}

/* The chosen size's body measurements under the size menu (product.js), from the size chart. */
.ca-size-fit {
	margin-top: 10px;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--global-palette8);
	font-size: 14px;
	color: var(--global-palette4);
}
.ca-size-fit[hidden] {
	display: none;
}
.ca-size-fit__title {
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--global-palette3);
}
.ca-size-fit__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px 12px;
	margin: 0;
}
.ca-size-fit__list dt {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	color: var(--global-palette5);
}
.ca-size-fit__list dd {
	margin: 0;
	font-weight: 700;
	color: var(--global-palette3);
}
.ca-size-fit__list dd span {
	margin-left: 4px;
	font-weight: 400;
	color: var(--global-palette5);
}
@media (max-width: 480px) {
	.ca-size-fit__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Price box from the options plugin: only shown once options add to the price (product.js). */
.single-product .wapf-product-totals:not(.ca-has-extras) {
	display: none !important;
}
.single-product .wapf-product-totals {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1px solid var(--global-palette7);
	border-radius: 12px;
	background: var(--global-palette8);
	font-size: 14px;
	color: var(--global-palette4);
}
.single-product .wapf-product-totals .wapf--inner {
	margin: 0;
	padding: 0;
}
.single-product .wapf-product-totals .wapf--inner > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 2px 0;
	line-height: 1.5;
}
.woocommerce div.product .wapf-product-totals span.price {
	font-size: inherit;
	color: inherit;
}
.single-product .wapf-product-totals .wapf--inner > div:last-child {
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid var(--global-palette7);
	font-size: 16px;
	font-weight: 800;
	color: var(--global-palette3);
}

/* Quantity (− / +) and a large Add to basket button on one row. */
.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 0;
}
.woocommerce div.product form.cart .wapf {
	flex: 1 1 100%;
}
.woocommerce div.product form.cart div.quantity {
	float: none;
	margin: 0;
}
.woocommerce div.product form.cart div.quantity.spinners-added {
	display: inline-flex;
	align-items: center;
	height: 54px;
	padding: 0 6px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 999px;
	background: #fff;
}
.woocommerce div.product form.cart div.quantity.spinners-added input.minus,
.woocommerce div.product form.cart div.quantity.spinners-added input.plus {
	width: 38px;
	height: 38px;
	padding: 0;
	border-radius: 50%;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	color: var(--global-palette3);
}
.woocommerce div.product form.cart div.quantity.spinners-added input.minus:hover,
.woocommerce div.product form.cart div.quantity.spinners-added input.plus:hover {
	background: var(--global-palette8);
	color: var(--global-palette1);
}
.woocommerce div.product form.cart div.quantity.spinners-added .qty {
	width: 36px;
	height: 38px;
	font-size: 16px;
	font-weight: 700;
	color: var(--global-palette3);
}
.woocommerce div.product form.cart .button.single_add_to_cart_button {
	flex: 1 1 200px;
	float: none;
	min-height: 54px;
	margin: 0;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 800;
}

/* Selling points under the button (pattern "Product page: selling points"). */
.ca-product-usps {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
	margin: 22px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--global-palette7);
	border-radius: 14px;
	background: var(--global-palette8);
	list-style: none;
	font-size: 14px;
	line-height: 1.4;
	color: var(--global-palette4);
}
/* Plain text flow (the bold words and the rest stay on one line); the icon sits in the left padding. */
.ca-product-usps li {
	position: relative;
	min-height: 24px;
	margin: 0;
	padding: 2px 0 2px 36px;
}
.ca-product-usps li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	background: var(--ca-icon-colour, var(--global-palette1));
	-webkit-mask: var(--ca-icon, var(--ca-icon-check)) center / contain no-repeat;
	mask: var(--ca-icon, var(--ca-icon-check)) center / contain no-repeat;
}
.ca-product-usps li:nth-child(1) {
	--ca-icon-colour: #00a1cf;
	--ca-icon: var(--ca-icon-truck);
}
.ca-product-usps li:nth-child(2) {
	--ca-icon-colour: #fa386c;
	--ca-icon: var(--ca-icon-clock);
}
.ca-product-usps li:nth-child(3) {
	--ca-icon-colour: #54a706;
	--ca-icon: var(--ca-icon-ruler);
}
.ca-product-usps li:nth-child(4) {
	--ca-icon-colour: #8d6dfb;
	--ca-icon: var(--ca-icon-return);
}
.ca-product-usps strong {
	color: var(--global-palette3);
}
.ca-product-usps a {
	color: var(--global-palette1);
}

/* SKU and categories. */
.woocommerce div.product .product_meta {
	margin-top: 20px;
	font-size: 13px;
	color: var(--global-palette5);
}
.woocommerce div.product .product_meta > span {
	display: block;
	margin-bottom: 4px;
}
.woocommerce div.product .product_meta a {
	color: var(--global-palette4);
}

/* ---------- Product tabs ---------- */
/* Tab names as pills in a soft track, centred; the track scrolls sideways when it doesn't fit. */
.woocommerce div.product .woocommerce-tabs {
	margin-top: 64px;
	border: 0; /* Kadence boxes the tabs on phones */
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	overflow-x: auto;
	margin: 0 auto 36px;
	padding: 5px;
	border: 1px solid var(--global-palette7);
	border-radius: 999px;
	background: var(--global-palette8);
	scrollbar-width: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
	display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	color: var(--global-palette4);
	white-space: nowrap;
	opacity: 1;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--global-palette1);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	background: #fff;
	box-shadow: 0 2px 10px rgba(1, 123, 198, 0.16);
	color: var(--global-palette1);
}
.woocommerce div.product .woocommerce-tabs .panel {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs .panel h3 {
	margin: 0 0 14px;
	font-size: 20px;
}
.woocommerce div.product .woocommerce-tabs .panel .ca-tab-lead {
	max-width: 680px;
	margin: 0 auto 32px;
	font-size: 16px;
	text-align: center;
	color: var(--global-palette4);
}
.woocommerce div.product .woocommerce-tabs .panel .ca-more {
	margin: 28px 0 0;
	font-size: 14px;
	text-align: center;
	color: var(--global-palette5);
}
/* A highlighted line: a tip or a note that matters. */
.woocommerce div.product .woocommerce-tabs .panel .ca-tip {
	margin: 20px 0 0;
	padding: 14px 18px;
	border-left: 4px solid var(--global-palette1);
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	color: var(--global-palette4);
}

/* Details: label and value pairs in two columns. */
.woocommerce div.product table.shop_attributes {
	max-width: none;
	margin: 0;
	border: 0;
}
.woocommerce div.product table.shop_attributes tbody {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 56px;
}
.woocommerce div.product table.shop_attributes tr {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	align-items: baseline;
	border-bottom: 1px solid var(--global-palette7);
}
.woocommerce div.product table.shop_attributes th,
.woocommerce div.product table.shop_attributes td {
	width: auto;
	padding: 14px 0;
	border: 0;
	background: transparent;
	font-style: normal;
	text-align: left;
}
.woocommerce div.product table.shop_attributes th {
	font-size: 14px;
	font-weight: 600;
	color: var(--global-palette5);
}
.woocommerce div.product table.shop_attributes td,
.woocommerce div.product table.shop_attributes td p {
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	font-size: 15px;
	font-weight: 700;
	font-style: normal;
	color: var(--global-palette3);
}
.woocommerce div.product table.shop_attributes td {
	padding-top: 14px;
	padding-bottom: 14px;
}

/* Reviews: a summary card beside the reviews, each review a card, the form below. */
.ca-reviews {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.ca-review-summary {
	position: sticky;
	top: 110px;
	padding: 26px 24px;
	border: 1px solid var(--global-palette7);
	border-radius: 18px;
	background: var(--global-palette8);
	text-align: center;
}
.ca-review-summary .ca-review-score {
	margin: 0;
	font-size: 52px;
	font-weight: 800;
	line-height: 1;
	color: var(--global-palette3);
}
.ca-review-summary .ca-review-score span {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--global-palette5);
}
.woocommerce .ca-review-summary .star-rating {
	float: none;
	margin: 14px auto 6px;
	font-size: 18px;
}
.ca-review-summary .ca-review-count {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--global-palette5);
}
.ca-review-bars {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--global-palette4);
}
.ca-review-bars li {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) 22px;
	align-items: center;
	gap: 10px;
	margin: 7px 0;
	text-align: left;
}
.ca-review-bars__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--global-palette7);
}
.ca-review-bars__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--ca-pink-strong);
}
.ca-review-bars__count {
	text-align: right;
}
.ca-review-summary .button.ca-review-write {
	display: block;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 700;
}
.woocommerce #reviews .woocommerce-Reviews-title {
	margin: 0 0 18px;
	font-size: 22px;
}
.woocommerce #reviews #comments ol.commentlist {
	margin: 0;
	padding: 0;
}
.woocommerce #reviews #comments ol.commentlist li {
	margin: 0 0 14px;
}
.woocommerce #reviews #comments ol.commentlist li .comment_container {
	display: flex;
	gap: 16px;
	padding: 20px 22px;
	border: 1px solid var(--global-palette7);
	border-radius: 16px;
	background: #fff;
}
.ca-review-avatar {
	display: inline-flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 50%;
	background: var(--global-palette1);
	font-size: 16px;
	font-weight: 800;
	color: #fff;
}
/* Deep versions of the logo colours, so the white initials stay readable. */
.ca-review-avatar--1 {
	background: var(--ca-pink-strong);
}
.ca-review-avatar--2 {
	background: #6a4fd1;
}
.ca-review-avatar--3 {
	background: #2e7d32;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating {
	float: none;
	margin: 0 0 6px;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--global-palette5);
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__author {
	font-size: 15px;
	color: var(--global-palette3);
}
/* "(verified owner)" as a small badge. */
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__verified {
	font-size: 0;
	font-style: normal;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__verified::before {
	content: "✓ Verified buyer";
	margin: 0 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e8f5e9;
	font-size: 12px;
	font-weight: 700;
	color: #2e7d32;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text .description p {
	margin: 0 0 6px;
	color: var(--global-palette4);
}
.woocommerce #review_form #respond {
	margin-top: 28px;
	padding: 26px 28px;
	border: 1px solid var(--global-palette7);
	border-radius: 18px;
	background: var(--global-palette8);
}
.woocommerce #review_form #respond .comment-reply-title {
	display: block;
	margin-bottom: 6px;
	font-size: 20px;
	font-weight: 800;
	color: var(--global-palette3);
}
.woocommerce #review_form #respond .comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}
.woocommerce #review_form #respond .comment-form > * {
	grid-column: 1 / -1;
}
.woocommerce #review_form #respond .comment-form > .comment-form-author {
	grid-column: 1;
}
.woocommerce #review_form #respond .comment-form > .comment-form-email {
	grid-column: 2;
}
.woocommerce #review_form #respond .comment-notes {
	font-size: 13px;
	color: var(--global-palette5);
}
.woocommerce #review_form #respond label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--global-palette3);
}
.woocommerce #review_form #respond .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
	color: var(--global-palette4);
}
.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
}
.woocommerce #review_form #respond input[type="text"]:focus,
.woocommerce #review_form #respond input[type="email"]:focus,
.woocommerce #review_form #respond textarea:focus {
	border-color: var(--global-palette1);
	box-shadow: 0 0 0 3px rgba(1, 123, 198, 0.15);
	outline: none;
}
.woocommerce #review_form #respond p.stars a {
	color: var(--ca-pink-strong);
}
.woocommerce #review_form #respond .form-submit input#submit {
	padding: 13px 32px;
	border-radius: 999px;
	font-weight: 700;
}

/* Size Chart: one table per size range (cm, inches in grey), and how to measure. */
.woocommerce div.product .woocommerce-tabs .panel h3 span {
	margin-left: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--global-palette5);
}
.ca-size-table,
.ca-shipping-table {
	margin: 0;
}
.ca-size-table table,
.ca-shipping-table table {
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--global-palette7);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 14px;
	font-size: 14px;
}
.ca-size-table thead th,
.ca-shipping-table thead th {
	padding: 11px 8px;
	border: 0;
	background: var(--global-palette8);
	font-weight: 700;
	text-align: center;
	color: var(--global-palette3);
}
.ca-size-table td,
.ca-shipping-table td {
	padding: 9px 8px;
	border: 0;
	border-top: 1px solid var(--global-palette7);
	font-weight: 700;
	text-align: center;
	color: var(--global-palette3);
}
.ca-size-table th:first-child,
.ca-size-table td:first-child,
.ca-shipping-table th:first-child,
.ca-shipping-table td:first-child {
	padding-left: 16px;
	text-align: left;
}
.ca-size-table tbody tr:hover td {
	background: var(--global-palette8);
}
.ca-size-table .ca-inch {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--global-palette5);
}
.ca-measure {
	margin-top: 40px;
	padding: 28px;
	border-radius: 18px;
	background: var(--global-palette8);
}
.ca-measure .wp-block-columns {
	gap: 36px;
	margin-bottom: 0;
}
.ca-measure figure.wp-block-image {
	margin: 0;
}
.ca-measure figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	background: #fff;
}
.ca-measure-list {
	margin: 0;
	padding-left: 1.1em;
	color: var(--global-palette4);
}
.ca-measure-list li {
	margin: 0 0 8px;
}
.ca-measure-list strong {
	color: var(--global-palette3);
}

/* Delivery Time: three steps, then the shipping methods. */
.woocommerce div.product .woocommerce-tabs .panel .ca-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
	counter-reset: ca-step;
}
.ca-steps li {
	position: relative;
	margin: 0;
	padding: 24px 22px;
	border: 1px solid var(--global-palette7);
	border-radius: 18px;
	background: #fff;
	font-size: 14px;
	color: var(--global-palette4);
	counter-increment: ca-step;
}
.ca-steps li::before {
	content: counter(ca-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--global-palette1);
	font-weight: 800;
	color: #fff;
}
.ca-steps li strong {
	display: block;
	font-size: 17px;
	color: var(--global-palette3);
}
.ca-steps .ca-step-time {
	display: block;
	margin: 2px 0 8px;
	font-size: 22px;
	font-weight: 800;
	color: var(--global-palette1);
}
.ca-shipping-table {
	max-width: 760px;
	margin: 0 auto;
}
.ca-shipping-table td {
	font-weight: 700;
}
.ca-shipping-table td .ca-note {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: var(--global-palette5);
}
.woocommerce div.product .woocommerce-tabs .panel .ca-shipping-table + .ca-tip {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}
.woocommerce div.product .woocommerce-tabs .panel .ca-notes {
	max-width: 760px;
	margin: 20px auto 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--global-palette4);
}
.ca-notes li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 28px;
}
.ca-notes li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 18px;
	height: 18px;
	background: var(--global-palette1);
	-webkit-mask: var(--ca-icon-check) center / contain no-repeat;
	mask: var(--ca-icon-check) center / contain no-repeat;
}

/* Why Choose Us: a card per craft. (Group blocks get an inner container in this theme; the grid goes
   on whichever element holds the cards.) */
.woocommerce div.product .woocommerce-tabs .panel .ca-quality:not(:has(> .wp-block-group__inner-container)),
.woocommerce div.product .woocommerce-tabs .panel .ca-quality > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 20px;
}
.ca-quality .ca-quality-card {
	margin: 0;
	padding: 0 0 20px;
	overflow: hidden;
	border: 1px solid var(--global-palette7);
	border-radius: 18px;
	background: #fff;
}
.ca-quality-card figure.wp-block-image {
	margin: 0;
}
.ca-quality-card figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center top; /* the embroidery photo is "hand made" above, "machine" below */
}
.woocommerce div.product .woocommerce-tabs .panel .ca-quality-card h3 {
	margin: 16px 18px 6px;
	font-size: 17px;
}
.ca-quality-card p {
	margin: 0 18px;
	font-size: 14px;
	color: var(--global-palette4);
}

/* FAQ: questions that open to show the answer. */
.ca-faq {
	max-width: 860px;
	margin: 0 auto;
}
.ca-faq .wp-block-details {
	margin: 0 0 12px;
	overflow: hidden;
	border: 1px solid var(--global-palette7);
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ca-faq .wp-block-details[open] {
	border-color: var(--global-palette1);
	box-shadow: 0 6px 18px rgba(1, 123, 198, 0.1);
}
.ca-faq .wp-block-details summary {
	position: relative;
	padding: 17px 60px 17px 22px;
	font-size: 16px;
	font-weight: 700;
	color: var(--global-palette3);
	list-style: none;
	cursor: pointer;
}
.ca-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}
.ca-faq .wp-block-details summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: var(--global-palette8);
	font-size: 20px;
	line-height: 1;
	color: var(--global-palette1);
	transition: transform 0.2s ease;
}
.ca-faq .wp-block-details[open] summary::after {
	transform: rotate(45deg);
}
.ca-faq .wp-block-details summary:hover {
	color: var(--global-palette1);
}
.ca-faq .wp-block-details > p {
	margin: 0;
	padding: 0 22px 20px;
	font-size: 15px;
	color: var(--global-palette4);
}

/* "You may also like": centred title with the logo-colour bar, like the home page sections. */
.single-product section.related.products,
.single-product section.up-sells {
	margin-top: 64px;
}
.single-product section.related.products > h2,
.single-product section.up-sells > h2 {
	margin-bottom: 28px;
	font-size: clamp(24px, 2.6vw, 32px);
	text-align: center;
}
.single-product section.related.products > h2::after,
.single-product section.up-sells > h2::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 4px;
	background: var(--ca-rainbow);
}

/* ---------- Pages (help centre, basket, account) ---------- */
/* Title area like the category pages: brand gradient, title with the logo-colour bar. */
.page-hero-section .entry-hero-container-inner {
	background: linear-gradient(120deg, #e6f7fe 0%, #f6fbff 50%, var(--ca-pink-tint) 100%);
}
.page-hero-section .entry-header {
	min-height: 0;
	padding: 40px 0 34px;
}
.page-hero-section .entry-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 4px;
	background: var(--ca-rainbow);
}

/* Help pages built from blocks (size chart, colour chart): a lead line, a menu of the page's parts
   and a help box at the end. */
.entry-content .ca-page-lead {
	max-width: 660px;
	margin: 0 auto 22px;
	font-size: 17px;
	text-align: center;
	color: var(--global-palette4);
}
.entry-content .ca-page-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 8px;
	padding: 12px 0;
}
.entry-content .ca-page-nav a {
	padding: 8px 20px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 700;
	color: var(--global-palette3);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.entry-content .ca-page-nav a:hover {
	border-color: var(--global-palette1);
	color: var(--global-palette1);
}
.entry-content .ca-help-box {
	margin-top: 40px;
	padding: 36px 32px;
	border-radius: 18px;
	background: linear-gradient(120deg, #e6f7fe 0%, #f6fbff 50%, var(--ca-pink-tint) 100%);
	text-align: center;
}
.entry-content .ca-help-box h2 {
	margin: 0 0 12px;
	font-size: 26px;
}
.entry-content .ca-help-box p {
	max-width: 640px;
	margin: 0 auto 10px;
	color: var(--global-palette4);
}
.entry-content .ca-help-box .wp-block-buttons {
	justify-content: center;
	gap: 12px;
	margin-top: 22px;
}
.entry-content .ca-help-box .wp-block-button__link {
	padding: 13px 30px;
	border-radius: 999px;
	font-weight: 700;
}
.entry-content .ca-help-box .wp-block-button.is-style-outline .wp-block-button__link {
	border: 2px solid var(--global-palette1);
	background: transparent;
	color: var(--global-palette1);
}
.entry-content .ca-help-box .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--global-palette1);
	color: #fff;
}

/* ---------- How to Pay page (built by 86-payment.php): the steps and notes of the Delivery Time tab ---------- */
.ca-payment-page h2 {
	margin: 36px 0 16px;
	font-size: 24px;
	text-align: center;
}
.entry-content .ca-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ca-step;
}
.entry-content .ca-notes {
	max-width: 640px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	color: var(--global-palette4);
}

/* ---------- Text pages: the policies (87-policies.php) and About pages (88-about.php) ---------- */
.ca-text-page {
	max-width: 780px;
	margin: 0 auto;
}
.ca-text-page .ca-page-nav {
	margin-bottom: 12px;
}
.ca-text-page h2 {
	margin: 40px 0 14px;
	font-size: 22px;
	scroll-margin-top: 100px; /* below the sticky header when opened from the page menu */
}
.ca-text-page .wp-block-list:not(.ca-steps):not(.ca-notes) {
	padding-left: 22px;
}
.ca-text-page .wp-block-list:not(.ca-steps):not(.ca-notes) li {
	margin-bottom: 8px;
}
.ca-text-page .ca-notes {
	max-width: none;
}
.ca-text-page .ca-notes li {
	margin-bottom: 10px;
}
.ca-text-page .ca-shipping-table {
	max-width: none;
	margin: 0 0 16px;
}
.ca-text-page .ca-updated {
	margin-top: 36px;
	font-size: 14px;
	color: var(--global-palette5);
}
/* Three steps (Shipping & Delivery) side by side. */
.entry-content .ca-steps:has(> li:nth-child(3):last-child) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* High Quality Dresses (89-help-pages.php): a card per craft, like the Why Choose Us tab. */
.entry-content .ca-quality:not(:has(> .wp-block-group__inner-container)),
.entry-content .ca-quality > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.entry-content .ca-quality-card h3 {
	margin: 16px 18px 6px;
	font-size: 17px;
}
.ca-text-page .ca-faq {
	max-width: none;
}
.entry-content .ca-contact-email {
	font-size: 20px;
}
/* Two-column tables of text (privacy policy). */
.ca-text-table {
	margin: 0 0 16px;
}
.ca-text-table table {
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--global-palette7);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 14px;
	font-size: 15px;
}
.ca-text-table thead th {
	padding: 11px 14px;
	border: 0;
	background: var(--global-palette8);
	font-weight: 700;
	text-align: left;
	color: var(--global-palette3);
}
.ca-text-table td {
	padding: 10px 14px;
	border: 0;
	border-top: 1px solid var(--global-palette7);
	vertical-align: top;
	color: var(--global-palette4);
	overflow-wrap: anywhere; /* long cookie names */
}
.ca-text-table td:first-child {
	font-weight: 600;
	color: var(--global-palette3);
}

/* Search without results and the "page not found" page: the occasion links and popular dresses. */
.ca-suggest {
	margin-top: 32px;
	text-align: center;
}
.ca-suggest h2,
.ca-suggest-title {
	margin: 0 0 16px;
	font-size: 22px;
	text-align: center;
}
.ca-suggest p {
	color: var(--global-palette4);
}
.ca-suggest-title {
	margin-top: 40px;
}
.woocommerce-no-products-found + .woocommerce-product-search {
	display: flex;
	gap: 8px;
	max-width: 480px;
	margin: 0 auto;
}

/* ---------- Size chart page (built by 83-size-chart.php) ---------- */
.ca-size-page .ca-page-nav {
	margin-bottom: 28px;
}
.ca-size-page h2 {
	margin: 0 0 16px;
	font-size: 24px;
	scroll-margin-top: 100px; /* below the sticky header when opened at #measure */
}
.ca-size-page h2 span {
	margin-left: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--global-palette5);
}
.ca-size-page .wp-block-columns {
	gap: 32px;
}
.ca-size-page .ca-measure {
	margin-top: 48px;
}
.ca-size-page .ca-tip {
	margin: 20px 0 0;
	padding: 14px 18px;
	border-left: 4px solid var(--global-palette1);
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	color: var(--global-palette4);
}

/* ---------- Colour chart page (built by 84-colour-chart.php) ---------- */
/* The fabric menu stays just under the header while scrolling. */
.ca-colour-chart .ca-page-nav {
	position: sticky;
	top: 68px;
	z-index: 5;
	background: var(--global-palette9);
}
.ca-colour-chart .ca-fabric {
	padding: 36px 0 12px;
	border-top: 1px solid var(--global-palette7);
}
.ca-colour-chart .ca-fabric h2 {
	margin: 0 0 4px;
	font-size: 26px;
	scroll-margin-top: 150px; /* header + fabric menu */
}
.ca-colour-chart .ca-fabric h2 span {
	margin-left: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--global-palette5);
}
.ca-colour-chart .ca-fabric-about {
	margin: 0 0 22px;
	color: var(--global-palette4);
}
/* Swatches (a gallery block): square pictures with the colour name under each. */
.ca-colour-chart .wp-block-gallery.has-nested-images.ca-colour-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 22px 16px;
	margin: 0;
}
.ca-colour-chart .wp-block-gallery.has-nested-images.ca-colour-grid figure.wp-block-image {
	width: auto !important; /* WordPress sizes gallery images with an id-strength selector */
	margin: 0 !important;
}
.ca-colour-chart .wp-block-gallery.has-nested-images.ca-colour-grid figure.wp-block-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 0 0 1px rgba(30, 43, 58, 0.08), 0 4px 12px rgba(30, 43, 58, 0.1);
	transition: transform 0.15s ease;
}
.ca-colour-chart .wp-block-gallery.has-nested-images.ca-colour-grid figure.wp-block-image:hover img {
	transform: translateY(-2px);
}
.ca-colour-chart .wp-block-gallery.has-nested-images.ca-colour-grid figure.wp-block-image figcaption {
	position: static;
	max-height: none;
	margin: 0;
	padding: 8px 0 0;
	overflow: visible;
	background: none;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: var(--global-palette3);
	text-shadow: none;
}
.ca-colour-chart .wp-block-gallery.has-nested-images.ca-colour-grid figure.wp-block-image:has(figcaption)::before {
	content: none;
	display: none;
}

/* ---------- Basket (cart page) ---------- */
.woocommerce-cart .cart-summary h2 {
	margin: 0 0 14px;
	font-size: 22px;
}
.woocommerce-cart table.shop_table.cart {
	overflow: hidden;
	border: 1px solid var(--global-palette7);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 18px;
	background: #fff;
}
.woocommerce-cart table.shop_table.cart thead th {
	padding: 14px 12px;
	border: 0;
	background: var(--global-palette8);
	font-size: 13px;
	font-weight: 700;
	color: var(--global-palette5);
}
.woocommerce-cart table.shop_table.cart td {
	padding: 20px 12px;
	border: 0;
	border-top: 1px solid var(--global-palette7);
	vertical-align: middle;
}
.woocommerce-cart table.cart td.product-thumbnail {
	width: 108px;
}
.woocommerce-cart table.cart td.product-thumbnail img {
	width: 84px;
	border-radius: 12px;
}
.woocommerce-cart table.cart td.product-name > a {
	font-weight: 700;
	line-height: 1.4;
	color: var(--global-palette3);
	text-decoration: none;
}
.woocommerce-cart table.cart td.product-name > a:hover {
	color: var(--global-palette1);
}
/* The chosen options (colour, size, measurements) as a small label: value list. */
.woocommerce-cart table.cart td.product-name dl.variation {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 2px 8px;
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.5;
}
.woocommerce-cart table.cart td.product-name dl.variation dt,
.woocommerce-cart table.cart td.product-name dl.variation dd {
	float: none;
	clear: none;
	margin: 0;
	padding: 0;
}
.woocommerce-cart table.cart td.product-name dl.variation dt {
	font-weight: 600;
	color: var(--global-palette5);
}
.woocommerce-cart table.cart td.product-name dl.variation dd,
.woocommerce-cart table.cart td.product-name dl.variation dd p {
	margin: 0;
	color: var(--global-palette4);
}
.woocommerce-cart table.cart td.product-price,
.woocommerce-cart table.cart td.product-subtotal {
	font-weight: 700;
	white-space: nowrap;
	color: var(--global-palette3);
}
.woocommerce-cart table.cart td.product-remove a.remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--global-palette8);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: var(--global-palette5) !important; /* WooCommerce: red !important */
}
.woocommerce-cart table.cart td.product-remove a.remove:hover {
	background: var(--ca-pink-strong);
	color: #fff !important;
}
.woocommerce-cart table.shop_table td .quantity.spinners-added {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 4px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 999px;
	background: #fff;
}
.woocommerce-cart table.shop_table td .quantity.spinners-added input.minus,
.woocommerce-cart table.shop_table td .quantity.spinners-added input.plus {
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50%;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	color: var(--global-palette3);
}
.woocommerce-cart table.shop_table td .quantity.spinners-added input.minus:hover,
.woocommerce-cart table.shop_table td .quantity.spinners-added input.plus:hover {
	background: var(--global-palette8);
	color: var(--global-palette1);
}
.woocommerce-cart table.shop_table td .quantity.spinners-added .qty {
	width: 32px;
	height: 32px;
	font-weight: 700;
	color: var(--global-palette3);
}
.woocommerce-cart table.cart td.actions {
	padding: 16px 12px;
	background: var(--global-palette8);
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
	width: 200px;
	height: 44px;
	margin-right: 8px;
	padding: 0 18px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 999px;
	background: #fff;
}
.woocommerce-cart table.cart td.actions .button {
	height: 44px;
	padding: 0 22px;
	border: 1.5px solid var(--global-palette1);
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	font-weight: 700;
	color: var(--global-palette1);
}
.woocommerce-cart table.cart td.actions .button:hover {
	background: var(--global-palette1);
	color: #fff;
}
.woocommerce-cart table.cart td.actions .button:disabled {
	opacity: 0.45;
}
/* Totals: a card that stays in view, delivery options as tappable rows, a large checkout button. */
.woocommerce-cart .cart-collaterals .cart_totals {
	position: sticky;
	top: 96px;
	padding: 24px;
	border: 1px solid var(--global-palette7);
	border-radius: 18px;
	background: var(--global-palette8);
}
.woocommerce-cart .cart-collaterals .cart_totals h2 {
	margin: 0 0 14px;
	font-size: 22px;
}
/* The totals as rows of label and amount (not a table: the delivery options need the full width). */
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tbody {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0 12px;
	padding: 14px 0;
	border-top: 1px solid var(--global-palette7);
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr:first-child {
	border-top: 0;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: right;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td::before {
	display: none; /* WooCommerce's phone layout repeats the label inside the cell */
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
	font-weight: 600;
	text-align: left;
	color: var(--global-palette4);
}
/* Delivery: the label above, the options across the whole card. */
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping {
	flex-direction: column;
	align-items: stretch;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping th {
	margin-bottom: 10px;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping td {
	width: 100%;
	text-align: left;
}
.woocommerce-cart .cart_totals ul#shipping_method,
.woocommerce-checkout #order_review ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}
.woocommerce-cart .cart_totals ul#shipping_method li,
.woocommerce-checkout #order_review ul#shipping_method li {
	position: relative;
	margin: 0 0 8px;
	padding: 0;
	text-indent: 0;
}
.woocommerce-cart .cart_totals ul#shipping_method li input,
.woocommerce-checkout #order_review ul#shipping_method li input {
	position: absolute;
	top: 50%;
	left: 12px;
	margin: -7px 0 0;
}
.woocommerce-cart .cart_totals ul#shipping_method li label,
.woocommerce-checkout #order_review ul#shipping_method li label {
	display: block;
	flex: 1 1 auto; /* the list item is a flex row: fill it */
	padding: 10px 12px 10px 36px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}
.woocommerce-cart .cart_totals ul#shipping_method li input:checked + label,
.woocommerce-checkout #order_review ul#shipping_method li input:checked + label {
	border-color: var(--global-palette1);
	box-shadow: inset 0 0 0 1px var(--global-palette1);
}
.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--global-palette5);
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total {
	padding-top: 16px;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.order-total td {
	font-size: 20px;
	font-weight: 800;
	color: var(--global-palette3);
}
.woocommerce-cart .wc-proceed-to-checkout {
	padding: 16px 0 0;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	margin: 0;
	padding: 16px 20px;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 800;
}
/* How far the basket is from free UK delivery (site plugin). */
.ca-free-delivery {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--global-palette7);
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
	color: var(--global-palette4);
}
.ca-free-delivery p {
	margin: 0 0 8px;
}
.ca-free-delivery__bar {
	display: block;
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--global-palette7);
}
.ca-free-delivery__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--global-palette1);
}
.ca-free-delivery.is-reached {
	border-color: #c8e6c9;
	background: #e8f5e9;
	color: #1b5e20;
}
.ca-free-delivery.is-reached p::before {
	content: "✓ ";
}
.ca-free-delivery.is-reached .ca-free-delivery__bar span {
	background: #2e7d32;
}
/* Empty basket: a bag icon, a short line and one button. */
.woocommerce-cart .wc-empty-cart-message .cart-empty.woocommerce-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 40px 20px 6px;
	border: 0;
	background: transparent;
	font-size: 24px;
	font-weight: 800;
	text-align: center;
	color: var(--global-palette3);
}
.woocommerce-cart .wc-empty-cart-message .cart-empty.woocommerce-info::before {
	content: "";
	position: static;
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 0 16px;
	background: var(--global-palette1);
	-webkit-mask: var(--ca-icon-bag) center / contain no-repeat;
	mask: var(--ca-icon-bag) center / contain no-repeat;
}
.woocommerce-cart .ca-empty-basket {
	margin: 0 0 22px;
	text-align: center;
	color: var(--global-palette4);
}
.woocommerce-cart .return-to-shop {
	margin: 0 0 40px;
	text-align: center;
}
.woocommerce-cart .return-to-shop .button {
	padding: 14px 32px;
	border-radius: 999px;
	font-weight: 700;
}

/* ---------- Checkout ---------- */
/* "Returning customer?" and "Have a coupon?": light cards instead of blue bars. */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0 0 12px;
	padding: 14px 18px;
	border: 1px solid var(--global-palette7);
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
	color: var(--global-palette4);
}
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
	display: none;
}
.woocommerce-checkout .woocommerce-info a {
	font-weight: 700;
	color: var(--global-palette1);
}
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.woocommerce-form-login {
	margin: 0 0 16px;
	padding: 18px;
	border: 1px solid var(--global-palette7);
	border-radius: 12px;
}
.woocommerce-checkout form.checkout h3 {
	margin: 0 0 16px;
	font-size: 22px;
}
.woocommerce-checkout #customer_details .woocommerce-shipping-fields h3,
.woocommerce-checkout #customer_details .woocommerce-additional-fields h3 {
	margin-top: 28px;
	font-size: 18px;
}
/* Fields: the same rounded boxes as on the product page. */
.woocommerce-checkout form .form-row {
	margin-bottom: 14px;
}
.woocommerce-checkout form .form-row label {
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--global-palette3);
}
.woocommerce-checkout form .form-row label .optional {
	font-weight: 400;
	color: var(--global-palette5);
}
.woocommerce-checkout form .form-row .required {
	color: var(--ca-pink-strong);
	text-decoration: none;
}
.woocommerce-checkout form .form-row .input-text,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row textarea {
	min-height: 46px;
	padding: 10px 14px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	font-size: 15px;
	color: var(--global-palette3);
}
.woocommerce-checkout form .form-row textarea {
	min-height: 96px;
}
.woocommerce-checkout form .form-row .input-text:focus,
.woocommerce-checkout form .form-row select:focus,
.woocommerce-checkout form .form-row textarea:focus {
	border-color: var(--global-palette1);
	box-shadow: 0 0 0 3px rgba(1, 123, 198, 0.15);
	outline: none;
}
/* Errors in the brand pink; a filled-in field just stays as it is (no green outlines). */
.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout form .form-row.woocommerce-invalid select {
	border-color: var(--ca-pink-strong);
}
.woocommerce-checkout form .form-row.woocommerce-validated input.input-text,
.woocommerce-checkout form .form-row.woocommerce-validated select {
	border-color: var(--global-palette7);
}
.woocommerce-checkout form .form-row .checkout-inline-error-message {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--ca-pink-strong);
}
.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error {
	margin: 0 0 20px;
	padding: 16px 20px 16px 44px;
	border: 1px solid #f8c9d8;
	border-left: 4px solid var(--ca-pink-strong);
	border-radius: 12px;
	background: var(--ca-pink-tint);
	font-size: 14px;
	color: var(--global-palette3);
}
.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error::before {
	color: var(--ca-pink-strong);
}
.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error a {
	color: var(--ca-pink-strong);
}
.woocommerce-checkout form .form-row .select2-container .select2-selection--single {
	height: 46px;
	border: 1.5px solid var(--global-palette7);
	border-radius: 12px;
	background: #fff;
}
.woocommerce-checkout form .form-row .select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 14px;
	line-height: 43px;
	color: var(--global-palette3);
}
.woocommerce-checkout form .form-row .select2-container .select2-selection--single .select2-selection__arrow {
	top: 1px;
	right: 8px;
	height: 42px;
}
.woocommerce-checkout #customer_details .woocommerce-account-fields label.checkbox,
.woocommerce-checkout #ship-to-different-address label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	cursor: pointer;
}
.woocommerce-checkout #ship-to-different-address {
	font-size: 17px;
}
/* Order summary: a card with photos, the delivery options and payment. */
.woocommerce-checkout #order_review {
	padding: 22px 24px 24px;
	border: 1px solid var(--global-palette7);
	border-radius: 18px;
	background: var(--global-palette8);
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table thead {
	display: none; /* "Product / Subtotal" says nothing the rows don't */
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0 12px;
	padding: 14px 0;
	border-top: 1px solid var(--global-palette7);
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody tr:first-child {
	padding-top: 0;
	border-top: 0;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tfoot th {
	font-weight: 600;
	color: var(--global-palette4);
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td {
	text-align: right;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	min-height: 76px; /* the 56 × 75 photo */
	padding-left: 68px; /* the photo sits here */
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	color: var(--global-palette3);
}
.woocommerce-checkout .ca-checkout-thumb {
	position: absolute;
	top: 0;
	left: 0;
	width: 56px;
}
.woocommerce-checkout .ca-checkout-thumb img {
	display: block;
	width: 56px;
	height: auto;
	border-radius: 10px;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name .product-quantity {
	font-weight: 600;
	color: var(--global-palette5);
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 2px 8px;
	margin: 6px 0 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dt,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dd,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dd p {
	float: none;
	margin: 0;
	padding: 0;
	color: var(--global-palette5);
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-total {
	font-weight: 700;
	white-space: nowrap;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.shipping {
	flex-direction: column;
	align-items: stretch;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.shipping th {
	margin-bottom: 10px;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.shipping td {
	width: 100%;
	text-align: left;
}
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tr.order-total td {
	font-size: 20px;
	font-weight: 800;
	color: var(--global-palette3);
}
.woocommerce-checkout #payment {
	margin-top: 8px;
	border: 1px solid var(--global-palette7);
	border-radius: 14px;
	background: #fff;
}
.woocommerce-checkout #payment ul.payment_methods {
	padding: 16px 18px;
	border-bottom: 1px solid var(--global-palette7);
}
.woocommerce-checkout #payment ul.payment_methods li label {
	font-weight: 700;
	color: var(--global-palette3);
}
.woocommerce-checkout #payment div.payment_box {
	margin: 10px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--global-palette8);
	font-size: 13px;
	color: var(--global-palette4);
}
.woocommerce-checkout #payment div.payment_box::before {
	display: none; /* WooCommerce's speech-bubble arrow */
}
.woocommerce-checkout #payment div.form-row {
	margin: 0;
	padding: 18px;
}
.woocommerce-checkout .woocommerce-privacy-policy-text p {
	font-size: 13px;
	color: var(--global-palette5);
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row label {
	font-size: 14px;
	font-weight: 600;
}
.woocommerce-checkout #payment #place_order {
	width: 100%;
	margin-top: 8px;
	padding: 16px 20px;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 800;
}

.woocommerce-checkout #payment ul.payment_methods li label .ca-gateway-icon {
	display: inline-flex;
	margin-left: 8px;
	vertical-align: middle;
}
.woocommerce-checkout #payment ul.payment_methods li label .ca-gateway-icon svg {
	width: auto;
	height: 22px;
}

/* ---------- Order received (thank-you page) ---------- */
.woocommerce-order-received .woocommerce-order {
	max-width: 880px;
	margin: 0 auto;
}
.woocommerce-order-received .woocommerce-notice.woocommerce-thankyou-order-received {
	position: relative;
	margin: 0 0 24px;
	padding: 18px 20px 18px 58px;
	border: 1px solid #c8e6c9;
	border-radius: 14px;
	background: #e8f5e9;
	font-size: 17px;
	font-weight: 700;
	color: #1b5e20;
}
/* A green circle with a white tick. */
.woocommerce-order-received .woocommerce-notice.woocommerce-thankyou-order-received::before,
.woocommerce-order-received .woocommerce-notice.woocommerce-thankyou-order-received::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 18px;
	width: 26px;
	height: 26px;
	margin-top: -13px;
}
.woocommerce-order-received .woocommerce-notice.woocommerce-thankyou-order-received::before {
	border-radius: 50%;
	background: #2e7d32;
}
.woocommerce-order-received .woocommerce-notice.woocommerce-thankyou-order-received::after {
	background: #fff;
	-webkit-mask: var(--ca-icon-check) center / 16px no-repeat;
	mask: var(--ca-icon-check) center / 16px no-repeat;
}
/* Order number, date, email, total, payment method as small cards. */
.woocommerce-order-received ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}
.woocommerce-order-received ul.woocommerce-order-overview::before,
.woocommerce-order-received ul.woocommerce-order-overview::after {
	display: none;
}
.woocommerce-order-received ul.woocommerce-order-overview li {
	float: none;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--global-palette7);
	border-radius: 12px;
	background: var(--global-palette8);
	font-size: 12px;
	line-height: 1.4;
	text-transform: none;
	color: var(--global-palette5);
}
.woocommerce-order-received ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	overflow-wrap: anywhere;
	color: var(--global-palette3);
}
/* PayPal: what to send, where to and with which note (site plugin). */
.ca-pay-box {
	margin: 0 0 32px;
	padding: 26px 28px;
	border: 2px solid var(--global-palette1);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(1, 123, 198, 0.12);
}
.ca-pay-box h2 {
	margin: 0 0 8px;
	font-size: 24px;
}
.ca-pay-box .ca-pay-box__lead {
	margin: 0 0 18px;
	color: var(--global-palette4);
}
.ca-pay-box .ca-pay-box__details {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
}
.ca-pay-box .ca-pay-box__details > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 16px;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--global-palette8);
}
.ca-pay-box .ca-pay-box__details dt {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--global-palette5);
}
.ca-pay-box .ca-pay-box__details dd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	font-size: 17px;
	color: var(--global-palette3);
	overflow-wrap: anywhere;
}
.ca-pay-box .ca-pay-box__currency {
	font-size: 13px;
	color: var(--global-palette5);
}
.ca-pay-box .ca-copy,
.ca-pay-box .ca-copy:hover,
.ca-pay-box .ca-copy:focus {
	padding: 4px 12px;
	border: 1.5px solid var(--global-palette1);
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--global-palette1);
	cursor: pointer;
}
.ca-pay-box .ca-copy:hover {
	background: var(--global-palette1);
	color: #fff;
}
.ca-pay-box .ca-pay-box__steps {
	margin: 0 0 14px;
	padding-left: 1.3em;
	font-size: 15px;
	color: var(--global-palette4);
}
.ca-pay-box .ca-pay-box__steps li {
	margin-bottom: 4px;
}
.ca-pay-box .ca-pay-box__note p {
	margin: 0;
	font-size: 14px;
	color: var(--global-palette5);
}
/* Order details and addresses as cards. */
.woocommerce-order-received .woocommerce-order-details h2,
.woocommerce-order-received .woocommerce-customer-details h2 {
	margin: 0 0 14px;
	font-size: 20px;
}
.woocommerce-order-received table.woocommerce-table--order-details {
	overflow: hidden;
	border: 1px solid var(--global-palette7);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 14px;
}
.woocommerce-order-received table.woocommerce-table--order-details th,
.woocommerce-order-received table.woocommerce-table--order-details td {
	padding: 12px 16px;
	border: 0;
	border-top: 1px solid var(--global-palette7);
	background: transparent;
}
.woocommerce-order-received table.woocommerce-table--order-details thead th {
	border-top: 0;
	background: var(--global-palette8);
	font-size: 13px;
	color: var(--global-palette5);
}
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
	font-size: 17px;
	font-weight: 800;
	color: var(--global-palette3);
}
.woocommerce-order-received table.woocommerce-table--order-details dl.variation {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--global-palette5);
}
.woocommerce-order-received .woocommerce-customer-details address {
	padding: 16px 18px;
	border: 1px solid var(--global-palette7);
	border-radius: 14px;
	font-style: normal;
}

/* ---------- Phones and tablets ---------- */
@media (max-width: 781px) {
	.ca-section {
		padding: 44px 0;
	}
	.ca-section.ca-hero {
		padding: 32px 0 44px;
	}
	.ca-hero .wp-block-columns,
	.ca-measure .wp-block-columns,
	.ca-craft .wp-block-columns {
		gap: 28px;
	}
	.ca-hero figure.wp-block-image img {
		max-height: 420px;
	}
	.ca-usps .wp-block-columns {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}
	.ca-craft .wp-block-columns {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.ca-categories ul.products li.product-category .woocommerce-loop-category__title {
		font-size: 16px;
	}
	/* Category pages: a compact title area, occasions scrolling sideways, two filters per row and
	   the result count beside the sorting, so the first dresses show on the first screen. */
	.product-archive-hero-section .entry-header {
		padding: 20px 0 18px;
	}
	.product-archive-title .kadence-breadcrumbs {
		margin-bottom: 6px;
		font-size: 12px;
	}
	.product-archive-title .archive-title {
		font-size: 28px;
	}
	.product-archive-title .archive-title::after {
		margin-top: 10px;
	}
	.product-archive-title .archive-description {
		margin-top: 10px;
		font-size: 15px;
		line-height: 1.6;
	}
	.archive.woocommerce .content-area {
		margin-top: 18px;
	}
	.ca-occasions {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 8px;
		overflow-x: auto;
		margin: 0 calc(-1 * var(--global-content-edge-padding, 1.5rem)) 14px;
		padding: 0 var(--global-content-edge-padding, 1.5rem) 2px;
		scrollbar-width: none;
	}
	.ca-occasions::-webkit-scrollbar {
		display: none;
	}
	.ca-occasion {
		padding: 6px 14px;
		font-size: 13px;
	}
	.ca-filter-bar {
		gap: 8px;
		margin-bottom: 14px;
		padding: 10px;
	}
	.ca-filter-bar .ca-filter {
		flex: 1 1 calc(50% - 4px);
		max-width: none;
	}
	.ca-filter-bar .select2-container .select2-selection--single {
		height: 38px;
		padding: 0 12px;
	}
	.ca-filter-bar .select2-container .select2-selection--single .select2-selection__rendered {
		font-size: 14px;
	}
	.ca-filter-bar .select2-container .select2-selection--single .select2-selection__arrow {
		top: 5px;
		right: 8px;
	}
	.kadence-shop-top-row {
		flex-wrap: nowrap;
		gap: 12px;
		padding-bottom: 14px;
	}
	.kadence-shop-top-row .kadence-woo-results-count {
		flex: 1 1 0;
		min-width: 0;
	}
	.woocommerce-result-count {
		margin: 0;
		font-size: 13px;
		line-height: 1.4;
	}
	.woocommerce-ordering select {
		padding: 7px 32px 7px 14px;
		font-size: 13px;
	}
	/* Two narrow product cards per row: less padding, smaller text, rating on its own line. */
	.woocommerce ul.products li.product .product-details {
		padding: 10px 10px 14px;
	}
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px;
		line-height: 1.4;
	}
	.woocommerce ul.products li.product .price {
		font-size: 14px;
	}
	.woocommerce nav.woocommerce-pagination ul {
		gap: 4px;
	}
	.woocommerce nav.woocommerce-pagination ul li .page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0 8px;
		font-size: 14px;
	}
	.woocommerce nav.woocommerce-pagination ul li .page-numbers.dots {
		min-width: 20px;
		padding: 0;
	}
	/* Kadence keeps room beside the price for the stars; here they sit on their own line. */
	.woocommerce ul.products li.product .star-rating ~ .price {
		padding-right: 0;
	}
	/* Product pages: one-line breadcrumb, smaller title and price, quantity and button side by side,
	   one selling point per line. */
	.single-product .kadence-breadcrumb-container {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	.woocommerce div.product .summary .product_title {
		font-size: 22px;
	}
	.woocommerce div.product form.cart .button.single_add_to_cart_button {
		flex: 1 1 0;
		min-width: 0;
		padding: 0 16px;
	}
	.woocommerce div.product .summary p.price {
		font-size: 26px;
	}
	.ca-product-usps {
		grid-template-columns: 1fr;
	}
	/* Product tabs: the pill track scrolls, everything else in one column. */
	.woocommerce div.product .woocommerce-tabs {
		margin-top: 40px;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs {
		margin-bottom: 24px;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		padding: 9px 16px;
		font-size: 14px;
	}
	.woocommerce div.product table.shop_attributes tbody {
		grid-template-columns: minmax(0, 1fr);
	}
	.woocommerce div.product table.shop_attributes tr {
		grid-template-columns: 140px minmax(0, 1fr);
	}
	.ca-reviews {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
	.ca-review-summary {
		position: static;
	}
	.woocommerce #reviews #comments ol.commentlist li .comment_container {
		padding: 16px;
	}
	.woocommerce #review_form #respond {
		padding: 20px 18px;
	}
	.woocommerce #review_form #respond .comment-form > .comment-form-author,
	.woocommerce #review_form #respond .comment-form > .comment-form-email {
		grid-column: 1 / -1;
	}
	.ca-size-table table {
		font-size: 13px;
	}
	.ca-size-table th:first-child,
	.ca-size-table td:first-child {
		width: 76px; /* "Child 14" on one line; the measurements share the rest */
		padding-left: 10px;
		white-space: nowrap;
	}
	.ca-size-table thead th {
		padding-right: 4px;
		padding-left: 4px;
		font-size: 12px;
		overflow-wrap: normal; /* "Hollow to floor" wraps between words, never inside one */
		word-break: normal;
	}
	.ca-measure {
		padding: 18px;
	}
	.woocommerce div.product .woocommerce-tabs .panel .ca-steps,
	.entry-content .ca-steps,
	.entry-content .ca-steps:has(> li:nth-child(3):last-child) {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
	.entry-content .ca-quality:not(:has(> .wp-block-group__inner-container)),
	.entry-content .ca-quality > .wp-block-group__inner-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.entry-content .ca-quality-card h3 {
		margin: 12px 12px 4px;
		font-size: 15px;
	}
	.ca-steps li {
		padding: 16px 18px 16px 66px; /* the number sits in the left padding */
	}
	.ca-steps li::before {
		position: absolute;
		top: 16px;
		left: 18px;
		margin: 0;
	}
	.ca-steps .ca-step-time {
		margin-bottom: 4px;
		font-size: 18px;
	}
	.woocommerce div.product .woocommerce-tabs .panel .ca-quality:not(:has(> .wp-block-group__inner-container)),
	.woocommerce div.product .woocommerce-tabs .panel .ca-quality > .wp-block-group__inner-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.woocommerce div.product .woocommerce-tabs .panel .ca-quality-card h3 {
		margin: 12px 12px 4px;
		font-size: 15px;
	}
	.ca-quality-card p {
		margin: 0 12px;
		font-size: 13px;
	}
	.ca-faq .wp-block-details summary {
		padding: 15px 54px 15px 16px;
		font-size: 15px;
	}
	.ca-faq .wp-block-details > p {
		padding: 0 16px 16px;
	}
	/* Pages: smaller title area; page menus scroll sideways. Colour chart: smaller swatches. */
	.page-hero-section .entry-header {
		padding: 26px 0 22px;
	}
	.entry-content .ca-page-lead {
		font-size: 15px;
	}
	.entry-content .ca-page-nav {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.entry-content .ca-page-nav::-webkit-scrollbar {
		display: none;
	}
	.entry-content .ca-page-nav a {
		flex: 0 0 auto;
		padding: 7px 16px;
		font-size: 13px;
	}
	.entry-content .ca-help-box {
		padding: 26px 18px;
	}
	.ca-size-page h2 {
		font-size: 21px;
	}
	.ca-text-page h2 {
		margin-top: 32px;
		font-size: 20px;
	}
	.ca-text-table td,
	.ca-text-table thead th {
		padding: 9px 10px;
		font-size: 14px;
	}
	.ca-colour-chart .ca-page-nav {
		top: 64px; /* the phone header is a little lower */
	}
	.ca-colour-chart .ca-fabric {
		padding-top: 28px;
	}
	.ca-colour-chart .ca-fabric h2 {
		font-size: 22px;
	}
	.ca-colour-chart .wp-block-gallery.has-nested-images.ca-colour-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px 10px;
	}
	.ca-colour-chart .wp-block-gallery.has-nested-images.ca-colour-grid figure.wp-block-image figcaption {
		font-size: 12px;
	}
	.woocommerce ul.products li.product .star-rating {
		float: none;
		margin: 0 0 6px;
	}
}

/* Basket on phones (WooCommerce switches the table to stacked cells below 769px): each item as a
   card – photo, name and options, × in the corner, quantity and subtotal underneath. */
@media (max-width: 768px) {
	/* Blocks, not a table, so the item cards can't push it wider than the screen. */
	.woocommerce-cart table.shop_table.cart,
	.woocommerce-cart table.shop_table.cart tbody {
		display: block;
		width: 100%;
	}
	.woocommerce-cart table.shop_table.cart tr.cart_item {
		position: relative;
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr) auto;
		grid-template-areas: "thumb name name" "thumb qty total";
		gap: 12px 14px;
		padding: 16px;
		border-top: 1px solid var(--global-palette7);
	}
	.woocommerce-cart table.shop_table.cart tr.cart_item:first-child {
		border-top: 0;
	}
	.woocommerce-cart table.shop_table.cart tr.cart_item td {
		display: block;
		padding: 0;
		border: 0;
		background: transparent;
		text-align: left !important; /* WooCommerce right-aligns stacked cells with !important */
	}
	.woocommerce-cart table.shop_table.cart tr.cart_item td::before {
		display: none;
	}
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail {
		display: block; /* WooCommerce hides the photo on phones */
		grid-area: thumb;
		width: auto;
	}
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail img {
		width: 76px;
	}
	.woocommerce-cart table.cart tr.cart_item td.product-name {
		grid-area: name;
		padding-right: 36px; /* room for the × */
	}
	.woocommerce-cart table.cart tr.cart_item td.product-remove {
		position: absolute;
		top: 14px;
		right: 14px;
	}
	.woocommerce-cart table.cart tr.cart_item td.product-price {
		display: none; /* the subtotal says it */
	}
	.woocommerce-cart table.cart tr.cart_item td.product-quantity {
		grid-area: qty;
		align-self: center;
	}
	.woocommerce-cart table.cart tr.cart_item td.product-subtotal {
		grid-area: total;
		align-self: center;
		font-size: 16px;
	}
	/* Options as "Label: value" lines (two columns are too narrow here). */
	.woocommerce-cart table.cart td.product-name dl.variation {
		display: block;
		font-size: 12px;
	}
	.woocommerce-cart table.cart td.product-name dl.variation dt,
	.woocommerce-cart table.cart td.product-name dl.variation dd,
	.woocommerce-cart table.cart td.product-name dl.variation dd p {
		display: inline;
	}
	.woocommerce-cart table.cart td.product-name dl.variation dd::after {
		content: "\A";
		white-space: pre;
	}
	.woocommerce-cart table.cart td.actions {
		display: block;
		padding: 16px;
	}
	.woocommerce-cart table.cart td.actions::before {
		display: none;
	}
	.woocommerce-cart table.cart td.actions .coupon {
		display: flex;
		gap: 8px;
		margin: 0 0 10px;
		padding: 0;
	}
	/* WooCommerce sizes the coupon box and button at 48% each; here they share one row. */
	.woocommerce-cart table.cart td.actions .coupon .input-text {
		flex: 1 1 0;
		min-width: 0;
		width: auto !important;
		margin: 0;
	}
	.woocommerce-cart table.cart td.actions .coupon .button {
		flex: 0 0 auto;
		float: none !important;
		width: auto !important;
		white-space: nowrap;
	}
	.woocommerce-cart table.cart td.actions .button {
		padding: 0 16px;
		font-size: 14px;
	}
	.woocommerce-cart table.cart td.actions > .button {
		float: none !important;
		width: 100% !important;
	}
	.woocommerce-cart .cart-collaterals .cart_totals {
		position: static;
		margin-top: 20px;
		padding: 20px 18px;
	}
	.woocommerce-cart .cart-collaterals .cart_totals table.shop_table tr.shipping td {
		text-align: left !important;
	}
	/* Checkout: the order summary card a little tighter, options as "Label: value" lines. */
	.woocommerce-checkout #order_review {
		padding: 18px 16px;
	}
	.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation {
		display: block;
	}
	.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dt,
	.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dd,
	.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dd p {
		display: inline;
	}
	.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td.product-name dl.variation dd::after {
		content: "\A";
		white-space: pre;
	}
}
