.cpwh-price-html,
.cpwh-wholesale-price-line {
	display: block;
}

.cpwh-retail-price {
	display: block;
	opacity: .82;
}

.cpwh-wholesale-price-line {
	margin-top: 4px;
	font-size: 1.02em;
	line-height: 1.35;
}

.cpwh-price-label {
	font-weight: 600;
}

.woocommerce ul.products li.product {
	position: relative;
}

.cpwh-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #111;
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: .04em;
	border-radius: 999px;
	padding: 8px 10px;
	min-width: 58px;
	min-height: 58px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,.22);
	transition: transform .16s ease, box-shadow .16s ease;
	z-index: 5;
}

.woocommerce ul.products li.product .cpwh-badge {
	position: absolute;
	top: 10px;
	left: 10px;
}

.woocommerce ul.products li.product:hover .cpwh-badge {
	transform: scale(1.04);
	box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.cpwh-single-badge-wrap {
	margin: 0 0 10px;
}

.cpwh-single-badge-wrap .cpwh-badge {
	border-radius: 8px;
	min-height: 0;
	min-width: 0;
	padding: 7px 12px;
}

.cpwh-landing {
	max-width: 1180px;
	width: calc(100% - 32px);
	margin: 0 auto 72px;
}

.cpwh-hero {
	background-size: cover;
	background-position: center center;
	position: relative;
	margin: 0 auto 32px;
	width: 100%;
	max-width: 1100px;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.cpwh-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}

.cpwh-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 780px;
	margin: 0 auto;
	padding: 0 12px;
}

.cpwh-hero-title {
	margin: 0 0 10px;
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.cpwh-hero-text {
	margin: 0 0 14px;
	font-size: 1.08rem;
	line-height: 1.5;
}

.cpwh-hero-text p,
.cpwh-hero-inner p {
	margin-bottom: 0;
}

.cpwh-hero-button,
.cpwh-hero-button.button {
	display: inline-block;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 700;
	border-radius: 4px;
	border: 0;
	padding: 9px 22px;
	line-height: 1.2;
	transition: transform .15s ease, filter .15s ease;
}

.cpwh-hero-button:hover,
.cpwh-hero-button:focus,
.cpwh-hero-button.button:hover,
.cpwh-hero-button.button:focus {
	transform: translateY(-1px);
	filter: brightness(1.04);
}

.cpwh-landing-intro {
	max-width: 980px;
	margin: 0 auto 32px;
	text-align: center;
}

.cpwh-landing-intro h1 {
	margin: 0 0 14px;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1.1;
	font-size: clamp(2rem, 4vw, 3rem);
}

.cpwh-landing-intro p {
	margin: 0 auto 12px;
	max-width: 980px;
	font-size: 1.05rem;
	line-height: 1.55;
}

.cpwh-account-rate {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(0,0,0,.06);
}

.cpwh-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto;
}

.cpwh-card {
	background: #fff;
	border-radius: 8px;
	padding: 16px;
	box-shadow: 0 2px 10px rgba(0,0,0,.12);
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
}

.cpwh-card-media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 6px;
	margin: 0 0 14px;
	background: #eee;
}

.cpwh-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cpwh-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.cpwh-card h2 {
	margin: 0 0 10px;
	color: #222;
	text-transform: uppercase;
	letter-spacing: .03em;
	line-height: 1.15;
	font-size: clamp(1.25rem, 2.1vw, 1.75rem);
}

.cpwh-card p {
	margin: 0 0 14px;
	color: #333;
	line-height: 1.45;
}

.cpwh-card-description {
	font-size: .98rem;
}

.cpwh-card p:last-child {
	margin-top: auto;
	margin-bottom: 0;
}

.cpwh-button,
a.cpwh-button,
a.button.cpwh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #dfb72f;
	color: #200b05 !important;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 700;
	border-radius: 4px;
	border: 0;
	padding: 9px 22px;
	line-height: 1.2;
	transition: transform .15s ease, filter .15s ease;
}

.cpwh-button:hover,
.cpwh-button:focus,
a.button.cpwh-button:hover,
a.button.cpwh-button:focus {
	transform: translateY(-1px);
	filter: brightness(1.04);
}

/* v1.2.5: keep wholesale landing/quick-order buttons free of Astra/Global link underline effects.
   Some theme/button rules apply decoration, border or pseudo-element effects
   separately from the anchor's normal text-decoration property. */
