/* Blocksy mini-cart dropdown */
.ct-header-cart .ct-cart-content {
	width: 440px;
	max-width: calc(100vw - 30px);
}

.ct-header-cart .ct-cart-content .product-title {
	color: var(--theme-palette-color-5);
	font-weight: 600;
}

/* Single product page: scale the featured/gallery image to fit its frame without cropping */
.woocommerce-product-gallery .ct-media-container {
	--theme-object-fit: contain;
}

/* Homepage "Προτεινόμενα" products section */
.home .stk-c934cac + .woocommerce {
	margin-bottom: 0;
}

.home .stk-c934cac + .woocommerce .products {
	--theme-link-initial-color: var(--theme-palette-color-4);
	--theme-link-hover-color: var(--theme-palette-color-1);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home .stk-c934cac + .woocommerce .products::before,
.home .stk-c934cac + .woocommerce .products::after {
	display: none;
}

.home .stk-c934cac + .woocommerce .products li.product {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 35px;
	background: var(--theme-palette-color-8);
	border: 2px solid var(--theme-palette-color-7);
	border-radius: 15px;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home .stk-c934cac + .woocommerce .products li.product figure {
	margin: 0 0 24px;
}

.home .stk-c934cac + .woocommerce .products li.product .ct-media-container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 240px;
	padding: 18px;
	background: var(--theme-palette-color-6);
	border-radius: 12px;
}

.home .stk-c934cac + .woocommerce .products li.product:hover {
	transform: translateY(-4px);
	border-color: var(--theme-palette-color-8);
	box-shadow: 0 30px 80px -30px rgba(193, 199, 212, 0.4);
}

.home .stk-c934cac + .woocommerce .products li.product a:first-child {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.home .stk-c934cac + .woocommerce .products li.product img {
	width: 100%;
	height: 240px;
	margin-bottom: 24px;
	object-fit: contain;
}

.home .stk-c934cac + .woocommerce .products li.product .woocommerce-loop-product__title {
	margin: 0 0 12px;
	font-size: 25px;
	line-height: 1.3;
}

.home .stk-c934cac + .woocommerce .products li.product .woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
}

.home .stk-c934cac + .woocommerce .products li.product .price {
	margin-top: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--theme-palette-color-1);
}

.home .stk-c934cac + .woocommerce .products li.product .entry-meta {
	display: none;
}

.home .stk-c934cac + .woocommerce .products li.product .ct-woo-card-actions {
	margin-top: auto;
	padding-top: 24px;
}

.home .stk-c934cac + .woocommerce .products li.product .button {
	width: fit-content;
	margin-top: 0;
	padding: 15px 25px;
	background: var(--theme-palette-color-6);
	color: var(--theme-palette-color-4);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 6px;
}

.home .stk-c934cac + .woocommerce .products li.product .button:hover {
	background: var(--theme-palette-color-1);
	color: var(--theme-palette-color-8);
}

@media (max-width: 999px) {
	.home .stk-c934cac + .woocommerce .products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home .stk-c934cac + .woocommerce .products li.product {
		padding: 30px;
	}
}

@media (max-width: 689px) {
	.home .stk-c934cac + .woocommerce .products {
		grid-template-columns: minmax(0, 1fr);
	}

	.home .stk-c934cac + .woocommerce .products li.product {
		padding: 24px;
	}

	.home .stk-c934cac + .woocommerce .products li.product img {
		height: 200px;
	}

	.home .stk-c934cac + .woocommerce .products li.product .ct-media-container {
		height: 200px;
	}
}

/* ───────────────────────────────────────────────────────────────────────
   Migrated from Customizer → Additional CSS (custom_css post 27)
   ─────────────────────────────────────────────────────────────────────── */

.ct-frosted-glass {
	backdrop-filter: blur(40px) brightness(200%);
	-webkit-backdrop-filter: blur(40px) brightness(200%);
}

.ct-subscribe-form {
	--theme-form-field-height: 60px;
	--theme-form-field-padding: 0 25px;
	--theme-form-field-background-initial-color: #000;
	--theme-form-field-background-focus-color: rgba(0, 0, 0, 0.4);
	--theme-form-field-border-width: 0;
	--theme-text-color: #fff;

	--theme-button-min-height: 60px;
	--theme-button-background-initial-color: var(--theme-palette-color-1);
	--theme-button-text-initial-color: #fff;
}

/* responsive map */
@media only screen and (max-width: 1024px) {
	.ct-map { height: 400px; }
}

/* Hide category description from Blocksy hero */
.tax-product_cat .page-description {
	display: none;
}

/* Style it in the content area */
.woocommerce-category-description {
	margin-bottom: 1.5rem;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.6;
}

/*
 * Product/subcategory archive grids and the single-product up-sells/related
 * sections: keep every image area the same size without cropping the product
 * itself. Source images have mixed proportions, so `contain` preserves each
 * stamp while the square frame keeps cards aligned. This deliberately
 * excludes single-product galleries and the custom homepage product section,
 * which have their own image treatment above.
 */
.woocommerce-archive [data-products] > .product .ct-media-container,
.up-sells.products [data-products] > .product .ct-media-container,
.related.products [data-products] > .product .ct-media-container {
	aspect-ratio: 1 / 1;
	background: var(--theme-palette-color-7);
}

.woocommerce-archive [data-products] > .product .ct-media-container :is(img, picture),
.up-sells.products [data-products] > .product .ct-media-container :is(img, picture),
.related.products [data-products] > .product .ct-media-container :is(img, picture) {
	height: 100%;
	object-fit: contain;
}

.woocommerce-archive .products > .product-category > a > img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--theme-palette-color-7);
}
