@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400&display=swap');

/* Homepage layout matching the legacy marko.wroc.pl storefront. */
#index #content.page-content--home,
.page-index #content.page-content--home {
  gap: 0;
}

#index .marko-home-hero,
.page-index .marko-home-hero {
  margin-bottom: 50px;
  width: 100%;
}

#index .marko-home-layout,
.page-index .marko-home-layout {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 0;
  align-items: start;
  margin: 0 auto;
  max-width: 1170px;
  width: 100%;
}

#index .marko-home-main,
#index .marko-home-sidebar,
.page-index .marko-home-main,
.page-index .marko-home-sidebar {
  box-sizing: border-box;
  min-width: 0;
}

#index .marko-home-main,
.page-index .marko-home-main {
  padding: 0 15px;
}

#index .marko-home-main > section > .container,
.page-index .marko-home-main > section > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

#index .marko-product-tabs-title,
.page-index .marko-product-tabs-title {
  border-left: 4px solid #c50002;
  color: #444645;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  margin: 0 0 15px;
  padding: 0 0 0 8px;
  text-transform: none;
}

#index .marko-product-tabs-title::before,
#index .marko-product-tabs-title::after,
.page-index .marko-product-tabs-title::before,
.page-index .marko-product-tabs-title::after {
  content: none;
  display: none;
}

#index .marko-product-tabs,
.page-index .marko-product-tabs {
  display: flex;
  gap: 3px;
  margin: 0 0 15px;
  width: 100%;
}

#index .marko-product-tab,
.page-index .marko-product-tab {
  background: #575a59;
  border: 1px solid #575a59;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  min-height: 30px;
  padding: 4px 30px;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
}

#index .marko-product-tab:hover,
#index .marko-product-tab:focus,
#index .marko-product-tab.is-active,
.page-index .marko-product-tab:hover,
.page-index .marko-product-tab:focus,
.page-index .marko-product-tab.is-active {
  background: #c50002;
  border-color: #c50002;
  color: #fff;
}

#index .marko-product-tabs-message,
.page-index .marko-product-tabs-message {
  color: #565656;
  font-size: 16px;
  grid-column: 1 / -1;
  margin: 25px 0 50px;
  text-align: center;
  width: 100%;
}

#index .marko-home-sidebar,
.page-index .marko-home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 15px 50px;
}

#index .marko-home-sidebar .ps-emailsubscription,
#index .marko-home-sidebar .email-subscription,
#index .marko-home-sidebar .block_newsletter,
.page-index .marko-home-sidebar .ps-emailsubscription,
.page-index .marko-home-sidebar .email-subscription,
.page-index .marko-home-sidebar .block_newsletter {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: #565656;
  margin: 0;
  padding: 20px 15px !important;
  text-align: center;
}

#index .marko-home-sidebar .ps-emailsubscription > .container,
#index .marko-home-sidebar .email-subscription > .container,
.page-index .marko-home-sidebar .ps-emailsubscription > .container,
.page-index .marko-home-sidebar .email-subscription > .container {
  max-width: none;
  padding: 0 !important;
  width: 100%;
}

#index .marko-home-sidebar .ps-emailsubscription .row,
#index .marko-home-sidebar .email-subscription .row,
.page-index .marko-home-sidebar .ps-emailsubscription .row,
.page-index .marko-home-sidebar .email-subscription .row {
  display: block;
  margin: 0;
}

#index .marko-home-sidebar .ps-emailsubscription .h3,
#index .marko-home-sidebar .email-subscription__label,
#index .marko-home-sidebar .block_newsletter > h4,
.page-index .marko-home-sidebar .ps-emailsubscription .h3,
.page-index .marko-home-sidebar .email-subscription__label,
.page-index .marko-home-sidebar .block_newsletter > h4 {
  color: #444645;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 15px;
  max-width: none;
  padding: 0;
  width: 100%;
}

#index .marko-home-sidebar .marko-home-newsletter-description,
.page-index .marko-home-sidebar .marko-home-newsletter-description {
  color: #565656;
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 15px;
  text-align: center;
}

