/* Strips category page (Todor 02.11.2026; mock-ups redesign-couk/mockup/cat-final-*.jpg). Loaded only on that page. */

/* the theme's frame: its content column made room for a sidebar - full width now, no sidebar */
body.cw-rp-cat .archive > .container,
body.cw-rp-cat .archive {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
body.cw-rp-cat .archive > .container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.cw-rp-cat aside#secondary {
	display: none !important;
}

.cwcat {
	padding: 4px 0 18px;
	font-family: 'Montserrat', sans-serif;
	color: #333;
	text-align: left;
}
.cwcat * {
	box-sizing: border-box;
}
.cwcat h1.cwcat-h1 {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 30px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: #111 !important;
	text-transform: none !important;
	letter-spacing: -.01em !important;
	text-align: left !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
.cwcat h1.cwcat-h1::before,
.cwcat h1.cwcat-h1::after {
	display: none !important;
}
.cwcat .cwcat-lead {
	max-width: 70ch;
	margin: 0 0 16px !important;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
}

/* the four promises */
.cwcat ul.cwcat-promises {
	display: grid;
	grid-template-columns: repeat(3, max-content);
	justify-content: space-between;
	gap: 10px 24px;
	margin: 0 0 20px !important;
	padding: 13px 18px !important;
	list-style: none !important;
	background: #f5f7fa;
	border-radius: 12px;
}
.cwcat ul.cwcat-promises li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: none !important;
	font-size: 13.5px;
	line-height: 1.35;
	color: #333;
}
.cwcat ul.cwcat-promises li::before {
	display: none !important;
}
.cwcat ul.cwcat-promises svg {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #004681;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.cwcat ul.cwcat-promises b {
	font-weight: 600;
	color: #1a1d23;
}

/* the buttons that narrow the list */
.cwcat .cwcat-chips {
	display: flex;
	gap: 8px;
	margin: 0 0 24px;
	padding: 2px 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.cwcat .cwcat-chips::-webkit-scrollbar {
	display: none;
}
.cwcat button.cwcat-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	height: 38px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #d0d5dd !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #1a1d23 !important;
	white-space: nowrap;
	cursor: pointer;
}
.cwcat button.cwcat-chip.on {
	border-color: #004681 !important;
	background: #004681 !important;
	color: #fff !important;
}
.cwcat button.cwcat-chip small {
	margin-left: 6px;
	font-size: 12.5px;
	font-weight: 500;
	opacity: .8;
}
.cwcat button.cwcat-chip:focus-visible {
	outline: 2px solid #1484c9;
	outline-offset: 2px;
}

/* the cards: the product page's card look, rows lined up across a row with subgrid */
.cwcat ul.cwcat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 28px;
	row-gap: 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.cwcat li.cwcat-card {
	display: grid;
	grid-row: span 5;
	grid-template-rows: subgrid;
	row-gap: 0;
	min-width: 0;
	margin: 0 0 38px !important;
	padding: 0 !important;
	list-style: none !important;
	background: none !important;
}
.cwcat li.cwcat-card::before {
	display: none !important;
}
.cwcat li.cwcat-card[hidden] {
	display: none !important;
}
@supports not (grid-template-rows: subgrid) {
	.cwcat li.cwcat-card {
		display: flex;
		flex-direction: column;
	}
	.cwcat li.cwcat-card .cwcat-btn {
		margin-top: auto !important;
	}
}
.cwcat a.cwcat-media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	margin: 0 0 16px;
	overflow: hidden;
	background: #f5f7fa;
	border-radius: 14px;
}
.cwcat a.cwcat-media img {
	position: absolute;
	top: 7%;
	left: 7%;
	width: 86% !important;
	height: 86% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.cwcat .cwcat-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #fde8ec;
	color: #c8102e;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
}
.cwcat a.cwcat-name {
	display: block;
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #1a1d23 !important;
	text-decoration: none !important;
}
.cwcat .cwcat-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
}
.cwcat .cwcat-price .now {
	font-size: 17px;
	font-weight: 600;
	color: #f42147;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.cwcat .cwcat-price .was {
	font-size: 13px;
	font-weight: 500;
	color: #9aa1ab;
	text-decoration: line-through;
}
/* the theme paints amounts in its own colour and size: inside the cards they follow the line they sit in */
.cwcat .cwcat-price .woocommerce-Price-amount,
.cwcat .cwcat-price .woocommerce-Price-amount bdi,
.cwcat .cwcat-per .woocommerce-Price-amount,
.cwcat .cwcat-per .woocommerce-Price-amount bdi {
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	text-decoration: inherit;
}
.cwcat .cwcat-per {
	min-height: 1.3em;
	margin: 5px 0 16px;
	font-size: 12.5px;
	line-height: 1.3;
	color: #6b7280;
}
.cwcat li.cwcat-card .cwcat-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	align-self: end;
	width: 100% !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 10px !important;
	border: 1px solid #004681 !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #004681 !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: .01em !important;
	text-transform: none !important;
	text-decoration: none !important;
	cursor: pointer;
}
.cwcat li.cwcat-card .cwcat-btn svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.cwcat li.cwcat-card .cwcat-btn.off {
	border-color: #eef0f3 !important;
	background: #eef0f3 !important;
	color: #8a9099 !important;
	cursor: default;
}
.cwcat li.cwcat-card .cwcat-btn.cwrp-adding {
	opacity: .7;
}
.cwcat li.cwcat-card .cwcat-btn.cwrp-added {
	background: #004681 !important;
	color: #fff !important;
	opacity: 1;
}
.cwcat li.cwcat-card .cwcat-btn.cwrp-added svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}
/* WooCommerce adds a "View cart" link and the theme an "ADDED" box after an add: the side cart opens instead */
.cwcat li.cwcat-card .added_to_cart {
	display: none !important;
}
.cwcat li.cwcat-card .cwcat-btn.added::before,
.cwcat li.cwcat-card .cwcat-btn.added::after {
	content: none !important;
	display: none !important;
}
@media (hover: hover) {
	.cwcat li.cwcat-card .cwcat-btn:not(.off):hover {
		background: #004681 !important;
		color: #fff !important;
	}
}

