@charset "UTF-8";
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px 8px;
  border: 0;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li img {
  width: auto;
  height: 20px;
}

.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3,
.woocommerce-Tabs-panel h4,
.woocommerce-Tabs-panel h5 {
  line-height: 1.4 !important;
}

.woocommerce-Tabs-panel h2 {
  font-size: 1.4rem !important;
}

.woocommerce-Tabs-panel h3 {
  font-size: 1.1rem !important;
}

.woocommerce-Tabs-panel h4,
.woocommerce-Tabs-panel h5 {
  font-size: 1rem !important;
}

.woocommerce-Tabs-panel > div {
  margin: 1.8rem 0 !important;
}

.woocommerce-tabs hr {
  margin: 2.2rem 0 !important;
}

@media (min-width: 1025px) {
  .woocommerce-Tabs-panel h2 {
    font-size: 1.618rem !important;
  }
  .woocommerce-Tabs-panel h3 {
    font-size: 1.236rem !important;
  }
  .woocommerce-Tabs-panel h4 {
    font-size: 1.09rem !important;
  }
}
@media (max-width: 600px) {
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    gap: 10px;
    padding: 14px 20px 8px;
    font-size: 16px;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li img {
    height: 20px;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a span {
    display: flex;
    width: 100%;
    height: 48px;
    justify-content: center;
    align-items: center;
  }
}
.woocommerce-Tabs-panel > *:first-child {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.woocommerce-variation.single_variation .woocommerce-Price-amount {
  margin-bottom: 4px;
  color: #141414;
  font-weight: 600;
}

.woocommerce div.product form.cart .variations {
  margin: 4px 0 12px;
}

table.variations tr {
  display: block;
}

table.variations tr:not(:last-of-type) {
  margin-bottom: 10px;
}

table tbody tr:hover > td,
table tbody tr:hover > th {
  background-color: transparent;
}

.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {
  vertical-align: middle;
}

.woocommerce div.product form.cart .variations th {
  margin: 2px 0 10px;
}

.woo-variation-swatches.wvs-show-label .variations td, .woo-variation-swatches.wvs-show-label .variations th {
  display: flex;
  align-items: center;
}

.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item input + span {
  margin-right: 0;
}

.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) {
  margin-top: 3px;
}

.woo-variation-swatches .woo-selected-variation-item-name {
  line-height: 1;
}

.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item label {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}

.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item .variable-item-radio-value-wrapper img {
  width: 30px;
}

li.radio-variable-item:last-of-type label.variable-item-radio-input-wrapper {
  margin-bottom: 0 !important;
}

.variable-item-contents .woocommerce-Price-amount {
  font-size: 14px;
}

.woocommerce div.product form.cart .reset_variations {
  margin-left: 10px;
}

.woocommerce-variation-description {
  margin-bottom: 20px;
}

.woocommerce-variation-description,
.woocommerce-variation-description p {
  font-size: 16px;
}

@media (max-width: 1000px) {
  .woocommerce-variation-description,
  .woocommerce-variation-description p {
    font-size: 14px;
  }
}
@media (max-width: 500px) {
  .woocommerce div.product form.cart .variations {
    margin: 10px 0 20px;
  }
  table.variations tr:not(:last-of-type) {
    margin-bottom: 17px;
  }
  .woocommerce div.product form.cart .variations th {
    margin: 2px 0 10px;
  }
  .woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper {
    gap: 8px;
  }
  .woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item {
    padding-left: 1px;
  }
}
@media (max-width: 420px) {
  table.variations tr {
    display: block;
  }
}
.myynti-aspa-huolto {
  width: 100%;
}

.myynti-aspa-huolto-item {
  position: relative;
  border-radius: 13px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px #294C88, 0 0 0 1px #294C88 inset;
  overflow: hidden;
}

.myynti-aspa-huolto-item:not(:last-of-type) {
  margin-bottom: 14px;
}

.myynti-aspa-huolto-item-header {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  background: linear-gradient(to right, #284A88, #294C88);
  color: #fff;
}
.myynti-aspa-huolto-item-header .myynti-aspa-huolto-item-header-kuva {
  width: 60px;
  height: 60px;
  padding: 9px;
  background: linear-gradient(to right, #249749, #65B337);
  border-radius: 50%;
  border: 3px solid #fff;
}
.myynti-aspa-huolto-item-header .myynti-aspa-huolto-item-header-kuva img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.myynti-aspa-huolto-item-header h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.4;
}
.myynti-aspa-huolto-item-header h2:last-child {
  margin: 0;
}
.myynti-aspa-huolto-item-header p {
  margin: 0;
  font-size: 13px;
}

.myynti-aspa-huolto-item:first-of-type .myynti-aspa-huolto-item-header-kuva {
  padding: 12px;
}

.myynti-aspa-huolto-item-sisalto {
  padding: 8px 20px;
  font-size: 14px;
}
.myynti-aspa-huolto-item-sisalto p {
  margin: 6px 0;
  line-height: 1.4;
}

.myynti-aspa-huolto-item-footer {
  width: calc(100% - 20px);
  padding: 5px 10px;
  margin: 0 10px 10px;
  background: #E3EDD8;
  border-radius: 13px;
  font-size: 14px;
}
.myynti-aspa-huolto-item-footer p {
  margin: 0;
}

/*
.myynti-aspa-huolto-item:last-of-type {

    .myynti-aspa-huolto-item-header, 
    .myynti-aspa-huolto-item-sisalto, 
    .myynti-aspa-huolto-item-footer {
        padding-right: calc(100% - 272px);
    }

}
*/
.myynti-aspa-huolto-item-myymalakuva {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 282px);
  height: calc(100% - 14px);
  border-radius: 5px;
  border: 3px solid #fff;
  overflow: hidden;
  z-index: 2;
}

.myynti-aspa-huolto-item-myymalakuva img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

@media (min-width: 1200px) {
  .myynti-aspa-huolto-item-header {
    padding: 8px 14px;
  }
  .myynti-aspa-huolto-item-header h2 {
    margin: 0 0 5px;
    font-size: 20px;
  }
  .myynti-aspa-huolto-item-header p {
    font-size: 14px;
  }
  .myynti-aspa-huolto-item-sisalto {
    font-size: 16px;
  }
  .myynti-aspa-huolto-item-footer {
    padding: 5px 14px;
  }
  /*
  .myynti-aspa-huolto-item:last-of-type {

      .myynti-aspa-huolto-item-header, 
      .myynti-aspa-huolto-item-sisalto, 
      .myynti-aspa-huolto-item-footer {
          padding-right: calc(100% - 300px);
      }

  }
  */
  .myynti-aspa-huolto-item-myymalakuva {
    width: calc(100% - 310px);
  }
}
@media (max-width: 400px) {
  .myynti-aspa-huolto-item-header h2 {
    font-size: 17px;
    line-height: 1.6;
  }
  /*
  .myynti-aspa-huolto-item:last-of-type {

      .myynti-aspa-huolto-item-header,
      .myynti-aspa-huolto-item-sisalto,
      .myynti-aspa-huolto-item-footer {
          padding-right: 10px;
      }

  }
  */
  .myynti-aspa-huolto-item-myymalakuva {
    display: none;
  }
}
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background-color: #020A15 !important;
}

