/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/********************/

/* HEADER  1320px */

.main-header {
    background: linear-gradient(to right, #6343A8 0%, #6343A8 calc(50% - 290px), #ffffff calc(50% - 291px), #ffffff 100%);
}
.custom-cart #elementor-menu-cart__toggle_button:focus {
	background-color: #fff;
}

/* PRODUCT ARCHIVE */

/* piilotetaan äitienpäivä */
.elementor-nav-menu .menu-item-4551, .pp-advanced-menu--dropdown .menu-item-4554, .select2-results__option:nth-child(7), .widget_product_categories .cat-item-77 {
    display:none;
}

/* piilotetaan pääsiäinen */
.elementor-nav-menu .menu-item-4553, .pp-advanced-menu--dropdown .menu-item-4557, .select2-results__option:nth-child(22), .widget_product_categories .cat-item-76 {
    display:none;
} 

/* piilotetaan yleinen */
.elementor-nav-menu .menu-item-19, .pp-advanced-menu--dropdown .menu-item-19, .select2-results__option:nth-child(27), .widget_product_categories .cat-item-19 {
    display:none;
}


/*Joulu pois näkyvistä valikoista*/
.elementor-nav-menu .menu-item-4552, .pp-advanced-menu--dropdown .menu-item-4562, .widget_product_categories .cat-item-80, .select2-results__option:nth-child(14) {
    display:none;
}

/**/
.widget_product_categories .cat-item-78 {
    display: none !important;
} 

/********************/