/* below the products: which to choose, about, questions */
.cwcat .cwcat-more {
	margin: 10px 0 0;
	padding: 28px 0 0;
	border-top: 1px solid #e5e7eb;
}
.cwcat .cwcat-more h2 {
	margin: 0 0 12px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-align: left !important;
	color: #111 !important;
}
.cwcat .cwcat-more h2::before,
.cwcat .cwcat-more h2::after {
	display: none !important;
}
.cwcat .cwcat-guide {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 30px;
}
.cwcat .cwcat-guide > div {
	padding: 14px 16px;
	border-radius: 12px;
	background: #f5f7fa;
}
.cwcat .cwcat-guide b {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}
.cwcat .cwcat-guide a {
	display: block;
	margin: 0 0 6px;
	font-size: 13.5px;
	line-height: 1.35;
	color: #004681 !important;
	text-decoration: none !important;
}
.cwcat .cwcat-guide a:hover {
	text-decoration: underline !important;
}
.cwcat .cwcat-more > p {
	max-width: 820px;
	margin: 0 0 24px !important;
	font-size: 14.5px;
	line-height: 1.6;
}
.cwcat .cwcat-faq {
	max-width: 820px;
	margin: 0 0 30px;
	border-top: 1px solid #e5e7eb;
}
.cwcat .cwcat-faq details {
	border-bottom: 1px solid #e5e7eb;
}
.cwcat .cwcat-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 15px 2px;
	list-style: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	color: #1a1d23;
}
.cwcat .cwcat-faq summary::-webkit-details-marker {
	display: none;
}
.cwcat .cwcat-faq summary::after {
	content: '+';
	flex: 0 0 auto;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: #004681;
}
.cwcat .cwcat-faq details[open] summary::after {
	content: '\2212';
}
.cwcat .cwcat-faq details p {
	margin: 0 !important;
	padding: 0 2px 16px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #333;
}

