/*
 Theme Name:   AMK-valmennus
 Description:  Storefront Child Theme
 Author:       Inertica Oy
 Template:     amkvalmennus
 Version:      1.0.2
*/
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
}

a[href^=tel] {
  text-decoration: inherit;
  color: inherit;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page .site-content {
  flex: 1 0 0;
}

.site-header {
  margin: 0 !important;
  padding: 0;
  top: 0;
}

.site-header .cart-contents {
  text-align: right;
  white-space: nowrap;
}

.site-header .cart-contents .count {
  margin-right: 10px;
}

.site-header .main-navigation ul.menu {
  margin: 0 -15px;
}

.site-header .sp-header-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.site-footer {
  background: #1e2b38;
  border: 0;
  color: #fff;
}

.site-footer .custom-html-widget a,
.site-footer .menu a,
.site-footer .product-categories a,
.site-footer .privacy-policy-link {
  color: #fff !important;
}

.site-footer .sub-menu {
  display: none;
}

.site-footer .footer-logo {
  max-width: 260px !important;
}

.site-footer .widget-title {
  border-bottom: 0;
  padding-bottom: 0;
}

.site-footer .site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: right;
}

.site-footer .site-info br {
  content: "";
  margin: 0 1em;
}

.site-footer .site-info br:before {
  content: "|";
}

.storefront-breadcrumb {
  background: #edf2f7;
  color: #444;
}

.storefront-breadcrumb .woocommerce-breadcrumb a {
  color: #087cdb;
}

.button {
  background-color: #087cdb !important;
  color: #ffffff !important;
}

.woocommerce-error .button,
.woocommerce-info .button,
.woocommerce-message .button {
  background-color: transparent !important;
}

.shm-close {
  background-color: #087cdb !important;
  color: #fff !important;
}

.elementor-heading-title {
  line-height: 1.3;
}

.elementor-button {
  background: #3182ce;
  text-decoration: none !important;
}

body.elementor-template-full-width .homepage-hero {
  background-position: top right;
  background-repeat: no-repeat;
  background-size: auto 100%;
  position: relative;
}

body.elementor-template-full-width .storefront-breadcrumb {
  display: none;
}

body.elementor-template-full-width .site-content .col-full {
  max-width: none;
  padding: 0;
}

body.elementor-template-full-width .site-content .elementor-container {
  padding: 0 5px;
}

.woocommerce-checkout.sp-distraction-free-checkout .site-header {
  padding: 1em !important;
}

.woocommerce-checkout.sp-distraction-free-checkout .site-footer {
  display: none;
}

@media screen and (max-width: 1279px) {
  .col-full {
    margin: 0;
    padding: 0 15px;
  }
  body.elementor-template-full-width .homepage-hero::before {
    background: rgba(0, 0, 0, 0.8);
    bottom: 0;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
}
@media screen and (max-width: 767px) {
  .site-branding {
    width: 200px;
  }
  .site-header .main-navigation ul.menu {
    margin: 0;
  }
  .site-header .sp-header-row {
    padding: 15px 0;
  }
  .site-header .sp-header-row .sp-header-span-2:first-child {
    flex: 1;
  }
  .site-header .sp-header-row .sp-header-span-8 {
    flex: 0;
  }
  .site-content .entry-title {
    font-size: 28px;
  }
  .site-footer .site-info {
    text-align: left;
  }
}
@media screen and (min-width: 768px) {
  .webp body.elementor-template-full-width .homepage-hero {
    background-image: url("./img/home-hero.webp");
  }
  .no-webp body.elementor-template-full-width .homepage-hero {
    background-image: url("./img/home-hero.jpg");
  }
  .col-full {
    max-width: 1370px;
    padding: 0 15px;
  }
  .site-header .sp-header-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
  }
  .site-header .sp-header-row [class^=sp-header-span-] {
    margin: 0;
  }
  .site-header .sp-header-row .sp-header-span-2:first-child {
    flex: 1;
    max-width: 320px;
  }
  .site-header .sp-header-row .sp-header-span-2:last-child {
    flex: 1;
    margin-left: auto;
    max-width: 240px;
  }
  .site-header .sp-header-row .sp-header-span-8 {
    border-top: 1px solid #d0d0d0;
    order: 2;
    width: 100%;
  }
  .site-header .sp-header-row .sp-header-span-8 a {
    padding: 15px;
  }
  .site-header-cart .widget_shopping_cart {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    left: auto;
    padding: 1em;
    right: 0;
    visibility: hidden;
    width: 360px;
  }
  .site-header-cart:hover .widget_shopping_cart,
  .site-header-cart.focus .widget_shopping_cart {
    left: auto;
    opacity: 1;
    visibility: visible;
  }
  .site-header .site-branding img {
    height: auto;
    max-width: 320px;
    max-height: none;
  }
  .site-header .site-logo-anchor img,
  .site-header .site-logo-link img,
  .site-header .custom-logo-link img {
    width: 100%;
    max-width: 320px;
  }
}
/* === Element Pack mini cart popup (overrides bdt-* markup) === */
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart svg {
  display: block;
  margin: 0 auto 0.5em;
  max-width: 48px;
  max-height: 48px;
  opacity: 0.4;
}
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart .wc-empty-message {
  text-align: center;
  color: #718096;
  font-size: 0.875em;
  margin: 0.5em 0 1em;
}
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart .bdt-button {
  display: block;
  text-align: center;
  background-color: #087cdb;
  color: #fff;
  border-radius: 0;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.875em;
  font-weight: 600;
}
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart .bdt-button .bdt-button-text {
  color: inherit;
}
.site-header-cart .widget_shopping_cart .wc-empty-mini-cart .bdt-button:hover {
  background-color: rgb(6.2026431718, 96.140969163, 169.7973568282);
  color: #fff;
}

.bdt-mini-cart-product-item {
  padding: 0.75em 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.bdt-mini-cart-product-item:last-child {
  border-bottom: none;
}

.bdt-mini-cart-product-thumbnail img {
  width: 50px;
  height: auto;
  border-radius: 2px;
}

.bdt-mini-cart-product-name a {
  color: #333;
  font-size: 0.875em;
  text-decoration: none;
  line-height: 1.3;
}
.bdt-mini-cart-product-name a:hover {
  color: #087cdb;
}

.bdt-mini-cart-product-price {
  font-size: 0.8125em;
  color: #718096;
}

.bdt-mini-cart-product-remove a {
  opacity: 0.5;
}
.bdt-mini-cart-product-remove a:hover {
  opacity: 1;
}

.bdt-mini-cart-subtotal {
  padding: 0.75em 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.875em;
}

.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons {
  display: flex;
  gap: 0.5em;
  padding-top: 0.75em;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 0;
  font-size: 0.8125em;
  font-weight: 600;
  text-decoration: none;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button .bdt-button-text {
  color: inherit;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button-view-cart {
  background: transparent;
  border: 2px solid #087cdb;
  color: #087cdb;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button-view-cart:hover {
  background: rgba(8, 124, 219, 0.08);
  color: #087cdb;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button-checkout {
  background: #087cdb;
  border: 2px solid #087cdb;
  color: #fff;
}
.site-header-cart .widget_shopping_cart .bdt-mini-cart-footer-buttons .bdt-button-checkout:hover {
  background: rgb(6.2026431718, 96.140969163, 169.7973568282);
  border-color: rgb(6.2026431718, 96.140969163, 169.7973568282);
  color: #fff;
}

.woocommerce-additional-fields label[for=eb_cf_Kurssi],
.woocommerce-additional-fields select[name=Kurssi] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: -999em;
}

/*# sourceMappingURL=style.css.map */
