/*
 * WE Softeners storefront.
 * Matches the site's own Elementor styles: light blue headings and pill buttons,
 * navy card titles, #E3E3E3 card borders with rounded tops, light grey info boxes,
 * Oxygen headings and light Quattrocento Sans body text.
 */

:root {
	--wes-blue: #53beed;
	--wes-navy: #121e89;
	--wes-navy-dark: #0e176f;
	--wes-teal: #20aaca;
	--wes-tan: #fceee1;
	--wes-grey: #f8f8f8;
	--wes-line: #e3e3e3;
	--wes-collect-bg: #d8f0fb;
	--wes-collect-line: #aedff6;
	--wes-ink: #000;
	--wes-muted: #333;
	--wes-pill: 25px;
	--wes-box: 15px;
	--wes-card: 25px 25px 0 0;
	--wes-head: "Oxygen", sans-serif;
	--wes-text: "Quattrocento Sans", sans-serif;
	--wes-gradient: linear-gradient(130deg, #53beed 0%, #20aaca 100%);
}

/* ---------- Layout ---------- */

.wes-sf {
	max-width: 1316px;
	margin: 0 auto;
	padding: 24px 20px 80px;
	font-family: var(--wes-text);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--wes-ink);
}

.wes-sf *,
.wes-drawer * {
	box-sizing: border-box;
}

.wes-sf .woocommerce-breadcrumb {
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--wes-muted);
}

.wes-sf .woocommerce-breadcrumb a {
	color: var(--wes-muted);
	text-decoration: none;
}

.wes-sf .woocommerce-breadcrumb a:hover {
	color: var(--wes-blue);
}

.wes-crumb-sep {
	margin: 0 8px;
	opacity: 0.5;
}

.wes-icon {
	flex: none;
	stroke-width: 1.4;
}

/* ---------- Buttons (the site's light blue pills) ---------- */

.wes-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 0;
	border-radius: var(--wes-pill);
	font-family: var(--wes-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s;
}

.wes-sf .wes-btn--blue,
.wes-sf .wes-btn--primary,
.wes-drawer .wes-btn--primary {
	background: var(--wes-blue);
	color: #fff !important;
}

.wes-sf .wes-btn--blue:hover,
.wes-sf .wes-btn--primary:hover,
.wes-drawer .wes-btn--primary:hover {
	background: var(--wes-navy);
}

.wes-sf .wes-btn--navy {
	background: var(--wes-navy);
	color: #fff !important;
}

.wes-sf .wes-btn--navy:hover {
	background: var(--wes-navy-dark);
}

.wes-btn--block {
	width: 100%;
}

/* ---------- Round corner badges (like the site's "HOME DEMO" badges) ---------- */

.wes-badge {
	position: absolute;
	top: -14px;
	right: -10px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--wes-navy);
	pointer-events: none;
}

.wes-badge span {
	font-family: var(--wes-head);
	font-size: 8.5px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	transform: rotate(18deg);
}

.wes-badge--deliver {
	background: var(--wes-blue);
}

.woocommerce-cart .wes-basket-note,
.woocommerce-checkout .wes-basket-note {
	max-width: 900px;
	margin: 0 0 28px;
	font-family: var(--wes-text);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--wes-ink);
}

/* "Collection order." / "Delivery order." lead-in on the basket, checkout and drawer */
.wes-basket-note strong,
.wes-drawer__note strong {
	font-weight: 600;
}

.wes-basket-note[hidden] {
	display: none !important;
}

/* Checkout: "I will collect" tickbox above the Place order button */
.woocommerce-checkout .wes-confirm {
	margin: 0 0 20px !important;
	padding: 0 !important;
}

.woocommerce-checkout .wes-confirm label,
.woocommerce-checkout .wes-confirm label span {
	font-family: var(--wes-text) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--wes-ink) !important;
}

.woocommerce-checkout .wes-confirm label {
	display: flex !important;
	gap: 12px;
	align-items: flex-start;
	margin: 0 !important;
	cursor: pointer;
}

.woocommerce-checkout .wes-confirm input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0 !important;
	accent-color: var(--wes-navy);
}

