.opf-wrap {
  width: 100%;
  background: #fff;
  position: relative;
}

.opf-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9998;
}

.opf-topbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  gap: 16px;
  padding: 18px;
}

.opf-topbar-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.opf-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6px;
  width: 100%;
}

.opf-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #666;
  text-transform: uppercase;
}

.opf-select {
  width: 100%;
  height: 38px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  outline: none;
}

.opf-dropdown {
  position: relative;
  width: 100%;
  z-index: 100;
}

.opf-dropdown-trigger {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: #222;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.opf-dropdown-trigger:hover {
  border-color: #1f1f1f;
}
.opf-dropdown-trigger[aria-expanded=true] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #1f1f1f;
}

.opf-dropdown-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opf-dropdown-arrow {
  display: inline-block;
  font-size: 12px;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.opf-dropdown.is-open .opf-dropdown-arrow {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.opf-dropdown-menu {
  display: none;
  position: absolute;
  top: 97%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: none;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 250px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

.opf-dropdown.is-open .opf-dropdown-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.opf-dropdown-option {
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  color: #222;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}
.opf-dropdown-option:hover {
  background-color: #f3f3f3;
}
.opf-dropdown-option:first-child {
  border-top: none;
}
.opf-dropdown-option:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.opf-filter-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 6px;
  -webkit-filter: opacity(0.8);
          filter: opacity(0.8);
}

.opf-field [class*=dashicons] {
  display: inline-block;
  font-family: "dashicons";
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
  margin-right: 4px;
}

.opf-filter-toggle {
  border-radius: 0;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #0ea44b;
  color: #fff;
}

.opf-topbar-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.opf-results-count {
  font-size: 12px;
  color: #444;
}

.opf-clear {
  border: none;
  background: transparent;
  color: #777;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
}

.opf-body {
  display: grid;
  grid-template-columns: 1fr;
  padding: 18px 18px 0 18px;
}

.opf-sidebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}

.opf-sidebar-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.opf-sidebar-title {
  font-weight: 600;
  font-size: 14px;
  color: #222;
}

.opf-sidebar-close {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.opf-cat-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}

.opf-cat-item {
  background: #d7e2d8;
  border-radius: 10px;
  padding: 10px;
}

.opf-cat-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
}

.opf-cat-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  width: 100%;
}

.opf-cat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 34px;
          flex: 0 0 34px;
}

.opf-cat-icon img {
  width: 70%;
  height: 70%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.opf-cat-icon--empty {
  background: rgba(255, 255, 255, 0.35);
}

.opf-cat-name {
  font-size: 13px;
  font-weight: 600;
  color: #1f2a1f;
}

.opf-cat-toggle--spacer {
  width: 26px;
  height: 26px;
  background: transparent;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 26px;
          flex: 0 0 26px;
}

.opf-cat-children {
  display: none;
  margin-top: 10px;
  padding-left: 6px;
  gap: 8px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.opf-cat-item.is-open .opf-cat-children {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.opf-cat-item.is-open .opf-plus {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  display: inline-block;
}

.opf-cat-child-btn {
  border: none;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  color: #1f2a1f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}
.opf-cat-child-btn:hover {
  background: rgba(255, 255, 255, 0.85);
}

.opf-cat-btn.is-active .opf-cat-name,
.opf-cat-child-btn.is-active {
  color: #000;
  text-decoration: underline;
}

.opf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.opf-card {
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.opf-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  background: #fff;
}

.opf-card-img img {
  max-width: 70%;
  max-height: 70%;
  -o-object-fit: contain;
     object-fit: contain;
}

.opf-img-placeholder {
  width: 70%;
  height: 70%;
  border-radius: 12px;
  background: #f3f3f3;
}

.opf-card-title {
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.opf-card-excerpt {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  min-height: 34px;
}

.opf-card-link {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #222;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #222;
  padding-bottom: 2px;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.opf-card-link:hover {
  opacity: 0.7;
}

.opf-no-results {
  padding: 22px;
  border: 1px dashed #ddd;
  border-radius: 14px;
  text-align: center;
  color: #666;
  grid-column: 1/-1;
}

.opf-grid-footer {
  margin-top: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media (min-width: 640px) {
  .opf-topbar {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .opf-field {
    width: auto;
  }
  .opf-select,
  .opf-dropdown {
    width: 220px;
  }
  .opf-topbar-right {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .opf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .opf-body {
    grid-template-columns: 290px 1fr;
  }
  .opf-sidebar {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .opf-sidebar-close {
    display: none;
  }
  .opf-filter-toggle {
    display: none;
  }
}
@media (min-width: 1024px) {
  .opf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
body.opf-lock {
  overflow: hidden;
}

.opf-empty {
  padding: 22px;
  text-align: center;
  color: #666;
}

.opf-wrap.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.opf-wrap.is-mobile-open .opf-overlay {
  display: block;
}

@media (max-width: 899px) {
  .opf-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(340px, 88vw);
    background: #fff;
    z-index: 9999;
    padding: 16px;
    -webkit-transform: translateX(-110%);
            transform: translateX(-110%);
    -webkit-transition: -webkit-transform 0.28s ease;
    transition: -webkit-transform 0.28s ease;
    transition: transform 0.28s ease;
    transition: transform 0.28s ease, -webkit-transform 0.28s ease;
    overflow: auto;
    -webkit-box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
            box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
  }
  .opf-sidebar-close {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
  .opf-filter-toggle {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
  .opf-wrap.is-mobile-open .opf-sidebar {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  .opf-body {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=main.css.map */