/* Catalog + category archives on the WooCommerce shortcode fallback. */
body.tmwd-listing main.main > .woocommerce {
  display: grid;
  grid-template-columns: minmax(215px, 255px) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  column-gap: 28px;
  align-items: start;
}

body.tmwd-listing main.main > .woocommerce > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
}

body.tmwd-listing main.main > .woocommerce > .tmwd-shop-intro {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
}

body.tmwd-listing main.main > .woocommerce > .tmwd-sidebar {
  grid-column: 1;
  grid-row: 3 / span 5;
  min-width: 0;
}

body.tmwd-listing main.main > .woocommerce > .woocommerce-result-count {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  align-self: center;
  margin: 0 0 20px;
}

body.tmwd-listing main.main > .woocommerce > .woocommerce-ordering {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  margin: 0 0 20px;
}

body.tmwd-listing main.main > .woocommerce > ul.products {
  grid-column: 2;
  grid-row: 4;
  min-width: 0;
}

body.tmwd-listing main.main > .woocommerce > nav.woocommerce-pagination {
  grid-column: 2;
  grid-row: 5;
  min-width: 0;
}

body.tmwd-listing main.main > .woocommerce > .woocommerce-info {
  grid-column: 2;
  grid-row: 4;
}

.tmwd-catalog .tmwd-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  scrollbar-width: thin;
  border: 1px solid #e0e6df;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(20, 45, 30, .035);
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-toggle { display: none; }
.tmwd-catalog .tmwd-sidebar .tmwd-side-content { display: block !important; }

.tmwd-catalog .tmwd-sidebar .tmwd-side-block { padding: 22px 18px; }
.tmwd-catalog .tmwd-sidebar .tmwd-side-block + .tmwd-side-block {
  border-top: 1px solid #ebefeb;
}