.cpwh-landing a.cpwh-button,
.cpwh-landing a.button.cpwh-button,
.cpwh-landing a.cpwh-hero-button,
.cpwh-landing a.cpwh-hero-button.button,
.cpwh-landing .cpwh-button,
.cpwh-landing .cpwh-hero-button,
.cpwh-landing a.cpwh-button:visited,
.cpwh-landing a.button.cpwh-button:visited,
.cpwh-landing a.cpwh-hero-button:visited,
.cpwh-landing a.cpwh-hero-button.button:visited,
.cpwh-landing a.cpwh-button:hover,
.cpwh-landing a.button.cpwh-button:hover,
.cpwh-landing a.cpwh-hero-button:hover,
.cpwh-landing a.cpwh-hero-button.button:hover,
.cpwh-landing a.cpwh-button:focus,
.cpwh-landing a.button.cpwh-button:focus,
.cpwh-landing a.cpwh-hero-button:focus,
.cpwh-landing a.cpwh-hero-button.button:focus {
	text-decoration: none !important;
	text-decoration-line: none !important;
	-webkit-text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.cpwh-landing a.cpwh-button *,
.cpwh-landing a.button.cpwh-button *,
.cpwh-landing a.cpwh-hero-button *,
.cpwh-landing a.cpwh-hero-button.button * {
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.cpwh-landing a.cpwh-button::before,
.cpwh-landing a.cpwh-button::after,
.cpwh-landing a.button.cpwh-button::before,
.cpwh-landing a.button.cpwh-button::after,
.cpwh-landing a.cpwh-hero-button::before,
.cpwh-landing a.cpwh-hero-button::after,
.cpwh-landing a.cpwh-hero-button.button::before,
.cpwh-landing a.cpwh-hero-button.button::after {
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.cpwh-landing-locked,
.cpwh-fallback-link {
	text-align: center;
}

@media (max-width: 900px) {
	.cpwh-card-grid {
		grid-template-columns: 1fr;
		max-width: 560px;
	}
}

@media (max-width: 600px) {
	.cpwh-landing {
		width: calc(100% - 20px);
		margin-bottom: 48px;
	}

	.cpwh-card {
		padding: 14px;
	}

	.woocommerce ul.products li.product .cpwh-badge {
		top: 8px;
		left: 8px;
		font-size: .7rem;
		min-width: 50px;
		min-height: 50px;
		padding: 7px 8px;
	}
}

/* v1.2.0: wholesale quick-order list. */
.cpwh-card-actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px 10px;
	align-items:center;
	justify-content:center;
	text-align:center;
	width:100%;
}
.cpwh-button-secondary{
	filter:saturate(.85) brightness(.96);
}
.cpwh-quick-order{
	max-width:1100px;
	margin:0 auto 40px;
}
.cpwh-quick-order-header{
	text-align:center;
	margin:0 auto 22px;
	max-width:860px;
}
.cpwh-quick-order-header h2{
	margin:0 0 10px;
	text-transform:uppercase;
	letter-spacing:.04em;
	line-height:1.1;
	font-size:clamp(1.7rem,3vw,2.45rem);
}
.cpwh-quick-order-header p{
	margin:0 auto 10px;
	line-height:1.5;
}
.cpwh-back-link{
	font-weight:700;
}
.cpwh-quick-order-table-wrap{
	overflow-x:auto;
	background:#fff;
	border-radius:8px;
	box-shadow:0 2px 10px rgba(0,0,0,.12);
}
.cpwh-quick-order-table{
	width:100%;
	border-collapse:collapse;
	margin:0;
	background:#fff;
	color:#222;
}
.cpwh-quick-order-table th,
.cpwh-quick-order-table td{
	padding:12px 14px;
	border-bottom:1px solid rgba(0,0,0,.08);
	vertical-align:middle;
	text-align:left;
}
.cpwh-quick-order-table th{
	font-weight:700;
	color:#222;
	background:rgba(0,0,0,.04);
}
.cpwh-quick-order-table tr:last-child td{
	border-bottom:0;
}
.cpwh-qo-thumb-col{
	width:74px;
}
.cpwh-qo-thumb-col img{
	display:block;
	width:58px;
	height:58px;
	object-fit:cover;
	border-radius:4px;
}
.cpwh-qo-product a{
	font-weight:700;
	text-decoration:none;
	color:#222;
}
.cpwh-qo-product a:hover,
.cpwh-qo-product a:focus{
	text-decoration:underline;
}
.cpwh-qo-note{
	display:block;
	margin-top:4px;
	font-size:.88em;
	color:#555;
}
.cpwh-quick-price,
.cpwh-quick-retail,
.cpwh-quick-wholesale{
	display:block;
	line-height:1.35;
}
.cpwh-quick-retail{
	font-size:.92em;
	color:#555;
}
.cpwh-quick-wholesale{
	color:#2f6b2f;
}
.cpwh-quick-price-label,
.cpwh-quick-price-value,
.cpwh-quick-retail .amount,
.cpwh-quick-wholesale .amount{
	display:inline;
}
.cpwh-qo-qty input[type="number"]{
	width:84px;
	max-width:100%;
	padding:7px 8px;
	text-align:center;
}
.cpwh-qo-options-button{
	padding:7px 14px!important;
	letter-spacing:.1em!important;
	font-size:.88em!important;
}
.cpwh-quick-order-actions{
	margin:18px 0 0;
	text-align:right;
}
.cpwh-quick-order-actions-top{
	position:sticky;
	top:10px;
	z-index:20;
	display:flex;
	justify-content:flex-end;
	align-items:center;
	gap:12px;
	margin:0 0 12px;
	padding:10px 0;
	background:rgba(255,255,255,.96);
	border-bottom:1px solid rgba(0,0,0,.06);
}
.cpwh-quick-order-actions-note{
	font-size:.92em;
	color:#555;
}
.cpwh-quick-order-actions-bottom{
	margin-top:18px;
}
@media (max-width:700px){
	.cpwh-quick-order-table th,
	.cpwh-quick-order-table td{
		padding:9px 10px;
	}
	.cpwh-qo-thumb-col{
		display:none;
	}
	.cpwh-quick-order-actions{
		text-align:center;
	}
	.cpwh-quick-order-actions-top{
		position:static;
		justify-content:center;
		flex-direction:column;
	}
	.cpwh-card-actions{
		justify-content:center;
	}
}

/* v1.2.2: quick-order variation rows */
.cpwh-qo-variation-row .cpwh-qo-product a{
	font-weight:700;
}
.cpwh-qo-variation-row .cpwh-qo-note{
	font-weight:600;
	opacity:.86;
}

/* v1.2.4: quick-order keyword filter. */
.cpwh-quick-order-filter{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:8px 10px;
	margin-right:auto;
	text-align:left;
}
.cpwh-quick-order-filter label{
	font-weight:700;
	color:#222;
}
.cpwh-quick-filter-input{
	width:min(360px, 52vw);
	min-height:40px;
	padding:8px 10px;
	border:1px solid rgba(0,0,0,.24);
	border-radius:4px;
	background:#fff;
	color:#222;
}
.cpwh-quick-filter-input::placeholder{
	color:#666;
}
.cpwh-quick-filter-clear{
	min-height:40px;
	padding:7px 12px!important;
	letter-spacing:.06em!important;
	font-size:.86em!important;
}
.cpwh-quick-filter-count{
	font-size:.9em;
	color:#555;
	white-space:nowrap;
}
.cpwh-qo-no-results td{
	text-align:center;
	font-weight:700;
	color:#555;
	padding:22px 14px;
}
@media (max-width:700px){
	.cpwh-quick-order-filter{
		width:100%;
		justify-content:center;
		margin-right:0;
	}
	.cpwh-quick-filter-input{
		width:100%;
	}
}


/* v1.2.5: final button underline and alignment hardening. */
body .entry-content .cpwh-landing a.cpwh-button,
body .entry-content .cpwh-landing a.button.cpwh-button,
body .entry-content .cpwh-landing a.cpwh-hero-button,
body .entry-content .cpwh-landing a.cpwh-hero-button.button,
body .entry-content .cpwh-quick-order a.cpwh-button,
body .entry-content .cpwh-quick-order a.button.cpwh-button,
.cpwh-landing a.cpwh-button,
.cpwh-landing a.button.cpwh-button,
.cpwh-landing a.cpwh-hero-button,
.cpwh-landing a.cpwh-hero-button.button,
.cpwh-quick-order a.cpwh-button,
.cpwh-quick-order a.button.cpwh-button,
.cpwh-landing a.cpwh-button:visited,
.cpwh-landing a.button.cpwh-button:visited,
.cpwh-landing a.cpwh-hero-button:visited,
.cpwh-landing a.cpwh-hero-button.button:visited,
.cpwh-quick-order a.cpwh-button:visited,
.cpwh-quick-order a.button.cpwh-button:visited,
.cpwh-landing a.cpwh-button:hover,
.cpwh-landing a.button.cpwh-button:hover,
.cpwh-landing a.cpwh-hero-button:hover,
.cpwh-landing a.cpwh-hero-button.button:hover,
.cpwh-quick-order a.cpwh-button:hover,
.cpwh-quick-order a.button.cpwh-button:hover,
.cpwh-landing a.cpwh-button:focus,
.cpwh-landing a.button.cpwh-button:focus,
.cpwh-landing a.cpwh-hero-button:focus,
.cpwh-landing a.cpwh-hero-button.button:focus,
.cpwh-quick-order a.cpwh-button:focus,
.cpwh-quick-order a.button.cpwh-button:focus{
	text-decoration:none!important;
	text-decoration-line:none!important;
	-webkit-text-decoration:none!important;
	text-decoration-thickness:0!important;
	text-underline-offset:0!important;
	border-bottom:0!important;
	box-shadow:none!important;
	background-image:none!important;
}
.cpwh-landing a.cpwh-button *,
.cpwh-landing a.button.cpwh-button *,
.cpwh-landing a.cpwh-hero-button *,
.cpwh-landing a.cpwh-hero-button.button *,
.cpwh-quick-order a.cpwh-button *,
.cpwh-quick-order a.button.cpwh-button *{
	text-decoration:none!important;
	text-decoration-line:none!important;
	text-decoration-thickness:0!important;
	border-bottom:0!important;
	box-shadow:none!important;
}
.cpwh-landing a.cpwh-button::before,
.cpwh-landing a.cpwh-button::after,
.cpwh-landing a.button.cpwh-button::before,
.cpwh-landing a.button.cpwh-button::after,
.cpwh-landing a.cpwh-hero-button::before,
.cpwh-landing a.cpwh-hero-button::after,
.cpwh-landing a.cpwh-hero-button.button::before,
.cpwh-landing a.cpwh-hero-button.button::after,
.cpwh-quick-order a.cpwh-button::before,
.cpwh-quick-order a.cpwh-button::after,
.cpwh-quick-order a.button.cpwh-button::before,
.cpwh-quick-order a.button.cpwh-button::after{
	display:none!important;
	content:none!important;
	text-decoration:none!important;
	border-bottom:0!important;
	box-shadow:none!important;
}

/* v1.2.6: keep wholesale landing cards centred and insulate card-button labels from theme link underlines. */
.cpwh-card,
.cpwh-card h2,
.cpwh-card p {
	text-align: center;
}

.cpwh-card-body {
	align-items: center;
	text-align: center;
}

.cpwh-card-actions a.cpwh-button,
.cpwh-card-actions a.cpwh-button:link,
.cpwh-card-actions a.cpwh-button:visited,
.cpwh-card-actions a.cpwh-button:hover,
.cpwh-card-actions a.cpwh-button:focus,
.cpwh-card-actions a.cpwh-button:active {
	font-size: 0 !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-decoration-color: transparent !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

.cpwh-card-actions a.cpwh-button::before,
.cpwh-card-actions a.cpwh-button::after {
	content: none !important;
	display: none !important;
	text-decoration: none !important;
	border: 0 !important;
	box-shadow: none !important;
	background: none !important;
}

.cpwh-button-label {
	display: inline-block !important;
	font-size: 16px !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-decoration-color: transparent !important;
	text-decoration-thickness: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: none !important;
}

.cpwh-card-actions a.cpwh-button .cpwh-button-label,
.cpwh-card-actions a.cpwh-button:hover .cpwh-button-label,
.cpwh-card-actions a.cpwh-button:focus .cpwh-button-label,
.cpwh-card-actions a.cpwh-button:visited .cpwh-button-label {
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-decoration-color: transparent !important;
	text-decoration-thickness: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}