.woocommerce-checkout .wes-confirm abbr.required {
	text-decoration: none;
}

.woocommerce-checkout .wes-confirm.woocommerce-invalid input[type="checkbox"] {
	outline: 2px solid #e2401c;
	outline-offset: 1px;
}

/* Basket and checkout: Royal Mail with a "collect instead" tickbox under it */
.wes-ship .wes-ship__method {
	display: block;
}

.wes-ship .wes-ship__collect {
	display: flex !important;
	gap: 10px;
	align-items: flex-start;
	margin: 10px 0 0 !important;
	font-family: var(--wes-text) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: var(--wes-ink) !important;
	text-align: left;
	cursor: pointer;
}

.wes-ship .wes-ship__collect input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0 !important;
	accent-color: var(--wes-navy);
}

/* Basket drawer: why an item couldn't be added */
.wes-drawer__blocked {
	margin: 16px 24px 0;
	padding: 16px;
	border-radius: var(--wes-box);
	background: var(--wes-tan);
}

.wes-drawer__blocked[hidden] {
	display: none;
}

.wes-drawer__blocked-text {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--wes-ink);
}

/* ---------- Page header ---------- */

.wes-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin: 0 0 36px;
}

.wes-hero__text {
	flex: 1 1 520px;
}

.wes-sf .wes-hero .wes-hero__title {
	margin: 0 0 10px;
	font-family: var(--wes-head);
	font-size: clamp(32px, 3.4vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -1px;
	color: var(--wes-ink);
}

.wes-hero__intro {
	margin: 0;
	font-family: var(--wes-head);
	font-size: clamp(19px, 2vw, 24px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -1px;
	color: var(--wes-navy);
}

.wes-hero__note {
	max-width: 760px;
	margin: 14px 0 0;
	font-size: 17px;
	font-weight: 300;
	line-height: 1.55;
	color: var(--wes-ink);
}

.wes-sf .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.wes-search {
	display: flex;
	flex: 0 1 400px;
	align-items: center;
	gap: 10px;
	padding: 4px 4px 4px 18px;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-pill);
	background: #fff;
}

.wes-search:focus-within {
	border-color: var(--wes-blue);
}

.wes-search .wes-icon {
	color: var(--wes-blue);
}

.wes-sf .wes-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 8px 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
	font-family: var(--wes-text);
	font-size: 16px;
	font-weight: 300;
	color: var(--wes-ink);
}

.wes-sf .wes-search__btn {
	padding: 10px 20px !important;
	border: 0 !important;
	border-radius: var(--wes-pill) !important;
	background: var(--wes-blue) !important;
	font-family: var(--wes-text);
	font-size: 15px !important;
	font-weight: 600;
	color: #fff !important;
	cursor: pointer;
}

.wes-sf .wes-search__btn:hover {
	background: var(--wes-navy) !important;
}

.wes-sf .wes-section-title {
	margin: 0 0 24px;
	font-family: var(--wes-head);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -1px;
	color: var(--wes-blue);
}

.wes-sf #all-products {
	margin-top: 8px;
	scroll-margin-top: 120px;
}

.wes-block {
	margin: 0 0 48px;
}

/* ---------- Category tiles ---------- */

.wes-tiles {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wes-tile a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px 16px 18px;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-card);
	background: #fff;
	color: var(--wes-ink);
	text-decoration: none;
	transition: border-color 0.2s;
}

.wes-tile a:hover {
	border-color: var(--wes-blue);
}

.wes-tile__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	margin-bottom: 12px;
}

.wes-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.wes-tile__name {
	font-family: var(--wes-head);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: var(--wes-navy);
}

.wes-tile__sub {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wes-blue);
}

/* ---------- Category and Delivery tabs, sorting ---------- */

.wes-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 8px;
}

.wes-sf .wes-chips__item {
	padding: 10px 20px;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-pill);
	background: #fff;
	font-family: var(--wes-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: var(--wes-ink);
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.wes-sf .wes-chips__item:hover {
	border-color: var(--wes-blue);
	color: var(--wes-blue);
}

.wes-sf .wes-chips__item.is-active {
	border-color: var(--wes-blue);
	background: var(--wes-blue);
	color: #fff;
}

.wes-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 20px 0 28px;
}

