/*!
/*
Theme Name: MyySe
Theme URI: https://myyse.fi
Description: An optimized custom theme for Woocommerce
Version: 0.0.1
Author: MyySe
Author URI: https://myyse.fi
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myyse

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

MyySe is derived from Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

#primary {
	background-color: #fff;
	margin-top: 40px;
}
.elementor-location-archive.product {
	margin-top: 40px;
}
.woocommerce div.product .product_title {
	margin-bottom: 5px;
}
.sku_wrapper, .posted_in {
	margin: 5px 0;
	width: 100%;
	display: block;
}

.wc-tabs-wrapper {
	display: none;
}
.related.products {
	width: 100%;
	border-top: 1px solid #e0e0e0;
}
.related.products h2 {
	padding: 10px 0;
	width: 80%;
	margin: 0 auto;
}
.related.products .products.columns-4 {
	text-align: center;
	width: 80%;
	margin: 0 auto;
}
.entry-title {
	text-align: left;
	width: 100%;
	margin: 0 auto;
}
.button-wrapper {
	width: 100%;
	display: flex;
}
/* Yleinen tyyli */

.woocommerce-MyAccount-navigation {
	flex: 1; /* Tämä vie puolet tilasta desktop- ja tablet-näkymissä */
	padding: 5px;
	box-sizing: border-box;
	width: 20% !important;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
	min-width: 185px;
	background-color: #f6def0;
	min-width: 225px;
}
/* Container relative, jotta ikoni voidaan sijoittaa absoluuttisesti */
.elementor-search-form__container {
	position: relative;
}

/* Lisätään inputille tarpeeksi vasenta tilaa */
.elementor-search-form__input {
	padding-left: 40px !important; /* säädä tarpeen mukaan */
	box-sizing: border-box; /* varmistaa, että padding ei riko layouttia */
}

/* Siirretään ikoni inputin eteen */
.elementor-search-form__icon {
	position: absolute;
	left: 0px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none; /* ikoni ei estä kirjoittamista */
	font-size: 16px;
	color: #000;
	z-index: 2; /* varmistaa, että ikoni näkyy inputin päällä, mutta ei peitä tekstiä */
}

/* Jos ikonisi on SVG */
.elementor-search-form__icon svg {
	width: 16px;
	height: 16px;
}

/* Varmistetaan, että placeholder näkyy oikein */
.elementor-search-form__input::placeholder {
	color: #999;
	position: relative;
	z-index: 1; /* placeholder alhaalla, ikoni päällä */
}



.woocommerce-MyAccount-content {
	flex: 4; /* Tämä vie enemmän tilaa kuin navigaatio */
	padding: 0 5px;
	box-sizing: border-box;
	width: 77% !important;
}
.woocommerce-MyAccount-content h2 {
	margin-top: 0;
}
.products-centered {
	max-width: 1200px;
	margin: 0 auto;
}
.search-page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0 auto;
	padding: 0px;
}
.account-nav-accordion:after {
	clear:both;
}
.woocommerce-MyAccount-navigation ul a li {
	list-style: none;
	padding: 0px 0px 0px 20px;
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 18px !important;
	border-radius: 10px;
}
.woocommerce-MyAccount-navigation ul a {
	list-style: none;
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 20px !important;
	text-decoration: none;
	line-height: 35px;
}
.woocommerce-MyAccount-navigation ul li:hover {
	background-color: #fbf0f8 !important;
}
.woocommerce-MyAccount-navigation ul a li.is-active {
	background-color: #fbf0f8 !important;
}
.myaccount-accordion-toggle {
	display: none;
}
.two-col-account-form .two-col-wrap {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
}


.two-col-account-form .left-col,
.two-col-account-form .right-col {
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 0px;
	align-items: center;
	justify-content: center;
}


.two-col-account-form .form-row,
.two-col-account-form fieldset {
	width: 100%;
}


.form-submit-row {
	width: 100%;
	margin-top: 20px;
}
@media (max-width: 768px) {
	.two-col-account-form .two-col-wrap {
		flex-direction: column;
	}
	.two-col-account-form .left-col,
	.two-col-account-form .right-col {
		width: 100%;
	}
}

.child-category-list {
	display: none;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}
.product.outofstock:not(.instock) > .woocommerce-loop-product__link .listing-product-image-wrapper .sold-label {
	position: absolute;
	top: 19px;
	right: 8px;
	width: 110px;
	height: 75px;
	background-image: url(/wp-content/themes/myyse/assets/images/Myyty.svg);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 10;
	pointer-events: none;
	transform: rotate(28deg);
}