@media all and (max-width:1245px) {
    .main-header {
        background: linear-gradient(to right, #6343A8 0%, #6343A8 324px, #ffffff 325px, #ffffff 100%);
    } 
}
@media all and (max-width:1279px) {
    .main-header ul li a {

    } 
}
@media all and (max-width:1320px) {
    .main-header ul li a {
        padding:20px 0 20px 11px !important;
        font-size:13px !important;
    }
}
@media all and (max-width:1080px) {
    .translatepress-en_GB .main-header ul li a {
        padding:20px 0 20px 7px !important;
        font-size:12px !important;
    }
}
.translatepress-en_GB .menu-item-2462, .translatepress-fi .menu-item-2463 {
    display:none;
}


/* ETUSIVU */

.full-width-hero .h1-span {
    font-weight: 900;
    color: #6343A8;
}
.frontpage-products .woocommerce ul.products li.product .button,
.frontpage-products .price {
    display: none !important;
}
.osasto_nostot .pp-grid-item {
    height:100%;
}

/********************/

/* SUUNNITTELE HAUTAJAISET */

.custom-add-to-cart .single_add_to_cart_button {
    position: absolute !important;
    bottom: -50px;
    margin-left: 0 !important;
}

/********************/

/* SINGLE PRODUCT */

.single-products ul.products li.product .button {
    display: none !important;
}
/*.single-products img {
	height: 220px !important;
    object-fit: cover;
}*/
.single-add-to-cart table tbody>tr:nth-child(odd)>td, 
.single-add-to-cart table tbody>tr:nth-child(odd)>th {
    background: transparent;
}
.single-product {
    background-color: #FCFCFC;
}
.single-product .woocommerce-notices-wrapper {
    margin-top: 40px;
    width: 80%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
}
.custom-product-add-to-cart .cart,
.custom-product-add-to-cart .woocommerce-variation-add-to-cart {
    display: block !important;
}
.custom-product-add-to-cart .pewc-product-extra-groups .pewc-item.required-field .required, 
.custom-product-add-to-cart .pewc-product-extra-groups.show-required .pewc-item.required-field .required,
.custom-planning-form .pewc-product-extra-groups .pewc-item.required-field .required {
	color: red;
}
.custom-planning-form .pewc-radio-image-wrapper label input:checked + img, 
.custom-planning-form .pewc-checkbox-image-wrapper label input:checked + img {
    border: 4px solid #6343A8;
}
.custom-planning-form .pewc-radio-images-wrapper.pewc-columns-4 .pewc-radio-image-wrapper {
	text-align: center;
}
.custom-planning-form .pewc-field-label {
    font-size: 18px;
    font-weight: 500;
    color: #6343A8;
    margin: 15px 0;
}
.custom-planning-form li.pewc-group label .pewc-field-price {
	padding-left: 10px;
}
.custom-planning-form .pewc-description {
	font-style: italic;
}

.woocommerce .quantity .qty {
    width:5.5em;
}

.variations tr {
    width: 100%;
    display: block;
}
.variations label {
    font-size: 16px !important;
    font-weight: 300 !important;
    width: 100%;
}
.woocommerce-variation-price {
    margin-bottom: 20px;
}
.woocommerce div.product span.price {
    color: #000;
    font-size: 24px;
}
.variations .label,
.variations .value {
    width: 100%;
    display: inline-block;
    padding: 0;
}
.woocommerce div.product form.cart .reset_variations {
    display: none !important;
}
.price,
.hautavihkot .custom-product-add-to-cart .price,
.hautaseppeleet-ja-muut .custom-product-add-to-cart .price,
.hautakimput .custom-product-add-to-cart .price,
.lahjakortit .custom-product-add-to-cart .price {
    display: none;
}
.arkut .price,
.uurnat .price,
.hautajaispaketit .price,
.kukka-asetelmat .price,
.postid-695 .price,
.arkkulaitteet .woocommerce-variation-price .price {
    display: block;
}
.custom-product-add-to-cart .price bdi,
.wcpa_price_summary li .wcpa_price_outer {
    font-weight: 500;
    font-size: 24px;
}
.ruusut-info {
    line-height: 2em;
    margin-bottom: 20px;
}
.ruusut-info  span {
    padding-right: 20px;
}
.wcpa_price_summary {
    margin-bottom: 20px;
}
a.xcp-btn {
    font-weight: 700;
    color: #fff !important;
}

/* Ruusujen hintatiedot */
.pewc-group-wrap-1253 table td {
    border:0;
    padding:6px;
}
.pewc-group-wrap-1253 table {
    max-width:150px;
}

/********************/

/* WOOCOMMERCE */

mark {
    background-color: rgb(184, 103, 221, 0.5) !important;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce-button {
    font-family: "Open Sans", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    background-color: #6343A8 !important;
    color: #fff !important;
    border-radius: 20px 20px 20px 20px !important;
    padding: 12px !important;
    transition: 0.3s !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce-button:hover {
    background-color: #B867DD !important;
    color: #fff !important;
}
.woocommerce-info {
    border-top-color: #6343A8;
}
.woocommerce-message {
    border-top-color: #B867DD;
}
.woocommerce-info::before {
    color: #6343A8;
}
.woocommerce-message::before {
    color: #B867DD
}
.custom-product-archive img {
    height: 220px !important;
    object-fit: cover;
}
.custom-sidebar .product-categories {
	list-style: none;
    padding: 0;
    font-weight: 500;
}
.custom-sidebar .product-categories li {
	padding: 5px 0;
}
.custom-sidebar .product-categories li a {
	color: #000;
}
.custom-sidebar .product-categories .current-cat > a {
	color: #6343A8;
}
.custom-sidebar .cat-item-19 {
    display:none;
}
.custom-cart .quantity .qty {
	width: 4.5em;
}
.custom-cart .variation {
    display: inline !important;
}
#billing_country_field,
#shipping_country_field {
    display: none;
}
/********************/

/* WP-FORMS */

.wpforms-form h2 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #6343A8 !important;
}
.wpforms-form h3 {
	font-size: 18px !important;
    font-weight: 600 !important;
    color: #6343A8 !important;
}
.wpforms-page-button,
.wpforms-submit {
	font-family: "Open Sans", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #6343A8 !important;
    color: #fff !important;
    border-radius: 20px 20px 20px 20px !important;
    padding: 12px !important;
    transition: 0.3s !important;
	border: 0 !important;
}
.wpforms-submit {
    margin-top: 20px !important;
    width: 200px !important;
    font-size: 18px !important;
}
.wpforms-page-button:hover,
.wpforms-submit:hover {
	background-color: #B867DD !important;
}
.wpforms-form .custom-address-field {
	margin-top: 30px;
}
.wpforms-field-description,
.wpforms-form textarea {
	width: 60% !important;
}
div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern .wpforms-image-choices-image:after {
	background: #6343A8 !important;
}
div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern img {
	height: 300px !important;
	width: 100% !important;
	object-fit: cover !important;
}
div.wpforms-container-full .wpforms-form ul li {
    margin-bottom: 15px !important;
}
.wpforms-field-label {
    font-weight:500 !important;
}
.wpforms-image-choices-label a:hover {
	text-decoration: underline !important;
}
/********************/

/* Lisää ostoskoriin - POP-UP */
.xoo-cp-pdetails .xoo-cp-variations .variation dt {
    font-weight:500;
}
.xoo-cp-pdetails .xoo-cp-variations .variation dd {
    float:none;
}
.xoo-cp-pdetails .xoo-cp-variations p {
    margin-bottom:0;
}

/* SIDEBAR Ostoskori */
.elementor-menu-cart__wrapper .product-name p {
    margin-bottom:6px;
}
.elementor-menu-cart__wrapper dt {
    font-size: 13px;
    font-weight: 500;
    margin-right: 5px;
    line-height: 19px;
}
.elementor-menu-cart__wrapper dd {
    font-size: 13px !important;
    font-weight: 500 !Important;
    color:grey;
    margin:0;
}
.elementor-menu-cart__wrapper .product-name > a {
    font-weight: 800 !important;
}
.elementor-menu-cart__wrapper .attachment-woocommerce_thumbnail {
    margin-top:4px;
}
.elementor-menu-cart__product-remove:after, .elementor-menu-cart__product-remove:before {
    background:red !important;
}
.elementor-menu-cart__footer-buttons .elementor-button span{
    font-weight:600 !important;
    letter-spacing:0.5px;
}
.elementor-menu-cart__footer-buttons .elementor-button {
    display: flex;
    justify-content: center;
    align-items: center;
}
.elementor-menu-cart__wrapper .quantity {
    font-weight:600;
}

/* Up-sell-tuotteet single-product-sivulla */
.woocommerce .upsell-products .products li.product {
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}
.woocommerce .upsell-products .products li.product .add_to_cart_button {
    font-weight: 700 !important;
    font-size:11px !important;
    letter-spacing: 0.5px;
}


/* BREAKPOINTS */

@media only screen and (max-width: 768px) {
    .main-header {
        background-image: linear-gradient(270deg, #FFFFFF 50%, #6343A8 0%) !important;
    }
    .custom-my-account .woocommerce-MyAccount-content {
        margin-top: 40px;
    }
    .custom-product-archive img {
        height: 350px !important;
    }
	.custom-planning-form .pewc-radio-images-wrapper.pewc-columns-4 .pewc-radio-image-wrapper {
		width: 50%;
	}
	.single-products img {
		height: 350px !important;
	}
	.wpforms-field-description,
	.wpforms-form textarea {
		width: 100% !important;
	}
}

/* hautajaissunnittelu lomakkeen arkkuvalinnan kuvien korjaus */
div.wpforms-container-full, div.wpforms-container-full .wpforms-form * {
	overflow: hidden !important;
}

/* Sivutuksen etäisyys tuotelistauksessa */
.pp-woo-products-inner ul {
	padding-bottom: 20px !important;
}

/* Kassasivun toimitustapa valinnan padding korjaus */
.elementor-widget-pp-woo-checkout .woocommerce .form-row select {
	padding: 8px 16px !important;
}

/* Toimitustietojen lisäys kassalle 19.8.2024 */
#date-3304941360 label:after {
	content: "Arkipäivisin klo 16 ja lauantaisin klo 13 mennessä jätetyt tilaukset ehtivät saman päivän toimitukseen. Sunnuntaisin ja arkipyhinä ei ole toimituksia.";
	padding: 5px 0px;
	display: inline-block;
	font-weight: 400;
	line-height: 1.3
}

/* Ostoskorin/kassan nappien tyyli 15.11.2024 */
[type=button], [type=submit], button {
    border: none !important;
}

/* "alk" etuliite kukkakimpuille 10.12.2024 */
.term-kukkakimput bdi:before, .term-ilahduta-ja-onnittele-kimput bdi:before, .term-surunvalittelukimput bdi:before {
	content: "alk. ";
}

/* Headerin ostoskori painikkeen korjaus 17.1.2025 */
#elementor-menu-cart__toggle_button {
    background-color: transparent;
}

/********************/

/* 3.4.2025 WPCA päivitys */
.wcpa_cart_meta {
    padding-left: 0;
    font-size: 13px !important;
}
.wcpa_wrap .wcpa_field_wrap select,
.wcpa_wrap .wcpa_field_wrap input[type=text],
.wcpa_wrap .wcpa_field_wrap input[type=number],
.wcpa_wrap .wcpa_field_wrap textarea {
    border: 1px solid #666 !important;
    border-radius: 0 !important;
}