.wes-toolbar__right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.wes-sf .woocommerce-result-count {
	float: none;
	margin: 0;
	font-size: 15px;
	color: var(--wes-muted);
}

.wes-sf .woocommerce-ordering {
	float: none;
	margin: 0;
}

.wes-sf .woocommerce-ordering select {
	-webkit-appearance: none;
	appearance: none;
	padding: 10px 40px 10px 18px;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-pill);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2353beed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
	font-family: var(--wes-text);
	font-size: 15px;
	font-weight: 600;
	color: var(--wes-ink);
	cursor: pointer;
}

/* ---------- Product cards (same as the softener cards on the Harvey page) ---------- */

.wes-sf ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px 24px;
	margin: 0 !important;
	padding: 14px 10px 0 0;
}

.wes-sf ul.products::before,
.wes-sf ul.products::after {
	display: none !important;
}

.wes-sf ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: 24px 22px 26px;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-card);
	background: #fff;
	float: none !important;
	text-align: left;
}

.wes-sf ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: inherit;
	text-decoration: none;
}

.wes-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
}

.wes-sf ul.products li.product .wes-card__media img {
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: contain;
}

.wes-sf ul.products li.product .woocommerce-loop-product__title {
	margin: 18px 0 8px;
	padding: 0 !important;
	font-family: var(--wes-head);
	font-size: 19px !important;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.5px;
	color: var(--wes-navy);
}

.wes-sf ul.products li.product .price {
	display: block;
	margin: 0 0 18px !important;
	font-family: var(--wes-head);
	font-size: 20px !important;
	font-weight: 600;
	color: var(--wes-blue) !important;
}

.wes-sf ul.products li.product .button {
	align-self: flex-start;
	margin: auto 0 0 !important;
	padding: 12px 24px !important;
	border: 0 !important;
	border-radius: var(--wes-pill) !important;
	background: var(--wes-blue) !important;
	font-family: var(--wes-text);
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1;
	color: #fff !important;
	transition: background-color 0.2s;
}

.wes-sf ul.products li.product .button:hover,
.wes-sf ul.products li.product .button:focus-visible {
	background: var(--wes-navy) !important;
}

.wes-sf ul.products li.product .button.loading {
	opacity: 0.6;
}

.wes-sf ul.products li.product .button.added::after,
.wes-sf ul.products li.product .button.loading::after {
	display: none !important;
}

.wes-sf a.added_to_cart {
	display: none !important;
}

/* ---------- Accordions (same as the site's FAQ blocks) ---------- */

.wes-acc {
	border-top: 1px solid var(--wes-line);
}

.wes-acc:last-child {
	border-bottom: 1px solid var(--wes-line);
}

.wes-acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-family: var(--wes-text);
	font-size: 18px;
	font-weight: 600;
	color: var(--wes-ink);
	list-style: none;
	cursor: pointer;
}

.wes-acc summary::-webkit-details-marker {
	display: none;
}

.wes-acc summary::after {
	content: "+";
	font-family: var(--wes-head);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	color: var(--wes-blue);
}

.wes-acc[open] summary::after {
	content: "\2212";
}

.wes-acc__body {
	padding: 0 0 20px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--wes-ink);
}

.wes-sf .wes-acc__body h1,
.wes-sf .wes-acc__body h2,
.wes-sf .wes-acc__body h3,
.wes-sf .wes-acc__body h4 {
	margin: 18px 0 8px;
	font-family: var(--wes-head);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.5px;
	color: var(--wes-navy);
}

.wes-acc__body a {
	color: var(--wes-blue);
}

.wes-acc--about {
	max-width: 900px;
	margin-top: 56px;
	border-bottom: 1px solid var(--wes-line);
}

/* ---------- Gradient banners (as on the site's showroom and installation banners) ---------- */

.wes-banner,
.wes-promo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px 40px;
	align-items: center;
	padding: 40px 44px;
	border-radius: var(--wes-box);
	background: var(--wes-gradient);
	color: #fff;
}