.product.outofstock:not(.instock) > .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .product-image-wrapper .sold-label {
	position: absolute;
	top: 32px;
	right: 14px;
	width: 180px;
	height: 120px;
	background-image: url(/wp-content/themes/myyse/assets/images/Myyty.svg);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 10;
	pointer-events: none;
	transform: rotate(28deg);
}
/*.product.outofstock:not(.instock) > .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .product-image-wrapper .sold-label {
	position: absolute;
	top: 40px;
	right: 0px;
	width: 250px;
	height: 94px;
	background-image: url(/wp-content/themes/myyse/assets/images/Myysetty.svg);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 10;
	pointer-events: none;
	transform: rotate(28deg);
}*/
.product.product-type-external > .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .product-image-wrapper .friend-label {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 150px;
	height: 150px;
	background-image: url(/wp-content/themes/myyse/assets/images/Kumppani8.svg);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 10;
	pointer-events: none;
}
.product.product-type-external > .woocommerce-loop-product__link .listing-product-image-wrapper .friend-label {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 110px;
	height: 110px;
	background-image: url(/wp-content/themes/myyse/assets/images/Kumppani8.svg);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 10;
	pointer-events: none;
}
.woocommerce-product-gallery__image.portrait .myyse-gallery-image {
	width: 100%;             /* vie koko leveyden */
	max-height: 300px;       /* korkeus ei ylitä 300px */
	height: auto;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;   /* täyttää divin, osa kuvasta voi leikkautua */
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding-bottom: 100%;
}
.woocommerce-product-gallery__image.landscape .myyse-gallery-image {
	width: 100%;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center center;
	position: relative;
	background-repeat: no-repeat;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.myyse-gallery-image {
	width: 100%;
	height: 100%;
	min-width: 150px;
	min-height: 150px;
}

.listing-product-image-wrapper.landscape {
	width: 100%;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center center;
	position: relative;
	background-repeat: no-repeat;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.woocommerce .elementor-element.elementor-products-grid ul.products li.product {
	width:100% !important;
}
.listing-product-image-wrapper.portrait {
	width: 100%;             /* vie koko leveyden */
	max-height: 300px;       /* korkeus ei ylitä 300px */
	height: auto;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;   /* täyttää divin, osa kuvasta voi leikkautua */
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding-bottom: 100%;

}

.product-image-wrapper {
	width: 100%;
	background-size: contain;
	background-position: center center;
	position: relative;
	background-repeat: no-repeat;
}


.back-to-parent {
	margin:10px 10px 10px 10px;
	cursor: pointer;
	position: relative;
	background-color: white !important;
	border: 1px solid #000 !important;
	color: black !important;
	font-size: 14px !important;
	font-weight: bold !important;
	padding: 4px 10px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	line-height:30px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
	float:right;
}
.back-to-parent:hover {
	background-color: #fff; /* Hieman vaaleampi musta hoverilla */
	color: var(--e-global-color-30c4ccb) !important;
	border-color: var(--e-global-color-30c4ccb) !important; /* Vaihtoehtoisesti voi käyttää accent-väriä */
	transform: translateY(-1px) !important;
}
#header-wrapper {
	max-width: 2000px;
	margin: 0 auto;
}
.category-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding: 10px;
}
#child-categories {
	text-align: center;
	width: 100%;
}

#child-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

#child-category-search {
	width: 50% !important;
	padding: 10px 12px !important;
	font-size: 16px !important;
	border: 1.5px solid #ccc !important;
	border-radius: 6px !important;
	box-sizing: border-box !important;
	transition: border-color 0.3s ease !important;
	margin: 0 auto 0 auto;
}

#child-category-search:focus {
	border-color: #0066cc;
	outline: none;
}

.category-item-create.child-category,
.woocommerce-loop-category__title {
	display: flex;                /* aktivoi flexboxin */
	align-items: center;          /* keskittää pystysuunnassa */
	justify-content: center;      /* keskittää vaakasuunnassa (jos haluat) */
	text-align: center;           /* keskittää tekstin sisällä */

	cursor: pointer;
	user-select: none;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;

	flex-shrink: 0;
	min-width: 200px;
	height: 70px;
	width: 200px;
	margin: 5px;
	position: relative;
	background-color: white !important;
	border: 1px solid #e0e0e0 !important;
	color: black !important;
	font-size: 14px !important;
	padding: 4px 10px !important;
	border-radius: 10px !important;
	transition: all 0.5s ease-out !important;
}

.category-item.child-category {
	width: auto;
}

.category-item-create.child-category:hover, .woocommerce-loop-category__title:hover {
	background-color:var( --e-global-color-accent ) !important;
	color:#000;
}

.category-item-create.child-category.selected, .woocommerce-loop-category__title.selected {
	background-color:var( --e-global-color-accent );
	color:#000;
	font-weight: 600;
}
.switch-label {
	margin-bottom: 0.5rem;
	padding-left: 10px;
}

.toggle-container {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 28px;
	margin-left:10px;
}

.toggle-container input {
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 34px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

.toggle-container input:checked + .slider {
	background-color: var(--e-global-color-30c4ccb);;
}

.toggle-container input:checked + .slider::before {
	transform: translateX(22px);
}
#newest-products .elementor-widget-container {
	width:100%;
}
#newest-products .elementor-widget-container .columns-3{
	width:100%;
}
#slogan {
	font-size: 42px;
	font-weight: 400;
}
#slogan p {
	margin: 0 !important;
}
.product-category-link {
	text-decoration: none !important;
	color: black !important;
	background-color: #eee !important;
	padding: 5px 10px;
	border-radius: 10px;
	border: 1px solid #e0e0e0;
}
.product_meta {
	margin: 10px 0;
}
.product-myyse-condition {
	margin: 0;
}
.woocommerce-product-details__description {
	padding: 10px;
	background: #eee;
	border-radius: 10px;
}
.woocommerce-product-details__description p {
	margin: 0;
}
.summary .stock {
	display: none;
}
.product-shipping-price {
	margin: 0;
}
.product-description {
	padding: 0;
}
.woocommerce-product-gallery__image .wp-post-image {
	max-height: 600px !important;
	object-fit: contain !important;
}

.product-description h2 {
	font-size: 20px;
	font-weight: 600;
}
#favourite-box {
	display: flex;
	flex-direction: column; /* sisällöt päällekkäin mobiilissa */
	align-items: center;    /* keskitetään vaakasuunnassa */
	justify-content: center; /* keskitetään pystysuunnassa */
	text-align: center;     /* tekstit keskelle */
	max-width: 1200px;      /* ei liian leveä isoilla näytöillä */
	margin: 0 auto;         /* keskitetään sivulla */
	box-sizing: border-box;
	margin-top: 10px !important;
	position: relative;
	background: #f6def0 !important;
	border: 1px solid #e0e0e0;
	border-radius: 10px !important;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
	padding: 30px !important;
	max-height: 345px;
}
#mobile-frontbox {
	display: flex;
	flex-direction: column; /* sisällöt päällekkäin mobiilissa */
	align-items: center;    /* keskitetään vaakasuunnassa */
	justify-content: center; /* keskitetään pystysuunnassa */
	text-align: center;     /* tekstit keskelle */
	max-width: 1200px;      /* ei liian leveä isoilla näytöillä */
	margin: 0 auto;         /* keskitetään sivulla */
	box-sizing: border-box;
	margin-top: 10px !important;
	position: relative;
	background: #fff !important;
	border: 1px solid #e0e0e0;
	border-radius: 10px !important;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
	padding: 30px !important;
	max-height: 345px;
}


/* Tekstit ja nappi */
#favourite-box h2 {
	font-size: 2rem;
	margin-bottom: 15px;
}

