/**
 * Akouson Extras - Product Archive Widget Styles
 * Matching prototype screenshot design with Manrope font and Akouson branding colors:
 * Primary Dark Green: #2F5124
 * Accent Lime Green:  #99cc01
 * Sale Badge Magenta: #a2257f
 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* Scope container */
.akouson-product-archive-widget {
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
	width: 100%;
}

.akouson-product-archive-widget *,
.akouson-product-archive-widget *::before,
.akouson-product-archive-widget *::after {
	box-sizing: inherit;
}

/* -------------------------------------------------------------
 * Category Header Banner (Pattern from protipo.png)
 * ------------------------------------------------------------- */
.akouson-category-header-banner {
	position: relative;
	width: 100%;
	background-color: #eaede9;
	background-repeat: repeat;
	background-position: center center;
	background-size: auto;
	padding: 42px 32px 38px 32px;
	margin-bottom: 28px;
	box-sizing: border-box;
}

.akouson-banner-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	box-sizing: border-box;
}

/* -------------------------------------------------------------
 * Boxed Container for Content Below the Header Banner
 * Keeps products, filters, pagination, texts, FAQ & CTA boxed
 * while the top header banner with pattern stretches full width.
 * ------------------------------------------------------------- */
.akouson-archive-boxed-content {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.akouson-banner-title {
	font-family: 'Manrope', sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #222222;
	margin: 0 0 8px 0;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.akouson-banner-breadcrumbs,
.akouson-banner-breadcrumbs .woocommerce-breadcrumb,
.akouson-banner-breadcrumbs nav {
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #666666;
	margin: 0;
	padding: 0;
	background: transparent !important;
	border: none !important;
}

.akouson-banner-breadcrumbs a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.akouson-banner-breadcrumbs a:hover {
	color: #2F5124;
}

/* Category Description Banner (Matching text area.png) */
.akouson-description-banner {
	background-color: #f4f5f4;
	border-top: 1px solid #d4d8d2;
	padding: 20px 24px;
	margin-bottom: 28px;
	color: #2F5124;
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: -0.01em;
}

.akouson-description-banner p {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.akouson-description-banner p + p {
	margin-top: 10px;
}

/* Archive Header Bar (Result Count & Ordering Dropdown) */
.akouson-archive-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.akouson-archive-header .woocommerce-result-count {
	margin: 0;
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #2F5124;
}

.akouson-archive-header .woocommerce-ordering {
	margin: 0;
}

.akouson-archive-header .woocommerce-ordering select {
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #333333;
	background-color: #ffffff;
	border: 1px solid #767676;
	border-radius: 4px;
	padding: 8px 36px 8px 12px;
	min-width: 220px;
	cursor: pointer;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 15px 15px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.akouson-archive-header .woocommerce-ordering select:focus {
	border-color: #2F5124;
	box-shadow: 0 0 0 1px #2F5124;
}

/* Active Filter Chips Bar */
.akouson-active-filters-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 26px;
	padding: 10px 16px;
	background-color: #fafbfa;
	border: 1px dashed #d5ded3;
	border-radius: 6px;
}

.akouson-filter-label {
	font-family: 'Manrope', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #2F5124;
}

.akouson-filter-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.akouson-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #f0f4ee;
	color: #2F5124;
	border: 1px solid #d8e4d5;
	border-radius: 20px;
	padding: 4px 12px;
	font-family: 'Manrope', sans-serif;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.akouson-filter-chip:hover {
	background-color: #e5ede3;
	border-color: #2F5124;
	color: #2F5124;
}

.akouson-chip-remove {
	font-size: 16px;
	line-height: 1;
	color: #667e60;
	transition: color 0.2s ease;
}

.akouson-filter-chip:hover .akouson-chip-remove {
	color: #d32f2f;
}

.akouson-clear-filters {
	font-family: 'Manrope', sans-serif;
	font-size: 12.5px;
	font-weight: 600;
	color: #777777;
	text-decoration: underline;
	margin-left: 6px;
	transition: color 0.2s ease;
}

.akouson-clear-filters:hover {
	color: #2F5124;
}

/* Product Grid */
.akouson-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 24px;
	row-gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Individual Product Card */
.akouson-product-card {
	display: flex;
	flex-direction: column;
	position: relative;
	background: transparent;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	float: none !important;
}

/* Image Wrapper (Clean rounded box with subtle 1px border) */
.akouson-image-wrapper {
	position: relative;
	background-color: #ffffff;
	border: 1px solid #eaeaea;
	border-radius: 14px;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.akouson-product-card:hover .akouson-image-wrapper {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.akouson-product-image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.akouson-product-img,
.akouson-image-wrapper img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	transition: transform 0.3s ease;
}

.akouson-product-card:hover .akouson-product-img {
	transform: scale(1.02);
}

/* Sale Badge (Top right of image box) */
.akouson-sale-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	background-color: #a2257f;
	color: #ffffff;
	font-family: 'Manrope', sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 12px;
	border-radius: 4px;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Product Details */
.akouson-product-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 14px;
	flex-grow: 1;
}

/* Title - Matching Old Design */
.akouson-product-card .akouson-product-title {
	font-family: 'Manrope', sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	color: #222222 !important;
	margin: 0 0 10px 0 !important;
	letter-spacing: -0.01em !important;
	text-align: left !important;
}

.akouson-product-card .akouson-product-title a {
	color: #222222 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.akouson-product-card .akouson-product-title a:hover {
	color: #2F5124 !important;
}

/* Price Row - Matching Old Design */
.akouson-product-card .akouson-product-price {
	font-family: 'Manrope', sans-serif !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #2F5124 !important;
	margin: 0 0 16px 0 !important;
	display: flex !important;
	align-items: baseline !important;
	gap: 8px !important;
	flex-wrap: wrap !important;
	text-align: left !important;
}

/* Aggressively remove ANY template / theme background, border or padding on offers */
.akouson-product-card .akouson-product-price ins,
.akouson-product-card .price ins,
.akouson-product-card ins,
.akouson-product-card .akouson-product-price del,
.akouson-product-card .price del,
.akouson-product-card del,
.akouson-product-card .amount,
.akouson-product-card bdi {
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	display: inline !important;
}

/* Regular / Old strikethrough price - e.g. 26.00€ */
.akouson-product-card .akouson-product-price del,
.akouson-product-card .akouson-product-price del .amount,
.akouson-product-card .akouson-product-price del bdi {
	color: #61795c !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	text-decoration: line-through !important;
	opacity: 1 !important;
}

/* Current / Sale price - e.g. 21.00€ */
.akouson-product-card .akouson-product-price ins,
.akouson-product-card .akouson-product-price ins .amount,
.akouson-product-card .akouson-product-price ins bdi,
.akouson-product-card .akouson-product-price > .amount,
.akouson-product-card .akouson-product-price > bdi {
	color: #2F5124 !important;
	font-size: 17.5px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

/* Button (Add to Cart / Select Options) - Matching Old Design */
.akouson-product-button {
	margin-top: auto;
	text-align: left;
}

.akouson-product-card .akouson-product-button a.button,
.akouson-product-card .akouson-product-button .button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: 'Manrope', sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	background-color: #263e1d !important;
	padding: 7px 18px !important;
	border-radius: 3px !important;
	border: none !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease !important;
	width: auto !important;
}

.akouson-product-card .akouson-product-button a.button:hover,
.akouson-product-card .akouson-product-button .button:hover {
	background-color: #1a2d13 !important;
	color: #ffffff !important;
	transform: none !important;
}

.akouson-product-card .akouson-product-button a.button:active,
.akouson-product-card .akouson-product-button .button:active {
	transform: translateY(0);
}
	transform: translateY(0);
}

/* WooCommerce Added / Loading States */
.akouson-product-button a.button.loading {
	opacity: 0.7;
}

.akouson-product-button a.added_to_cart {
	font-family: 'Manrope', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #2F5124;
	margin-left: 8px;
	text-decoration: underline;
}

.akouson-product-button a.added_to_cart:hover {
	color: #99cc01;
}

/* -------------------------------------------------------------
 * Pagination (Immediately after products & before texts)
 * ------------------------------------------------------------- */
.akouson-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
	margin-bottom: 20px;
	clear: both;
	width: 100%;
}

.akouson-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: inherit;
	gap: inherit;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.akouson-pagination ul.page-numbers li {
	display: inline-flex !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	float: none !important;
}

.akouson-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #2F5124;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	text-decoration: none;
	line-height: 1;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.akouson-pagination a.page-numbers:hover {
	background-color: #99cc01 !important;
	border-color: #99cc01 !important;
	color: #ffffff !important;
}

.akouson-pagination .page-numbers.current {
	background-color: #2F5124 !important;
	border-color: #2F5124 !important;
	color: #ffffff !important;
	font-weight: 700;
}

.akouson-pagination .page-numbers.dots {
	border: none !important;
	background: transparent !important;
	color: #777777 !important;
	min-width: 24px;
	padding: 0 4px;
}

/* -------------------------------------------------------------
 * Category Informative / SEO Text Blocks Section (After Products & Pagination)
 * ------------------------------------------------------------- */
.akouson-content-blocks-section {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e8ece7;
	clear: both;
}

.akouson-content-block + .akouson-content-block {
	margin-top: 36px;
}

.akouson-block-heading {
	font-family: 'Manrope', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #2F5124;
	margin: 0 0 18px 0;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.akouson-block-body {
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: #333333;
}

.akouson-block-body p {
	margin: 0 0 16px 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.akouson-block-body p:last-child {
	margin-bottom: 0;
}

/* Bold subheadings inside paragraphs (e.g. Ωτοασπίδες ύπνου...) */
.akouson-block-body strong,
.akouson-block-body b {
	color: #2F5124;
	font-weight: 700;
	font-size: 15.5px;
	display: inline-block;
	margin-bottom: 2px;
}

.akouson-block-body ul,
.akouson-block-body ol {
	margin: 12px 0 18px 24px;
	padding: 0;
}

.akouson-block-body li {
	margin-bottom: 8px;
}

/* -------------------------------------------------------------
 * FAQ Accordion Section (After Texts)
 * ------------------------------------------------------------- */
.akouson-faq-section {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e8ece7;
	clear: both;
}

.akouson-faq-section-title {
	font-family: 'Manrope', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #2F5124;
	margin: 0 0 20px 0;
	letter-spacing: -0.01em;
}

.akouson-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.akouson-faq-item {
	background-color: #2F5124;
	border: 1px solid #2F5124;
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.akouson-faq-item.active {
	border-color: #2F5124;
	box-shadow: 0 4px 14px rgba(47, 81, 36, 0.15);
}

.akouson-product-archive-widget .akouson-faq-question {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	text-align: left !important;
	padding: 16px 20px !important;
	background-color: #2F5124 !important;
	border: none !important;
	cursor: pointer;
	font-family: 'Manrope', sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	gap: 14px !important;
	transition: color 0.2s ease, background-color 0.2s ease;
	outline: none !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	box-sizing: border-box !important;
}

.akouson-product-archive-widget .akouson-faq-question:hover {
	color: #99cc01 !important;
	background-color: #25411c !important;
}

.akouson-product-archive-widget .akouson-faq-item.active .akouson-faq-question {
	color: #ffffff !important;
	background-color: #2F5124 !important;
}

.akouson-product-archive-widget .akouson-faq-question-text {
	flex: 1 1 auto !important;
	max-width: calc(100% - 36px) !important;
	line-height: 1.45 !important;
	color: #ffffff !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	display: block !important;
}

.akouson-product-archive-widget .akouson-faq-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 24px !important;
	height: 24px !important;
	color: #ffffff !important;
	stroke: #ffffff !important;
	flex-shrink: 0 !important;
	margin-left: auto !important;
	transition: transform 0.25s ease, color 0.2s ease, stroke 0.2s ease;
}

.akouson-product-archive-widget .akouson-faq-icon svg {
	stroke: currentColor;
	fill: none;
}

.akouson-product-archive-widget .akouson-faq-question:hover .akouson-faq-icon {
	color: #99cc01 !important;
	stroke: #99cc01 !important;
}

.akouson-product-archive-widget .akouson-faq-item.active .akouson-faq-icon {
	transform: rotate(180deg);
	color: #99cc01 !important;
	stroke: #99cc01 !important;
}

.akouson-product-archive-widget .akouson-faq-answer {
	display: none;
	padding: 18px 20px;
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: #333333;
	background-color: #ffffff;
	border-top: 1px solid #eef2ed;
}

.akouson-product-archive-widget .akouson-faq-answer-inner {
	padding: 0;
}

.akouson-product-archive-widget .akouson-faq-answer p {
	margin: 0 0 10px 0;
	color: #333333;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.akouson-product-archive-widget .akouson-faq-answer p:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------
 * Call to Action (CTA) Banner & Button
 * ------------------------------------------------------------- */
.akouson-cta-wrapper {
	margin-top: 48px;
	background-color: #f7f9f6;
	border: 1px solid #e2e8e0;
	border-radius: 12px;
	padding: 36px 24px;
	text-align: center;
	clear: both;
}

.akouson-cta-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 720px;
	margin: 0 auto;
}

.akouson-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #2F5124;
	color: #ffffff;
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 14px 32px;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
	box-shadow: 0 3px 8px rgba(47, 81, 36, 0.15);
	cursor: pointer;
}

.akouson-cta-btn:hover {
	background-color: #99cc01;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(153, 204, 1, 0.3);
}

.akouson-cta-btn:active {
	transform: translateY(0);
}

.akouson-cta-subtitle {
	margin: 14px 0 0 0;
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: #2F5124;
	opacity: 0.95;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.akouson-product-grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 20px;
		row-gap: 30px;
	}

	.akouson-banner-title {
		font-size: 28px;
	}

	.akouson-block-heading {
		font-size: 22px;
	}

	.akouson-faq-section-title {
		font-size: 20px;
	}
}

@media (max-width: 600px) {
	.akouson-category-header-banner {
		padding: 30px 18px 26px 18px;
	}

	.akouson-banner-title {
		font-size: 24px;
	}

	.akouson-archive-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.akouson-archive-header .woocommerce-ordering select {
		width: 100%;
		min-width: 100%;
	}

	.akouson-product-grid {
		grid-template-columns: 1fr;
		column-gap: 0;
		row-gap: 26px;
	}

	.akouson-cta-wrapper {
		padding: 26px 16px;
	}

	.akouson-cta-btn {
		width: 100%;
		padding: 13px 18px;
		font-size: 14px;
		text-align: center;
	}

	.akouson-block-heading {
		font-size: 20px;
	}

	.akouson-product-archive-widget .akouson-faq-question {
		font-size: 15px !important;
		padding: 14px 16px !important;
		gap: 10px !important;
	}

	.akouson-faq-answer {
		padding: 0 16px 16px 16px;
	}
}