.palvelu-tehdasmaksu-esittely {
  width: 100%;
  padding: 13px 10px 10px;
  margin: 20px 0;
  background: #00172d;
  border-radius: 13px;
  color: #fff;
}

.palvelu-tehdasmaksu-esittely-header {
  display: grid;
  grid-template-columns: 1fr 137px;
  gap: 10px;
  margin: 0 0 10px;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto {
  text-align: center;
}
.palvelu-tehdasmaksu-esittely-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto > span {
  position: relative;
  display: block;
  width: max-content;
  margin: 0 auto;
  font-size: 42px;
  font-weight: 700;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto > span:before,
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto > span:after {
  position: absolute;
  content: "";
  width: 18px;
  height: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto > span:before {
  left: -25px;
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/hinta-spark.svg);
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto > span:after {
  right: -25px;
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/hinta-spark-2.svg);
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto p span {
  color: #00A1F2;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu {
  padding: 10px;
  background: #ffa8cd;
  border-radius: 13px;
  color: #000;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu p {
  margin: 0 0 11px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu img {
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu ul {
  padding: 0;
  margin: 16px 0 0;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu li {
  padding-left: 24px;
  font-size: 12px;
  font-weight: 500;
  list-style-type: none;
  background-position: left center;
  background-size: 18px 18px;
  background-repeat: no-repeat;
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu li:first-of-type {
  margin-bottom: 4px;
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/pie-chart.svg);
}
.palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu li:last-of-type {
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/lasku.svg);
}

ul.palvelu-tehdasmaksu-esittely-lista {
  padding: 0 2px 0 0;
  margin: 16px 0;
}
ul.palvelu-tehdasmaksu-esittely-lista li {
  padding: 0 0 0 54px;
  margin-bottom: 16px;
  background-position: left top;
  background-size: 45px auto;
  background-repeat: no-repeat;
  list-style-type: none;
  font-weight: 300;
}
ul.palvelu-tehdasmaksu-esittely-lista li:nth-of-type(1) {
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/ml-kupla.png);
}
ul.palvelu-tehdasmaksu-esittely-lista li:nth-of-type(2) {
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/ml-kuori.png);
}
ul.palvelu-tehdasmaksu-esittely-lista li:nth-of-type(3) {
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/bolt-salama.png);
}
ul.palvelu-tehdasmaksu-esittely-lista li:nth-of-type(4) {
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/ml-patteri.png);
}
ul.palvelu-tehdasmaksu-esittely-lista li b {
  font-weight: 500;
}

.palvelu-tehdasmaksu-esittely-footer {
  position: relative;
  padding: 10px 72px 10px 10px;
  background: #00400B;
  border-radius: 13px;
  border: 1px solid #002951;
}
.palvelu-tehdasmaksu-esittely-footer h3 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}
.palvelu-tehdasmaksu-esittely-footer p {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
}
.palvelu-tehdasmaksu-esittely-footer img {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: auto;
  z-index: 2;
}

.pte-maksuikonit {
  width: 100%;
  padding: 4px 10px;
  margin: 13px 0 0;
  border-radius: 13px;
  background: #fff;
}
.pte-maksuikonit h3 {
  margin: 14px 0 13px;
  font-size: 16px;
  color: #141414;
}
.pte-maksuikonit img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 10px;
}

.palvelu-tehdasmaksu-accordion {
  margin: 20px 0;
}

.palvelu-tehdasmaksu-accordion-item:not(:first-of-type) {
  margin-top: 20px;
}

button.palvelu-tehdasmaksu-accordion-header {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 10px 45px 10px 18px;
  background: #054B80;
  border-radius: 13px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.1s;
}
button.palvelu-tehdasmaksu-accordion-header:hover {
  background: #0085EA;
}
button.palvelu-tehdasmaksu-accordion-header .palvelu-tehdasmaksu-accordion-header-ikoni {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 1px 1px 0 0;
  background: #002951;
  border-radius: 50%;
  transition: background-color 0.1s;
}
button.palvelu-tehdasmaksu-accordion-header:hover .palvelu-tehdasmaksu-accordion-header-ikoni {
  background: #00A1F2;
}
button.palvelu-tehdasmaksu-accordion-header .palvelu-tehdasmaksu-accordion-header-ikoni svg {
  width: 100%;
  height: auto;
  fill: #fff;
}
button.palvelu-tehdasmaksu-accordion-header h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  text-align: left;
}

button.palvelu-tehdasmaksu-accordion-header:before,
button.palvelu-tehdasmaksu-accordion-header:after {
  position: absolute;
  content: "";
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: #fff;
  z-index: 2;
}

button.palvelu-tehdasmaksu-accordion-header:after {
  display: block;
  right: 24px;
  width: 2px;
  height: 18px;
}

.palvelu-tehdasmaksu-accordion-item.active button.palvelu-tehdasmaksu-accordion-header:after {
  display: none;
}

.palvelu-tehdasmaksu-accordion-item.active .palvelu-tehdasmaksu-accordion-header {
  border-radius: 13px 13px 0 0;
}
.palvelu-tehdasmaksu-accordion-item.active .palvelu-tehdasmaksu-accordion-header .palvelu-tehdasmaksu-accordion-header-ikoni {
  background: #00A1F2;
}

