/*
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 1.0.2
 */

/* =========================================================
   Brandisivu
========================================================= */

.tax-pwb-brand h1.page-title, .tax-pwb-brand .ct-breadcrumbs {display:none;}

.osastot ul.products li.product.product-category a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-cat-count {font-size: 12px; color: var(--theme-palette-color-3);}

.tax-pwb-brand .brand-flex {margin-bottom: 2em;}

.tax-pwb-brand .catwrap {margin-top: 3em;}

.tax-pwb-brand .taxonomy-brand-logo {position: absolute;
    bottom: -25px;
    margin: auto;
    width: 125px;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 10px;
    background-color: #fff;
    left: calc(50% - 75px);}

/* =========================================================
   Global
========================================================= */

.ct-quick-view-content .popmake-vaihtotarjous, .ct-quick-view-content .cwg_popup_submit  {display: none;}

.woocommerce-checkout .woocommerce-form__input-checkbox {border-color: var(--theme-palette-color-3)!important;}

.woocommerce-checkout .hero-section h1 {display: none;}

.checkout ul#shipping_method li label:before {
    display: inline-block;
    position: relative;
    top: 1.5px;
    width: 7px;
    height: 7px;
    margin-right: 0.5407911001em;
    border-radius: 50%;
    border: 3px solid #fff;
    content: "";
    box-shadow: 0 0 2px 0 #000;
    box-sizing: content-box;
}

@media (max-width: 689.98px) {
    .woocommerce-checkout table.shop_table_responsive tbody td {
        display: table-cell;
        text-align: left;
    }
}

.checkout #shipping_method > li > input[type=radio]:first-child:checked + label:before {background-color: #2884c5;}

.checkout .ct-order-review-modules {margin-top: 2em;}

.checkout .shop_table thead, .checkout .shop_table tfoot .cart-subtotal{display:none;}

.checkout .ct-shipping-heading  {margin: 0 0 20px;
    font-size: 30px;
	line-height: 1.2;text-align: left;}