#favourite-box p {
	font-size: 1rem;
	margin-bottom: 25px;
	line-height: 1.6;
}

#favourite-box #myyse-button {
	display: inline-block;
}

/* 🔹 Mobiiliystävällinen versio */
@media (max-width: 768px) {
	#favourite-box {
		padding: 16px !important;
		max-width: 95%;
		max-height: none; /* Poistaa rajoittavan korkeuden */
		box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
	}

	#favourite-box h2 {
		font-size: 1.4rem;
		margin-bottom: 10px;
	}

	#favourite-box p {
		font-size: 0.95rem;
		margin-bottom: 15px;
	}

	#favourite-box #myyse-button {
		font-size: 0.9rem;
		padding: 8px 16px;
	}
	#checkout_title {
		background-color: rgba(255, 255, 255, 0.6) !important; /* valkoinen 50% läpinäkyvyys */
	}

}
.delivery-methods-wrapper {
	display: flex;
	flex-direction: column; /* strong riville, kuvakkeet alla */
	gap: 8px;
	margin: 10px 0;
}

.delivery-methods {
	display: flex;
	align-items: center;
	gap: 16px; /* spanien väli */
	flex-wrap: wrap; /* salli rivinvaihto pienessä näytössä */
}

.delivery-method {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.delivery-img {

}

.delivery-label {
	font-size: 14px;
	margin-top: 4px;
}



.category-item {

}

.category-icon {
	cursor: pointer;
	user-select: none;
	display: inline-flex;              /* samalle riville */
	align-items: center;              /* vertikaalisesti keskelle */
	justify-content: center;          /* keskittää kuvan + tekstin vaakasuunnassa */
	flex: 1 1 200px; 				/* 🔑 laajenee mutta minimissään 200px */
	min-width: 200px;
	width: 200px;             /* minimileveys */
	height: 70px;                    /* yhtenäinen leveys (muokattavissa) */
	margin: 5px;
	background-color: white !important;
	border: 1px solid #e0e0e0 !important;
	color: black !important;
	font-size: 14px !important;
	padding: 5px !important;
	border-radius: 10px !important;
	line-height: 1.4 !important;
	transition: all 0.5s ease-out !important;
	box-sizing: border-box;
	text-align: left;
}

.category-icon img {
	width: 30px;
	height: 30px;
	margin-right: 10px;
	flex-shrink: 0;
	object-fit: contain;
	transition: transform 0.3s ease-in-out;
}
.category-icon .category-text {
	display: inline-block;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;  /* 🔑 tämä estää sanojen katkeamisen */
	flex: 1;
}
.site-main article {
	padding-left: 20px;
	padding-right: 20px;
}

.category-item:hover .category-icon {
	background: #ddd;
	color: var(--e-global-color-30c4ccb) !important;
	border-color: var(--e-global-color-30c4ccb) !important;
	transform: translateY(-1px) !important;
}

.category-item:hover img {
	transform: scale(1.2);
}

@media (max-width: 768px) {
	.category-menu {
		flex-wrap: wrap;
		justify-content: center;
	}

	.category-item {
		width: 250px;
		font-size: 12px;
	}
}
@media (max-width: 550px) {
	#child-categories .child-category-list {
		width: 100% !important;
	}
	.category-item-create.child-category {
		min-width: 170px;
		width: 170px;
	}
	.category-item {
		width: auto;
		font-size: 10px;
	}
	.category-icon {
		min-width: 170px;
		width: 170px;
	}
}

@media (max-width: 480px) {
	.category-item {
		width: auto;
		font-size: 10px;
	}
}

.product-type-simple, .product-type-external, .product-type-grouped, .product-type-variable {
	width:80%;
	display:flex;
	flex-wrap: wrap;
	position:relative;
	background: #fff;
	padding: 0px;
	box-sizing: border-box;
	border: none;
	border-radius: 10px;
	margin: 15px auto;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
	margin-bottom: 20px !important;
}
.woocommerce div.product div.summary {
	padding-left: 25px;
}
/*.elementor-products-grid {
	width:100%;
	display:flex;
	flex-wrap: wrap;
	position:relative;
	background: #fff;
	padding: 10px;
	box-sizing: border-box;
	border: none;
	border-radius: 10px;
	margin: 0 auto;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
	margin-bottom: 20px !important;
}*/
#send-message-to-seller {
	float: right;
	margin-right: 50px;
	margin: 0 50px 0 auto;
}
.woocommerce div.product form.cart .button {
	vertical-align: middle;
	float: right;
}
.product-wrapper {
	width:100%;
	display:flex;
	flex-wrap: wrap;
	position:relative;
	padding: 0px;
	box-sizing: border-box;
	border: none;
	margin: 0 auto;
	margin-bottom: 20px !important;
}
.product img {
	width: 100% !important;
	height: auto !important;
	display: block;
	object-fit: cover;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
	margin: 5px;
}
.woocommerce-product-gallery__image .wp-post-image{
	width: 100% !important;
	height: auto !important;
	display: block;
	object-fit: cover;
	border-top-left-radius: 10px !important;
	border-top-right-radius: 0px !important;
}
/*alku*
/* Grid-rakenne */
#myyse-products-container .products {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 40px 20px; /* riviväli 40px, sarakeväli 20px */
	padding: 0;
	list-style: none outside;
	clear: both;
}

.woocommerce ul.products::before {
	display: none !important;
}
#myyse-products-container .woocommerce-ordering {
	float: right;
	margin: 0 0 1em;
}

/* Tuotteen laatikko */
#myyse-products-container .product {
	border: 1px solid #eee;
	background: #fff;
	padding: 15px;
	transition: transform 0.3s;
	display: flex;
	flex-direction: column;
}

/* Tuotenimi */
#myyse-products-container .woocommerce-loop-product__title {
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	margin: 0;
	padding: 0px 5px 0 5px;
	text-align: center;
	height: 55px;
	font-family: "Ubuntu", sans-serif !important;
}