.palvelu-tehdasmaksu-accordion-content {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.palvelu-tehdasmaksu-accordion-content-inner {
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 0 0 13px 13px;
}

.palvelu-tehdasmaksu-accordion-item.active .palvelu-tehdasmaksu-accordion-content-inner {
  border: solid #054B80;
  border-width: 0 3px 3px 3px;
}

.palvelu-tehdasmaksu-accordion-video {
  width: 100%;
}
.palvelu-tehdasmaksu-accordion-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0;
  margin: 0 0 10px;
  border-radius: 13px;
}

.palvelu-tehdasmaksu-accordion-content-inner ol {
  width: 100%;
  padding-left: 0;
  counter-reset: item;
  list-style: none;
}

.palvelu-tehdasmaksu-accordion-content-inner ol li {
  counter-increment: item;
  position: relative;
  width: 100%;
  padding: 11px 10px 11px 59px;
}

.palvelu-tehdasmaksu-accordion-content-inner > ol li,
.palvelu-tehdasmaksu-accordion-content-inner > ul li {
  border: 1px solid #d3ced2;
  border-radius: 13px;
}

.palvelu-tehdasmaksu-accordion-content-inner > ol li:not(:last-of-type),
.palvelu-tehdasmaksu-accordion-content-inner > ul li:not(:last-of-type) {
  margin-bottom: 10px;
}

.palvelu-tehdasmaksu-accordion-content-inner ol li::before {
  content: counter(item);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #002951;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.palvelu-tehdasmaksu-accordion-content-inner h4 {
  margin-top: 0;
  padding-top: 9px;
  font-size: 16px;
  font-weight: 700;
}
.palvelu-tehdasmaksu-accordion-content-inner p {
  font-size: 14px;
}

.palvelu-tehdasmaksu-accordion-content-inner-fw-img {
  position: relative;
  width: calc(100% + 43px);
  left: -46px;
  margin: 20px 0 8px;
}
.palvelu-tehdasmaksu-accordion-content-inner-fw-img img {
  display: block;
  width: 100%;
  height: auto;
}
.palvelu-tehdasmaksu-accordion-content-inner-fw-img .woocommerce-Price-amount {
  position: absolute;
  left: calc(50% - 7px);
  top: 25px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  z-index: 3;
}

.palvelu-tehdasmaksu-accordion-content-footer {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  width: calc(100% + 43px);
  left: -46px;
  font-size: 14px;
}
.palvelu-tehdasmaksu-accordion-content-footer img {
  width: 100%;
  height: auto;
}

.palvelu-tehdasmaksu-accordion-content-inner > ul {
  padding: 0;
}
.palvelu-tehdasmaksu-accordion-content-inner > ul li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 11px 10px;
  list-style-type: none;
}
.palvelu-tehdasmaksu-accordion-content-inner ul li h4 {
  color: #054B80;
}
.palvelu-tehdasmaksu-accordion-content-inner .palvelu-tehdasmaksu-accordion-content-li-sarakkeet {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 10px;
  align-items: center;
  padding-right: 4px;
}