.wes-promo {
	margin-top: 64px;
}

.wes-sf .wes-banner .wes-banner__title,
.wes-sf .wes-promo .wes-promo__title {
	margin: 0 0 10px;
	font-family: var(--wes-head);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -1px;
	color: #fff;
}

.wes-banner p,
.wes-promo p {
	max-width: 700px;
	margin: 0;
	font-size: 17px;
	font-weight: 300;
	line-height: 1.55;
	color: #fff;
}

/* ---------- Installed ranges ---------- */

.wes-installed {
	margin-top: 72px;
}

.wes-group {
	margin-top: 44px;
}

.wes-group__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 20px;
}

.wes-sf .wes-group__title {
	margin: 0;
	font-family: var(--wes-head);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -1px;
	color: var(--wes-navy);
}

.wes-sf .wes-group__all {
	font-size: 16px;
	font-weight: 600;
	color: var(--wes-blue);
	text-decoration: none;
}

.wes-sf .wes-group__all:hover {
	color: var(--wes-navy);
}

.wes-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px 24px;
	margin: 0;
	padding: 14px 10px 0 0;
	list-style: none;
}

.wes-icard {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px 22px 26px;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-card);
	background: #fff;
}

.wes-icard__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
}

.wes-icard__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.wes-icard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.wes-sf .wes-icard__title {
	margin: 18px 0 8px;
	font-family: var(--wes-head);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -1px;
	color: var(--wes-navy);
}

.wes-sf .wes-icard__title a {
	color: inherit;
	text-decoration: none;
}

.wes-icard__text {
	flex: 1;
	margin: 0 0 18px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--wes-ink);
}

.wes-icard .wes-btn {
	align-self: flex-start;
}

/* ---------- FAQ and notices ---------- */

.wes-faq {
	max-width: 900px;
	margin-top: 72px;
}

.wes-empty {
	margin: 20px 0 0;
}

.wes-notice {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0 0 24px;
	padding: 16px 22px;
	border-radius: var(--wes-box);
	background: var(--wes-grey);
	font-family: var(--wes-text);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--wes-ink);
}

.wes-notice .wes-icon {
	width: 26px;
	height: 26px;
	color: var(--wes-blue);
}

.wes-notice p {
	margin: 0;
}

/* ---------- Product page ---------- */

.wes-sf div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 56px;
	align-items: start;
}

.wes-sf div.product .woocommerce-product-gallery {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	padding: 28px;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-card);
	background: #fff;
	float: none !important;
}

.wes-sf div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.wes-sf div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
}

.wes-sf div.product .woocommerce-product-gallery .flex-control-thumbs li {
	width: 72px !important;
	margin: 0 !important;
	float: none !important;
}

.wes-sf div.product .woocommerce-product-gallery .flex-control-thumbs img {
	padding: 4px;
	border: 1px solid var(--wes-line);
	border-radius: 10px;
	opacity: 1 !important;
}

.wes-sf div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--wes-blue);
}

.wes-sf div.product .woocommerce-product-gallery__trigger {
	top: 16px !important;
	right: 16px !important;
	z-index: 5;
}

.wes-sf div.product .summary {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.wes-sf div.product .product_title {
	margin: 0 0 12px;
	font-family: var(--wes-head);
	font-size: clamp(30px, 3vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -1px;
	color: var(--wes-ink);
}

.wes-sf div.product .summary .price {
	margin: 0 0 22px;
	font-family: var(--wes-head);
	font-size: 28px !important;
	font-weight: 600;
	color: var(--wes-blue) !important;
}

.wes-fulfil {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 0 0 24px;
	padding: 20px 22px;
	border-radius: var(--wes-box);
	background: var(--wes-grey);
}

.wes-fulfil--collect {
	background: var(--wes-tan);
}

.wes-fulfil__icon {
	flex: none;
	color: var(--wes-blue);
}

.wes-fulfil__icon .wes-icon {
	width: 32px;
	height: 32px;
	stroke-width: 1.2;
}

.wes-fulfil strong {
	display: block;
	margin: 2px 0 4px;
	font-family: var(--wes-head);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: var(--wes-navy);
}

.wes-fulfil span:not(.wes-fulfil__icon) {
	display: block;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--wes-ink);
}

.wes-sf div.product form.cart {
	display: flex;
	gap: 12px;
	align-items: stretch;
	margin: 0 0 24px !important;
}

.wes-sf div.product form.cart::before,
.wes-sf div.product form.cart::after {
	display: none;
}

.wes-sf .quantity.wes-stepper {
	display: inline-flex;
	align-items: center;
	height: 48px;
	margin: 0 !important;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-pill);
	background: #fff;
	float: none !important;
}