/* Hinta */
#myyse-products-container .price {
	color: #000 !important;
	font-weight: 500 !important;
	font-size: 20px !important;
	margin: 0 !important;
	padding: 0px 10px 0 10px;
	text-align: center;
	font-family: 'Ubuntu', sans-serif !important;
}

/* ZIP-info pienemmäksi */
#myyse-products-container .myyse-zip-info {
	font-size: 12px;
	color: #666;
	margin-top: 5px;
}

/* "No products" -viesti keskitettynä */
#myyse-products-container li.no-products {
	text-align: center;
	font-style: italic;
	color: #999;
}

/* Responsiivisuus */
@media (max-width: 1400px) {
	#myyse-products-container .products {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 1200px) {
	#myyse-products-container .products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	#myyse-products-container .products {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px 15px;
	}
}

@media (max-width: 640px) {
	#myyse-products-container .products {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px 15px;
	}
	#myyse-products-container .woocommerce-loop-product__title {
		font-size: 14px !important;
		height: auto;
	}
	#myyse-products-container .price {
		font-size: 18px !important;
	}
}
@media (max-width: 380px) {
	#myyse-products-container .products {
		grid-template-columns: 1fr;
		gap: 20px 0;
	}
	#myyse-products-container .woocommerce-loop-product__title {
		font-size: 14px !important;
		height: auto;
	}
	#myyse-products-container .price {
		font-size: 18px !important;
	}
}


/*Loppu */
.product-wrapper .elementor-widget-container .woocommerce .products .product, #myyse-products-container .product{
	width:100% !important;
	display:flex;
	flex-wrap: wrap;
	position:relative;
	background: #fff !important;
	padding: 0px !important;
	box-sizing: border-box !important;
	border: 1px solid #e0e0e0; !important;
	border-radius: 10px !important;
	margin: 0 auto !important;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
	margin-bottom: 20px !important;
}
.product-wrapper .elementor-widget-container .woocommerce .products .product .price {
	color: #000 !important;
	font-weight: 500 !important;
	font-size: 20px !important;
	margin: 0 !important;
	padding: 0px 10px 0 10px;
	text-align: center;
	font-family: 'Ubuntu', sans-serif !important;
}
#my-myyse-products {
	width:100% !important;
	display:flex;
	flex-wrap: wrap;
	position:relative;
	background: #fff !important;
	padding: 0px !important;
	box-sizing: border-box !important;
	border: 0px solid #e0e0e0; !important;
	border-radius: 10px !important;
	margin: 0 auto !important;
	margin-bottom: 20px !important;
}
.my-myyse-product {
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
	border-radius: 10px !important;
	min-width: 237px;
}
#my-myyse-products .my-myyse-product .my-myyse-product-price {
	color: #000 !important;
	font-weight: 700 !important;
	font-size: 20px !important;
	margin: 0;
	padding: 5px 10px 0 10px;
	text-align: center;

}
.swiper-slide-image {
	width: 150px !important;
}
#checkout-container {
	background: #fff !important;
}
#checkout-container .e-con-inner {
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
	padding: 15px;
	border-radius: 10px;
	margin: 10px auto 10px auto;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
	padding: 1em 2em 1em 3.5em;
	margin: 0 0 10px 0;
	position: relative;
	background-color: #fff;
	color: #000;
	border-top: 0px solid #720eec;
	list-style: none outside;
	width: auto;
	word-wrap: break-word;
	font-family: "Ubuntu", sans-serif !important;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
	line-height: 45px;
}
.product-wrapper .elementor-widget-container .woocommerce .products .product .woocommerce-loop-product__title {
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	margin: 0;
	padding: 0px 5px 0 5px;
	text-align: center;
	height: 55px;
	font-family: "Ubuntu", sans-serif !important;
}
.columns-4 .product .woocommerce-loop-product__title {
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	margin: 0;
	padding: 0px 5px 0 5px;
	text-align: center;
	height: 55px;
	font-family: "Ubuntu", sans-serif !important;
	width: 100%;
}
.elementor-nav-menu--layout-horizontal .elementor-nav-menu a {
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 18px !important;
}
.elementor-nav-menu--dropdown .elementor-nav-menu a {
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 18px !important;
}
.elementor-nav-menu--dropdown .elementor-item:hover {
	background-color: #fefe !important;
}
.elementor-nav-menu--dropdown .elementor-item:active {
	background-color: #fefe !important;
}
.elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
	background-color: #fefe !important;
}
.product-wrapper .elementor-widget-container .woocommerce .products .product .cart {
	width: 100%;
}
.myyse-loop-add-to-cart {
	text-align: center;
	margin: 10px 0;
}
.myyse-loop-add-to-cart .quantity {
	display: none;
}
.single_add_to_cart_button {
	margin-top: 20px !important;
}
#commentform .form-submit {
	text-align: right;
}
.woocommerce-price-suffix {
	display: none !important;
}

.entry-footer .edit-link {
	display: none;
}
@media (max-width: 1024px) {
	#header-container {
		flex-wrap: wrap;
	}
}

/*.woocommerce-product-gallery__image:nth-child(n+2) {
	width: 17% !important;
	display: block !important;
	text-align: right;
	margin-left: auto;
	margin-right: 20px;
	margin-top: 10px;
}*/
.price {
	color: #000 !important;
	font-weight: 700 !important;
	font-size: 24px !important;
	margin: 0;
	padding: 5px 0px 0 0px;
}
.action-wrapper {
	min-width: 122px;
}
#breadcrumb {
	width:80%;
	margin: 0 auto;
}
#breadcrumb a {
	color: #000;           /* musta väri */
	text-decoration: none; /* poistaa alleviivauksen */
}

#breadcrumb a:hover,
#breadcrumb a:focus {
	color: #000;           /* hover-efektin estäminen */
	text-decoration: none; /* hoverissa ei alleviivausta */
}

.my-myyse-product-actions{
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	flex-wrap: wrap;
}
.my-myyse-product-action.edit, .my-myyse-product-action.delete {
	width: 40%;
	margin: 0px auto 10px auto;
}
#navi-wrapper {
	z-index: 90;
}