.woocommerce-checkout {background-color: #f2f2f2!important;}

.home #main .ct-container-full {padding-top: 1em;}

.out-of-stock {color: #ff2929;
    font-weight: 600;}

.used-waitlist-box input {background-color: #fff!important;}

.sold-product {
    margin: auto;
    width: var(--theme-container-width, 1400px);
    max-width: var(--theme-normal-container-max-width, 1400px);
    border: 1px solid var(--theme-palette-color-4);
    padding: 1rem;
    border-radius: 15px;
    background-color: var(--theme-palette-color-6);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.sold-product h2:before {
    content: "MYYTY";
    color: #fff;
    background-color: red;
    padding: 5px;
	border-radius: 8px;
    margin-right: 1rem;
}

.sold-product h2.eol:before {
    content: "EOL";
}

.single .outofstock .rbcontainer {display: none;}

.single .outofstock #waitlist {margin-top: 2em;}
.single .outofstock #waitlist h3{font-size: 20px;}

li[data-id="621374"] {border-top: 1px solid var(--theme-palette-color-4);}
li[data-id="621373"] .mega-title:before, li[data-id="621374"] .mega-title:before {    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FB7185;
    margin-right: 8px;
    vertical-align: middle;}

.ct-woo-badge-campaign[data-type="custom"] {
    background: #f59e0b;
}

.ct-woo-badge-campaign[data-type="combo"] {
    background: #438150;
}

.gs_tabs_9324 .gs_tab {
    color: #a7a7a7;
}

.gs_tabs_9324 .gs_tab.active {
    border-width: 2px;
    border-style: solid;
    border-color: #fb7185 #fb7185 #00000000;
    font-weight: 600;
	color: var(--theme-palette-color-2);
}

.wp-singular .osastot h2.page-title-h2 {display: none;}
.wp-singular .osastot ul.products li.product, .tax-pwb-brand .osastot ul.products li.product {min-width: 150px; width: 150px;}

body.home .osastot ul.products li.product {
    min-width: 125px;
    width: 125px;
}

.woocommerce-account .stock {display:none;}

.ct-quick-view-content .ct-product-additional-actions {display: none;}

html { scroll-behavior: smooth; }

@media (min-width: 768px) {
    .fm-floating-filter { display: none; }
}

@media (max-width: 767px) {
	
	.tuotteet {background-color: #f2f2f2; padding: 1em 0;}
	
	.columns-3, .columns-6 {grid-row-gap: 15px!important;}
	
.columns-3 .product, .columns-6 .product {                          /* sun <li>:n selektori */
    display: grid!important;
    grid-template-columns: 110px 1fr; /* kuvan leveys + loput */
    column-gap: 16px;
	background-color: #fff;
        padding: 1em 0.5em;
        border-radius: 8px;
}

/* Kuva: vasen sarake, venyy kaikkien rivien yli */
.columns-3 .product > figure, .columns-6 .product > figure { 
    align-self: stretch;
    height: 100%;
	margin: 0px;
	grid-row: 1 / span 6;
}

/* Kaikki muu: oikea sarake, pinoutuu allekkain */
.columns-3 .product > :not(figure), .columns-6 .product > :not(figure) {
    grid-column: 2;
}	
	
.columns-3	figure .ct-media-container img, .columns-6	figure .ct-media-container img{padding: 0px;}

.columns-3	figure .ct-media-container, .columns-6	figure .ct-media-container	{ order: 1;}
	
.columns-3 .fm-bullet-points, .columns-3 .woocommerce-product-rating, .columns-6 .fm-bullet-points, .columns-3 .woocommerce-product-rating {font-size: 13px;}
	
.woocommerce-loop-product__title {
    min-height: initial!important;
}
	
.columns-3	.fm-bullet-points, .columns-6	.fm-bullet-points {margin: 0px;}
	
.summary .woo-custom-stock-status {
    font-size: 16px !important;
}
	
	.summary .fm-price-row--total .fm-price-value {font-size: 36px;}
	
.woo-custom-stock-status:not(.summary *) {
    font-size: 12px !important;
}
	
.columns-3 .ct-woo-badges, .columns-6 .ct-woo-badges {
    inset-inline-start: 5px !important;
        gap: 5px;
        position: relative;
        order: 3;
        top: 0px;
}
	
.columns-3 .ct-woo-badges span, .columns-6 .ct-woo-badges span{font-size: 10px;padding: 5px;}
	
.columns-3	figure > .ct-woo-card-extra, .columns-6	figure > .ct-woo-card-extra {order: 2;position: relative;bottom: 0px;inset-inline: 0px;}
	
.columns-3 .product, .columns-6 .product {    border-bottom: 1px solid var(--theme-palette-color-4); padding-bottom: 1em;}
	
	.facetwp-page.prev, .facetwp-page.next {display: none;}

.ct-container .woo-listing-top {
    min-height: inherit;
    max-height: inherit;
}
	
	.columns-3 .product_cat-kaytetyt-kamerat-ja-vaihtolaitteet > figure, .columns-6 .product_cat-kaytetyt-kamerat-ja-vaihtolaitteet > figure { 
	grid-row: 1 / span 4;
}
	
.fm-floating-filter {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 100;
        display: flex;
        justify-content: center;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: #FB7185;
        color: #fff;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        pointer-events: none;
}

.fm-floating-filter.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fm-floating-filter svg path { fill: currentColor; }
	
.mainfilters .selections-label {display: none!important;}
	
body .facetwp-facet {margin-bottom: 1em;}

	.facetwp-selections li {margin-bottom: 5px;}
	
	.etusivufeat, .woo-listing-top {background-color: #fff;
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    padding: 1em;}
	
	#main > .ct-container {width: 100%;
    background-color: #f2f2f2;
    padding: 0 16px;}
	
	body .scroll-menu ul.custom-category-list {
    padding-top: 0px;
}
	
	.woo-listing-top:not(:empty) {
    background-color: #f2f2f2;
    margin-top: 0px;
    margin-bottom: 0px;
}
	
	li:not(.product_cat-kaytetyt-kamerat-ja-vaihtolaitteet) .woocommerce-loop-product__title {margin: 0px!important;}
	
	#main section .filters {margin: 0px;}
	
	.ct-toggle-filter-panel {border: 1px solid var(--theme-palette-color-3)!important;}
	
	#post-620666 {margin-bottom: 1em;}
	
	.facetpager a {width: 22px!important;height: 23px!important;margin: 2px!important;}
	
	.facetpager .facetwp-facet {min-height: initial!important; max-height: initial!important;}
	
	.etusivufeat li {
    max-width: 200px!important;
    min-width: 200px!important;
}
	
	.category-below-content {
	padding: 16px!important;
}
 
    div.woocommerce-product-gallery {
        margin-bottom: 0;
    }
	
	.fm-product-section__content h2 {font-size: 1.5rem;}
	
	/* Kohdista VAIN floating-baarin nappiin */
.ct-floating-bar-actions .button {
    font-size: 0;              /* piilotetaan teksti */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;           /* ettei nappi kutistu olemattomiin */
    padding-left: 16px;
    padding-right: 16px;
}

/* SVG-ikoni tekstin tilalle */
.ct-floating-bar-actions .button::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: currentColor;          /* perii napin tekstivärin */
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.6-1.35 2.45c-.16.28-.25.61-.25.95 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12L8.1 13h7.45c.75 0 1.41-.41 1.75-1.03L21.7 4H5.21l-.94-2H1zm16 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>') no-repeat center;
            mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.6-1.35 2.45c-.16.28-.25.61-.25.95 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12L8.1 13h7.45c.75 0 1.41-.41 1.75-1.03L21.7 4H5.21l-.94-2H1zm16 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>') no-repeat center;
}
	
	.ct-woo-card-extra {opacity: 0.9;}

}

/* =========================================================
   Cart page
========================================================= */

.woocommerce-cart .cart_totals .woocommerce-shipping-totals {display: none;}

.cart-discount {color: rgb(225 10 30);}

/* =========================================================
   Header
========================================================= */

#dgwt-wcas-search-input-2 {border-radius: 15px;}

.ct-contact-info li {gap: 5px;}

.menu [class*="ct-mega-menu"] .sub-menu .ct-column-heading {
    margin-bottom: 0.5em; padding: 10px;
}

@media (min-width: 1000px) {
	
	.dgwt-wcas-details-outside .dgwt-wcas-details-wrapp {
    min-width: 400px;
}
	
}

.dgwt-wcas-details-wrapp .added_to_cart{
    display: inline-flex;
}

.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {border-top-right-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
	right: -1px;}

.dgwt-wcas-details-main-image {padding: 10px;}

.dgwt-wcas-tpd-image {
background-color: #f7f7f7;
}

.dgwt-wcas-tpd-image img{
mix-blend-mode: multiply;
}

#dgwt-wcas-search-input-1 {border-radius: 15px!important;min-height: 45px;}

.sub-menu .menu-item a:hover {text-decoration:underline;}
body .sub-menu .menu-item .fm-menu-products a:hover {text-decoration:none;}

.fm-menu-product__img .onsale {text-decoration:none;
    border-radius: 3px;
    opacity: 0.9;}

.fm-menu-product p {margin: 0;}

.fm-menu-product__link {
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.fm-menu-products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 320px;
  color: var(--theme-palette-color-4);
}

.fm-menu-products {color: }

.padding10 {padding: 10px; margin: 0px;}
.padding10.link a{text-decoration: none;}
.padding10.link a:hover {text-decoration: underline;}

body nav .fm-menu-product__img {
  width: 130px;
  height: 130px;
  border-radius: 15px;
	border: 1px solid #ddd;
    background-color: #fff;
}

body nav .fm-menu-product__img img {
mix-blend-mode: none;
}

.fm-menu-product__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fm-menu-product__title.woocommerce-loop-product__title {font-size: 13px; font-weight: 600;text-decoration:none; min-height: 1.5em;}
.fm-menu-product__link .woocommerce-loop-product__title:hover {color: var(--theme-palette-color-1);}

.fm-menu-product__price{
  font-weight: 600;
  font-size: 16px;
}

.fm-menu-product__price ins{
  color: rgb(225 10 30);
}

.fm-brandit {display: flex;
    flex-direction: row;
	gap: 10px;margin-top: 4em!important;}

.fm-brandi img {max-width: 70px;
    mix-blend-mode: multiply;}

.fm-brandi {padding: 8px; border: 1px solid #f7f7f7; border-radius: 15px!important;}
.fm-brandi:hover {background-color: #f7f7f7;}

body .fm-menu-product .sale-price del {
  font-size: 80%;
}

.border-bottom {border-bottom: 1px solid #f7f7f7; padding-bottom: 1em;}

.kampanjatuotteet .wp-block-group {margin-top: 0px;max-height: 34px;}
.kampanjatuotteet .wc-block-components-notices {margin: 0px!important;}
.kampanjatuotteet .ct-media-container {border-radius:15px;}
.kampanjatuotteet .is-product-collection-layout-carousel .wc-block-product {
    max-width: 200px;
    min-width: 200px;
}

.kampanjatuotteet .wc-block-components-product-image .wc-block-components-product-sale-badge--align-right {

    right: 15px;
    top: 10px;
}

.kampanjatuotteet .wc-block-components-product-image {text-align: center;}

.kampanjatuotteet .wc-block-components-product-sale-badge--align-right span{
background: none;
}

/* =========================================================
   Archive & Loop
========================================================= */

.is-leaf-category div[data-block="hook:620666"] {display: none;}

.category-below-content {padding: 3em 0; margin: auto; border-top: 1px solid #f2f2f2; font-size: 14px; width: var(--theme-container-width, 1400px);
    max-width: var(--theme-normal-container-max-width, 1400px);}
.category-below-content h2 {font-size: 20px;}

.product-categories .cat-item a::before {
    content: '›';
    margin-right: 8px;
    color: #2884c5;
}

.kampanjasivu .scroll-menu .ct-media-container img {mix-blend-mode: initial;}
.kampanjasivu .scroll-menu .ct-media-container {background-color: initial;}

.woo-listing-top {min-height: 41px; max-height: 41px;}

body .ct-media-container img {object-fit: contain; padding: 1em; mix-blend-mode: multiply;}
.archive .estimate {display: none;}

.page-title-h2 {font-size: 26px;}

.kampanjasivu .widget_product_categories {
    display: none;
}

.woo-custom-stock-status::before {
    content: "";
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.woo-custom-stock-status {
	display: flex;
	align-items: center;
	font-size: 14px;
	flex-wrap: wrap;
}

.single-product .woo-custom-stock-status .wholesale-stock.afterstock {
    flex-basis: 100%;
    margin-top: 2px;
	margin-left: 0px;
}

.archive .sale-price del, .wp-singular .sale-price del {
    font-size: 60%;
}

.etusivufeat .sale-price del {
    display: none;
}

.archive ul.product-categories {display: flex;
    flex-direction: column;
    gap: 10px;font-size: 15px;
}

.archive ul.product-categories a:hover {color: #2884c5;
}

.archive ul.product-categories li {display: flex;justify-content: space-between;align-items: center;}

.archive .widget_product_categories h3 {margin-bottom: 10px;}

.archive .widget_product_categories {border-bottom: 1px solid #e9ebec;
    margin-bottom: 0.7rem;
	padding-bottom: calc(0.7rem + 10px);}

/* Oma varasto - vihreä */
.woo-custom-stock-status.stock-icon-green::before {
	background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'>\
<circle cx='7.5' cy='7.5' r='7.5' fill='rgba(15,131,77,0.25)'/>\
<circle cx='7.5' cy='7.5' r='5' stroke='rgb(255,255,255)' stroke-width='1' fill='rgb(15,131,77)'/>\
</svg>");
}

/* Maahantuojalla - hiukan keltaisempi / vihreämpi */
.woo-custom-stock-status.stock-icon-supplier::before {
	background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'>\
<circle cx='7.5' cy='7.5' r='7.5' fill='rgba(170,200,70,0.30)'/>\
<circle cx='7.5' cy='7.5' r='5' stroke='rgb(255,255,255)' stroke-width='1' fill='rgb(170,200,70)'/>\
</svg>");
}

/* Tilaustuote / backorder - pyytämäsi #f0ad4e */
.woo-custom-stock-status.stock-icon-backorder::before {
	background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'>\
<circle cx='7.5' cy='7.5' r='7.5' fill='rgba(240,173,78,0.30)'/>\
<circle cx='7.5' cy='7.5' r='5' stroke='rgb(255,255,255)' stroke-width='1' fill='rgb(240,173,78)'/>\
</svg>");
}

/* Punainen */
.woo-custom-stock-status.stock-icon-red::before {
	background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'>\
<circle cx='7.5' cy='7.5' r='7.5' fill='rgba(220,53,69,0.25)'/>\
<circle cx='7.5' cy='7.5' r='5' stroke='rgb(255,255,255)' stroke-width='1' fill='rgb(220,53,69)'/>\
</svg>");
}

.archive [data-products=type-2] .product {
    padding-bottom: 10px;
}

.ct-active-filters {
    align-items: center;
}

.ct-active-filters a {
    background-color: #e8ebed;
    border-radius: 5px;
    padding: 4px;
}

.products .ct-media-container {
    background-color: #f7f7f7;
}

.etusivufeat li{
        max-width: 170px;
        min-width: 170px;
    }

.etusivufeat li .price {font-size: 16px;}

.etusivufeat li .woocommerce-loop-product__title {font-size: 13px;}

.etusivufeat li .delivery-info, .etusivufeat li .fm-bullet-points  {display: none;}

.etusivufeat ul.products {
	display: flex;
    overflow: overflow-x: auto !important;
    padding-bottom: 0;
}

.fm-bullet-points {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.fm-bullet-points li {
    padding-left: 1em;
    position: relative;
    font-size: 0.85em;
}

.fm-bullet-points li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #888;
}

.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

body:not(.kampanjasivu) .fm-readmore__content {
	max-height: 60px;
	overflow: hidden;
	position: relative;
	transition: max-height 0.3s ease;
}

body:not(.kampanjasivu) .fm-readmore__content.is-open {margin-bottom: 1em;}

body:not(.kampanjasivu) .fm-readmore__content:not(.is-open)::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 80px;
	background: linear-gradient(
	to bottom,
	rgba(255, 255, 255, 0),
	rgb(247, 247, 247, 1)
);
	pointer-events: none;
}

.fm-readmore__content.no-fade::after {
	display: none;
}

.fm-readmore li {list-style: none;}

.fm-readmore__content h2 {font-size: 20px;}
.fm-readmore__content h3 {font-size: 18px;}

.fm-readmore__toggle {
	margin-top: 12px;
	cursor: pointer;
}

.fm-readmore__toggle button {background: #ddd;}
.painike {margin: 0px!important;}

.kampanjasivu .ct-container-narrow {max-width: 1200px;}
.kampanjasivu .kampanjakuva img{
    border: 1px solid #ddd;
    border-radius: 10px;
	max-width: 600px;
}

.kampanjablock {border-top: 1px solid #e9ebec;}

.products .product .price {
	margin-top: auto;
}

.products .product .price ins{
	color: rgb(225 10 30);
}

body .ct-woo-badge-campaign {
    --badge-background-color: #FB7185;
	text-decoration: none;
}

body .ct-woo-badge-campaign {
    --badge-background-color: #FB7185;
	text-decoration: none;
}

.ct-woo-badge-campaign[data-type="used-vat"] {
background: #444;
    color: #fff;
}

.kampanjasivu .widget_product_categories {
    display: none;
}

.scroll-wrapper,
.etusivufeat {
    position: relative;
    overflow: visible;
}



.scroll-prev,
.scroll-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    color: #2884c5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.3s, background-color 0.2s;
    z-index: 10;
}

.scroll-prev { left: 8px; }
.scroll-next { right: 8px; }

.scroll-prev.is-visible,
.scroll-next.is-visible {
    opacity: 1;
}

.scroll-prev.arrow-hidden.is-visible,
.scroll-next.arrow-hidden.is-visible {
    opacity: 0 !important;
    pointer-events: none;
}

.scroll-prev:hover,
.scroll-next:hover {
    background-color: #2884c5;
    color: #fff;
}

/* Scroll-menu — natiiivi scroll */
.scroll-menu {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
	padding: 1em 0;
}

.scroll-menu img {
  -webkit-user-drag: none;
  user-drag: none;
  /* EI pointer-events: none */
}

.scroll-menu ul.custom-category-list {
    display: flex;
    gap: 25px;
    padding-bottom: 1em;
}

.home .scroll-menu ul.custom-category-list {
    gap: 10px;
}

/* Etusivufeat */

.etusivufeat.is-hidden {
    max-height: 0;
    opacity: 0;
}

.etusivufeat .scroll-menu {
    padding-bottom: 2em;
}

.etusivufeat li {
    max-width: 170px;
    min-width: 170px;
}

.home .fm-kamppis-showcase__products.etusivufeat .scroll-menu {
    padding: 0px;
}

.etusivufeat li .price { font-size: 16px; }
.etusivufeat li .woocommerce-loop-product__title { font-size: 13px; }
.etusivufeat li .delivery-info,
.etusivufeat li .fm-bullet-points { display: none; }
.etusivufeat .sale-price del { display: none; }

.scroll-wrapper .woocommerce::-webkit-scrollbar,
.scroll-menu::-webkit-scrollbar
{
    display: block;
    height: 4px;
}

.fm-drawer::-webkit-scrollbar{
    width: 4px;
	display: block;
}

.scroll-wrapper .woocommerce::-webkit-scrollbar-thumb,
.scroll-menu::-webkit-scrollbar-thumb,
.fm-drawer::-webkit-scrollbar-thumb{
    background: #2884c5;
    border-radius: 4px;
}


@media (max-width: 767px) {

    .scroll-prev,
    .scroll-next {
        display: none;
    }
}

.scroll-wrapper .woocommerce,
.etusivufeat .woocommerce {
    user-select: none;
}

.etusivufeat .scroll-menu {padding-bottom: 1em;margin-bottom: 2em;}
.etusivufeat .scroll-menu ul {padding-bottom: 1em;}

.ct-media-container {border-radius: 15px;aspect-ratio: 1;}

.osastot ul.products li.product {
    width: 115px;
    min-width: 115px;
}

#main section .filters {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#main section .filters.is-loaded {
    max-height: none;
}

.kampanjasivu .osastot ul.products li.product {
    width: 180px;
    min-width: 180px;
    padding: 15px;
    border-radius: 15px;
	background: linear-gradient(to bottom, #f7f7f7, #ffffff);
	position: relative;
}

.osastot ul.products li.product h2 {
    font-size: 12px;
	font-weight: 600;
    text-align: center;
	margin: 1em 0 0;
}

.kampanjasivu .scroll-menu h2, .tax-pwb-brand .scroll-menu h2 {font-size: 13px!important;}

.osastot li:hover h2 {color: #2884c5;}

body:not(.kampanjasivu) .osastot .ct-media-container:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0.25rem 0.5rem;
	transition: box-shadow 0.3s ease;
}

body.kampanjasivu .osastot li:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0.25rem 0.5rem;
	transition: box-shadow 0.3s ease;
}

body.kampanjasivu .osastot li:before {
    content: "kampanja";
    position: absolute;
    top: -10px;
    background-color: #FB7185;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    left: 50%;
    transform: translateX(-50%);
}

[class*=ct-woo-badge-] {opacity: 0.9;}

.facetnr .facetwp-facet {display: grid;
    grid-template-columns: 1fr auto 1fr;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-text-color);
	--theme-link-initial-color: var(--theme-text-color);
	}

.facetpager .facetwp-facet {margin: 0px;min-height: 41px; max-height: 41px;}

.facetpager  .facetwp-facet .next, .facetpager  .facetwp-facet .prev {
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.facetpager .facetwp-pager {grid-column: 2;
	margin: -5px;}

.facetpager a {width: 41px;
    margin: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border-radius: var(--theme-border-radius, 4px);
    }

.archive ul.products + .facetnr {
    padding: 2em 0;
}

.facetpager a.active {color: var(--theme-text-active-color, #fff);
	background: var(--theme-link-hover-color);}

.woo-listing-top .facetnr {order: 2; flex-grow: 1;}
.woo-listing-top .ct-toggle-filter-panel {order: 1; }
.woo-listing-top .woocommerce-ordering {order: 3;}

.dgwt-wcas-style-pirx.dgwt-wcas-search-wrapp.dgwt-wcas-search-focused input[type=search].dgwt-wcas-search-input:hover, .dgwt-wcas-tpd-image
 {
    background-color: #f2f2f2!important;
	 border: 1px solid #ececec;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    border: 1px solid #ececec;
}

.dgwt-wcas-suggestions-wrapp {
    border-radius: 0 0 0 15px !important;
    box-shadow: -8px 8px 16px -4px rgba(0, 0, 0, 0.12)!important;
	margin-top: 1.5em!important;
}

.dgwt-wcas-details-wrapp {
    border-radius: 0 0 15px 0!important;
    box-shadow: 8px 8px 16px -4px rgba(0, 0, 0, 0.12)!important;
	margin-top: 1.5em!important;
}

/* =========================================================
   Single Page
========================================================= */

.single-post .ct-featured-image .ct-media-container {aspect-ratio: initial;}
.single-post .ct-featured-image .ct-media-container img{padding: 0px;}

.single-post .estimate, .page .estimate, .page .delivery-info {display:none;}

.wp-singular .margin-h2 {margin: 50px 0px 0px 0px;}

.used-waitlist-box input {background-color: #fff;}

.fm-tradein-toggle {
    width: 100%;
	background: #fff!important;
    border: 1px solid #FB7185!important;       /* coral-reunus */
    color: #FB7185!important;                  /* coral-teksti */
    cursor: pointer;
    transition: background .15s ease;
}

.fm-tradein-toggle:hover {
    background: #FFF1F3!important;             /* hyvin vaalea coral hover */
}

.fm-tradein-icon {
    display: inline-flex;
    transition: transform .2s ease;
}

/* Auki-tilassa plus kääntyy x:ksi pyörähtämällä */
.fm-tradein-toggle.is-open .fm-tradein-icon {
    transform: rotate(45deg);
}

@media (max-width: 992px) {
    #used-sell-wrapper {
        display: flex !important;
        flex-direction: column;
    }
	
	    #used-sell-wrapper .conditions {
			flex-wrap: wrap;}
}


/* =========================================================
   Single Product
========================================================= */

.summary .cwg_popup_submit {
    background-color: #f0ad4e;
    color: #ffffff;
    font-weight: 600;
    top: -2px;
    position: relative;
    padding: 2px 8px !important;
    min-height: initial;
    border-radius: 3px !important;
    font-size: 11px;
}

.summary .cwg_popup_submit:hover {
    background-color: #b28039;
}

.woo-custom-stock-status {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

form.cart {margin-top: 1em;}

.summary .available-on-backorder:after {
    content: "|";
    margin: 0 5px;
    color: #ececec;
    font-size: 10px;
}

@media (max-width:999px) {

body .fm-description__aside {
    border-left: 0px;
    padding-left: 0px;
}
	
}

@media (min-width: 1000px) {
    .ct-default-gallery .entry-summary, .ct-stacked-gallery .entry-summary {
        margin-left: auto;
        width: 40%!important;
		margin-inline-start: auto!important;
    }
}

.woocommerce-Reviews-title {display:none;}

.rbcontainer .logo {max-width: 60px;
    display: inline-block;}
.rbcontainer {margin-top: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--theme-palette-color-4);}

.iconic-wlv-variations, .iconic-wlv-variations table, .iconic-wlv-variations td, .iconic-wlv-variations tr, .iconic-wlv-variations tbody {border: 0px; padding: 0px;}

.iconic-wlv-terms__term-content {font-size: 13px;
    color: #333333;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 6px 12px;}

.iconic-wlv-terms__term--image {
    max-width: 65px;
}

.iconic-wlv-terms__term-content img {
    padding: 5px;
	mix-blend-mode: multiply;
}

.iconic-wlv-terms__term--current .iconic-wlv-terms__term-content, .iconic-wlv-terms__term--current .iconic-wlv-terms__term-content:hover {
    border: 1px solid #2884c5;
    background: #f2f2f2;
}

.linked_vars .entry-content{
    margin-top: 1.5em;
}

.linked_vars table.variations {margin: 0px;}

div[data-block]:has(.entry-content > *:only-child:empty) {
    display: none;
}

.entry-summary-items table.variations td {
    gap: 3px;
}

.button.button2 {background-color: var(--theme-palette-color-6); border: 1px solid var(--theme-palette-color-2);}
.button.button2:hover {background-color: var(--theme-palette-color-2);}
.button.button2 a{color: var(--theme-palette-color-3);}
.button.button2:hover a{color: var(--theme-palette-color-8);}

.rbsum {
    display: inline-block;
    margin: 0px;
}

.single-product .flexy-view img[src$=".jpg"],
.single-product .flexy-view img[src$=".jpeg"] {
    padding: 0px;
}

.single-product .woo-custom-stock-status:not(.dgwt-wcas-stock) {font-size: 18px;
    font-weight: 600;
    margin-top: 1em;}
.single-product .woo-custom-stock-status .estimate{font-size: 12px; font-weight: 400; margin-left: 4px;}

.dgwt-wcas-stock .delivery-info, .dgwt-wcas-stock .estimate {display: none;}

.line2 {
    display: inline-block;
    margin: 0px 5px 0px 5px;
    color: #ddd;
}

.annualinterest {
  display: inline-block;
  font-size: 12px;
}
.annualinterest:after,
.rb_read:before {
  content: "|";
  color: #ddd;
  margin-left: 5px;
  margin-right: 5px;
}
.totalcost,
.kasiraha,
.annualinterest {
  display: inline-block;
  font-size: 12px;
}
.rblogo {
  max-width: 100px;
  display: inline-block;
}

.gspbwoo-product-outer-main .product-thumbnail img {aspect-ratio: 1 / 1;
    object-fit: contain;}

.gspbwoo-product-outer-main .product-thumbnail {background-color: #fff;
    padding: 1em;
	border-radius: 15px;margin-bottom: 1em;}

.gspbwoo-product-outer-main .price-add-to-cart del .woocommerce-Price-amount {font-size: 13px;}
.gspbwoo-product-outer-main .price-add-to-cart ins {font-size: 20px; font-weight: 600;}

.gspbwoo-bundles .gspbwoo-product-outer-main:before {line-height: 37px;}

.the_title_wrapper {display: flex;
	justify-content: space-between;margin-bottom: 1em!important; max-width: 1440px; margin: auto; font-size: 13px; width: var(--theme-block-width);
    max-width: var(--wp--style--global--content-size);}

.the_title_wrapper .product_title {margin: 0px;}
body .the_title_wrapper .product_meta .tagged_as, body .the_title_wrapper .product_meta .posted_in {display:none;}

.the_title_wrapper .metawrap {display:flex; align-items: baseline;}
body .product .the_title_wrapper .the_title .product_meta .sku_wrapper {margin: 0px; align-items: center;}

.the_title_wrapper .product_meta {padding-right: 1em;
	}

.single-product .woocommerce-product-rating {
    border-left: 1px solid #f2f2f2;
}

.the_title_wrapper .star-rating {;height: 22px; margin-left: 1em;}

.the_title_wrapper .product_title {line-height: initial;font-size: 36px;}

.the_title_wrapper img {border: 1px solid #f2f2f2; border-radius: 15px; padding: 5px; max-width: 120px;}

.ct-cart-actions .quantity {display: none;}

.entry-summary .fm-tab-panel .price {font-size: 36px; margin: 0px;}

.product_cat-kaytetyt-kamerat-ja-vaihtolaitteet .estimate {display:none;}


/* =========================================================
   Single Product - 999 - 700px
========================================================= */
@media (max-width: 999px){

.the_title_wrapper .product_title {font-size: 30px;}

}
/* =========================================================
   Single Product - less 699px
========================================================= */
@media (max-width: 699px){

.the_title_wrapper .product_title {font-size: 24px;}
	
.the_title_wrapper img {max-width: 80px;}
	
.the_title_wrapper .metawrap {font-size: 10px;}
	
}
/* =========================================================
   Breadcrumbs
========================================================= */

.ct-breadcrumbs a {background-color: var(--theme-palette-color-5);
    padding: 4px 10px;
    border-radius: 3px;}

.ct-breadcrumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ct-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.ct-breadcrumbs > * {
    flex-shrink: 0;
}

/* Mask aktivoituu sen mukaan, kumpaan suuntaan voi scrollata */
.ct-breadcrumbs.fade-left.fade-right {
    mask-image: linear-gradient(to right, transparent 0, black 32px, black calc(100% - 32px), transparent 100%);
}
.ct-breadcrumbs.fade-left:not(.fade-right) {
    mask-image: linear-gradient(to right, transparent 0, black 32px, black 100%);
}
.ct-breadcrumbs.fade-right:not(.fade-left) {
    mask-image: linear-gradient(to right, black 0, black calc(100% - 32px), transparent 100%);
}