.wes-sf .quantity input.qty {
	width: 40px !important;
	height: 100%;
	padding: 0;
	border: 0 !important;
	background: transparent;
	font-family: var(--wes-text);
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	color: var(--wes-ink);
	-moz-appearance: textfield;
}

.wes-sf .quantity input.qty::-webkit-outer-spin-button,
.wes-sf .quantity input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.wes-stepper__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 100%;
	cursor: pointer;
}

.wes-sf div.product form.cart .single_add_to_cart_button.button {
	flex: 1;
	height: 48px;
	margin: 0 !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: var(--wes-pill) !important;
	background: var(--wes-blue) !important;
	font-family: var(--wes-text);
	font-size: 17px !important;
	font-weight: 600;
	color: #fff !important;
	float: none !important;
	transition: background-color 0.2s;
}

.wes-sf div.product form.cart .single_add_to_cart_button.button:hover {
	background: var(--wes-navy) !important;
}

.wes-sf div.product form.cart .single_add_to_cart_button.loading {
	opacity: 0.7;
}

.wes-sf div.product .woocommerce-product-details__short-description {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--wes-ink);
}

.wes-sf div.product .woocommerce-product-details__short-description p {
	margin: 0 0 10px;
}

.wes-trust {
	margin: 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--wes-line);
	list-style: none;
}

.wes-trust li {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 4px 0;
	font-size: 15px;
	font-weight: 300;
	color: var(--wes-ink);
}

.wes-trust .wes-icon {
	color: var(--wes-blue);
}

.wes-details {
	grid-column: 1 / -1;
	max-width: 900px;
	margin-top: 16px;
}

.wes-sf div.product .related.products,
.wes-sf div.product .upsells.products {
	grid-column: 1 / -1;
	margin-top: 48px;
}

.wes-sf div.product .related.products > h2,
.wes-sf div.product .upsells.products > h2 {
	margin: 0 0 24px;
	font-family: var(--wes-head);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 600;
	letter-spacing: -1px;
	color: var(--wes-blue);
}

.wes-sf .onsale {
	z-index: 3;
	border-radius: var(--wes-pill);
	background: var(--wes-blue);
	font-family: var(--wes-text);
	font-weight: 600;
}

/* ---------- Header basket icon (sized like the "Visit Us" icon next to it) ---------- */

.wes-badge-host {
	position: relative;
}

.wes-basket-link {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: var(--wes-navy) !important;
	text-decoration: none;
}

.wes-basket-link .wes-icon {
	width: 28px;
	height: 28px;
	stroke-width: 1.1;
}

.wes-basket-link__label {
	font-family: var(--wes-text);
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	letter-spacing: -0.5px;
	color: var(--wes-ink);
}

.wes-basket-link .wes-cart-count,
.wes-badge-host .wes-cart-count {
	position: absolute;
	top: -6px;
	right: -9px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--wes-blue);
	font-family: var(--wes-text);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
}

.wes-basket-link .wes-cart-count[data-count="0"],
.wes-badge-host .wes-cart-count[data-count="0"] {
	display: none;
}

/* ---------- Slide-out basket ---------- */

body.wes-drawer-open {
	overflow: hidden;
}

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

.wes-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	font-family: var(--wes-text);
	font-weight: 300;
	color: var(--wes-ink);
}

.wes-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	transition: opacity 0.25s;
}

.wes-drawer.is-open .wes-drawer__overlay {
	opacity: 1;
}

.wes-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	height: 100%;
	background: #fff;
	outline: none;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.wes-drawer.is-open .wes-drawer__panel {
	transform: none;
}