#myyse-buy,
#myyse-sell,
#myyse-button,
#telia-auth-button,
#get_myyse_login_code,
#myyse_do_login{
	background-color: white !important;
	border: 1px solid #000;
	color: black;
	font-size: 18px !important;
	font-weight: bold !important;
	padding: 6px 20px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height:30px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
}
.woocommerce-checkout #payment {
	background: #fbf0f8;
	border-radius: 5px;
}
.woocommerce-checkout #payment div.payment_box {
	background-color: #f6def0;
	color: #000;
}
.woocommerce-checkout #payment div.payment_box::before {
	border: 1em solid #f6def0;
	border-right-color: transparent;
	border-left-color: transparent;
	border-top-color: transparent;
}
.woocommerce-message .wc-forward {
	display: none !important;
}

#myyse-sell-banner
{
	background-color: #5ca4d4 !important;
	color: #fff;
	font-size: 16px !important;
	font-weight: bold !important;
	padding: 2px 0px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height: 30px !important;
	transition: all 0.5s
	ease-out !important;
	min-width: 106px !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

}


#zip-filter-submit{
	background-color: white !important;
	border: 1px solid #000;
	color: black;
	font-size: 16px !important;
	font-weight: bold !important;
	padding: 0px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height:30px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
}
.my-myyse-published {
	text-align: center;
}
.my-myyse-published .renew-product-button{
	background-color: white !important;
	border: 1px solid #000;
	color: black;
	font-size: 14px !important;
	font-weight: bold !important;
	padding: 0px 5px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height:25px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
}
/* testataan */
.myyse_add_to_cart_button,
.single_add_to_cart_button,
.my-myyse-product-action.delete,
.my-myyse-product-action.edit,
.my-myyse-product-action.add.center,
.wc-forward,
.update_cart,
.e-apply-coupon{
	background-color: white !important;
	border: 1px solid #000 !important;
	color: black !important;
	font-size: 16px !important;
	font-weight: bold !important;
	padding: 6px 20px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height:30px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
}
#myyse_do_login, #get_myyse_login_code, #haveCode  {
	cursor: pointer !important;
}
#haveCode {
	font-weight: 500;
}
#haveCode i{
	padding-left:5px;
}
.elementor-menu-cart__product-name.product-name {
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	margin: 0;
	padding: 0px 5px 0 5px;
	text-align: center;
	font-family: "Ubuntu", sans-serif !important;
}
.elementor-menu-cart__product-name.product-name a {
	color: #000 !important;
	font-family: "Ubuntu", sans-serif !important;
}
.elementor-menu-cart__product-price.product-price {
	color: #000 !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	margin: 0;
	padding: 0px 5px 0 5px;
	text-align: center;
	font-family: "Ubuntu", sans-serif !important;
}
.myyse-button, .search-submit {
	background-color: white !important;
	border: 1px solid #000 !important;
	color: black !important;
	font-size: 16px !important;
	font-weight: bold !important;
	padding: 6px 20px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height:30px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
}
#myyse-cart form button {
	background-color: white !important;
	border: 1px solid #000 !important;
	color: black !important;
	font-size: 16px !important;
	font-weight: bold !important;
	padding: 6px 20px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height:30px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
}
.elementor-menu-cart__product-remove:after, .elementor-menu-cart__product-remove:before  {

	background: var(--remove-item-button-color, #000000) !important;
	content: "";
	height: 1px;
	left: 25%;
	margin-top: -1px;
	position: absolute;
	top: 50%;
	transition: .3s;
	width: 50%;
	z-index: 1;
}

.elementor-button--view-cart,
.elementor-button--checkout {
	background-color: white !important;
	border: 1px solid #000 !important;
	color: black !important;
	font-size: 16px !important;
	font-weight: bold !important;
	padding: 6px 20px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height:30px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
	width: 90% !important;
	margin: 10px auto;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
	background-color: white !important;
	border: 1px solid #000 !important;
	color: black !important;
	font-size: 16px !important;
	font-weight: bold !important;
	padding: 6px 20px !important;
	border-radius: 10px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height:30px !important;
	transition: all 0.5s ease-out !important; /* Pehmeä ja rauhallinen siirtymä */
	min-width: 121px !important;
}
.elementor-widget-woocommerce-cart .woocommerce a:not(.add_to_cart_button):not(.restore-item):not(.wc-backward):not(.wc-forward){
	color: #000 !important;
}
.elementor-menu-cart__footer-buttons {
	display: block !important;
}
#login-box {
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 15px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	z-index: 10;
	background: #f6def0 !important;
	margin: 20px auto;
	text-align: center;
}

.myyse-notice span {
	padding-left: 5px;
	font-size: 14px;
}

#myyse-buy:hover,
#myyse-sell:hover,
#myyse-button:hover,
.renew-product-button:hover,
#telia-auth-button:hover,
#zip-filter-submit:hover,
#get_myyse_login_code:hover,
#myyse_do_login:hover{
	background-color: #fff; /* Hieman vaaleampi musta hoverilla */
	color: var(--e-global-color-30c4ccb);
	border-color: var(--e-global-color-30c4ccb); /* Vaihtoehtoisesti voi käyttää accent-väriä */
	transform: translateY(-1px);
	/*box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.25);*/
}
.myyse_add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.my-myyse-product-action.delete:hover,
.my-myyse-product-action.edit:hover,
.my-myyse-product-action.add.center:hover,
.wc-forward:hover,
.update_cart:hover,
.e-apply-coupon:hover,
#myyse-cart form button:hover,
.elementor-button--checkout:hover,
.elementor-button--checkout:hover,
.myyse-button:hover,
.search-submit:hover
{
	background-color: #fff; /* Hieman vaaleampi musta hoverilla */
	color: var(--e-global-color-30c4ccb) !important;
	border: 1px solid var(--e-global-color-30c4ccb) !important; /* Vaihtoehtoisesti voi käyttää accent-väriä */
	transform: translateY(-1px);
	/*box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.25);*/
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
	background-color: #fff; /* Hieman vaaleampi musta hoverilla */
	color: var(--e-global-color-30c4ccb) !important;
	border: 1px solid var(--e-global-color-30c4ccb) !important; /* Vaihtoehtoisesti voi käyttää accent-väriä */
	transform: translateY(-1px);
	/*box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.25);*/
}
.entry-header .entry-title {
	text-align: left;
	width: 80% !important;
}
.product-type-simple > form {
	display:none;
}
#id-image-text, #id-image-more-info  {
	margin-bottom: 10px;
}
.is_passport {
	margin-bottom: 10px;
	display: inline-block;
}