.palvelu-tehdasmaksu-accordion-content-bg-footer {
  padding: 14px 120px 13px 14px;
  margin-top: 10px;
  background: #002951;
  border-radius: 13px;
  color: #fff;
  background-image: url(https://sahkopyoratehdas.com/wp-content/uploads/2026/07/possu.png);
  background-position: right 8px center;
  background-size: 100px;
  background-repeat: no-repeat;
}
.palvelu-tehdasmaksu-accordion-content-bg-footer h4 {
  padding: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
  font-weight: 500;
}
.palvelu-tehdasmaksu-accordion-content-bg-footer ul {
  padding: 0;
}
.palvelu-tehdasmaksu-accordion-content-bg-footer li {
  list-style: none;
  padding: 0 0 0 25px;
  background: url("https://sahkopyoratehdas.com/wp-content/uploads/2026/07/white-warning.svg") no-repeat left 0.35em;
  background-size: 14px 14px;
  font-size: 14px;
}
.palvelu-tehdasmaksu-accordion-content-bg-footer li:last-of-type {
  list-style: none;
  padding: 0 0 0 25px;
  background: url("https://sahkopyoratehdas.com/wp-content/uploads/2026/07/white-check.svg") no-repeat left 0.35em;
  background-size: 14px 14px;
  font-size: 14px;
}
.palvelu-tehdasmaksu-accordion-content-bg-footer li:not(:last-of-type) {
  padding-bottom: 5px;
}

@media (max-width: 1000px) {
  .palvelu-tehdasmaksu-esittely {
    margin: 0;
  }
  .palvelu-tehdasmaksu-esittely h2 {
    font-size: 15px;
  }
  .palvelu-tehdasmaksu-esittely-header .palvelu-tehdasmaksu-esittely-header-sisalto p {
    font-size: 13px;
  }
  ul.palvelu-tehdasmaksu-esittely-lista li {
    font-size: 14px;
  }
  .palvelu-tehdasmaksu-esittely-footer {
    padding: 10px 80px 10px 10px;
  }
  .palvelu-tehdasmaksu-esittely-footer h3 {
    font-size: 14px;
  }
  .palvelu-tehdasmaksu-esittely-footer p {
    font-size: 12px;
  }
  .palvelu-tehdasmaksu-esittely-footer img {
    right: 20px;
    width: 60px;
  }
  button.palvelu-tehdasmaksu-accordion-header {
    grid-template-columns: 30px 1fr;
    gap: 14px;
    padding: 10px 44px 10px 14px;
  }
  button.palvelu-tehdasmaksu-accordion-header .palvelu-tehdasmaksu-accordion-header-ikoni {
    width: 30px;
    height: 30px;
  }
  button.palvelu-tehdasmaksu-accordion-header h3 {
    font-size: 16px;
  }
  .palvelu-tehdasmaksu-accordion-content-inner h4 {
    font-size: 14px;
  }
  .palvelu-tehdasmaksu-accordion-content-inner > ul li {
    grid-template-columns: 40px 1fr;
    gap: 11px;
  }
  .palvelu-tehdasmaksu-accordion-content-inner-fw-img .woocommerce-Price-amount {
    left: calc(50% - 4px);
    top: 17px;
    font-size: 14px;
  }
  .palvelu-tehdasmaksu-accordion-content-inner .palvelu-tehdasmaksu-accordion-content-li-sarakkeet {
    grid-template-columns: 1fr 60px;
    padding-right: 2px;
  }
  .palvelu-tehdasmaksu-accordion-content-bg-footer {
    padding: 14px 100px 13px 14px;
    background-size: 80px;
  }
}
@media (max-width: 450px) {
  .pte-maksuikonit h3 {
    font-size: 14px;
  }
}
@media (max-width: 410px) {
  .pte-maksuikonit h3 {
    font-size: 13px;
  }
  .palvelu-tehdasmaksu-esittely-footer img {
    right: 14px;
    width: 58px;
  }
}
.single-product .product-grid .ebf-tehdastiedot {
  grid-area: ebf-tehdastiedot;
  display: grid;
  gap: 24px;
  min-width: 0;
}
.single-product .product-grid .ebf-tehdastiedot:empty {
  display: none;
}
.single-product .product-grid .ebf-tehdastiedot > section {
  padding: 28px;
  border: 1px solid #054B80;
  border-radius: 13px;
  background: #00172d;
}
.single-product .product-grid .ebf-tehdastiedot h2 {
  margin: 0 0 16px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  text-transform: none;
}
.single-product .product-grid .ebf-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.single-product .product-grid .ebf-video {
  margin: 0;
  min-width: 0;
}
.single-product .product-grid .ebf-video-facade,
.single-product .product-grid .ebf-video iframe {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  padding: 0;
  background: #000;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}
.single-product .product-grid .ebf-video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-product .product-grid .ebf-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.72);
  border-radius: 13px;
  transition: background-color 0.15s;
}
.single-product .product-grid .ebf-video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.single-product .product-grid .ebf-video-facade:hover .ebf-video-play,
.single-product .product-grid .ebf-video-facade:focus-visible .ebf-video-play {
  background: #0071E3;
}
.single-product .product-grid .ebf-video figcaption {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
}
.single-product .product-grid .ebf-video-note {
  margin: 14px 0 0;
  font-size: 13px;
  opacity: 0.8;
}
.single-product .product-grid .ebf-video-mp4 video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 5px;
  object-fit: contain;
}
.single-product .product-grid .ebf-model-parts-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.single-product .product-grid .ebf-parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.single-product .product-grid .ebf-parts-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 10px;
  background: #fff;
  border-radius: 5px;
  color: #000;
  text-decoration: none;
}
.single-product .product-grid .ebf-parts-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.single-product .product-grid .ebf-part-name {
  font-size: 14px;
  line-height: 1.35;
}
.single-product .product-grid .ebf-part-price {
  margin-top: auto;
  font-weight: 650;
}
.single-product .product-grid .ebf-fits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}
.single-product .product-grid .ebf-fits ul a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #054B80;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
}
.single-product .product-grid .ebf-seller-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.single-product .product-grid .ebf-seller-head h2 {
  margin-bottom: 6px;
}
.single-product .product-grid .ebf-seller-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 5px;
  object-fit: contain;
}
.single-product .product-grid .ebf-seller-terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid #054B80;
}
.single-product .product-grid .ebf-seller-terms dt {
  margin-bottom: 6px;
  font-weight: 650;
}
.single-product .product-grid .ebf-seller-terms dd {
  margin: 0;
  line-height: 1.55;
}
.single-product .product-grid .ebf-terms-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.8;
}
.single-product .product-grid .ebf-manuals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.single-product .product-grid .ebf-manuals a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.single-product .product-grid .ebf-availability {
  display: inline-block;
  padding: 4px 10px;
  margin: 6px 0 0;
  border: 1px solid #054B80;
  border-radius: 5px;
  font-size: 14px;
}