.wes-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 24px;
	border-bottom: 1px solid var(--wes-line);
}

.wes-drawer .wes-drawer__head h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--wes-head);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -1px;
	color: var(--wes-ink);
}

.wes-drawer__head .wes-cart-count {
	display: grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 12px;
	background: var(--wes-blue);
	font-family: var(--wes-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	color: #fff;
}

.wes-drawer__close {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.wes-drawer__added {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 16px 24px 0;
	padding: 12px 16px;
	border-radius: var(--wes-box);
	background: var(--wes-grey);
	font-size: 15px;
	font-weight: 600;
	color: var(--wes-navy);
}

.wes-drawer__added .wes-icon {
	color: var(--wes-blue);
}

.wes-drawer__added[hidden] {
	display: none;
}

.wes-drawer-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.wes-mini {
	flex: 1;
	margin: 0;
	padding: 4px 24px;
	overflow-y: auto;
	list-style: none;
}

.wes-mini__item {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--wes-line);
	transition: opacity 0.2s;
}

.wes-mini__item:last-child {
	border-bottom: 0;
}

.wes-mini__item.is-busy {
	opacity: 0.45;
	pointer-events: none;
}

.wes-mini__img {
	display: block;
	aspect-ratio: 1 / 1;
	padding: 6px;
	border: 1px solid var(--wes-line);
	border-radius: 15px 15px 0 0;
	background: #fff;
}

.wes-mini__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.wes-drawer .wes-mini__name {
	display: block;
	margin: 0 0 6px;
	font-family: var(--wes-head);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.5px;
	color: var(--wes-navy) !important;
	text-decoration: none;
}

.wes-mini__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}

.wes-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-pill);
}

.wes-qty__btn {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	cursor: pointer;
}

.wes-qty__btn .wes-icon {
	width: 16px;
	height: 16px;
}

.wes-qty__val {
	min-width: 22px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

.wes-mini__price {
	font-family: var(--wes-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--wes-ink);
}

.wes-drawer__foot {
	padding: 20px 24px 24px;
	border-top: 1px solid var(--wes-line);
	background: var(--wes-grey);
}

.wes-drawer__note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.45;
	color: var(--wes-ink);
}

.wes-drawer__note .wes-icon {
	width: 24px;
	height: 24px;
	color: var(--wes-blue);
}

.wes-drawer__subtotal {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 16px;
	font-family: var(--wes-head);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.5px;
}

.wes-drawer .wes-drawer__view {
	display: block;
	margin-top: 14px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	color: var(--wes-blue) !important;
	text-decoration: none;
}

.wes-drawer__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 56px 24px;
	text-align: center;
}

.wes-drawer__empty .wes-icon {
	width: 44px;
	height: 44px;
	color: var(--wes-blue);
	stroke-width: 1.1;
}

.wes-drawer__empty p {
	margin: 0 0 6px;
	font-size: 17px;
}

/* ---------- Shield small buttons from the theme's global button styles ---------- */

.wes-stepper__btn,
.wes-qty__btn,
.wes-drawer__close,
.wes-mini__remove {
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--wes-ink) !important;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.wes-stepper__btn {
	border-radius: 0 !important;
}

.wes-qty__btn,
.wes-drawer__close {
	border-radius: 50% !important;
}

.wes-stepper__btn:hover,
.wes-qty__btn:hover {
	color: var(--wes-blue) !important;
}

.wes-qty__btn:disabled {
	opacity: 0.3;
	cursor: default;
	color: var(--wes-ink) !important;
}

.wes-drawer__close:hover {
	background: var(--wes-grey) !important;
}

.wes-mini__remove {
	margin-top: 8px !important;
	font-size: 14px !important;
	font-weight: 300 !important;
	color: var(--wes-muted) !important;
	text-decoration: underline !important;
	cursor: pointer;
}

.wes-mini__remove:hover {
	color: var(--wes-blue) !important;
}

/* ---------- Basket and checkout pages (Elementor WooCommerce widgets) ---------- */

.woocommerce-cart .wes-notice,
.woocommerce-checkout .wes-notice {
	max-width: 1240px;
}