@media (min-width: 768px) and (max-width: 1100px) {
	.cwcat ul.cwcat-promises {
		grid-template-columns: repeat(2, max-content);
		justify-content: start;
		column-gap: 40px;
	}
	.cwcat ul.cwcat-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.cwcat .cwcat-guide {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.cwcat {
		padding-top: 0;
	}
	.cwcat h1.cwcat-h1 {
		font-size: 24px !important;
		margin-bottom: 4px !important;
	}
	.cwcat .cwcat-lead {
		margin-bottom: 12px !important;
		font-size: 14px;
	}
	.cwcat ul.cwcat-promises {
		grid-template-columns: 1fr 1fr;
		gap: 9px 12px;
		margin-bottom: 14px !important;
		padding: 11px 12px !important;
	}
	.cwcat ul.cwcat-promises li {
		align-items: flex-start;
		font-size: 12px;
		line-height: 1.3;
	}
	.cwcat ul.cwcat-promises svg {
		flex-basis: 18px;
		width: 18px;
		height: 18px;
	}
	.cwcat .cwcat-chips {
		margin: 0 -10px 16px;
		padding: 2px 10px;
	}
	.cwcat button.cwcat-chip {
		height: 36px !important;
		padding: 0 14px !important;
		font-size: 13.5px !important;
	}
	.cwcat ul.cwcat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 14px;
	}
	.cwcat li.cwcat-card {
		margin-bottom: 26px !important;
	}
	.cwcat a.cwcat-media {
		margin-bottom: 10px;
		border-radius: 12px;
	}
	.cwcat .cwcat-tag {
		top: 8px;
		left: 8px;
		padding: 8px 12px;
		font-size: 17px;
	}
	.cwcat a.cwcat-name {
		font-size: 14px;
	}
	.cwcat .cwcat-price .now {
		font-size: 16px;
	}
	.cwcat .cwcat-price .was {
		font-size: 12.5px;
	}
	.cwcat .cwcat-per {
		margin-bottom: 12px;
		font-size: 12px;
	}
	.cwcat li.cwcat-card .cwcat-btn {
		height: 40px !important;
		font-size: 13px !important;
	}
	.cwcat .cwcat-more h2 {
		font-size: 18px !important;
	}
	.cwcat .cwcat-guide {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.cwcat .cwcat-guide > div {
		padding: 16px 18px;
	}
	.cwcat .cwcat-guide b {
		margin-bottom: 10px;
		font-size: 18px;
	}
	.cwcat .cwcat-guide a {
		margin-bottom: 10px;
		font-size: 16px;
	}
	.cwcat .cwcat-faq summary {
		font-size: 14px;
	}
}

/* crestwhite.com (Todor 03.11.2026): the delivery sentence on top of the promise box - "Tracked delivery to Ireland in
   2 business days with An Post", all bold, + a small grey "change country" with the real country list lying on it.
   contain:inline-size keeps the long sentence out of the column sizing (the columns stay where they are). */
.cwcat ul.cwcat-promises li.cwcat-to {
	grid-column: 1 / -1;
	contain: inline-size;
	padding-bottom: 12px !important;
	border-bottom: 1px solid #dde2e8;
	font-size: 14.5px;
	line-height: 1.55;
}
.cwcat ul.cwcat-promises li.cwcat-to .cwcat-dl-t {
	font-weight: 600;
	color: #1a1d23;
}
.cwcat .cwcat-chg {
	position: relative;
	display: inline-block;
	font-size: 13px;
	font-weight: 400;
	color: #6b7280;
	text-decoration: underline;
	text-decoration-color: #a3a9b3;
	text-underline-offset: 2px;
	white-space: nowrap;
	cursor: pointer;
}
.cwcat .cwcat-chg:hover {
	color: #1a1d23;
}
.cwcat .cwcat-chg:focus-within {
	outline: 2px solid #1484c9;
	outline-offset: 2px;
	border-radius: 2px;
}
.cwcat .cwcat-chg select.cwc-pick {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}
@media (max-width: 767px) {
	.cwcat ul.cwcat-promises li.cwcat-to {
		font-size: 13.5px;
		line-height: 1.6;
	}
	.cwcat ul.cwcat-promises li.cwcat-to svg {
		margin-top: 3px;
	}
}

/* home page "Best sellers" (Todor 03.11.2026): the category cards. Desktop: one row, 4 at a time (the category's card size),
   round arrows move it (preview.js); tablets 3 at a time; phones keep 2 per row, all six */
.cwhome-bs {
	clear: both;
	padding: 34px 0 10px;
}
.cwhome-bs-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
}
.cwhome-bs-head h2 {
	margin: 0 !important;
	font: 600 24px/1.25 Montserrat, sans-serif !important;
	color: #1a1d23 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
.cwhome-bs-head a {
	font: 500 15px Montserrat, sans-serif;
	color: #004681;
	text-decoration: none;
	white-space: nowrap;
}
.cwhome-bs .cwcat {
	position: relative;
	padding: 0 !important;
	max-width: none !important;
}
.cwhome-bs button.cwhome-arr,
.cwhome-bs button.cwhome-arr[hidden] {
	display: none !important;
}
@media (min-width: 768px) {
	/* the 4px padding (taken back by the margin) keeps the focus rings inside the scrolling row */
	.cwhome-bs .cwcat ul.cwcat-grid {
		grid-template-columns: none !important;
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - 84px) / 4);
		column-gap: 28px;
		margin: -4px !important;
		padding: 4px !important;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 4px;
		scrollbar-width: none;
	}
	.cwhome-bs .cwcat ul.cwcat-grid::-webkit-scrollbar {
		display: none;
	}
	.cwhome-bs .cwcat li.cwcat-card {
		scroll-snap-align: start;
	}
	.cwhome-bs button.cwhome-arr {
		position: absolute;
		top: 30%;
		z-index: 3;
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 46px !important;
		height: 46px !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #d5dae1 !important;
		border-radius: 50% !important;
		background: #fff !important;
		color: #004681 !important;
		box-shadow: 0 4px 14px rgba(16, 24, 40, .14) !important;
		cursor: pointer;
	}
	.cwhome-bs button.cwhome-prev {
		left: -8px;
	}
	.cwhome-bs button.cwhome-next {
		right: -8px;
	}
	.cwhome-bs button.cwhome-arr svg {
		width: 20px;
		height: 20px;
		fill: none;
		stroke: currentColor;
		stroke-width: 2.4;
		stroke-linecap: round;
		stroke-linejoin: round;
	}
	.cwhome-bs button.cwhome-arr[aria-disabled="true"] {
		opacity: .35;
		cursor: default;
	}
	.cwhome-bs button.cwhome-arr:focus-visible {
		outline: 2px solid #1484c9;
		outline-offset: 2px;
	}
}
@media (min-width: 768px) and (max-width: 1100px) {
	.cwhome-bs .cwcat ul.cwcat-grid {
		grid-auto-columns: calc((100% - 56px) / 3);
	}
}
/* wide screens: the arrows sit half outside the row, as in the mock-up */
@media (min-width: 1250px) {
	.cwhome-bs button.cwhome-prev {
		left: -23px;
	}
	.cwhome-bs button.cwhome-next {
		right: -23px;
	}
}
@media (hover: hover) and (min-width: 768px) {
	.cwhome-bs button.cwhome-arr:not([aria-disabled="true"]):hover {
		border-color: #004681 !important;
	}
}
@media (max-width: 767px) {
	.cwhome-bs {
		padding: 22px 0 6px;
	}
	.cwhome-bs-head h2 {
		font-size: 20px !important;
	}
	.cwhome-bs-head a {
		font-size: 14px;
	}
}