@media (max-width: 760px) {
  .single-product .product-grid .ebf-tehdastiedot > section {
    padding: 20px;
  }
  .single-product .product-grid .ebf-seller-terms {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .single-product .product-grid .ebf-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .single-product .product-grid .ebf-parts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.single-product .product-grid .ebf-tehdastiedot .ebf-frev {
  scroll-margin-top: 110px;
}
.single-product .product-grid .ebf-tehdastiedot .ebf-frev .eb {
  margin: 0 0 4px;
  color: #4AE8FE;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}
.single-product .product-grid .ebf-tehdastiedot .ebf-frev .stars {
  --s: 16px;
  display: inline-block;
  width: calc(var(--s) * 5);
  height: var(--s);
  background: linear-gradient(90deg, #D4AB55 calc(var(--r) / 5 * 100%), rgba(255, 255, 255, 0.25) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") 0 0/var(--s) var(--s) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") 0 0/var(--s) var(--s) repeat-x;
}
.single-product .product-grid .ebf-tehdastiedot .rsum {
  display: flex;
  gap: 20px;
  align-items: center;
}
.single-product .product-grid .ebf-tehdastiedot .rbig {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.single-product .product-grid .ebf-tehdastiedot .rbig b {
  font-size: 48px;
  line-height: 1;
}
.single-product .product-grid .ebf-tehdastiedot .rbig small {
  font-size: 13px;
  opacity: 0.8;
}
.single-product .product-grid .ebf-tehdastiedot .rbars {
  display: grid;
  flex: 1;
  gap: 6px;
  min-width: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.single-product .product-grid .ebf-tehdastiedot .rbars li {
  display: grid;
  grid-template-columns: 12px 1fr 28px;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.single-product .product-grid .ebf-tehdastiedot .rbars i {
  position: relative;
  height: 7px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.single-product .product-grid .ebf-tehdastiedot .rbars i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: #D4AB55;
  border-radius: 4px;
  content: "";
}
.single-product .product-grid .ebf-tehdastiedot .rbars em {
  font-style: normal;
  text-align: right;
}
.single-product .product-grid .ebf-tehdastiedot .rsrc {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.8;
}
.single-product .product-grid .ebf-tehdastiedot .frev-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.single-product .product-grid .ebf-tehdastiedot .frev {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #054B80;
  border-radius: 5px;
}
.single-product .product-grid .ebf-tehdastiedot .frev-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.single-product .product-grid .ebf-tehdastiedot .frev-ver {
  color: #C5EC81;
  font-size: 12.5px;
  font-weight: 600;
}
.single-product .product-grid .ebf-tehdastiedot .frev-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
}
.single-product .product-grid .ebf-tehdastiedot .frev-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.single-product .product-grid .ebf-tehdastiedot .frev-meta {
  margin: auto 0 0;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.8;
}
.single-product .product-grid .ebf-tehdastiedot .frev-more {
  margin-top: 14px;
}
.single-product .product-grid .ebf-tehdastiedot .frev-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #4AE8FE;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.single-product .product-grid .ebf-tehdastiedot .frev-more summary::-webkit-details-marker {
  display: none;
}
.single-product .product-grid .ebf-tehdastiedot .frev-more summary:hover {
  text-decoration: underline;
}

.woocommerce div.product {
  width: 100%;
  margin: 0 auto;
}
.woocommerce div.product .product_meta span {
  display: block;
  font-size: 14px;
}
.woocommerce div.product .sku_wrapper {
  display: none !important;
}

.single-product .product.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: none;
  gap: 16px 40px;
  grid-template-areas: "tuotekuvat product-summary" "tuotesivu-tilausinfo tuotesivu-tilausinfo" "product-tabs-block product-tabs-block" "ebf-tehdastiedot ebf-tehdastiedot" "product-faq-block product-faq-block" "second-add-to-cart second-add-to-cart" "product-upsells-related-block product-upsells-related-block";
  align-items: start;
}
.single-product .product.product-grid > * {
  min-width: 0;
}
.single-product .product.product-grid > .product-faq-block:empty, .single-product .product.product-grid > .tuotelista-wrap:empty {
  display: none;
}

.product-title-block {
  grid-area: product-title-block;
}

.product-price-block {
  grid-area: product-price-block;
}

.product-excerpt-block {
  grid-area: product-excerpt-block;
}

.product-atc-block {
  grid-area: product-atc-block;
}

.tuotelista-wrap {
  grid-area: tuotelista-wrap;
}

.product-meta-block {
  grid-area: product-meta-block;
}

.tuotesivu-tilausinfo {
  grid-area: tuotesivu-tilausinfo;
}

.product-tabs-block {
  grid-area: product-tabs-block;
}

.product-faq-block {
  grid-area: product-faq-block;
}

.second-add-to-cart {
  grid-area: second-add-to-cart;
}

.product-upsells-related-block {
  grid-area: product-upsells-related-block;
}

.tuotekuvat {
  grid-area: tuotekuvat;
  width: 100%;
  height: 100%;
}

.tuotekuvat-inner {
  position: sticky;
  top: 24px;
  width: 100%;
}

.woo-variation-product-gallery,
.woocommerce-page div.product div.images {
  display: grid;
  grid-template-columns: 1fr 4fr;
  aspect-ratio: 125/100;
  float: none !important;
  width: 100%;
  max-width: 100% !important;
}
.woo-variation-product-gallery .flex-viewport,
.woocommerce-page div.product div.images .flex-viewport {
  order: 2;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.woo-variation-product-gallery .flex-control-nav.flex-control-thumbs,
.woocommerce-page div.product div.images .flex-control-nav.flex-control-thumbs {
  height: 100%;
}
.woo-variation-product-gallery .flex-control-nav.flex-control-thumbs li,
.woocommerce-page div.product div.images .flex-control-nav.flex-control-thumbs li {
  width: 100%;
  float: none !important;
}

.gallery-thumbs-prev,
.gallery-thumbs-next {
  display: none;
}

.gallery-thumbs-prev.is-visible,
.gallery-thumbs-next.is-visible {
  display: block;
}

.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a {
  height: 100%;
}

.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  object-position: center;
}

.woocommerce-page div.product div.images > .woocommerce-product-gallery__wrapper {
  grid-column: 1/-1;
  width: 100%;
}

.woocommerce-page div.product div.images > .woocommerce-product-gallery__wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 5px;
  object-fit: contain;
}

.woo-variation-gallery-slider-wrapper {
  aspect-ratio: 1/1;
}
.woo-variation-gallery-slider-wrapper .slick-list.draggable {
  height: auto !important;
  aspect-ratio: 1/1;
}
.woo-variation-gallery-slider-wrapper .slick-track {
  height: 100% !important;
}
.woo-variation-gallery-slider-wrapper .slick-slide > div,
.woo-variation-gallery-slider-wrapper .wvg-gallery-image,
.woo-variation-gallery-slider-wrapper .wvg-gallery-image > div,
.woo-variation-gallery-slider-wrapper .wvg-single-gallery-image-container {
  height: 100% !important;
}
.woo-variation-gallery-slider-wrapper .woo-variation-gallery-slider img {
  display: block;
  height: 100% !important;
  object-fit: cover;
}

h1.product_title {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
}

.tuoteotsikon-banneri {
  position: relative;
  display: block;
  padding: 8px 0 0;
  border-top: 2px solid #141414;
  font-weight: 470;
  font-size: 16px;
  line-height: 1.25;
}

.product-price-block .woocommerce-Price-amount,
.product-price-block .price span {
  font-weight: 470;
  color: #C501B4;
}

.woocommerce-product-details__short-description ul {
  list-style: none;
  padding-left: 1.2rem;
}
.woocommerce-product-details__short-description ul li {
  padding-left: 0.2rem;
}
.woocommerce-product-details__short-description ul li::marker {
  content: "✔ ";
  color: #08D300;
  font-size: 1.1rem;
}

:is(body.product_cat-lisavarusteet-ja-mukavuus, body.product_cat-gps-seurain-ja-halytyslukot) .wapf {
  display: none !important;
}

.wapf-field-container {
  padding-bottom: 18px !important;
}

.single-product-variable-items.variable-items-wrapper.radio-variable-items-wrapper {
  margin: 0 0 0.45rem;
}

.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item {
  padding: 0;
}

.woocommerce div.product form.cart .variations .label label {
  display: inline;
  font-size: 1.146rem;
  line-height: 1.25;
}

.woo-variation-swatches.wvs-show-label .variations td, .woo-variation-swatches.wvs-show-label .variations th {
  display: block;
}

.woo-variation-swatches.wvs-show-label .variations th .woo-selected-variation-item-name {
  display: inline;
}

.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item input + span {
  margin-inline: 11px;
}

.woocommerce div.product form.cart .variations li label,
.woo-variation-swatches.wvs-show-label .variations th .woo-selected-variation-item-name,
.wapf-field-label label,
.variable-item-contents .woocommerce-Price-amount {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25;
}

.wapf-field-label label {
  margin: 0 0 8px;
}

label.wapf-checkbox-label {
  display: inline-flex;
  align-items: center;
}

a.reset_variations {
  padding: 0.36rem 0.5rem 0.3rem 0.6rem;
  border: 1px solid #054B80;
  border-radius: 1rem;
  margin-left: 0 !important;
  color: #054B80;
}

ins {
  text-decoration: none;
}

.iworks-omnibus {
  font-size: 14px;
}

.tuotelista-valikko {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}

.tuotelista-valinta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 15px 10px 22px;
  border: 1px solid #141414;
  border-radius: 5px;
  cursor: pointer;
}

.tuotelista-valinta-suojaa {
  padding: 10px 15px 10px 3px;
  font-size: 0.9rem;
}

.tuotelista-valinta p {
  display: flex;
  justify-content: center;
  gap: 4px;
  text-align: center;
  flex: 1;
  padding-top: 0.15rem;
  margin: 0;
}

.tuotelista-valikko-nuoli {
  position: relative;
  display: block;
  border: solid grey;
  border-width: 0 2px 2px 0;
  padding: 4px;
  transform: rotate(45deg) translateY(-2px);
}

.tuotelista-lista {
  display: none;
}

.tuotelista-valikko.aktiivinen .tuotelista-lista {
  display: block;
}

.tuotelista-tuote {
  width: 100%;
  margin-top: 10px;
}

.tuotelista-tuote-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto 34px;
  gap: 0 8px;
  padding: 8px 11px 8px 10px;
  border-radius: 5px;
  border: 2px solid #EFEFEF;
  transition: background-color 0.1s;
}

.muunnelmatuote .tuotelista-tuote-inner {
  grid-template-rows: auto auto 34px;
}

.tuotelista-tuote-inner > * {
  min-width: 0;
}

.tuotelista-kuva {
  grid-row: span 2;
  align-self: center;
  width: 80px;
  height: 80px;
}

.muunnelmatuote .tuotelista-kuva {
  grid-row: span 3;
}

.tuotelista-kuva img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.tuotelista-tiedot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 0 6px;
}