.woocommerce-cart .page-header,
.woocommerce-checkout .page-header {
	display: none;
}

.woocommerce-cart .quantity.wes-stepper {
	display: inline-flex;
	align-items: center;
	height: 42px;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-pill);
	background: #fff;
}

.woocommerce-cart .quantity input.qty {
	width: 40px !important;
	border: 0 !important;
	text-align: center;
	-moz-appearance: textfield;
}

.woocommerce-cart a.checkout-button,
.woocommerce-checkout #place_order {
	border: 0 !important;
	border-radius: var(--wes-pill) !important;
	background: var(--wes-blue) !important;
	font-family: var(--wes-text);
	font-weight: 600;
	color: #fff !important;
}

.woocommerce-checkout #place_order {
	min-height: 48px;
	font-size: 17px !important;
}

.woocommerce-cart a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
	background: var(--wes-navy) !important;
}

.woocommerce-cart button[name="update_cart"] {
	border: 1px solid var(--wes-blue) !important;
	border-radius: var(--wes-pill) !important;
	background: #fff !important;
	font-family: var(--wes-text);
	font-weight: 600;
	color: var(--wes-blue) !important;
}

.woocommerce-cart button[name="update_cart"]:disabled {
	opacity: 0.45;
}

.woocommerce-cart td.product-name a {
	font-family: var(--wes-head);
	font-weight: 500;
	letter-spacing: -0.5px;
	color: var(--wes-navy) !important;
	text-decoration: none;
}

#ship-to-different-address input {
	display: none;
}

.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout #ship-to-different-address label,
.woocommerce-checkout #ship-to-different-address span {
	font-family: var(--wes-text) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: var(--wes-ink) !important;
	cursor: default;
}

/* The collect/deliver choice gets the full width of the order summary. */
.woocommerce-checkout tr.woocommerce-shipping-totals,
.woocommerce-cart tr.woocommerce-shipping-totals {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.woocommerce-checkout tr.woocommerce-shipping-totals > th,
.woocommerce-checkout tr.woocommerce-shipping-totals > td,
.woocommerce-cart tr.woocommerce-shipping-totals > th,
.woocommerce-cart tr.woocommerce-shipping-totals > td {
	display: block;
	width: 100% !important;
	max-width: none !important; /* Elementor's checkout widget caps this cell at 70px. */
	text-align: left !important;
}

#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

#shipping_method li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px !important;
	padding: 12px 16px !important;
	border: 1px solid var(--wes-line);
	border-radius: var(--wes-box);
	background: #fff;
	text-align: left;
}

#shipping_method li:has(input:checked) {
	border-color: var(--wes-blue);
	background: #f2fafe;
}

#shipping_method li input {
	margin: 0 !important;
	accent-color: var(--wes-blue);
}

#shipping_method li label {
	margin: 0 !important;
	font-family: var(--wes-text);
	font-weight: 600;
	white-space: normal;
	cursor: pointer;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.wes-sf ul.products,
	.wes-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wes-tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.wes-sf div.product {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 767px) {
	.wes-sf {
		padding: 16px 16px 56px;
	}

	.wes-search {
		flex-basis: 100%;
	}

	.wes-sf ul.products,
	.wes-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 14px;
	}

	.wes-sf ul.products li.product,
	.wes-icard {
		padding: 16px 14px 18px;
	}

	.wes-sf ul.products li.product .woocommerce-loop-product__title {
		font-size: 16px !important;
	}

	.wes-sf ul.products li.product .button {
		padding: 10px 16px !important;
		font-size: 14px !important;
	}

	.wes-badge {
		top: -10px;
		right: -6px;
		width: 46px;
		height: 46px;
	}

	.wes-badge span {
		font-size: 8px;
	}

	.wes-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.wes-chips {
		flex-wrap: nowrap;
		margin-right: -16px;
		padding-bottom: 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.wes-chips__item {
		flex: none;
	}

	.wes-banner,
	.wes-promo {
		grid-template-columns: minmax(0, 1fr);
		padding: 28px 22px;
	}

	.wes-sf div.product form.cart {
		flex-wrap: wrap;
	}
}