/* home page "Choose your whitening" (Todor 03.11.2026, option B): two equal tiles with our own product photos */
.cwhome-tiles {
	clear: both;
	padding: 30px 0 40px;
}
.cwhome-tiles h2.cwhome-tiles-title {
	margin: 0 0 18px !important;
	font: 600 24px/1.25 Montserrat, sans-serif !important;
	color: #1a1d23 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
.cwhome-tiles-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 1fr; /* both tiles the same height, also stacked on phones (Todor: "they should be equal") */
	gap: 22px;
}
a.cwhome-tile {
	display: grid;
	grid-template-columns: 44% 1fr;
	align-items: center;
	gap: 18px;
	padding: 22px 26px;
	background: #f5f7fa;
	border-radius: 16px;
	color: #333;
	text-decoration: none !important;
}
a.cwhome-tile img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.cwhome-tile-h {
	display: block;
	margin: 0 0 8px;
	font: 600 20px/1.3 Montserrat, sans-serif;
	color: #1a1d23;
}
.cwhome-tile-p {
	display: block;
	margin: 0 0 16px;
	font: 400 14.5px/1.5 Montserrat, sans-serif;
	color: #333;
}
.cwhome-tile-btn {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 18px;
	border: 1px solid #004681;
	border-radius: 8px;
	background: #fff;
	color: #004681;
	font: 600 15px Montserrat, sans-serif;
}
a.cwhome-tile:hover .cwhome-tile-btn {
	background: #004681;
	color: #fff;
}
a.cwhome-tile:focus-visible {
	outline: 2px solid #1484c9;
	outline-offset: 2px;
}
@media (max-width: 767px) {
	.cwhome-tiles {
		padding: 20px 0 30px;
	}
	.cwhome-tiles h2.cwhome-tiles-title {
		font-size: 20px !important;
	}
	.cwhome-tiles-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	a.cwhome-tile {
		grid-template-columns: 40% 1fr;
		padding: 16px;
	}
	a.cwhome-tile img {
		height: 150px;
	}
	.cwhome-tile-h {
		font-size: 18px;
	}
}