.tuotelista-nimi {
  font-weight: 600;
  color: #141414;
  font-size: 0.9rem;
  font-weight: 500;
}

.tuotelista-tuote .wvs-has-image-tooltip,
.tuotelista-tuote [data-wvstooltip] {
  pointer-events: auto !important;
}

.tuotelista-tiedot .hinta {
  font-weight: 600;
  color: #141414;
}

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

.tuotelista-tiedot .hinta-ale,
.tuotelista-tiedot .hinta-vanha {
  line-height: 1.4;
  text-align: center;
}

.tuotelista-tiedot .hinta-ale {
  display: block;
  font-weight: 600;
  color: red;
}

.tuotelista-tiedot .hinta-vanha {
  color: grey;
  font-size: 0.9rem;
  font-weight: 200;
}

.tuotelista-vaihtoehdot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2px 0 10px;
}

ul.vf-swatches {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 0;
}

.vf-sw {
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 1px 1px #ccc;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.14s;
}

.vf-sw.selected {
  box-shadow: 0 0 3px 3px #ccc;
}

.vf-dot {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.vf-sw.selected .vf-dot:before {
  position: absolute;
  content: "";
  inset: 0;
  background-image: url(../images/white-check.png);
  background-position: center;
  background-size: 13px auto;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
  z-index: 2;
}

.vf-sw.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vf-sw.disabled .vf-dot {
  filter: grayscale(70%);
}

.vf-var-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.vf-sw[data-tip]:hover:after {
  content: attr(data-tip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #111;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 4px;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 999;
}

.vf-sw[data-tip]:hover:before {
  content: "";
  position: absolute;
  bottom: 98%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 999;
}

.vf-sw:before,
.vf-sw:after {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}

.vf-sw:hover:before,
.vf-sw:hover:after {
  opacity: 1;
  visibility: visible;
}

.tuotelista-linkit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

a.tuotelista-nappi {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.08rem 5px 0;
  background: #002951;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  color: #fff;
  transition: background-color 0.1s;
}

a.tuotelista-nappi:first-of-type {
  background: #054B80;
}

a.tuotelista-nappi:hover {
  background: #00A1F2;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  color: #141414;
}

.woocommerce .quantity .qty {
  height: 47px;
  line-height: 1;
  padding: 4px 4px 0;
}

.woocommerce div.product form.cart .button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  text-align: center;
}

button.single_add_to_cart_button:not(.disabled):not(.added) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

button.single_add_to_cart_button:not(.disabled):not(.added)::before {
  content: "";
  position: absolute;
  inset: -30% auto;
  left: 0;
  width: 8px;
  height: 160%;
  background: #00A1F2;
  filter: blur(18px);
  transform: translateX(-150%) skewX(-20deg);
  animation: button-shine 3.4s linear infinite;
  z-index: -1;
}

@keyframes button-shine {
  from {
    transform: translateX(-150%) skewX(-20deg);
  }
  to {
    transform: translateX(calc(100vw + 200px)) skewX(-20deg);
  }
}
.added_to_cart.wc-forward {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  font-size: 1rem !important;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #4AE8FE;
}

.product_meta {
  margin: 35px 0 0;
}

.dokan-vendor-info-wrap {
  border-radius: 5px;
}

.dokan-vendor-info-wrap .dokan-vendor-image {
  border-radius: 50%;
  background-color: #fff;
}

.dokan-vendor-info-wrap .dokan-vendor-info .dokan-vendor-name h5 {
  color: #fff !important;
}

.tuotesivu-tilausinfo {
  width: 100%;
  height: 100%;
}

.woocommerce-tabs.wc-tabs-wrapper {
  padding-top: 30px;
}

.wp-block-media-text__media img {
  border-radius: 13px;
}

@media (max-width: 1300px) {
  .tuotelista-valinta {
    min-height: 48px;
  }
  .tuotelista-valinta-suojaa {
    padding: 10px 15px 10px 22px;
  }
  .tuotelista-valinta p {
    flex-direction: column;
    align-items: center;
    line-height: 1.4;
  }
}
@media (max-width: 1000px) {
  .tuotelista-tuote-inner {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto 30px;
    padding: 8px 9px 8px 8px;
  }
  .tuotelista-kuva {
    width: 70px;
    height: 70px;
  }
  .tuotelista-tiedot {
    padding: 0;
  }
  .tuotelista-vaihtoehdot {
    padding: 6px 0 10px;
  }
  .tuotelista-linkit {
    grid-template-columns: auto auto;
  }
}
@media (max-width: 500px) {
  .tuotelista-tuote {
    gap: 6px;
  }
  .tuotelista-tuote-inner {
    gap: 8px;
  }
}
@media (max-width: 420px) {
  button.single_add_to_cart_button {
    width: calc(100% - 70px) !important;
  }
  button.single_add_to_cart_button.added {
    background-position: 10px center !important;
  }
}
/* FAQ */
.product-faq {
  padding: 2.2rem 20px 1.5rem;
  margin: 0 0 30px;
  border: 3px solid #054B80;
  border-radius: 13px;
}

.product-faq h2 {
  margin: 0 0 2.3rem;
  font-size: 1.382rem;
}

.faq-item {
  margin-top: 2rem;
}

.product-faq h3 {
  display: inline-block;
  padding: 0.5rem 0.8rem 0.4rem;
  margin: 0.23rem 0 1.4rem;
  background: linear-gradient(to bottom, #054B80, #002951);
  border-radius: 13px;
  font-size: 1.146rem;
  color: #fff;
  font-weight: 470;
}

.product-faq p {
  line-height: 1.5;
}

.second-add-to-cart {
  align-self: stretch;
  width: 100%;
}

.second-add-to-cart-inner {
  display: grid;
  grid-template-columns: 300px auto;
  gap: 20px;
  width: 100%;
  padding: 20px;
  border: 3px solid #054B80;
  border-radius: 13px;
}

.second-add-to-cart-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.second-add-to-cart .woocommerce-Price-amount,
.second-add-to-cart .price span {
  color: #C501B4;
  font-weight: 600;
}

@media (max-width: 500px) {
  .second-add-to-cart-inner {
    display: block;
  }
  .second-add-to-cart-image {
    margin: 0 0 20px;
  }
}
.single-product .product-grid .tuotekuvat {
  height: auto;
  align-self: stretch;
}
.single-product .product-grid .tuotesivu-tilausinfo {
  height: auto;
}
.single-product .product-grid h1.product_title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  overflow-wrap: anywhere;
}
.single-product .product-grid .product_meta {
  margin-top: 0;
}
.single-product .product-grid .woocommerce-tabs.wc-tabs-wrapper {
  padding-top: 0;
}
.single-product .product-grid .woocommerce-tabs ul.tabs {
  flex-wrap: wrap;
}
.single-product .product-grid .woocommerce-tabs ul.tabs li {
  flex: 1 1 120px;
}
.single-product .product-grid .woocommerce-tabs ul.tabs li a {
  padding-inline: 12px;
}
.single-product .product-grid .woocommerce-Tabs-panel {
  overflow-wrap: anywhere;
}
.single-product .product-grid .woocommerce-Tabs-panel img, .single-product .product-grid .woocommerce-Tabs-panel video,
.single-product .product-grid .woocommerce-Tabs-panel iframe {
  max-width: 100%;
}
.single-product .product-grid .woocommerce-Tabs-panel table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.single-product .product-grid .tehdashinta-ja-palvelumaksu {
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 16px 24px;
}
.single-product .product-grid form.cart {
  margin-bottom: 0;
}
.single-product .product-grid form.cart .variations {
  width: 100%;
}
.single-product .product-grid form.cart .variations th, .single-product .product-grid form.cart .variations td {
  display: block;
  width: 100%;
  text-align: left;
}
.single-product .product-grid form.cart .variations select {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  color: #fff;
  background: #00172d;
  border: 1px solid #054B80;
  border-radius: 5px;
}
.single-product .product-grid .single_add_to_cart_button {
  max-width: 100%;
  white-space: normal;
}
.single-product .product-grid .second-add-to-cart-inner {
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
}
.single-product .product-grid .second-add-to-cart-form {
  min-width: 0;
}
.single-product .product-grid .tuotesivu-kuvagallerian-alla-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.single-product .product-grid .tuotesivu-kuvagallerian-alla-info-item {
  flex: 1 1 150px;
  padding: 12px;
  border: 1px solid #054B80;
  border-radius: 5px;
}
.single-product .product-grid .palvelu-tehdasmaksu-esittely {
  margin-top: 0;
}
.single-product .product-grid .palvelu-tehdasmaksu-esittely-header {
  grid-template-columns: minmax(0, 1fr);
}
.single-product .product-grid .palvelu-tehdasmaksu-esittely-header-sisalto > span {
  width: auto;
  max-width: 100%;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  overflow-wrap: anywhere;
}
.single-product .product-grid .palvelu-tehdasmaksu-esittely-header-sisalto > span::before, .single-product .product-grid .palvelu-tehdasmaksu-esittely-header-sisalto > span::after {
  display: none;
}
.single-product .product-grid .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu {
  max-width: 100%;
}
.single-product .product-grid .palvelu-tehdasmaksu-esittely-header-sisalto-maksupalvelu img {
  max-width: 100px;
}

@media (max-width: 1200px) {
  .single-product .product.product-grid {
    gap: 20px 28px;
  }
  .single-product .product-grid .tuotekuvat-inner {
    position: static;
  }
}
@media (max-width: 760px) {
  .single-product .product.product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    grid-template-areas: "product-title-block" "tuotekuvat" "product-price-block" "product-excerpt-block" "product-atc-block" "tuotelista-wrap" "product-meta-block" "tuotesivu-tilausinfo" "product-tabs-block" "ebf-tehdastiedot" "product-faq-block" "second-add-to-cart" "product-upsells-related-block";
  }
  .single-product .product-grid .woocommerce-tabs ul.tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .single-product .product-grid .woocommerce-tabs ul.tabs li a {
    padding: 12px 8px;
    font-size: 15px;
  }
  .single-product .product-grid .second-add-to-cart-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }
  .single-product .product-grid .second-add-to-cart-image {
    max-width: 220px;
    margin-inline: auto;
  }
}
.single-product .product-grid .tehdashinta-ja-palvelumaksu {
  justify-content: flex-start;
  padding: 16px 0;
  margin: 0;
}
.single-product .product-grid .tehdashinta {
  line-height: 1.3;
}
.single-product .product-grid .tehdashinta .ebf-price-label {
  display: block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  margin-bottom: 4px;
}
.single-product .product-grid .product-excerpt-block ul {
  margin: 0;
}
.single-product .product-grid .product-excerpt-block li {
  margin-bottom: 10px;
  line-height: 1.5;
}
.single-product .product-grid .product-atc-block {
  padding-block: 8px;
}
.single-product .product-grid .ebf-order-guide {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #054B80;
  border-radius: 13px;
  background: #00172d;
}
.single-product .product-grid .ebf-order-guide-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.single-product .product-grid .ebf-order-guide h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  text-transform: none;
}
.single-product .product-grid .ebf-order-guide p {
  margin: 0;
  line-height: 1.6;
}
.single-product .product-grid .ebf-service-fee {
  flex: 0 0 auto;
  text-align: right;
}
.single-product .product-grid .ebf-service-fee > span {
  display: block;
  font-size: 14px;
}
.single-product .product-grid .ebf-service-fee strong {
  display: block;
  font-size: 1.8rem;
}
.single-product .product-grid .ebf-order-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  counter-reset: order-step;
  padding: 0;
  margin: 28px 0;
}
.single-product .product-grid .ebf-order-steps li {
  counter-increment: order-step;
  min-width: 0;
}
.single-product .product-grid .ebf-order-steps li::before {
  content: counter(order-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #054B80;
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
}
.single-product .product-grid .ebf-order-steps h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.single-product .product-grid .ebf-order-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid #054B80;
}
.single-product .product-grid .ebf-order-support strong {
  color: #fff;
}
.single-product .product-grid .woo-variation-gallery-slider img {
  object-fit: contain;
}