.tmwd-catalog .tmwd-sidebar h2 {
  margin: 0 0 15px;
  color: #2f4539;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  margin: 0;
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-search input {
  min-width: 0;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 9px;
  border: 1px solid #dce4dc;
  border-radius: 8px;
  background: #fafcfa;
  color: #35473b;
  font: 500 12px/1.2 var(--font-main, 'Exo 2', sans-serif);
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-search input:focus-visible {
  border-color: #367643;
  outline: 2px solid rgba(54, 118, 67, .18);
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-search button {
  min-width: 56px;
  height: 42px;
  padding: 10px 8px;
  border: 0;
  border-radius: 8px;
  background: var(--tmwd-dark-green);
  color: #fff;
  cursor: pointer;
  font: 600 12px/1.2 var(--font-main, 'Exo 2', sans-serif);
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-search button:hover { background: var(--tmwd-green); }

.tmwd-catalog .tmwd-sidebar .tmwd-side-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  margin: 0 0 7px;
  border-radius: 9px;
  color: #3c5846;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-all:is(:hover, .is-active) {
  background: #eaf2ea;
  color: #28683a;
}

.tmwd-catalog .tmwd-sidebar .tmwd-tree-level {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tmwd-catalog .tmwd-sidebar .tmwd-tree-item { margin: 1px 0; padding: 0; }

.tmwd-catalog .tmwd-sidebar .tmwd-tree-line > a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 7px;
  padding: 11px 12px;
  border-radius: 8px;
  color: #43584a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.tmwd-catalog .tmwd-sidebar .tmwd-tree-line > a:hover,
.tmwd-catalog .tmwd-sidebar .tmwd-tree-item.is-active > .tmwd-tree-line > a {
  background: #eaf2ea;
  color: #28683a;
}

.tmwd-catalog .tmwd-sidebar .tmwd-tree-name { overflow-wrap: anywhere; }
.tmwd-catalog .tmwd-sidebar .tmwd-tree-count {
  flex: none;
  min-width: 23px;
  color: #829288;
  font-size: 11px;
  text-align: right;
}

.tmwd-catalog .tmwd-sidebar .tmwd-tree-sublevel {
  margin: 0 0 9px 12px;
  border-left: 1px solid #dfeadf;
  padding-left: 6px;
}

.tmwd-catalog .tmwd-sidebar .tmwd-tree-sublevel .tmwd-tree-line > a {
  padding: 9px 8px;
  font-size: 12px;
}

.tmwd-catalog .tmwd-sidebar .tmwd-side-help {
  margin: 9px;
  padding: 18px 15px;
  border-radius: 11px;
  background: var(--tmwd-gradient);
  color: #fff;
}
.tmwd-catalog .tmwd-sidebar .tmwd-side-help-kicker {
  display: block;
  margin-bottom: 9px;
  color: #c4e0ca;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tmwd-catalog .tmwd-sidebar .tmwd-side-help h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}
.tmwd-catalog .tmwd-sidebar .tmwd-side-help p {
  margin: 0 0 15px;
  color: #e0ede1;
  font-size: 12px;
  line-height: 1.5;
}
.tmwd-catalog .tmwd-sidebar .tmwd-side-phone,
.tmwd-catalog .tmwd-sidebar .tmwd-side-email {
  display: block;
  margin: 0 0 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.tmwd-catalog .tmwd-sidebar .tmwd-side-email { font-size: 12px; font-weight: 400; }
.tmwd-catalog .tmwd-sidebar .tmwd-side-cta {
  display: block;
  margin-top: 16px;
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.tmwd-catalog .tmwd-sidebar .tmwd-side-cta:hover {
  background: rgba(255,255,255,.24);
  color: #fff;
}

@media (max-width: 1150px) {
  body.tmwd-listing main.main > .woocommerce { column-gap: 19px; grid-template-columns: minmax(200px, 230px) minmax(0, 1fr); }
}

@media (max-width: 880px) {
  body.tmwd-listing main.main > .woocommerce { grid-template-columns: minmax(0, 1fr); }
  body.tmwd-listing main.main > .woocommerce > .tmwd-shop-intro { grid-column: 1; grid-row: 2; }
  body.tmwd-listing main.main > .woocommerce > .tmwd-sidebar {
    grid-column: 1;
    grid-row: 3;
    margin-bottom: 22px;
  }
  body.tmwd-listing main.main > .woocommerce > .woocommerce-result-count { grid-column: 1; grid-row: 4; }
  body.tmwd-listing main.main > .woocommerce > .woocommerce-ordering { grid-column: 1; grid-row: 4; }
  body.tmwd-listing main.main > .woocommerce > ul.products { grid-column: 1; grid-row: 5; }
  body.tmwd-listing main.main > .woocommerce > nav.woocommerce-pagination { grid-column: 1; grid-row: 6; }
  body.tmwd-listing main.main > .woocommerce > .woocommerce-info { grid-column: 1; grid-row: 5; }

  .tmwd-catalog .tmwd-sidebar { position: static; max-height: none; overflow: visible; }
  .tmwd-catalog .tmwd-sidebar .tmwd-side-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    color: var(--tmwd-dark-green);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
  }
  .tmwd-catalog .tmwd-sidebar .tmwd-side-toggle::-webkit-details-marker { display: none; }
  .tmwd-catalog .tmwd-sidebar .tmwd-side-details[open] > .tmwd-side-toggle > span { transform: rotate(180deg); }
  .tmwd-catalog .tmwd-sidebar .tmwd-side-content { display: none !important; }
  .tmwd-catalog .tmwd-sidebar .tmwd-side-details[open] > .tmwd-side-content { display: block !important; }
  .tmwd-catalog .tmwd-sidebar .tmwd-side-block { padding: 18px; }
}

@media (max-width: 580px) {
  body.tmwd-listing main.main > .woocommerce > .woocommerce-result-count {
    grid-column: 1;
    grid-row: 4;
    justify-self: stretch;
    margin: 0 0 9px;
  }
  body.tmwd-listing main.main > .woocommerce > .woocommerce-ordering {
    grid-column: 1;
    grid-row: 5;
    justify-self: stretch;
    margin: 0 0 16px;
  }
  body.tmwd-listing main.main > .woocommerce > ul.products { grid-row: 6; }
  body.tmwd-listing main.main > .woocommerce > nav.woocommerce-pagination { grid-row: 7; }
  body.tmwd-listing main.main > .woocommerce > .woocommerce-info { grid-row: 6; }
}