#index .marko-home-sidebar .ps-emailsubscription form,
#index .marko-home-sidebar .email-subscription form,
#index .marko-home-sidebar .block_newsletter form,
.page-index .marko-home-sidebar .ps-emailsubscription form,
.page-index .marko-home-sidebar .email-subscription form,
.page-index .marko-home-sidebar .block_newsletter form {
  display: block;
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

#index .marko-home-sidebar form .d-flex,
#index .marko-home-sidebar .email-subscription__content__inputs,
.page-index .marko-home-sidebar form .d-flex,
.page-index .marko-home-sidebar .email-subscription__content__inputs {
  align-items: stretch !important;
  display: flex;
  flex-direction: column;
  gap: 10px !important;
}

#index .marko-home-sidebar input[type='email'],
#index .marko-home-sidebar input[type='submit'],
.page-index .marko-home-sidebar input[type='email'],
.page-index .marko-home-sidebar input[type='submit'] {
  max-width: none !important;
  width: 100%;
}

#index .marko-home-sidebar .ps-banner,
.page-index .marko-home-sidebar .ps-banner {
  margin: 0;
  padding: 0;
  width: 100%;
}

#index .marko-home-sidebar .ps-banner > .container,
.page-index .marko-home-sidebar .ps-banner > .container {
  max-width: none;
  padding: 0;
  width: 100%;
}

#index .marko-home-sidebar .ps-banner img,
.page-index .marko-home-sidebar .ps-banner img {
  display: block;
  height: auto;
  width: 100%;
}

#index .footer__before.marko-home-sidebar-source-empty,
.page-index .footer__before.marko-home-sidebar-source-empty {
  display: none;
}

#index .marko-home-layout .btn-primary,
#index .marko-home-layout .btn-outline-primary,
#index .marko-home-layout input[type='submit'],
#index .marko-home-layout .product-miniature__add,
.page-index .marko-home-layout .btn-primary,
.page-index .marko-home-layout .btn-outline-primary,
.page-index .marko-home-layout input[type='submit'],
.page-index .marko-home-layout .product-miniature__add {
  background-color: #444645 !important;
  background-image: none !important;
  border-color: #444645 !important;
  color: #e8e8e8 !important;
}

#index .marko-home-layout .btn-primary:hover,
#index .marko-home-layout .btn-primary:focus,
#index .marko-home-layout .btn-outline-primary:hover,
#index .marko-home-layout .btn-outline-primary:focus,
#index .marko-home-layout input[type='submit']:hover,
#index .marko-home-layout input[type='submit']:focus,
#index .marko-home-layout .product-miniature__add:hover,
#index .marko-home-layout .product-miniature__add:focus,
.page-index .marko-home-layout .btn-primary:hover,
.page-index .marko-home-layout .btn-primary:focus,
.page-index .marko-home-layout .btn-outline-primary:hover,
.page-index .marko-home-layout .btn-outline-primary:focus,
.page-index .marko-home-layout input[type='submit']:hover,
.page-index .marko-home-layout input[type='submit']:focus,
.page-index .marko-home-layout .product-miniature__add:hover,
.page-index .marko-home-layout .product-miniature__add:focus {
  background-color: #c50002 !important;
  border-color: #c50002 !important;
  color: #fff !important;
}

@media (max-width: 991.98px) {
  #index .marko-home-hero,
  .page-index .marko-home-hero {
    margin-bottom: 30px;
  }

  #index .marko-home-layout,
  .page-index .marko-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #index .marko-home-sidebar,
  .page-index .marko-home-sidebar {
    padding: 0 15px 30px;
  }

  #index .marko-product-tabs-title,
  .page-index .marko-product-tabs-title {
    font-size: 34px;
  }

  #index .marko-product-tabs,
  .page-index .marko-product-tabs {
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  #index .marko-product-tab,
  .page-index .marko-product-tab {
    flex: 1 1 calc(50% - 3px);
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 575.98px) {
  #index .marko-product-tabs-title,
  .page-index .marko-product-tabs-title {
    font-size: 28px;
  }

  #index .marko-product-tab,
  .page-index .marko-product-tab {
    flex-basis: 100%;
  }
}