@media (max-width: 760px) {
  .single-product .product-grid .ebf-order-guide {
    padding: 20px;
    margin-top: 8px;
  }
  .single-product .product-grid .ebf-order-guide-heading {
    flex-direction: column;
    gap: 16px;
  }
  .single-product .product-grid .ebf-service-fee {
    text-align: left;
  }
  .single-product .product-grid .ebf-order-steps, .single-product .product-grid .ebf-order-support {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .single-product .product-grid .tehdashinta-ja-palvelumaksu {
    padding: 8px 0;
  }
}
.single-product .product-grid .tehdashinta {
  display: block;
  height: auto;
}
.single-product .product-grid .ebf-price-label {
  white-space: normal;
}
.single-product .product-grid .product-upsells-related-block {
  overflow: hidden;
}

.single-product .product-grid {
  --ebf-purchase: #ff9f43;
  --ebf-guidance: #c4a7ff;
}
.single-product .product-grid .ebf-product-summary {
  grid-area: product-summary;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.single-product .product-grid .ebf-product-summary > * {
  min-width: 0;
}
.single-product .product-grid .product-excerpt-block p, .single-product .product-grid .product-excerpt-block ul {
  margin-block: 0;
}
.single-product .product-grid .tehdashinta, .single-product .product-grid .palvelumaksu {
  text-align: left;
}
.single-product .product-grid .tehdashinta::before, .single-product .product-grid .palvelumaksu::before {
  display: none;
}
.single-product .product-grid .tehdashinta-ja-palvelumaksu {
  gap: 16px 40px;
}
.single-product .product-grid .single_add_to_cart_button, .single-product .product-grid .tuotelista-nappi:not(:first-of-type) {
  background: var(--ebf-purchase) !important;
  color: #050c1b !important;
  border: 2px solid var(--ebf-purchase);
  font-weight: 650;
}
.single-product .product-grid .single_add_to_cart_button:not(.disabled):hover, .single-product .product-grid .tuotelista-nappi:not(:first-of-type):hover {
  background: #ffb86b !important;
  border-color: #ffb86b;
}
.single-product .product-grid .single_add_to_cart_button.disabled {
  opacity: 0.55;
}
.single-product .product-grid .single_add_to_cart_button::before {
  display: none;
}
.single-product .product-grid .ebf-guide-link, .single-product .product-grid a.tuotelista-nappi:first-of-type {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 14px;
  color: var(--ebf-guidance);
  border: 1px solid var(--ebf-guidance);
  border-radius: 6px;
  background: transparent;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-product .product-grid .ebf-guide-link:hover, .single-product .product-grid a.tuotelista-nappi:first-of-type:hover {
  color: #050c1b;
  background: var(--ebf-guidance);
}
.single-product .product-grid .single_add_to_cart_button:focus-visible, .single-product .product-grid .ebf-guide-link:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .single-product .product-grid .ebf-product-summary {
    display: contents;
  }
}
@media (min-width: 1800px) {
  .single-product .product.product-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.8fr);
    grid-template-areas: "tuotekuvat product-summary tuotesivu-tilausinfo" "product-tabs-block product-tabs-block product-tabs-block" "ebf-tehdastiedot ebf-tehdastiedot ebf-tehdastiedot" "product-faq-block product-faq-block product-faq-block" "second-add-to-cart second-add-to-cart second-add-to-cart" "product-upsells-related-block product-upsells-related-block product-upsells-related-block";
    align-items: start;
    column-gap: 28px;
  }
  .single-product .product-grid .ebf-order-guide {
    margin-top: 0;
    padding: 24px;
  }
  .single-product .product-grid .ebf-order-guide-heading {
    flex-direction: column;
    gap: 16px;
  }
  .single-product .product-grid .ebf-service-fee {
    text-align: left;
  }
  .single-product .product-grid .ebf-order-steps, .single-product .product-grid .ebf-order-support {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .single-product .product-grid .woocommerce-product-gallery {
    aspect-ratio: auto;
    grid-template-columns: 100px minmax(0, 1fr);
    background: white;
    width: 100% !important;
    min-width: 0;
    overflow: hidden;
  }
  .single-product .product-grid .woocommerce-product-gallery .flex-viewport {
    aspect-ratio: auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: min(720px, 70vh) !important;
  }
  .single-product .product-grid .woocommerce-product-gallery__wrapper {
    height: 100%;
  }
  .single-product .product-grid .woocommerce-product-gallery .flex-control-thumbs {
    max-height: min(720px, 70vh);
    overflow: hidden;
  }
}
.single-product .product-grid .tuotekuvat-inner,
.single-product .product-grid .woo-variation-product-gallery {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
}

.single-product .woocommerce-breadcrumb, .single-product .woocommerce-breadcrumb a {
  color: #a1a9b8;
}

.single-product .product-grid .single_add_to_cart_button {
  font-family: "League Spartan", sans-serif;
}