.category-icon-create {
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f7f7f7;
	transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
	margin: 0 auto;
}

.category-icon-create img {
	object-fit: contain;
	transition: transform 0.3s ease-in-out;
}

.category-icon-create:hover .category-icon {
	background: #ddd;
	transform: scale(1.1);
}

.category-icon-create:hover img {
	transform: scale(1.2);
}
.elementor-nav-menu__container {
	top: 65px !important;
}

#category-icons {
	background: #fff !important;
	padding: 10px !important;
	box-sizing: border-box !important;
	border: 1px solid #e0e0e0; !important;
	border-radius: 10px !important;
	margin: 10px auto !important;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
	width: 100%;
}
#category-icons > div > div > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center; /* Keskittää tuotteet vaakasuunnassa */
	gap: 20px; /* Voit säätää etäisyyksiä */
}

#category-icons > div > div > ul > li {
	text-align: center; /* Keskittää sisällön elementin sisällä */
	flex: 1;
}
#category-icons > div > div > ul > li .category-icon-create img {
	display: block; /* Estää mahdollisen "inline" ongelman */
	margin: 0 auto; /* Keskittää kuvat */
}

#category-icons > div > div > ul > li .woocommerce-loop-category__title {
	font-size: 16px;
	line-height: 20px;
	color: #000;
	font-weight: 400;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0;
}
.woocommerce .elementor-element.elementor-products-grid ul.products li.product {
	margin: 0 auto;
}
.product-category .woocommerce-loop-category__title {
	font-size: 16px;
	line-height: 20px;
	color: #000;
	font-weight: 400;
	margin-top: 0;
	margin-bottom: 15px;
	padding: 0;
	text-align: center;
	align-items: center;
}


.myyse-zip-info, .product-myyse-zip {
	color: #0b4f82 !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	margin: 0 0 5px 0;
	padding: 0px 5px 0 5px;
	text-align: center;
	font-family: "Ubuntu", sans-serif !important;
}
.product-myyse-zip {
	color: #0b4f82 !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	margin: 0 0 5px 0;
	padding: 0;
	text-align: left;
	font-family: "Ubuntu", sans-serif !important;
}


/* Tuoteboksi */
.columns-5 .product {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: space-between !important;
	box-sizing: border-box !important;
}
.columns-5 .woocommerce-loop-product__buttons, .columns-4 .woocommerce-loop-product__buttons, .columns-3 .woocommerce-loop-product__buttons {
	display: none;
}

/* Linkin sisäinen sisältö – eli kuva, hinta ja otsikko */
.columns-5 .woocommerce-loop-product__link, .columns-4 .woocommerce-loop-product__link, .columns-3 .woocommerce-loop-product__link {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	text-align: center !important;
	width: 100% !important;
}

/* Kuva – skaalaa laatikon leveyteen, korkeus pysyy */
.columns-5 .woocommerce-loop-product__link img {
	width: 100% !important;
	height: 210px !important;
	object-fit: contain !important;
	object-position: center !important;
	background-color: #fff !important; /* Voit vaihtaa taustan haluamaksesi */
	margin-bottom: 5px !important;
}
.columns-4 .woocommerce-loop-product__link img {
	width: 100% !important;
	height: 268px !important;
	object-fit: contain !important;
	object-position: center !important;
	background-color: #fff !important; /* Voit vaihtaa taustan haluamaksesi */
	margin-bottom: 5px !important;
}
.columns-3 .woocommerce-loop-product__link img {
	width: 100% !important;
	height: 262px !important;
	object-fit: contain !important;
	object-position: center !important;
	background-color: #fff !important; /* Voit vaihtaa taustan haluamaksesi */
	margin-bottom: 5px !important;
}

/* Otsikko ja hinta tasaisesti pohjalle */
.columns-5 .woocommerce-loop-product__title, .columns-4 .woocommerce-loop-product__title, .columns-3 .woocommerce-loop-product__title {
	margin:  0 !important;
	font-size: 1rem !important;
}

.columns-5 .price, .columns-4 .price, .columns-3 .price {
	margin-top: auto !important;
	font-weight: bold !important;
	font-size: 1rem !important;
}
@media (max-width: 1024px) {
	.columns-5 .woocommerce-loop-product__link img, .columns-4 .woocommerce-loop-product__link img, .columns-3 .woocommerce-loop-product__link img {
		height: 276px!important;
	}
	.columns-4 .woocommerce-loop-product__link img {
		height: 317px!important;
	}
}
/* Responsiivisuus */
@media (max-width: 768px) {
	.columns-5 .woocommerce-loop-product__link img, .columns-4 .woocommerce-loop-product__link img, .columns-3 .woocommerce-loop-product__link img {
		height: 300px!important;
	}
	.columns-4 .woocommerce-loop-product__link img {
		height: 338px!important;
	}
	.product-wrapper .elementor-widget-container .woocommerce .products .product .woocommerce-loop-product__title {
		height: 75px;

	}
	.columns-4 .product .woocommerce-loop-product__title {
		height: 75px;

	}
	.woocommerce div.product div.summary {
		padding-left: 25px;
		padding-right: 25px;
	}
	.product-type-simple, .product-type-external, .product-type-grouped, .product-type-variable {
		width:90%;
	}

}
@media (max-width: 480px) {
	.columns-5 .woocommerce-loop-product__link img, .columns-4 .woocommerce-loop-product__link img, .columns-3 .woocommerce-loop-product__link img {
		height: 190px!important;
	}
	.columns-4 .woocommerce-loop-product__link img {
		height: 217px!important;
	}
	.elementor-grid-mobile-2 .elementor-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.product-wrapper .elementor-widget-container .woocommerce .products .product {
		width: 100% !important;
	}
	.product-wrapper {
		display:block !important;
	}

}
@media (max-width: 380px) {
	.columns-5 .woocommerce-loop-product__link img, .columns-4 .woocommerce-loop-product__link img, .columns-3 .woocommerce-loop-product__link img {
		height: 190px!important;
	}
	.columns-4 .woocommerce-loop-product__link img {
		height: 217px!important;
	}
	.elementor-grid-mobile-2 .elementor-grid {
		grid-template-columns: 1fr !important;
	}
	.product-wrapper .elementor-widget-container .woocommerce .products .product {
		width: 100% !important;
	}
	.product-wrapper {
		display:block !important;
	}

}
#id_image_front, #id_image_back {
	display: none;
}
.black-label {
	color: #000;
}

