/* Product search results already get the unified crumbs bar above (see
   PKCP_Search) — this second breadcrumb block is a separate Elementor
   Theme Builder widget on the archive template, not reachable via a hook. */
.search-results .wd-breadcrumbs {
	display: none;
}

.search-results .wd-product .product-image-link {
	max-width: 50%;
	margin: 0 auto;
}

/* Product images here are wide 225x50 logos. A product with no image gets
   WooCommerce's square placeholder instead, which pushed its card far below
   the rest of the row — cap every image to the logo height so all cards line up. */
.search-results .wd-product .product-image-link img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 50px;
	max-height: 50px;
	margin: 0 auto;
	object-fit: contain;
}
.search-results .product-element-bottom.product-information {
    border: 1px solid #e5e7eb;
    padding: 10px 0;
    border-radius: 4px;
}
.search-results .product-element-top.wd-quick-shop {
    margin-block: -15px !important;
}
.search-results .product-element-bottom.product-information .amount{
    color: #000;
}
.search-results nav.wd-pagination li .current {
	background-color: var(--pkcp-accent, #f6b100) !important;
}
/* Woodmart's "quick shop" box (price, bullets, Add to cart) is normally
   hover-only and absolutely positioned — force it permanently visible and
   back in the card's normal flow instead, and drop the compare/wishlist/
   quick-view icon buttons (not needed here). */
.search-results .product-element-top.wd-quick-shop {
	overflow: visible !important;
	height: auto !important;
}

.search-results .wd-quick-shop .hover-content {
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	pointer-events: auto !important;
}

/* Compare (shuffle icon) sits over the image, inside .wd-quick-shop; wishlist
   and quick-view sit lower, inside .wd-bottom-actions next to Add to cart. */
.search-results .wd-quick-shop .wd-compare-btn,
.search-results .wd-bottom-actions .wrap-wishlist-button,
.search-results .wd-bottom-actions .wrap-quickview-button {
	display: none !important;
}

/* Add to cart button on the search results grid uses the theme's default
   green — sync it to the site's yellow accent like every other button. */
.search-results .add_to_cart_button {
	background-color: var(--pkcp-accent, #f6b100) !important;
	border-color: var(--pkcp-accent, #f6b100) !important;
	color: #1a1300 !important;
	padding: 0 20px !important;
	border-radius: 4px !important;
}

.search-results .add_to_cart_button:hover {
	filter: brightness(0.94);
}

/* Drop the default bullet markers on the feature list (No waiting / Maximum
   Download Speed / ...) — they were floating outside the card, misaligned. */
.search-results .wd-more-desc-inner ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.pkcp {
	--pkcp-accent: #f6b100;
	--pkcp-text: #1f2733;
	--pkcp-muted: #6b7280;
	--pkcp-border: #e3e6ea;
	--pkcp-link: #2f6fd0;
	color: var(--pkcp-text);
}

/* Only used if pk-home-blocks (which owns the styled card grid) is inactive. */
.pkcp-shop__plain-list {
	list-style: none;
	margin: 40px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px 24px;
}

.pkcp-shop__plain-list a {
	color: #1f2733;
	text-decoration: none;
	font-weight: 600;
}

.pkcp-shop__plain-list a:hover {
	color: #f6b100;
}

/*
 * We reuse Woodmart's own .page-title block (same classes the cart/checkout
 * step trail uses) purely for its structural spot — see render_crumbs_bar().
 * Its background and `margin-block: -40px 40px` (meant to sit under an H1
 * further down the page) are both overridden below: no background, and our
 * own — smaller — vertical padding instead of the theme's.
 */
.pkcp-crumbs-wrap {
	/* Declared here too (not just .pkcp) since this bar renders outside
	   .pkcp — via the 'woodmart_after_header' hook, before .pkcp exists. */
	--pkcp-accent: #f6b100;
	--pkcp-text: #1f2733;
	--pkcp-muted: #6b7280;
	margin-block: 0 !important;
	padding-top: 15px;
	padding-bottom: 8px;
	background: none !important;
}

.pkcp__crumbs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 400;
	color: var(--pkcp-muted);
}

.pkcp__crumbs a {
	color: var(--pkcp-muted);
	text-decoration: none;
}

.pkcp__crumbs a:hover {
	color: var(--pkcp-accent);
}

.pkcp__crumbs-sep {
	font-size: 15px;
	font-weight: 400;
	color: var(--pkcp-muted);
	opacity: 0.6;
}

.pkcp__crumbs-current {
	color: var(--pkcp-text);
	font-weight: 600;
}

.pkcp__title {
	margin: 0 0 10px;
	font-size: 34px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.pkcp__tagline {
	margin: 0 0 18px;
	font-size: 15px;
	color: var(--pkcp-muted);
}

/*
 * Two explicit rows so the media box only spans the "buy" row — its top lines
 * up with "Select your premium package", not the title above it — instead of
 * stretching the full height of both title and buy content.
 */
.pkcp__main {
	display: grid;
	grid-template-columns: 280px 1fr;
	grid-template-rows: auto 1fr;
	column-gap: 48px;
	row-gap: 12px;
	grid-template-areas:
		".     intro"
		"media buy";
}

.pkcp__intro {
	grid-area: intro;
}

/* ---------- Media ---------- */

/*
 * Same dark navy + circuit pattern as the home page category cards
 * (.pkhb-category-grid__card) — a custom background set per-category
 * (PKCP_Term_Meta) overrides this via an inline style on the element.
 */
.pkcp__media {
	grid-area: media;
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--pkcp-border);
	border-radius: 4px;
	overflow: hidden;
	background-color: #0d1526;
	background-image:
		radial-gradient(circle at 88% 12%, rgba(246, 177, 0, 0.16), transparent 55%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px);
	background-size: cover;
	background-position: center;
	text-align: center;
}

.pkcp__media img {
	display: block;
	width: 100%;
	flex: 1;
	min-height: 150px;
	object-fit: contain;
}

.pkcp__media-fallback {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 0 16px;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

.pkcp__media-label {
	display: block;
	margin-top: auto;
	padding: 10px;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

/* ---------- Buy box ---------- */

.pkcp__buy {
	grid-area: buy;
	display: flex;
	flex-direction: column;
}

.pkcp__form {
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: flex-start;
}

.pkcp__pick-label {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.pkcp .pkcp__select {
	width: 100%;
	max-width: 520px;
	height: 46px;
	padding: 0 14px;
	border: 2px solid var(--pkcp-accent);
	border-radius: 6px;
	background-color: #fff;
	font-size: 15px;
	color: var(--pkcp-text);
	cursor: pointer;
}

.pkcp .pkcp__select:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(246, 177, 0, 0.2);
}

.pkcp__delivery {
	margin: 10px 0 14px;
	font-size: 14px;
	color: #e0533d;
}

.pkcp__delivery-name {
	color: var(--pkcp-accent);
	font-weight: 600;
}

/* Woodmart styles every bare <button>, so reset ours explicitly. */
.pkcp .pkcp__buy-btn {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 0;
	/* Pushed to the bottom of .pkcp__form (flex:1, fills the row's stretched
	   height) so it lines up with the bottom of .pkcp__media next to it. */
	margin: auto 0 0;
	padding: 13px 24px;
	border: 0;
	border-radius: 4px;
	background-color: var(--pkcp-accent);
	color: #1a1300;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.pkcp .pkcp__buy-btn:hover {
	background-color: var(--pkcp-accent);
	filter: brightness(0.94);
}

.pkcp .pkcp__buy-btn:active {
	transform: translateY(1px);
}

.pkcp__buy-sep {
	opacity: 0.4;
}

.pkcp__empty {
	color: var(--pkcp-muted);
}

/* ---------- Tabs ---------- */

.pkcp__tabs {
	margin-top: 48px;
}

.pkcp__tab-nav {
	display: flex;
	gap: 8px;
	border-bottom: 1px solid var(--pkcp-border);
}

.pkcp .pkcp__tab {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	min-height: 0;
	margin: 0;
	padding: 14px 24px;
	border: 0;
	border-radius: 0;
	background: none;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: var(--pkcp-muted);
	text-transform: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.pkcp .pkcp__tab:hover {
	background: none;
	color: var(--pkcp-text);
}

.pkcp .pkcp__tab.is-active {
	color: var(--pkcp-text);
}

.pkcp .pkcp__tab.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--pkcp-text);
}

.pkcp__panel {
	padding: 24px 0;
	font-size: 15px;
	line-height: 1.9;
}

.pkcp__panel[hidden] {
	display: none;
}

.pkcp__panel strong {
	color: var(--pkcp-text);
}

.pkcp__panel a {
	color: var(--pkcp-link);
	text-decoration: underline;
}

@media (max-width: 860px) {
	.pkcp__main {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		grid-template-areas:
			"intro"
			"media"
			"buy";
		gap: 28px;
	}
	.pkcp__media {
		max-width: none;
	}
	.pkcp .pkcp__buy-btn {
		width: 100%;
		justify-content: center;
	}
	.pkcp__title {
		font-size: 26px;
	}
	.pkcp .pkcp__tab {
		padding: 12px 14px;
		font-size: 14px;
	}
}
.page-title{--wd-title-sp: 15px;--wd-title-font-s: 36px;position:relative;padding-block:var(--wd-title-sp)}
.page-title .container{position:relative;margin-bottom:-10px}
.page-title .container>*{margin-bottom:10px}
.page-title .title{font-size:var(--wd-title-font-s);line-height:1.2}
.title-design-centered{text-align:center}
.title-design-disable{display:none}
@media (min-width: 1025px){
	.title-size-small{--wd-title-sp: 20px;--wd-title-font-s: 44px}
	.title-size-default{--wd-title-sp: 40px;--wd-title-font-s: 68px}
	.title-size-large{--wd-title-sp: 100px;--wd-title-font-s: 78px}
}

.pkcp-cart-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, 12px);
	z-index: 99999;
	max-width: 90%;
	padding: 12px 20px;
	background: #16224f;
	color: #fff;
	font-size: 14px;
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.pkcp-cart-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}