#custom-upload-button-front, #custom-upload-button-back {
	margin: 10px;
	cursor: pointer;
	display: inline-block;
	background-color: white;
	border: 1px solid #000;
	color: black;
	font-size: 14px;
	font-weight: bold;
	padding: 4px 6px;
	border-radius: 10px;
	text-transform: uppercase;
	line-height: 25px;
	transition: all 0.5s ease-out;
	min-width: 121px;
	text-align: center;
}
#custom-upload-button-back.disabled {
	background: #DDD !important;
	cursor: not-allowed !important;
	color: #fff !important;
	border: 1px solid #fff !important;
}
#submit_id_images {
	margin: 10px;
	cursor: pointer;
	display: inline-block;
	background-color: white;
	border: 1px solid #000;
	color: black;
	font-size: 16px;
	font-weight: bold;
	padding: 4px 10px;
	border-radius: 10px;
	text-transform: uppercase;
	line-height: 30px;
	transition: all 0.5s ease-out;
	min-width: 121px;
	text-align: center;
}

.custom-upload-button:hover, #submit_id_images:hover {
	background-color: #fff;
	color: var(--e-global-color-30c4ccb);
	border-color: var(--e-global-color-30c4ccb);
	transform: translateY(-1px);
}

/*.columns-5 .attachment-woocommerce_thumbnail {
	min-height: 69%; !important;
	max-height: 210px !important;
	width: auto !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 auto !important;
}
.columns-4 .attachment-woocommerce_thumbnail {
	height: 268px !important;
	width: auto !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 auto !important;
}
.columns-3 .attachment-woocommerce_thumbnail {
	height: 262px !important;
	width: auto !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 auto !important;
}*/

#myyse-buy:active,
#myyse-sell:active,
#myyse-button:active,
.myyse_add_to_cart_button:active,
.single_add_to_cart_button:active{
	transform: translateY(0px);
	/*box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);*/
}

#myyse-sell .elementor-button-content-wrapper::before {
	background-image: url('/wp-content/themes/myyse/assets/images/euro-price-tag-icon-black.png');
	content: ""; /* Pakollinen pseudo-elementille */
	display: inline-block; /* Varmistaa, että näkyy */
	background-size: contain; /* Skaalaa kuvan sopivaksi */
	background-repeat: no-repeat; /* Estää toiston */
	width: 30px;
	height: 30px;
	margin-left: 0px;
	vertical-align: middle; /* Kohdistaa ikonit paremmin */
}
#myyse-sell-banner .elementor-button-content-wrapper::before {
	background-image: url('/wp-content/themes/myyse/assets/images/euro-price-tag-icon-white.png');
	content: ""; /* Pakollinen pseudo-elementille */
	display: inline-block; /* Varmistaa, että näkyy */
	background-size: contain; /* Skaalaa kuvan sopivaksi */
	background-repeat: no-repeat; /* Estää toiston */
	width: 30px;
	height: 30px;
	margin-left: 0px;
	vertical-align: middle; /* Kohdistaa ikonit paremmin */
}
#myyse-sell:hover .elementor-button-content-wrapper::before {
	background-image: url('/wp-content/themes/myyse/assets/images/euro-price-tag-icon-green.png');
}
#myyse-buy:hover .elementor-button-content-wrapper::before {
	background-image: url('/wp-content/themes/myyse/assets/images/shopping-icon-green.png');
}
#myyse-buy .elementor-button-content-wrapper::before {
	content: ""; /* Pakollinen pseudo-elementille */
	display: inline-block; /* Varmistaa, että näkyy */
	background-image: url('/wp-content/themes/myyse/assets/images/shopping-icon-black.png');
	background-size: contain; /* Skaalaa kuvan sopivaksi */
	background-repeat: no-repeat; /* Estää toiston */
	width: 30px;
	height: 30px;
	margin-left: 0px;
	vertical-align: middle; /* Kohdistaa ikonit paremmin */
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}
.category-item.parent-category:visited {
	color: #333 !important;
}

	/**
     * 1. Remove the bottom border in Chrome 57-
     * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
     */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	/*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;*/
	font-family: 'Ubuntu', sans-serif !important;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}
.woocommerce-account .entry-header {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}
.delivery-options-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px !important;
	margin-top: 10px;
}
.delivery-option {
	display:flex;
	align-items:center;
	border: 1px solid #e0e0e0 !important;
	padding: 10px;
	border-radius: 10px;
	min-width: 180px;
	min-height: 87px;
}
.delivery-option .switch-label {
	margin-bottom: 0 !important;
	display:flex;
	flex-direction:column;
	align-items:center;
	padding-left: 0px;
	padding-right: 10px;
	min-width: 102px;
}
.delivery-option .switch-label img {
	height: 40px !important;
	width: auto;
}
.delivery-option .switch-label span {
	font-size:14px;
	margin-top:4px;
}
#my-myyse-products {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.my-myyse-product {
	width: 30%;
	margin: 10px;
	padding: 0px;
	border: 1px solid #ccc;
}
.my-myyse-product-image {
	display: block;
	margin: 0 auto;
	max-height: 345.8px;
	width: auto;
	height: auto;
}
.my-myyse-product-name {
	display: block;
	margin-top: 10px;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	color: #333;
	text-align: center;
}
.my-myyse-product-price {
	display: block;
	margin-top: 10px;
	font-size: 16px;
	color: #333;
}
.my-myyse-pending-order {
	margin-top: 15px;
	padding: 15px;
	background-color: #FFF;
	border: 2px solid #333;
	border-radius: 8px;
}
.my-myyse-pending-order p {
	margin: 5px 0;
	font-size: 14px;
}
.my-myyse-pending-order strong {
	color: #333;
	font-size: 16px;
}
.my-myyse-approval-buttons {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}
.my-myyse-approval-buttons .my-myyse-product-action {
	flex: 1;
	text-align: center;
	padding: 10px 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-size: 14px;
}
.my-myyse-product-action.approve {
	background-color: #86D6C6;
	border: 2px solid #333;
	color: #333;
}
.my-myyse-product-action.approve:hover {
	background-color: #333;
	border-color: #333;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}
.my-myyse-product-action.reject {
	background-color: #F6DEF0;
	border: 2px solid #333;
	color: #333;
}
.my-myyse-product-action.reject:hover {
	background-color: #333;
	border-color: #333;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(244, 67, 54, 0.3);
}
.my-myyse-product-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}
.my-myyse-product-action {
	padding: 8px 15px;
	border: 2px solid #333;
	background-color: #fff;
	color: #333;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-size: 13px;
}
.my-myyse-product-action:hover {
	background-color: #333;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.my-myyse-product-action.center {
	margin: 10px;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.home, .wp-singular {
	margin-bottom: 0px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
#footer-data {
	/*background-color: linear-gradient(180deg, rgba(246, 222, 240, 1) 0%, rgba(255, 255, 255, 0.7) 80%, rgba(255, 255, 255, 0) 100%);*/
	background-color: #fff5fd;
}
@media screen and (max-width: 1400px) {
	#footer-back {
		min-height:320px;
	}
}
@media screen and (max-width: 900px) {
	#footer-back {
		min-height:310px;
	}
}
@media screen and (max-width: 610px) {
	#footer-back {
		min-height:275px;
	}
}
@media screen and (min-width: 1800px) {
	#footer-back {
		min-height: 500px;
	}
}
@media screen and (min-width: 2070px) {
	#footer-back {
		min-height: 650px;
	}
}
@media screen and (min-width: 2200px) {
	#footer-back {
		min-height: 800px;
	}
}

@media screen and (max-width: 768px) {
	.woocommerce-product-gallery__image .wp-post-image{
		border-top-left-radius: 10px !important;
		border-top-right-radius: 10px !important;
	}
	.woocommerce div.product div.images {
		margin-bottom: 0px;
	}
}
@media screen and (max-width: 1155px) {
	.woocommerce-MyAccount-content {
		width: 77% !important;
	}
	.my-myyse-product {
		min-width: 0 !important;
	}
}
@media screen and (max-width: 1054px) {
	.woocommerce-MyAccount-content {
		width: 73% !important;
	}
}
@media screen and (max-width: 874px) {
	.woocommerce-MyAccount-content {
		width: 69% !important;
	}
	.my-myyse-product {
		width: 45% !important;
	}

}
@media screen and (max-width: 843px) {
	.woocommerce-account .woocommerce-MyAccount-content {
		float:none !important;
		width: 100% !important;
		display: flex;
		flex-flow: column;
	}
	.woocommerce-MyAccount-content h2 {
		margin-top: 20px;
	}

	.site-main article {
		padding-left: 10px;
		padding-right: 10px;
	}
	.my-myyse-product {
		width: 30% !important;
		margin: 10px 10px 10px 0;
		border: 1px solid #ccc;
	}
	.my-myyse-product-name {
		display: block;
		margin-top: 10px;
		font-size: 18px;
		font-weight: bold;
		text-decoration: none;
		color: #333;
		text-align: center;
	}

	.myaccount-accordion-toggle {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		padding: 16px 20px !important;
		font-size: 18px !important;
		font-weight: 500 !important;
		background-color: #f6def0 !important;
		color: #000 !important;
		border: 1px solid #ddd;
		border-radius: 8px;
		cursor: pointer;
		transition: background 0.25s, border-color 0.25s;
		box-shadow: 0 2px 5px rgba(0,0,0,0.06);
	}

	.myaccount-accordion-toggle:hover {
		background: #f7f7f7;
		border-color: #ccc;

	}
	.myaccount-accordion-toggle.active {
		border-bottom-left-radius: 0px !important;
		border-bottom-right-radius: 0px !important; /* tämä asettaa oikean alakulman nollaksi */
		background-color: #fbf0f8 !important;
	}

	/* Alkuasento: kiinni, nuoli osoittaa alas */
	.myaccount-accordion-toggle::after {
		content: "";
		width: 14px;
		height: 14px;
		border-right: 3px solid #333;
		border-bottom: 3px solid #333;
		display: inline-block;
		transform: rotate(-45deg); /* osoittaa alas */
		transition: transform 0.25s ease-in-out;
		margin-left: auto;
	}

	/* Auki = nuoli osoittaa ylös */
	.myaccount-accordion-toggle.active::after {
		transform: rotate(45deg) !important; /* Nuoli ylöspäin */
	}

	/* Piilota navi alussa */
	.woocommerce-MyAccount-navigation {
		display: none;
		width: 100% !important;
	}

	.woocommerce-MyAccount-navigation.open {
		display: block;
	}


	/* Poistetaan flex mobiilista: linkit allekkain */
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: block !important;
		gap: 0 !important;
		justify-content: flex-start !important;
		align-items: flex-start !important;
	}

	.woocommerce-MyAccount-navigation ul a li {
		border-right: none !important;
		padding: 0px 0 0 20px;
	}
	.woocommerce-MyAccount-navigation ul a {
		font-size: 18px !important
	}
}
@media screen and (max-width: 629px) {
	#my-myyse-products {
		justify-content: center !important;
	}
	.my-myyse-product {
		width: 43% !important;
		margin: 10px 10px 10px 0;

	}
}
@media screen and (max-width: 400px) {
	.my-myyse-product {
		width: 100% !important;
		margin: 10px !important;
	}
}

@media screen and (max-width: 463px) {
	#telia-shipping-close {
		margin-top: 10px;
	}
}